From owner-freebsd-questions Wed Aug 15 23: 8:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 47BD037B416 for ; Wed, 15 Aug 2001 23:08:27 -0700 (PDT) (envelope-from mj@isy.liu.se) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.11.4/8.11.4) with ESMTP id f7G68Gh27202; Thu, 16 Aug 2001 08:08:16 +0200 (MET DST) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 16 Aug 2001 08:09:00 +0200 (CEST) From: Micke Josefsson To: Adam Blake Michalak Subject: RE: dump and restore Cc: freebsd-questions@FreeBSD.ORG 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 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