I used dump to make some snapshots of my filesystems (/usr, /var, and /, individually).
Dump went OK with no errors or warnings. Restore, however, is a different story. I made a log as I was doing it. It starts out OK, but quickly goes badly.
Here's how it starts:
But then...
In the middle, I see:
Can someone please help with this? This has some pretty critical data in it...
Dump went OK with no errors or warnings. Restore, however, is a different story. I made a log as I was doing it. It starts out OK, but quickly goes badly.
Here's how it starts:
Code:
$ cat restore_rvf | head -n 20
Script started on Fri Jan 30 09:01:46 2009
[root@relnor /mnt/freebsd/usr]# bzcat /mnt/usb/Backup/usr.ar0s1f.dump-0.1.18.2009.bz2 | restore -rvf -
Verify tape and initialize maps
Dump date: Sun Jan 18 19:33:54 2009
Dumped from: the epoch
Level 0 dump of /usr on relnor.com:/dev/ar0s1f
Label: none
Begin level 0 restore
Initialize symbol table.
Extract directories from tape
Calculate extraction list.
warning: ./.snap: File exists
Make node ./bin
Make node ./include
Make node ./include/altq
Make node ./include/arpa
Make node ./include/bsm
Make node ./include/bsnmp
Make node ./include/c++
Make node ./include/c++/3.4
Code:
$ cat restore_rvf | tail -n 20
warning: cannot create hard link ./sbin/idprio->./sbin/rtprio: No such file or directory
warning: cannot create hard link ./sbin/swapinfo->./sbin/pstat: No such file or directory
warning: cannot create hard link ./sbin/setfsmac->./sbin/setfmac: No such file or directory
warning: cannot create hard link ./sbin/watchdog->./sbin/watchdogd: No such file or directory
warning: cannot create hard link ./compat/linux/usr/libexec/getconf/POSIX_V6_ILP32_OFFBIG->./compat/linux/usr/libexec/getconf/POSIX_V6_ILP32_OFF32: No such file or directory
warning: cannot create hard link ./compat/linux/usr/sbin/iconvconfig.i386->./compat/linux/usr/sbin/iconvconfig: No such file or directory
warning: cannot create hard link ./compat/linux/usr/share/locale/af/LC_TIME/coreutils.mo->./compat/linux/usr/share/locale/af/LC_MESSAGES/coreutils.mo: No such file or directory
warning: cannot create hard link ./compat/linux/usr/share/locale/be/LC_TIME/coreutils.mo->./compat/linux/usr/share/locale/be/LC_MESSAGES/coreutils.mo: No such file or directory
warning: cannot create hard link ./compat/linux/usr/share/locale/bg/LC_TIME/coreutils.mo->./compat/linux/usr/share/locale/bg/LC_MESSAGES/coreutils.mo: No such file or directory
warning: cannot create hard link ./compat/linux/usr/share/locale/da/LC_TIME/coreutils.mo->./compat/linux/usr/share/locale/da/LC_MESSAGES/coreutils.mo: No such file or directory
Set directory mode, owner, and times.
Check the symbol table.
bad entry: incomplete operations
name: ./jails/ports/boot/boot
parent name ./jails/ports/boot
sibling name: ./jails/ports/boot/boot0sio
entry type: LEAF
inode number: 400862
flags: NEW
abort? [yn]
Code:
extract file ./jails/ports/boot/boot0sio
extract file ./jails/ports/bin/echo
extract file ./jails/ports/bin/ps
bzcat: I/O or other error, bailing out. Possible reason follows.
bzcat: No such file or directory
Input file = /mnt/usb/Backup/usr.ar0s1f.dump-0.1.18.2009.bz2, output file = (stdout)
extract file ./jails/ports/bin/ed
End-of-tape encountered
Warning: End-of-input encountered while extracting ./jails/ports/bin/ed
Add links
Create hard link ./jails/ports/bin/tcsh->./jails/ports/bin/csh
Create hard link ./jails/ports/bin/red->./jails/ports/bin/ed
warning: cannot create hard link ./jails/ports/bin/link->./jails/ports/bin/ln: No such file or directory
warning: cannot create hard link ./jails/ports/bin/unlink->./jails/ports/bin/rm: No such file or directory