[SunHELP] (no subject)

Peter Stokes sunhelp at sunhelp.org
Fri Jul 6 06:22:09 CDT 2001


Hi

So assuming you have 4 dump sets on the tape and I wanted to restore dumpset
1 and 4 and the tape is /dev/rmt/0 for the rewind device and /dev/rmt/0n for
the no-rewind device I would use the following

cd <directory I want the dumpset 1 to restore to>
ufsrestore rf /dev/rmt/0
cd <directory I want the dumpset 4 to restore to>
mt -f /dev/rmt/0 fsf 3
ufsrestore rf /dev/rmt/0n

Note the mt to move the tape to the correct dumpset.

That should restore both.

Peter

-----Original Message-----
From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
Behalf Of Haydar Yilmaz
Sent: 06 July 2001 11:47
To: sunhelp at sunhelp.org
Subject: RE: [SunHELP] (no subject)


Let's say; I have four file systems backed up on a tape. I want start the
restore process for two of those file systems and leave the office and get
the file systems restored when I come back in the morning. I achived to run
the script below for vxrestore but could not run it fot ufsrestore:

vxrestore ivf /dev/rmt/2cn << EOF
1  # For the question " next volume number= ?"
y  # For the question at the end "setuid/setgid[y/n]=?"
EOF


>From: "Peter Stokes" <peter at ashlyn.co.uk>
>Reply-To: sunhelp at sunhelp.org
>To: <sunhelp at sunhelp.org>
>Subject: RE: [SunHELP] (no subject)
>Date: Thu, 5 Jul 2001 22:18:43 +0100
>
>Hi
>
>Not sure what you mean, is this for a single tape?
>
>If so you can use ufsrestore -r to restore the whole of the dump.
>
>Peter
>---------------------------------
>Peter Stokes
>Ashlyn Computer Services Ltd
>Tel: +44 (0)1636-627900
>Fax: +44 (0)1636-627909
>Mbl: +44 (0)7977-532320
>Web: http://www.ashlyn.co.uk
>---------------------------------
>
>-----Original Message-----
>From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
>Behalf Of Haydar Yilmaz
>Sent: 05 July 2001 19:55
>To: sunhelp at sunhelp.org
>Subject: [SunHELP] (no subject)
>
>
>Hi all,
>is there any way of restoring a vxdump or ufsdump backup without a need of
>reply? In other words; I do not want to reply the "next volume number" and
>"setuid/setgid" questions, so a way of ufsrestore and vxrestore which is
>not
>interactive ( not the ivf option!).
>Thanks.




More information about the SunHELP mailing list