ufsrestore for multiple volumes

From: Shiva Somasundaram (shiva.somasundaram@redknee.com)
Date: Wed Aug 25 2004 - 21:14:31 EDT


Hi,

I am having ufsdump for around 20 directories in a single tape (backed up as
individual volumes).

Now I want to restore all 20 directories in one single ufsrestore command.
How can I do that ?

The alternative which I am doing manually now is:

1) ufsrestore xvf /dev/rmt/0cbn
    ---> this restores my 1st directory if specify the volume# as 1

2) ufsrestore xvf /dev/rmt/0cbn
    --> This will ask me to Mount Volume 2 and then enter volume name
   --> ctrl-C will take me out of the loop.

3) ufsrestore xvf /dev/rmt/0cbn
    --> This will be same as step 1 but with the second directory (volume) in
my tape.
:
:
and this goes on twenty times.

Is there a way I can do it in one command ?

Thanks in advance,

Shiva
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:21 EDT