From owner-freebsd-hackers Tue Jan 23 18:43:12 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA10542 for hackers-outgoing; Tue, 23 Jan 1996 18:43:12 -0800 (PST) Received: from Aspen.Woc.Atinc.COM (aspen.woc.atinc.com [198.138.38.205]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA10513 for ; Tue, 23 Jan 1996 18:43:02 -0800 (PST) Received: (from jmb@localhost) by Aspen.Woc.Atinc.COM (8.6.12/8.6.9) id UAA04331; Tue, 23 Jan 1996 20:38:36 -0500 Date: Tue, 23 Jan 1996 20:38:35 -0500 (EST) From: "Jonathan M. Bresler" X-Sender: jmb@Aspen.Woc.Atinc.COM To: Daniel Leeds cc: hackers@FreeBSD.ORG Subject: Re: restore In-Reply-To: <199601231530.PAA09245@sponsor.octet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG Precedence: bulk On Tue, 23 Jan 1996, Daniel Leeds wrote: > i made 4 dumps with the following command > > dump 0unBbf 4000000 10 ice:/dev/nrst0 / /usr /home/home2 /home/home3 > > each one of those systems respectively one at a time, using the no rewind > device. I watched the drive each time and it reported no errors. > > how come restore sees only one volume, the / one and nothing else?? is > there a special restore command to access the other volumes?? /sbin/restore isvf 1 /dev/rst0 |||| | | |||| | \_____________ the device that contains the |||| | dump tape (arg for 'f' flag) |||| \_______________ the 'skip', if more than one |||| dump is on the tape use 2 to |||| access the second, 3 the third |||\_________________ do not use the default device ||\__________________ report each file that is restored |\___________________ the skip flag \____________________ interactive restore, let me cd, add and then extract or quit you have to list each dump separately, to get a list of the dump contents on the screen: /sbin/restore stf 1 /dev/rst0 ||| | | ||| | \_______________ same as above ||| \_________________ arg to 's' flag, same as above ||\___________________ same as above |\____________________ list the contents of the dump | do NOT restore any files \_____________________ same as above if you find that there is only 1 dump on the tape, then you rewound the tape after making the previous dumps and overwrote the earlier dumps. only the last one remains on the tape. ;(( this is the difference between /dev/nrst0 and /dev/rst0 nrst0 means dont rewind when the dump finishes. Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG play go. ride bike. hack FreeBSD.--ah the good life i am moving to a new job. PLEASE USE: jmb@FreeBSD.ORG