cancel
Showing results for 
Search instead for 
Did you mean: 

how to set run backups jobs within a certain time windows

FlyMountain
Moderator
Moderator
   VIP   

we have reserved 4 tape drives for a mission critical application backups, backups normally take 5 hours to completed and kicked off at same time.

Just wondering if we can use these drive for other puroses but when that application backup requires, have to give up the drives right way.

 

2 REPLIES 2

Amol_Nair
Level 6
Employee
There is no setting in nbu which would force a job to give away their allocated resources to another jobs immediately.. Wouldn’t such a setting be a flaw in the product ad it would force on going jobs to fail and in turn be as good as a data loss situation..

changing job/policy priorities can ensure that these jobs have higher preference over other queued jobs and ensure that they take up resources prior to other jobs in queue..

Genericus
Moderator
Moderator
   VIP   

If you are confident with your shell scripting and command line, you can use bpdbjobs to list out jobs and cancel or suspend them.

Say you have backups running and you want to kill them all at 11:00, and start one particular policy.

1. have crontab run your script at 10:55 to deactivate all active policies - so no new backups can start

2. after deactivation, continue your script and kill active jobs

3. have your script activate only the policy you want to start

4 wait, then reactivate the rest of your policies.

 

If you are on solaris or linux, this is farly easy to do.

 

 

NetBackup 8.3.0.1 on Solaris 11, writing to Data Domain 9800 6.2.1.0
duplicating via SLP to LTO5 in SL8500 via ACSLS