Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I am so glad that I found your site, it is an excellent resource and has helped me greatly..."

Geography

Where in the world do Tek-Tips members come from?

Symantec: NetBackup FAQ

Setup Veritas Netbackup

How to temporarily de-activate policies
Posted: 6 Jul 07

The trick is that you need to keep Netbackup running as normal but you do not want other jobs to run. This is what I do to keep certain backup jobs from being submitted during business hours.
 
# crontab -l
0 6 * * 1-5 /usr/local/scripts/policy-deactivate.sh
0 17 * * 1-5 /usr/local/scripts/policy-activate.sh
 
# cat /usr/local/scripts/policy-deactivate.sh
#! /bin/sh
for i in `/usr/bin/cat /usr/local/scripts/policylist`
do
/usr/bin/echo $i
/usr/openv/netbackup/bin/admincmd/bpplinfo $i -modify -inactive
done

# cat /usr/local/scripts/policy-activate.sh
#! /bin/sh
for i in `/usr/bin/cat /usr/local/scripts/policylist`
do
/usr/bin/echo $i
/usr/openv/netbackup/bin/admincmd/bpplinfo $i -modify -active
done

# cat /usr/local/scripts/policylist
Prod_Messaging_Clus1
Prod_Messaging_Clus2
Prod_Messaging_Clus3
Prod_Messaging_Clus4
Prod_Messaging_Clus5
Prod_Messaging_Clus6
Prod_Messaging_Clus7
Prod_connect_BCV

Back to Symantec: NetBackup FAQ Index
Back to Symantec: NetBackup Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close