Date: Sun, 29 Sep 2002 17:30:15 -0500 From: "J.D. Bronson" <lists@xpec.com> To: freebsd-questions@freebsd.org Subject: help with dump/restore via tape Message-ID: <5.1.1.6.2.20020929172642.00b2fa10@molson.wixb.com>
next in thread | raw e-mail | index | archive | help
I followed a simple script and I am having troubles. ----------------------------------- #!/bin/sh # # Dump all file systems # TAPE=/dev/nsa0 DUMP="/sbin/dump 0uaf $TAPE" mt -f $TAPE rew for fs in / /usr /var /home; do $DUMP $fs done mt -f $TAPE rew --------------------------------- this works (I think) but when I try to restore, all I can seem to get are the primary directories! (nothing under /usr for example). If I just dump one slice (like /home) - I dont have this problem. For example: # restore -ivf /dev/nsa0 restore > ls .: 2 ./ 20480 dev/ 20495 modules/ 2 ../ 20491 dist/ 20490 proc/ 20775 .cshrc 6 etc/ 20496 root/ 20778 .profile 20483 home/ 25 sbin/ 111 COPYRIGHT 28 install@ 20484 stand/ 20492 bin/ 3 junk/ 110 sys@ 20493 boot/ 26 kern/ 40961 tmp/ 20482 cache/ 158 kernel 4 usr/ 20489 cdrom/ 112 kernel.GENERIC 5 var/ 114 compat@ 299 mnt/ restore > cd home restore > ls ./home: 20483 ./ 2 ../ No user directories are there!!! What simplistic thing am I missing here? -- J.D. Bronson Aurora Health Care // Information Systems // Milwaukee, WI USA Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.603.8282 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.2.20020929172642.00b2fa10>