From owner-freebsd-isp Fri Feb 11 7:55:46 2000 Delivered-To: freebsd-isp@freebsd.org Received: from benge.graphics.cornell.edu (benge.graphics.cornell.edu [128.84.247.43]) by builder.freebsd.org (Postfix) with ESMTP id 838574818 for ; Fri, 11 Feb 2000 07:55:42 -0800 (PST) Received: from benge.graphics.cornell.edu (mkc@localhost) by benge.graphics.cornell.edu (8.9.3/8.9.3) with ESMTP id KAA39268; Fri, 11 Feb 2000 10:55:23 -0500 (EST) (envelope-from mkc@benge.graphics.cornell.edu) Message-Id: <200002111555.KAA39268@benge.graphics.cornell.edu> To: butch@sheltonbbs.com Cc: freebsd-isp@FreeBSD.ORG, mkc@benge.graphics.cornell.edu In-Reply-To: Message from Butch Evans of "Thu, 10 Feb 2000 22:16:19 CST." <00021022190000.19678@systemadmin.sheltonbbs.com> Subject: Re: trouble with backups [was: null subject] Date: Fri, 11 Feb 2000 10:55:23 -0500 From: Mitch Collinsworth Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >I am having trouble with my backups (dump). Here is the script that I am usin >g: > >--START SCRIPT-- >#!/bin/csh > >/sbin/dump 0usd 6000 54000 / >/sbin/dump 0usd 6000 54000 /usr >/sbin/dump 0usd 6000 54000 /var >mt rewind >/usr/bin/mt offline >--END SCRIPT-- > >What happens is the backup works, but it rewinds the tape before each >filesystem (leaving only the /var dump on the tape). What is the correct dump >command to use? Offhand the behavior you describe sounds like you are writing to a rewind-on-close device, but your script is "designed" to use a no-rewind device. But there is nothing here that says what device you are writing to. Are you just allowing dump to default to rsa0? (which is in fact rewind-on-close) Backup scripts should never use defaults. This sets you up for a nasty surprise down the road when you upgrade. If this correct, then you need to add "-f /dev/nrsa0" to your dump commands to send the output to the no-rewind device. -Mitch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message