Kill backup job when backup window is closed
Hi, I am looking for methods to kill backup jobs when backup windows is closed. My master server is NBU 7.0.1 on windows 2008 r2.
I have some policies sometimes run till backup window is closed. For example, one backup job is scheduled to run at 9pm daily. The backup window is 9pm to 12am. However, sometimes maybe due to the size of the backup data, it only completes the backup job at 1am or even 2am.
My question is: is there a way in NBU to configure so that if the backup windows is closed, the backup job which is still running will be killed automatically?
The reason that I want to do this is because I have some database clients which backup windows is limited to given timing. If backup jobs run beyond the backup window, it may corrupt the database.
Thanks.
Why on earth would you want to kill running backups? Netbackup is designed to complete backups once started.
The backup window that you specify is a START window, not a 'backup duration' window. In other words, the backup window that you specify is the time during which you allow NBU to START the backup. As long as the backup can start before the backup window closes, NBU will complete it. If you want backups to finish earlier, you probably need to start them earlier.
There is no way that NBU wil automatically kill backups. You will have to write scripts or get an operator to do that...