Date: Thu, 16 Aug 2001 08:09:00 +0200 (CEST) From: Micke Josefsson <mj@isy.liu.se> To: Adam Blake Michalak <blake@sba.miami.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: RE: dump and restore Message-ID: <XFMail.010816080900.mj@isy.liu.se> In-Reply-To: <Pine.OSF.4.21.0108152327310.187485-100000@homer.bus.miami.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16-Aug-01 Adam Blake Michalak wrote: > Hello all. > > I have another dump question (I think I blew up my computer) > > Last night I used the dump command to back up / /usr and /var > to an exabyte 8505. > > I was starting with a tape at the top. > > used the following command > mt rewind > mt comp on > dump -0ua /dev/da0s1a > dump -0ua /dev/da0s1f > dump -0ua /dev/daos1e > > When I went to run restore -i to inspect the tape > I did the following... > > > mt rewind > restore -i > restore> what > > it reprorted back that only /var was on the tape > > It did not list / or /usr > > did dump wind the tape back to the top after each dump and rewrite > from the top of the tape, blowing away the other 2 backups? > > In the future do I need to use mt to write some type of "end of > record" so that dump does not hose me in the future? > > -Adam It all depends on which device you wrote to. If your TAPE environment variable is set to /dev/rsa0 then the tape will rewind after each command. If you use /dev/nrsa0 then the tape will simply stop where it is and you can put another dump on tape from that point. To be certain I always do 'dump -0af /dev/nrsa0 /dev/da2s1'. /M ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 4.3-STABLE ---------------------------------- 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?XFMail.010816080900.mj>