Date: Tue, 2 Sep 2003 01:10:02 +0930 From: Malcolm Kay <malcolm.kay@internode.on.net> To: Michael Alestock <michaela@maa-net.net>, questions@freebsd.org Subject: Re: Dump Message-ID: <200309020110.02687.malcolm.kay@internode.on.net> In-Reply-To: <200309011015.09771.michaela@maa-net.net> References: <200309011015.09771.michaela@maa-net.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Sep 2003 23:45, Michael Alestock wrote: > I had a question.... > > I have 4 filesystems that I want to dump(8) to my SCSI Tape backup driv= e > (Travan 4GB uncompressed). The filesystems are, "/", "/usr", "/var", a= nd > "/usr/home." All four filesystems equal about 2.5Gigs of data. > > I dumped the first filesystem "/" by executing, "dump -0uf /dev/sa0 / " > ....then executed, "mt -f /dev/sa0 eom" to move the tape to the end of = the Not sure that this is good; especially if it is not a new tape. Try: # mt -f /dev/nsa0 fsf 1 Or write dumps to /dev/nsa0 which leaves the tape positioned for next fil= e. > backup (to append to the tape), then dumped the second filesystem (/usr= ) > using,"dump -0uf /dev/sa0 /usr". Then once again I executed, "mt -f > /dev/sa0" to move the tape to the end (to append to it). > > When I go to execute, "restore -if /dev/sa0" to confirm that both > filesystems were saved so far, there's only ONE filesystem saved to the > tape "/". I can't 'cd' to /var because it's not on the tape. What am = I > doing wrong??? I know I still have plenty of tape left to save other > filesystems, but it's not dumping anything after the first filesystem. > When invoked restore will only look at one dump. You need to move past the first dump file before invoking restore=20 on say /usr. If your end-of-file marks are correctly written you should be able to do = this with: # mt -f /dev/nsa0 fsf 1 Now invoke restore -if /dev/sa0 -- should find /usr Malcolm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309020110.02687.malcolm.kay>