tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Dumping multiple file systems
@ 1998-03-02 21:41 Britton Johnson
  0 siblings, 0 replies; 2+ messages in thread
From: Britton Johnson @ 1998-03-02 21:41 UTC (permalink / raw)
  To: tru64-unix-managers

Greetings Managers,

	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.

Thanks in advance,
Britt





    Britton Johnson,  Ass't System Admin.
   Lindenwood University, St. Charles, MO
           johnson@lindenwood.edu

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Dumping multiple file systems
@ 1998-03-02 22:14 Britton Johnson
  0 siblings, 0 replies; 2+ messages in thread
From: Britton Johnson @ 1998-03-02 22:14 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-03-02 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-02 21:41 Dumping multiple file systems Britton Johnson
  -- strict thread matches above, loose matches on Subject: below --
1998-03-02 22:14 Britton Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox