Operating System - Tru64 Unix
1748269 Members
3716 Online
108760 Solutions
New Discussion

Re: How to Restore /opt form Tape

 
SOLVED
Go to solution
Sial_1
Frequent Advisor

How to Restore /opt form Tape

hi all,

i have ES40 server with Tru64 v5.1 installed. i have /opt and /var backup on tape and i want to restore only complete /opt from tape at another node (ES40 Tru64 v5.1 2nd node) can some one help me to find out how to restore?

thanks in advance

SiaL
1 REPLY 1
Ivan Ferreira
Honored Contributor
Solution

Re: How to Restore /opt form Tape

It depends of how you did the backup.

If you used tar to make the backup, you need to run:

Identify the tape device name with:

hwmgr v d

Then run

tar xvf /dev/tape/tapeNc /opt

You can use the s option to avoid overwriting the current data and restore the files into the current directory.

If you made the backup with vdump, first you need to position the tape in the right position:

mt -f /dev/tape/tapeNc fsf

Then use:

vrestore -xf /dev/tape/tape0c -D /opt
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?