Veritas-bu

[Veritas-bu] backing up databases

2006-03-09 12:09:32
Subject: [Veritas-bu] backing up databases
From: dave.markham AT fjserv DOT net (Dave Markham)
Date: Thu, 09 Mar 2006 17:09:32 +0000
Ok, been tasked with giving my input on a backup solution for a new
project. Someone had designed it to start backing up things using
scripts from cron calling other scripts and then netbackup bpbackup
commands and all sorts of random junk.

Anyway assume we are talking Solaris 8 or 9 with fiber attached units.

The question i have which was from the original design ( and i guess
still a requirement ) is how do people go around backing up database
volumes. I myself have had dbas ( running oracle ) to do hot_archives
and then backup that. The hot_archives are called from bpstart_notify so
are captured within netbackup if they take too long or if they fail. I
can also do some checking if directories exist etc before running the
oracle backup. Also have the added benefit of not writing to tape until
exit call from hot_archive which means db backup has finished.

Ok, thats one way, the other way i do on another project is use SSO
option on the database servers which have dedicated HBA's through fiber
to the tape units and shared drives. I just point at a location and
assume everything in there is ready to be backed up. This project is
slightly different and the DBA's are responsible for the backup.

The way this new project is wanting to go is by mounting a storage
volume ( disk ) on the db server and writing a backup to it. then
unmounting it and then mounting it on the backup server to be written to
tape directly.

What i want to know is how ( if we have to go this route ) can i control
this within netbackup and not start backups unless mount and unmount
requests have been done?

Do i have bpstart scripts on the db servers, which do the mounts, then
the oracle backups and then the unmounts. If this fails can i send
something back through bpstart so the backup doesnt run and fails with a
certain netbackup code?

The benefit of the mount, unmount is so the resource is not used on the
db servers to do backups, but im not sure how i am going to control the
process within netbackup to capture any errors. So has anyone done
anything similar which they can advise with??

Thanks
Dave

<Prev in Thread] Current Thread [Next in Thread>