Link to home
Start Free TrialLog in
Avatar of mmssi
mmssiFlag for United States of America

asked on

restoring from 2nd volume of a tape backup on AIX 4.3.3

My backups will use 2 tapes/volumes.  I use the backup command to backup the system.  Now if I just want to view or restore something from the 2nd volume how can I do this using the restore command.  I basically want to skip the first volume which I can't seem to avoid.  Any examples or suggestions would be helpful.  I am on AIX 4.3.3.

Thanks!
Avatar of bira
bira


 restore -X 2 -vf/dev/rmt0
-X VolumeNumber Begins restoring from the specified volume of a multiple-volume,
file-name backup. Once started, the restore command behavior is the
same as with the -x flag. The -X flag applies to file-name archives
only.
Avatar of mmssi

ASKER

if I use restore -X 2 -tvf/dev/rmt0  then can I just VIEW the files on that backup and NOT restore them?


No
  The flags -T and -X are excludent.
What happens when you place the second volume in the unit
and run

      restore -Tvf/dev/rmt0  

                             ?

                                   
Avatar of mmssi

ASKER

restore -Tvf/dev/rmt0 will ask for the first volume even if the second volume is in the tape drive.
ASKER CERTIFIED SOLUTION
Avatar of bira
bira

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation for this question in the Cleanup topic area as follows:
- Answered by bira

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster (I don't work here, I'm just an Expert :-)
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange