Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Utility to disable and enable all policies

Created: 23 Jun 2013 | 1 comment
Mouse's picture
1 Agree
0 Disagree
+1 1 Vote
Login to vote

Since any manipulation with NBU software binaries requires admins to disable policies to prevent backups from running, it could be handy if there will be utility for doing this task. The reason behind it:

- There are environment with hundreds of policies, using NBU console for disabling policies could be just slow

- In most environments requirement is not only disable active policies but also keep track of already disabled policies, so they are not accidentally enabled after manipulations, thus reducing risk of human error

- Dedicated utility can be used in scripts/automation tools

Comments 1 CommentJump to latest comment

John_Nardello's picture

Talk with your SE/BCE about getting copies of the "Guided Method Tools". The one you want is called "install_prep.pl". Yes, it'd be nice if this was built-in or otherwise provided though.

$ ./install_prep.pl -help

The default behavior is to discover all policies, and their current state.
This information is placed in a file (in this directory) install_prep.data,
and any active policy will be deactivated.

Any DSSU's are modified to exclude todays date (if necessary), and any active
SLP policies will be deactivated.

Once the upgrade is complete, rerun with the -reactivate switch, and any policies
that are found in the install_prep.data file to have been active will be reactivated
DSSU's will have the date exclusion removed, and all SLP's that were deactivated
will be reactivated.

switches: [-deactivate] | [-reactivate]
          Specify -deactivate prior to upgrade, do not delete the install_prep.data file
          Specify -reactivate once upgrade is done, and policies can be re-activated

- "Your backups are only as good as your restores."

+1
Login to vote