Solved

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

Posted on 2001-08-21
9
402 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 6

Expert Comment

by:bira
ID: 6410868

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

Expert Comment

by:bira
ID: 6410886
-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
ID: 6411181
if I use restore -X 2 -tvf/dev/rmt0  then can I just VIEW the files on that backup and NOT restore them?


0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:bira
ID: 6411203
No
  The flags -T and -X are excludent.
0
 
LVL 6

Expert Comment

by:bira
ID: 6411296
What happens when you place the second volume in the unit
and run

      restore -Tvf/dev/rmt0  

                             ?

                                   
0
 

Author Comment

by:mmssi
ID: 6411314
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
ID: 6411368
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 21

Expert Comment

by:tfewster
ID: 7774776
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
ID: 7864334
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

729 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