From owner-freebsd-questions Wed Mar 28 16:26:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 90CA537B718 for ; Wed, 28 Mar 2001 16:26:09 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 35626 invoked by uid 100); 29 Mar 2001 00:26:05 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="tzQKebTumo" Content-Transfer-Encoding: 7bit Message-ID: <15042.33053.642556.853168@guru.mired.org> Date: Wed, 28 Mar 2001 18:26:05 -0600 To: Juan Fco Rodriguez Hervella Cc: questions@freebsd.org Subject: Re: Dump In-Reply-To: <79130894@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --tzQKebTumo Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Juan Fco Rodriguez Hervella types: > I have read in the "man dump" the following: > > << Dump requires operator intervention on these conditions: end of tape, > end > of dump, tape write error, tape open error or disk read error (if there > is more than a threshold of 32). In addition to alerting all operators > implied by the -n key, dump interacts with the operator on dump's > control terminal at times when dump can no longer proceed, or if > something is > grossly wrong. All questions dump poses must be answered by typing > ``yes'' or ``no'', appropriately. >> > > I suppose that this is the problem, but I can not know how solve it I suspect that that's the problem. In particular, you need a "-a" instead of "-B XXXXXX". I've included a copy of the script I use for this if you want to try that. Most of the configurable stuff is documented at the top; you'll probably want to set WEEKLYEXTRA to "" until you're comfortable with the script, and decide what you want to do then. I have it burn a CD of the weekly backups after the weeklies are done. The configurable stuff that's not documented in the top is in /etc/fstab. Set the sixth (freq) field of each file system to control how often it's dumped. 0 means never dump it, 1 means every day, 2 is every two days, and so on. I keep meaning to tweak this into distributable form and write docs, but just haven't done it yet. If you like it, bug me about it, and that may provide the incentive I need to finish the thing. $OUTDIR$fs.dump.gz fi done # Always dump root last, so we get the up-to-date /etc/dumpdates if test $dumproot = 1 then echo echo Dumping root: $DUMPER $DUMPFLAGS$LEVEL -f - / | gzip -9 > $OUTDIR/root.dump.gz fi # Finally, if there is some extra weekly task to perform, *do* it. if test "x$LEVEL" = "x$WEEKLYLEVEL" -a "x$WEEKLYEXTRA" != "x" then $WEEKLYEXTRA fi # How much space left on the output device? sync echo df -k $TOP --tzQKebTumo Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. --tzQKebTumo-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message