Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2003 09:19:22 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        michaela@maa-net.net (Michael Alestock)
Cc:        questions@freebsd.org
Subject:   Re: Dump
Message-ID:  <200309021319.h82DJNLK020990@clunix.cl.msu.edu>
In-Reply-To: <200309011015.09771.michaela@maa-net.net> from "Michael Alestock" at Sep 01, 2003 10:15:08 AM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I had a question....
> 
> I have 4 filesystems that I want to dump(8) to my SCSI Tape backup drive 
> (Travan 4GB uncompressed).  The filesystems are, "/", "/usr", "/var", and 
> "/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 
> 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).

You need to use the "norewind" device for the tape.   Otherwise the
tape will rewind between each operation so each thing, including each
backup (even after an eom or mt fsf n), starts at the beginning of the tape.

So I use dump -0af /dev/nrsa0

////jerry

> 
> 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.
> 
> Any ideas as to what I'm doing wrong??
> 
> 
> Thanks,
> 
> >>> Michael
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309021319.h82DJNLK020990>