Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2000 17:09:31 -0600 (CST)
From:      Guy Helmer <ghelmer@cs.iastate.edu>
To:        Lance Woodson <lance@woodson.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Dumping Multiple Filesytems to 1 Tape?
Message-ID:  <Pine.HPX.4.05.10003091659570.13272-100000@popeye.cs.iastate.edu>
In-Reply-To: <38C82369.CE0A3837@woodson.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Mar 2000, Lance Woodson wrote:

> Is there any way to dump multiple filesystems to the same tape?

Sure, specify the "no-rewind" device (e.g., /etc/nrsa0 for a SCSI tape) as
the device for the backup output, like

dump -0 -f /dev/nrsa0 /
dump -0 -f /dev/nrsa0 /usr
mt -f /dev/nrsa0 rewind

An end-of-file mark is written to the tape each time its device is closed 
to separate each file on the tape.

The restore command has an option to specify the number of files to skip
on the tape, so you can forward to the dump for a particular filesystem
when you need to restore files.

See the dump(8), restore(8), sa(4), and mt(1) man pages for more details.

HTH,
Guy

Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science 
Research Assistant, Dept. of Computer Science   ---   ghelmer@cs.iastate.edu
http://www.cs.iastate.edu/~ghelmer
Mistakes in this message are likely due to a cat walking across my keyboard.



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?Pine.HPX.4.05.10003091659570.13272-100000>