15 years ago
How an external script can tell if a BE backup job is running or not
Hi:
I have server maintenance scripts that do things like apply OS updates and reboot the server if necessary. We have Backup Exec 10d (about to upgrade to the 2010 version) running on a Windows 2003 server. I would like the script (VBScript currently, PowerShell at some point) to be able to tell if there is a backup job running and, if so, pause for a certain amount of time and check again. Once the backup job is complete the script can proceed to install the OS updates and reboot the server.
I was hoping there might be a unique process running in the OS during a backup job that isn't there when the job is complete that I could use as my indicator, but that doesn't seem to be the case.
Ideas?
I have server maintenance scripts that do things like apply OS updates and reboot the server if necessary. We have Backup Exec 10d (about to upgrade to the 2010 version) running on a Windows 2003 server. I would like the script (VBScript currently, PowerShell at some point) to be able to tell if there is a backup job running and, if so, pause for a certain amount of time and check again. Once the backup job is complete the script can proceed to install the OS updates and reboot the server.
I was hoping there might be a unique process running in the OS during a backup job that isn't there when the job is complete that I could use as my indicator, but that doesn't seem to be the case.
Ideas?