I have tried bppllist -L -allpolicies -keyword active I do not get an error but I do not get a list of active policies.
If I enter bppllist -l I get a large dump of what is the contents of the policy but no easy way to determin if the policy is active or not. If I had to run this command on each policy I can put it in a for loop. But, so far I do not see an easy way to extract whether or not the policy is active.
I need a way to grep through and determin which policy is active so that I can put that into a for loop so that I can change the volume pool and retention on the schedule of that policy.
You earned the extra helpful points since I did not know you could add key words to the attributes page. That is cool, the find trick will work better with a script. I can strip off the extra stuff and have just what I need.Message was edited by: Dennis Strom
Thanks for the reward! Sometimes it is necessary to temporarily deactivate a policy. Normally if I only need to de-activate a policy for a weekend, then I will use the "Active Go into effect at" and give it the date for Monday. Then it will automatically re-activate itself. Cool! Sometimes you do not know when to re-activate it. In those cases I de-activate and use the keyword so that I will know that a policy was purposefully de-activated. It simply slipped my mind when I was trying to answer your question. Sorry for the confusion.