I've not had any responses to this question, so I thought I'd revise
it to include what I've discovered since posting it.
When the tape media I'm backing the catalogue up to is one of the two
defined catalogue media (changed either via the GUI or bpsyncinfo) the
backup has a DBBACKUP status in available_media. As soon as I remove
it from the configuration, it reverts back to AVAILABLE. I can set
the catalogue media to any of the previously written tapes, and each
displays as DBBACKUP.
Using vmquery, I see that the GUI-defined DBBACKUP tape has a status
of 0x1, but the others that should have it do not have a status,
hence AVAILABLE.
I was able to execute bprecover -l -tpath <filename> to verify that
the backups were on the tape.
I can clearly remember a point in time where I had multiple media with
a status of DBBACKUP. The only thing I can think of that has changed
was the application of the 341_3A patch in October.
Has anyone experienced this and/or have any suggestions?
Thanks,
Lee Anne
-----Original Message-----
From: Lee Anne Pedersen
Sent: Friday, November 22, 2002 3:06 PM
To: Veritas-bu (E-mail)
Subject: [Veritas-bu] NBU 3.4 Win2K - validate catalog backups
I currently use a Perl script to backup my catalogs to a different tape
every day to be sent offsite. At some point in the past, my available_media
report started showing the status of the NetBackup pool tapes as AVAILABLE
instead of DBBACKUP. So I wish to verify that the catalog backup to tape
is valid.
I use the command `$adm_path\\bpbackupdb -v -tpath $mount_loc` to execute
the backup after loading a tape using `$vm_path\\tpreq -ev $mediaid -d dlt
-p $pool -f $mount_loc`.
But when I try to read the header information on the tape `bprecover -l -ev
DSR346 -d dlt` I get the error:
incorrect media found in drive, found C:\Temp\nb_mount, expected DSR346
media manager found wrong tape in drive
bpsyncinfo -L says that the last media use was the defined disk backup
location that executes after each successful scheduled backup, even though
I've done three backups to tape since. The tapes mount and something gets
written to them, as it takes about 10 minutes to run. The log states that
a catalog backup to C:\Temp\nb_mount succeeded.
How do I validate these tapes? I don't have a server to do a test bprecover
on.
Thanks,
Lee Anne
Lee Anne Pedersen
LAN/Server Analyst
Alberta Corporate Service Centre (ACSC)
DCS Delivery Team E
Ph: 780-427-2504
LeeAnne.Pedersen AT gov.ab DOT ca
This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.
|