Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 1998 14:05:44 -0800 (PST)
From:      David Wolfskill <dhw@whistle.com>
To:        freebsd-questions@FreeBSD.ORG, robert@mhi-tx.com
Subject:   Re: dump
Message-ID:  <199810282205.OAA13614@pau-amma.whistle.com>
In-Reply-To: <3637903E.61F7@mhi-tx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Wed, 28 Oct 1998 15:44:31 -0600
>From: Robert <robert@mhi-tx.com>

>How would I backup (and restore) more than one filesystem on a single
>tape using dump.
>is this a good idea? possible? recommended?

It's possible; with reasonable care, it can be done OK.

>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.

Each dump image is stored as a separate file (as long as you're using
the no-rewind device; if you weren't, each dump image gets written
beginning at the beginning of the tape... and naturally, the last one
written is all that will be there).

"mt -f /dev/nrst0 fsf [count]" advances "count" files (1 by default).

Note the "n" in "/dev/nrst0" -- if you merely said "/dev/rst0," it would
advance to the requested file, then promptly rewind the tape at close,
so when you tried to read the dump image, you'd be back at the
beginning.

david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810282205.OAA13614>