Views

How do I restore from NDMP tapes, especially without NetBackup?

This Wiki is brought to you by Backup Central, where you can find the Mr. Backup Blog, Forums, and a mailing list for each forum!

Backup FAQs Service Providers Backup Software Backup Hardware Backup Book Wiki Free Stuff Miscellaneous


From: Chris Graves <cmg@bow.rsc.raytheon.com> We have read backup tapes created on the NetApp using NDMP manually using the following two methods: 1) Veritas via NDMP just uses the NetApp "dump" command to creat the backups. This format is compatible with ufsdump, thus the tape can be read on a Solaris system using ufsrestore (though some information maybe lost if using NT ACL's). 2) the following is cut and paste from my notes. empress is the Sun where Veritas is installed and odin is the NetApp... to restore files on odin without the aid of netbackup: from empress, have a tape mounted:

 tpreq -ev def100 -p odin-vol0-full /tmp/tp

now do look at /tmp/tp to find out what tape drive has the tape

 cat /tmp/tp
 odin /ndmp/nrst0a

from odin, we can manipulate the tape using mt. First, fast forward past the volume header

 mt -f nrst0a fsf 1

Second, fast forward past the partition header

 mt -f nrst0a fsr 2

cd to the directory where you want files restored to to list dumpfile contents:

 restore tf nrst0a

(If you issue the restore command above, you will need to rewind the tape and reissue the fsf 1 and fsr 2 commands before you issue the command below.) to restore the files:

 restore xf nrst0a ./dir/path

when finished, unload tape:

 tpunmount /tmp/tp