Folks,
I've got Veritas NetBackup 3.1.1 running its NDMP extension, controlling full and incremental backups on a netapp running OnTap 5.2.1, using nrst0a as the dump device -- direct connection from the netapp to a DLT7000.
I'm trying to do a restore from tapes where the netbackup images have expired. (I did a "phase 1 import" which reads image headers, so I know which files I'd like off the tape; "phase 2 import" which reads files and rebuilds netbackup database info is failing -- this may be a separate issue.) The correct tape is loaded in the dlt. I'm seeing "RESTORE: Could not initialize media."
inbox1> mt -f nrst0a rewind inbox1> mt -f nrst0a status Tape drive: Digital DLT7000 Status: ready, write enabled Format: 85937 bpi 70 GB (w/comp) fileno = 0 blockno = 0 resid = 0 inbox1> mt -f nrst0a rewind inbox1> restore tvf nrst0a b 1 s 33 RESTORE: Tape Block size should be 1024, not 64512. RESTORE: Could not initialize media. inbox1> mt -f nrst0a rewind inbox1> restore tvf nrst0a s33 RESTORE: Tape Block size should be 1024, not 64512. RESTORE: Could not initialize media. inbox1> mt -f nrst0a status Tape drive: Digital DLT7000 Status: ready, write enabled Format: 85937 bpi 70 GB (w/comp) fileno = 0 blockno = 1 resid = 31744 inbox1>
Any ideas or suggestions?
Dave Toal Thomson & Thomson
Netbackup uses NDMP to ask the Netapp to do a dump. The Netapp uses its standard dump command. The restore as listed in the message below should work.
Netbackup tweaked gnutar for performance and to add support for things like HSM (so it doesn't kick off a caching operation when backing up the HSM directory). The actuall images put on tape are standard tar images that we could use any tar command to restore unless multiplexing is turned on (MPX > 1) which interleaves the tar files on tape. The Netapp dump does not interleave so it should produce a standard dump image on tape.
The only advice I would give Dave is to put a blank tape in, do a small dump, and try a restore. This will at least let him know if dump/restore works at all on that filer. Also, I remember getting media errors trying to do a dump when I was already using all of the snapshots. I'm not sure if restore uses a snapshot but its worth checking.
-Steve gremban@ti.com
Debbie Brown wrote:
From what I understand, Netbackup uses its own version of tar when it creates its non-NDMP
backups. I
believe it uses dump to make its NDMP backups; if possible, maybe they've tweaked the dump command
for
Netbackup NDMP backups like they tweaked the tar command for Netbackup non-NDMP backups.... (just
a
thought)
If he calls Veritas, they should be able to instruct him how to properly extract data from an
expired
image.
Sorry that I wasn't much help. Maybe Steve could shed some light....
-Debbie
G D Geen wrote:
Debbie,
does any of this sound familiar? Maybe you could help. -gdg
Dave Toal wrote:
Folks,
I've got Veritas NetBackup 3.1.1 running its NDMP extension, controlling full and incremental
backups on a netapp running OnTap 5.2.1, using nrst0a as the dump device -- direct connection from the netapp to a DLT7000.
I'm trying to do a restore from tapes where the netbackup images have expired. (I did a "phase
1 import" which reads image headers, so I know which files I'd like off the tape; "phase 2 import" which reads files and rebuilds netbackup database info is failing -- this may be a separate issue.) The correct tape is loaded in the dlt. I'm seeing "RESTORE: Could not initialize media."
inbox1> mt -f nrst0a rewind inbox1> mt -f nrst0a status Tape drive: Digital DLT7000 Status: ready, write enabled Format: 85937 bpi 70 GB (w/comp) fileno = 0 blockno = 0 resid = 0 inbox1> mt -f nrst0a rewind inbox1> restore tvf nrst0a b 1 s 33 RESTORE: Tape Block size should be 1024, not 64512. RESTORE: Could not initialize media. inbox1> mt -f nrst0a rewind inbox1> restore tvf nrst0a s33 RESTORE: Tape Block size should be 1024, not 64512. RESTORE: Could not initialize media. inbox1> mt -f nrst0a status Tape drive: Digital DLT7000 Status: ready, write enabled Format: 85937 bpi 70 GB (w/comp) fileno = 0 blockno = 1 resid = 31744 inbox1>
Any ideas or suggestions?
Dave Toal Thomson & Thomson