Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* q: vdump : multiple domains and ufs disks
@ 1996-05-07  4:00 Martin Hannigan
  1996-05-09  4:00 ` Peter Mayne
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Hannigan @ 1996-05-07  4:00 UTC (permalink / raw)





I have a question regarding vdump. In the man pages, it never says that
I can't backup more than one file system per tape, but it seems like
that is the reality..

bkup.sh

[ relevant portions only ]

I intitialize some stuff..

OPTION="-N -D -v -u -f "
TAPE="/dev/rmt0h"


Then I do some day of the week checking..Mon..Fri=level..

Then I exec vdump:

/sbin/vdump -$LEVEL $OPTION $TAPE /var  
/sbin/vdump -$LEVEL $OPTION $TAPE /usr/data  
/sbin/vdump -$LEVEL $OPTION $TAPE /usr/data2  
/sbin/vdump -$LEVEL $OPTION $TAPE /home/harp  


DEC 2100 2/275mhz CPU, DU 3.2, 256 MB RAM, 60GB disk.

I'm using a tz88 and DLT cartridges. Can someone give me a point in
the right direction? i.e. relevent man page section, etc. 


Thank you..


-- 
Martin Hannigan (hannigan@shore.net)
PGP Fingerprint: F9 CF 9C 9F E4 CD E0 D5  
	         50 86 93 CA 0C EB 8F 10 



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

* Re: q: vdump : multiple domains and ufs disks
  1996-05-07  4:00 q: vdump : multiple domains and ufs disks Martin Hannigan
@ 1996-05-09  4:00 ` Peter Mayne
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Mayne @ 1996-05-09  4:00 UTC (permalink / raw)



Martin Hannigan wrote:
> 
> I have a question regarding vdump. In the man pages, it never says that
> I can't backup more than one file system per tape, but it seems like
> that is the reality..
> 
> bkup.sh
> 
> [ relevant portions only ]
> 
> I intitialize some stuff..
> 
> OPTION="-N -D -v -u -f "
> TAPE="/dev/rmt0h"

There's your problem.

> Then I do some day of the week checking..Mon..Fri=level..
> 
> Then I exec vdump:
> 
> /sbin/vdump -$LEVEL $OPTION $TAPE /var
> /sbin/vdump -$LEVEL $OPTION $TAPE /usr/data
> /sbin/vdump -$LEVEL $OPTION $TAPE /usr/data2
> /sbin/vdump -$LEVEL $OPTION $TAPE /home/harp

You're using the rewind tape device. Every time you run vdump, it dumps the 
filesystem, then rewinds the tape, so the next time you run vdump, it overwrites 
what you just did.

Here's a version of a script I use to do single-user mode system backups:

#!/bin/sh
vdump -0f /dev/nrmt0h /
vdump -0f /dev/nrmt0h /usr
vdump -0f /dev/nrmt0h /var
mt rewoffl

Note the use of /dev/nrmt0h (the non-rewind device) rather than /dev/rmt0h. To 
get to files other than the first one, see mt fsf.
-- 
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.



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

end of thread, other threads:[~1996-05-09  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-07  4:00 q: vdump : multiple domains and ufs disks Martin Hannigan
1996-05-09  4:00 ` Peter Mayne

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