From owner-freebsd-questions Wed Oct 28 14:18:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25247 for freebsd-questions-outgoing; Wed, 28 Oct 1998 14:18:35 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from postoffice.onu.edu (postoffice.onu.edu [140.228.10.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA25242 for ; Wed, 28 Oct 1998 14:18:34 -0800 (PST) (envelope-from r-beer@onu.edu) Received: from [140.228.15.35] (asterion.onu.edu [140.228.15.35]) by postoffice.onu.edu (8.8.5/8.8.5) with ESMTP id RAA12276; Wed, 28 Oct 1998 17:17:29 -0500 (EST) Message-Id: In-Reply-To: <3637903E.61F7@mhi-tx.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 28 Oct 1998 17:19:49 -0500 To: Robert , freebsd-questions@FreeBSD.ORG From: Robert Beer Subject: Re: dump Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 4:44 PM -0500 10/28/1998, Robert wrote: >How would I backup (and restore) more than one filesystem on a single >tape using dump. >is this a good idea? possible? recommended? > >I have a 2gig hp dat drive and some small filesystems (freebsd >2.2.5+2.2.6) I have tried doing them one after the other which seems to >work exept when I try to restore.. it only sees the first system dumped. >(seems logical because I would have to move the the beginning of the >next dump to read the header info off of it) I am not sure how to do >this ... I have looked at wt..etc.. but none seem position me at the >next dump header record. > >any clues would be greatly appreciated.. This is an example (for a mail server) that I feed to a cron job: -=-=- script dump_all -=-=- #!/bin/sh # @(#)dump_all Dump all partitions CURTIME=`/bin/date` /bin/echo "Begining dump at $CURTIME." /sbin/dump 0auf /dev/nrst0 /var/mail /sbin/dump 0auf /dev/nrst0 /var /sbin/dump 0auf /dev/nrst0 / /sbin/dump 0auf /dev/nrst0 /usr /sbin/dump 0auf /dev/nrst0 /var/spool/mqueue /sbin/dump 0auf /dev/nrst0 /var/tmp /usr/bin/mt -f /dev/rst0 offline CURTIME=`/bin/date` /bin/echo "Ending dump at $CURTIME." -=-=- end script dump_all-=-=- The cron command is: dump_all 2>&1 | mail -s "Dump Log" root --- Bob Beer Ohio Northern University, Academic Computer Services, Ada, OH 45810 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message