Pre and Post backup scripts
Hi all,
Running NBU 7.1.0.2 on SLES 10, and I have a few Solaris 9 servers that need to stop services (bring down DBs) in order to run backups, and--of course--bring them backup after backups are done.
What the best way to do this?
Is it using bpstart_notify and bpend_notify?
thanks for the help!
Remember if you use bpstart_notify and bpend_notify (which is a nice easy way of doing things to be honest) then they have a default timeout of 5 minutes
If what they do has not complted by then the backup will fail
You can change these timeouts in the host properties or via the bp.conf:
BPSTART_TIMEOUT =
BPEND_TIMEOUT =
If what you want to do is simple and straight forward then these would be the way to go but ensure what ever you run does close to prevent the timeouts
Hope this helps