[SunHELP] (no subject)
Brian Hechinger
sunhelp at sunhelp.org
Fri Jul 6 08:49:23 CDT 2001
On Fri, Jul 06, 2001 at 12:22:09PM +0100, Peter Stokes wrote:
> 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
>
> ufsrestore rf /dev/rmt/0
> mt -f /dev/rmt/0 fsf 3
> ufsrestore rf /dev/rmt/0n
>
> Note the mt to move the tape to the correct dumpset.
or, you could use ufsrestore's s option.
ufsrestore rfs /dev/rmt/0 1
ufsrestore rfs /dev/rmt/0 4
although, to do it your way, you would want to use the non-rewinding device the
first time around:
ufsrestore rf /dev/rmt/0n
mt -f /dev/rmt/0 fsf 3
ufsrestore rf /dev/rmt/0
cheers,
-brian
More information about the SunHELP
mailing list