From owner-freebsd-questions Sun Sep 29 15:30:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB94037B401 for ; Sun, 29 Sep 2002 15:30:27 -0700 (PDT) Received: from molson.wixb.com (molson.wixb.com [67.36.82.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ECCB43E65 for ; Sun, 29 Sep 2002 15:30:27 -0700 (PDT) (envelope-from lists@xpec.com) Received: from coors.xpec.com (coors.wixb.com [10.135.144.5]) by molson.wixb.com (8.12.6/8.12.6) with ESMTP id g8TMUQxh004434 for ; Sun, 29 Sep 2002 17:30:26 -0500 (CDT) Message-Id: <5.1.1.6.2.20020929172642.00b2fa10@molson.wixb.com> X-Sender: jeff@molson.wixb.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Sun, 29 Sep 2002 17:30:15 -0500 To: freebsd-questions@freebsd.org From: "J.D. Bronson" Subject: help with dump/restore via tape Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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