From owner-freebsd-questions Fri Feb 9 13:24:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nbrewer.com (unknown [208.42.68.70]) by hub.freebsd.org (Postfix) with ESMTP id 84E3637B69C for ; Fri, 9 Feb 2001 13:23:56 -0800 (PST) Received: by mail.nbrewer.com (Postfix, from userid 1009) id 140A3589; Fri, 9 Feb 2001 15:23:55 -0600 (CST) Date: Fri, 9 Feb 2001 15:23:54 -0600 From: Christopher Farley To: Ilya Cc: freebsd-questions Subject: Re: dump appending Message-ID: <20010209152354.A47744@northernbrewer.com> Mail-Followup-To: Christopher Farley , Ilya , freebsd-questions References: <006101c092a5$251ed290$0100a8c0@ilya> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <006101c092a5$251ed290$0100a8c0@ilya>; from maillist@krel.org on Fri, Feb 09, 2001 at 09:32:34AM -0500 Organization: Northern Brewer, St. Paul, MN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ilya (maillist@krel.org) wrote: > Hi. How does dump deal this several comamnds like this: > dump -0 -a -n -u /var > dump -0 -a -n -u /usr > dump -0 -a -n -u / > > does it append the dumps to one another, or does it overwrite them, so only > the last one is available? > how do I make sure it actually appends? You will want to specify the appropriate device with the -f flag. For example, if you are using a SCSI tape drive, you should have several devices which refer to your tape drive: /dev/sa0 rewinds on close /dev/nsa0 doesn't rewind on close /dev/esa0 ejects on close /dev/ersa0 rewinds and ejects on close ...etc... Obviously, you can control whether you append or overwrite the tape by choosing the appropriate device. My backup scripts always write to the non-rewinding device, except for the last backup set where I write to /dev/ersa0, which rewinds and ejects the tape. Here are some relevant manpages: sa(4) - SCSI tape driver wst(4) - ATAPI Tape drive -- Christopher Farley www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message