Dumping multiple file systems

From: Britton Johnson <johnson_at_lindenwood.edu>
Date: Mon, 02 Mar 1998 16:14:59 -0600 (CST)

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_at_lindenwood.edu
Received on Mon Mar 02 1998 - 23:15:27 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT