From: Britton Johnson <johnson () lindenwood ! edu>
To: tru64-unix-managers
Subject: Dumping multiple file systems
Date: Mon, 02 Mar 1998 22:14:59 +0000 [thread overview]
Message-ID: <96078701111196.tru64-unix-managers.marc@archive.invalid> (raw)
My original message...
This is an extremely basic inquiry regarding using dump to backup
multiple filesystems. I notice that under the man page for dump it states
the syntax is /usr/sbin/dump [key [argument ...] file system] (not
filesystem(s)). Could one simply append multiple filesystems there?
(see? basic)... if not could one use the -N to prevent it from rewinding
the tape and follow with a second dump of a seperate filesystem? My
reason for asking is my root and tmp filesystems are so small I hate to
blow a 1.3 gb tape on a few megs.
Responses:
The consensus is that
A) no, it is not wise to attempt doing a multiple dumps on one command
line.
B) yes the -N flag or pre-pending n to the device name will prevent the
tape from rewinding allowing multiple backups on one tape.
Here is a suggested script idea by John Warren:
just use the dump -f /dev/nrmt0h (or whatever device you have). The n
means no rewind. Put your dump into a script...
set mpoints="/ /usr"
foreach mpoint ($mpoints)
/sbin/vdump -0uN -f /dev/nrmt0h $mpoint
Do a couple of test dumps, then use mt to position the tape to make sure
you are getting what you want.
mt rew
mt fsf1
restore -t (should list 2nd dump set (usr?)
Thanks to:
Jon Hamilton, Mark Huehls, Rick Greene, John Warren, Ian Mortimer and
Kristin (Kris) Larsen for speedy responses!
and thanks to any responses I haven't received yet.
Britton Johnson, Ass't System Admin.
Lindenwood University, St. Charles, MO
johnson@lindenwood.edu
next reply other threads:[~1998-03-02 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-02 22:14 Britton Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-03-02 21:41 Dumping multiple file systems Britton Johnson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox