Views |
||||||||||||||
How do I get a script to run before a backup job starts?
Copy them into the /usr/openv/netbackup/bin directory (or <install_dir>\Veritas\NetBackup\binon Windows, and add the commands you want to run in the appropriate places in the script. You may customize the scripts to the class and schedule level by naming them bpstart_<start|end>[<classname>[<schedulename>]]if you desire. There is a problem with bpstart_notify and bpend_notify being used with multistreaming. It causes the bpstart/bpend script to run once for each filesystem. The easy fix for this is to disable multistreaming on classes that you need to run bpstart_notify and bpend_notify scripts. There is a work around for this problem on Unix clients. You can download a copy from http://www.backupcentral.com/bpstart-workaround.tar.gz. (This is an OLD workaround, but it might still work for you.) We had hoped that the parent job/child job feature in 6.0 would deal with this issue, but the parent bpnotify script currently only runs on the master. bummer. |
||||||||||||||
| This page was last modified 03:49, 3 December 2006. | ||||||||||||||