Professional Documents
Culture Documents
Code 247
Code 247
Solution
Message: the specified policy is not active Explanation: Backups for the specified policy are disabled because the policy is inactive. Recommended action: Activate the policy and retry the operation.
Problem
How to easily determine which policies are active/inactive (for a large number of policies) when getting error status code 247
Error
Status Code: 247 - the specified policy is not active.
Solution
Normally, the Backup Policy Management GUI is used (by looking at the policy attributes) when checking if a policy is active or not. This can be very tedious if hundreds of policies are involved. A better approach is to use the bppllist command. To determine whether a class is active or not, run the command:
/usr/openv/netbackup/bin/admincmd/bppllist -allpolicies -L | egrep "Policy Name|Active" > allpolicies.txt
Active: Policy Name: Active: Policy Name: Active: Policy Name: Active:
NOTE: If the egrep command is not used, it will give a long listing of each policy. This will create hundreds of pages if there are large number of policies to list.