Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* vdump backup
@ 2000-06-16  4:00 Srikanth Seshadri
  2000-06-16  4:00 ` Oisin McGuinness
  0 siblings, 1 reply; 2+ messages in thread
From: Srikanth Seshadri @ 2000-06-16  4:00 UTC (permalink / raw)


Hi,

I need to back up 10 Advfs filesystems in a server. I know that only one fs
name can be specified as arguement in vdump command. In this way I can have
10 vdump commands one after the other in a script with a non-rewindable
tape as a device in each case. After I backup, how do I check whether all
the fs have been backed up. Can I do it this way?

1. run backup script with 10 vdump commands with /dev/nrmt0h tape device
2. mt -f /dev/rmt0h
3. vrestore -l -t /dev/rmt0h
4. mt -f /dev/rmt0h fsf 1
5. vrestore ----
repeat the above command for all the filesystems.

Please give your suggestion.

Thanks & regards,
srikanth




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

* Re: vdump backup
  2000-06-16  4:00 vdump backup Srikanth Seshadri
@ 2000-06-16  4:00 ` Oisin McGuinness
  0 siblings, 0 replies; 2+ messages in thread
From: Oisin McGuinness @ 2000-06-16  4:00 UTC (permalink / raw)


In your steps 2, 3, 4, 5, you will need to use the non-rewind device
each time
(that is /dev/nrmt0h). Otherwise, command 4 (for example) will move the
tape ahead by 1 saveset,
but then rewind the tape when finishing.

Apart from that, it should work.
It is fairly easy to elaborate on this; for example, dd the list of file
systems and a date
stamp as the first file on the tape, then build a little restore script
which will read
the label, and given a file system name, figure out how much fsf'ing to
do, so you can selectively
restore by specifying names etc. etc. But if you are going to that much
trouble, maybe you should
consider Amanda.

Hope this helps.

Oisin McGuinness
Sumitomo Bank Capital Markets
277 Park Avenue
New York NY 10172
USA

Srikanth Seshadri wrote:
> 
> Hi,
> 
> I need to back up 10 Advfs filesystems in a server. I know that only one fs
> name can be specified as arguement in vdump command. In this way I can have
> 10 vdump commands one after the other in a script with a non-rewindable
> tape as a device in each case. After I backup, how do I check whether all
> the fs have been backed up. Can I do it this way?
> 
> 1. run backup script with 10 vdump commands with /dev/nrmt0h tape device
> 2. mt -f /dev/rmt0h
> 3. vrestore -l -t /dev/rmt0h
> 4. mt -f /dev/rmt0h fsf 1
> 5. vrestore ----
> repeat the above command for all the filesystems.
> 
> Please give your suggestion.
> 
> Thanks & regards,
> srikanth



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

end of thread, other threads:[~2000-06-16  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-16  4:00 vdump backup Srikanth Seshadri
2000-06-16  4:00 ` Oisin McGuinness

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