Does anyone know how to restore a Veritas NetBackup NDMP backup using restore (or ufsrestore)?
Its quite easy with a single tape backup (you do a "mt -f nrst0a fsf 1; mt -f nrst0a fsr 2" to skip over the Veritas header). But after skipping the header on a second tape, the format doesn't seem to be the same as a normal dump continuation tape.
On the second tape you "fsr 1" instead of 2.
The entire NDMP image is encapsulated in a tar header and trailer. Each tape file has a leading file header. Each tape has a tape label.
At the beginning you are
skipping the tape label file skipping the file header and tar header
On the 2..N tapes you need to
skip the tape label file skip the file header
__________________________________________________________________________ Steve Kappel steve.kappel@veritas.com VERITAS Software steve@stevekappel.com (Personal)
Thanks for this additional info. This was what I was after.
I just tried this (on 5.3.7R2) and the H option appears to work fine. (Don't you just love these undocumented switches, can NetApp document it please).
- Bruce
-- Bruce Arden arden@nortelnetworks.com Nortel Networks, London Rd, Harlow, England +44 1279 40 2877
Yinfung Fong wrote:
You will also need the 'H' option for the restore on filer. The beginning of dump stream on second and subsequent tapes does not have a dump header and the option instructs restore to skip it.
I believe ufsrestore does not support this option and thus it's much more difficult to run on dumps generated by NDMP. It is possible though.
On Tue, 10 Apr 2001, Steve Kappel wrote:
Does anyone know how to restore a Veritas NetBackup NDMP backup using restore (or ufsrestore)?
Its quite easy with a single tape backup (you do a "mt -f nrst0a fsf 1; mt -f nrst0a fsr 2" to skip over the Veritas header). But after skipping the header on a second tape, the format doesn't seem to be the same as a normal dump continuation tape.
On the second tape you "fsr 1" instead of 2.
The entire NDMP image is encapsulated in a tar header and trailer. Each tape file has a leading file header. Each tape has a tape label.
At the beginning you are
skipping the tape label file skipping the file header and tar header
On the 2..N tapes you need to
skip the tape label file skip the file header
Steve Kappel steve.kappel@veritas.com VERITAS Software steve@stevekappel.com (Personal)