NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/56643: problem with restore(8)



The following reply was made to PR bin/56643; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: bin/56643: problem with restore(8)
Date: Tue, 25 Jan 2022 10:37:32 -0800 (PST)

 With a recently-created dump of my /var partition, I was able to
 re-run restore(8) with the -v flag, to identify the files that
 result in the ``lost data'' messages:
 
 # zcat /$path/var-speedy.dmp.xz | restore -rvf-
 ...
 Make node ./net-snmp
 Make node ./net-snmp/mib_indexes
 Extract new leaves.
 Checkpointing the restore
 extract file ./clamav/mirrors.dat
 extract file ./clamav/bytecode.cld
 extract file ./clamav/daily.cld
 extract file ./clamav/main.cld
 getfile: lost data
 abort? [yn] n
 extract file ./yp/Makefile.main
 extract file ./yp/Makefile.yp
 extract file ./yp/nicknames
 ...
 extract file ./dspam/data/paul/paul.sig/61e3d2fd216486398667488.sig
 extract file ./dspam/data/paul/paul.sig/61e3d37746842486620443.sig
 extract file ./dspam/data/paul/paul.css
 getfile: lost data
 abort? [yn] n
 extract file ./dspam/data/paul/paul.sig/61e3d4cd200891648685870.sig
 extract file ./dspam/data/paul/paul.sig/61e3d53d246142097410548.sig
 extract file ./dspam/data/paul/paul.sig/61e3da26173121246939194.sig
 ...
 extract file ./backups/etc/ssh/ssh_host_ed25519_key.pub.current
 extract file ./cron/tabs/root
 Add links
 Set directory mode, owner, and times.
 Check the symbol table.
 Checkpointing the restore
 #
 
 So, the two files are
 
  	/var/clamav/main.cld
    and	/var/dspam/data/paul/paul.css
 
 In the first case, continuing results in processing the first file of
 a different directory;  in the second case, continuing on processes a
 fiel within a subdirectory of the failure (ie, restore normal file
 a/b/x then error and continue with a/b/c/y).  So in both cases the
 error seems to occur on the last normal file of a directory.
 
 There's nothing special (at least, nothing of which I am aware) about
 either of these files.
 
 
 
 
 +--------------------+--------------------------+----------------------+
 | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
 | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
 | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
 | & Network Engineer |                          | pgoyette99%gmail.com@localhost |
 +--------------------+--------------------------+----------------------+
 


Home | Main Index | Thread Index | Old Index