

Administration Guide › Policies › Restore Access Policies
Restore Access Policies
You can restore an access policy that has been deleted or changed in a way that causes problems. If an access policy is accidentally deleted or corrupted, users referenced as Identities in that policy cannot access CA User Activity Reporting Module until that policy is redefined or restored.
Restoring access policies requires running the safex utility for policies.
Use one of the two following procedures, depending on whether your export created a backup file with the xml.gz extension or the tar.gz extension.
To restore access policies from a backup named filename.xml.gz
- Copy your saved backup files to following directory of the management CA User Activity Reporting Module, typically the first server installed.
/opt/CA/LogManager/EEM
- Run the following command to retrieve the XML file:
gunzip filename.xml.gz
This creates filename.xml.
- (Optional) If you want to restore only one of the policies in the group that you backed up, do the following:
- Open the XML file.
- For the policies you do not want to restore, delete the XML lines beginning and ending with the following tags:
<Policy folder="/ name=policyname> and </Policy>
- Save the file.
- Execute the following command, where eemserverhostname refers to the host name of the management CA User Activity Reporting Module.
./safex -h eemserverhostname -u EiamAdmin -p password -f filename.xml
When the CA User Activity Reporting Module server is in FIPS mode, be sure to include the -fips option.
The policy or policies defined in filename.xml being restored are added to the appropriate policy type and put into effect.
To restore access policies from a backup named filename.tar.gz
- Copy your saved backup files to following directory of the management CA User Activity Reporting Module, typically the first server installed.
/opt/CA/LogManager/EEM
- Run the following command to retrieve the XML file.
gunzip filename.tar.gz
This creates filename.tar.
- Run the following command:
tar -xvf filename.tar
This creates filename.xml.
- (Optional) If you want to restore only one of the policies in the group that you backed up, do the following:
- Open the XML file.
- For the policies you do not want to restore, delete the XML lines beginning and ending with the following tags:
<Policy folder="/ name=policyname> and </Policy>
- Save the file.
- Execute the following command, where eemserverhostname refers to the host name of the management CA User Activity Reporting Module.
./safex -h eemserverhostname -u EiamAdmin -p password -f filename.xml
To recreate the CALM Access Policy if you have no backup
If you have no backup, you can recreate the CALM Application Access policy.
- Recreate the CALM Application Access policy. See "Predefined Policies."
- Define the filters as shown in the following illustration. The partial paths are:
- /CALM_Configuration/Content/Profiles
- /CALM_Configuration/flex

The presence of this policy enables any Administrator to log in and create the other policies.
More information:
Back Up All Access Policies
Copyright © 2013 CA.
All rights reserved.
 
|
|