Previous Topic: Access Policies for Registered ProductsNext Topic: Restore Access Policies


Back Up All Access Policies

Exporting predefined access policies is a recommended way of preserving a backup in the event an access policy is inadvertently deleted or corrupted.

Important! Since corruption to policies can occur during a system or CA EEM service restart, it is important to have a current backup to restore. In addition, you should back up CA EEM periodically, for example, after an installation of a new CA User Activity Reporting Module and after creating custom policies.

You can export all of the policies for each type of access policy. When you export policies, an XML file is generated for each policy of the selected type. The XML files are zipped into a zip file named CAELM[1].xml.gz that contains the CAELM[1].xml document. You save the exported zip file to a directory of your choice.

Before you can restore your saved backup file, you need to copy them to the following directory of the CA User Activity Reporting Module with the internal user store: /opt/CA/LogManager/EEM. You can do this copy after a save to your local directory or wait and copy them only if a restore is needed.

The format in which policies are exported depends on the number of objects being exported.

It is a good practice to rename filename (CAELM[n]), in a meaningful way when you do the export. For example, export the files from the three policy folders containing predefined policies as CAELM_CalmAccessPolicies, CAELM_EventPolicies, and CAELM_ScopingPolicies.

Note: The same extensions, xml.gz or tar.gz, must be maintained.

You can extract the XML file containing the access policy definition from the zip file and use it as input to the safex utility, used to restore the access policy.

To back up all access policies

  1. Click the Administration tab and then click the User and Access Management subtab.
  2. Back up the predefined CALM access policies as follows:
    1. Click the Access Policies button.
    2. Click CALM.

      That policy table, Access Policies - "CALM" appears

    3. Click the Export button.
    4. The File Download dialog appears with options to open or save.
    5. (Optional) Click Open to open the zip file, CAELM[1].xml.gz. Double click CAELM[1].xml to examine the file in XML format.
    6. Click Save to save the file.

      The Save As dialog appears.

    7. Select the target folder for save in, change the file name if desired, and click Save.

      If you do not change the file name, the zip file is saved as CAELM[1].xml.gz.

    8. Click Close.

      The Download Complete dialog closes. The policy list remains displayed in the left pane.

  3. Back up the predefined Event Policies as follows:
    1. Click Event Policies.

      That policy table, Event Policies appears

    2. Click the Export button.
    3. The File Download dialog appears with options to open or save.
    4. Click Save to save the file.

      A message appears asking whether you want to replace the existing CAELM[1].xml.gz file.

    5. Click No.
    6. Enter a unique name in the file name field and click Save. For example, edit the entry to CAELM[2].xml.gz or enter a name for the policy type such as CAELM_EventPolicies.
    7. Click Close.

      The Download Complete dialog closes. The policy list remains displayed in the left pane.

  4. Back up the predefined Scoping Policies as follows:
    1. Click Scoping Policies.

      That policy table, Scoping Policies appears

    2. Click the Export button. You may need to scroll horizontally to view the button in the top right corner.
    3. The File Download dialog appears with options to open or save.
    4. Click Save to save the file.

      A message appears asking whether you want to replace the existing CAELM[1].xml.gz file.

    5. Click No.
    6. Enter a unique name in the file name field and click Save. For example, edit the entry to CAELM[3].xml.gz or enter a name for the policy type such as CAELM_ScopingPolicies.
    7. Click Close.

      The Download Complete dialog closes. The policy list remains displayed in the left pane.

  5. Click Close.

    The Access Policies list closes.

Example --CAELM[1].xml for CALM Access Policies

Following is an entry for one policy in the CAELM[1].xml file.

The XML file for exported CALM access policies contains definitions for each policy of that type within the tags Policy and /Policy.

More information:

Preserving Predefined Access Policies

Back Up a CA EEM Application Instance

Manually Backing Up Archived Databases