Veritas-bu

[Veritas-bu] Disaster Recovery Sanity Check

2003-09-02 14:05:05
Subject: [Veritas-bu] Disaster Recovery Sanity Check
From: jpyne AT worldatwork DOT org (Jeffrey Pyne)
Date: Tue, 2 Sep 2003 11:05:05 -0700
On Friday, August 29, 2003 7:38 PM, Karl.Rossing AT Federated DOT CA wrote:

> How do you create a catalog tape every day when your catalog 
> tape is offsite and you can only have two tapes? 

I wrote a Perl script that finds an AVAILABLE tape in our OFFSITE pool,
mounts it with tpreq (e.g. /usr/openv/volmgr/bin/tpreq -m 000001 -p OFFSITE
-f /usr/tmp/000001), backs up the NetBackup and Volume Manager databases to
that tape (e.g. /usr/openv/netbackup/bin/admincmd/bpbackupdb -rv 000001
-tpath /usr/tmp/000001), checks to make sure the backup succeeded (i.e. by
comparing the output of /usr/openv/netbackup/bin/admincmd -l -tpath
/usr/tmp/000001 to /usr/openv/netbackup/db/config/sync), unmounts the tape
(e.g. /usr/openv/volmgr/bin/tpunmount /usr/tmp/000001), updates the Volume
Manager database to indicate the date the tape is going offsite and when it
should return, and finally ejects the tape to the CAP.

~Jeff

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Disaster Recovery Sanity Check, Jeffrey Pyne <=