Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run program before/run program after - Solaris -W2K-NB4.5

Status
Not open for further replies.

joenok

MIS
Feb 27, 2002
49
US
is there a way to run a program before a policy kicks off to stop a running program and then when the backup is done to kick the program on again? - Solaris 9 client - Netbackup 4.5 Datacenter on Windows 2000 platform

Thanks
 
Yes, in the install path\netbackup\bin\goodies directory there is a script/file called backup_start.notify and backup_end.notify. In the backup start you would place the information to stop your application prior to backup and in the backup end file you would place the information to start your application when the backup is complete.
 
I am trying to use the start and end sripts for K360 running HP-UX ll.0 but it won't take the changes that I added to the file.
The changes are simple unix commands. Any suggestions?
 
Check where your scripts are located and named. They MUST reside in netbackup\bin AND they must be named according to the schedule.

e.g. You have a policy named div_loc_nt_backup. You want your start scripts to run regadless of schedule. The scripts will be named:
bpstart_notify.div_loc_nt_backup and
bpend_notify.div_loc_nt_backup

The script names ARE case sensitive and must match 100%.
 
I've got the same configuration!

You have to add a Script on the Solaris 9 Client, not to the Server!

The name and location of the files are:
/usr/openv/netbackup/bin/bpstart_notify
/usr/openv/netbackup/bin/bpend_notify

Files should be chmoded to 555 and chowned to root
Examples can be found on Installation CD (Path depends on how your vold mounts removable media):
/cdrom/nb45fp3_solaris_0113/solaris/VRTSnetbp/reloc/$INSTALL_NB_DIR/openv/netbackup/bin/goodies
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top