Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

How to Restore /opt form Tape

Go to solution
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

Ivan Ferreira
Honored Contributor

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?