Solved

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

Posted on 2001-08-21
9
386 Views
Last Modified: 2010-04-21
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!
0
Comment
Question by:mmssi
9 Comments
 
LVL 6

Expert Comment

by:bira
Comment Utility

 restore -X 2 -vf/dev/rmt0
0
 
LVL 6

Expert Comment

by:bira
Comment Utility
-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.
0
 

Author Comment

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


0
 
LVL 6

Expert Comment

by:bira
Comment Utility
No
  The flags -T and -X are excludent.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 6

Expert Comment

by:bira
Comment Utility
What happens when you place the second volume in the unit
and run

      restore -Tvf/dev/rmt0  

                             ?

                                   
0
 

Author Comment

by:mmssi
Comment Utility
restore -Tvf/dev/rmt0 will ask for the first volume even if the second volume is in the tape drive.
0
 
LVL 6

Accepted Solution

by:
bira earned 50 total points
Comment Utility
That happens because there is an index in the first tape
with the contents of the entire backup.

  So, as the flags -X  and -T are excludend, you will not
get the list from the second tape.

  Otherwise you can restore from any volume with -X
without placing the previous tapes.

        Regards

 

 
0
 
LVL 20

Expert Comment

by:tfewster
Comment Utility
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 :-)
0
 

Expert Comment

by:SpideyMod
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now