Previous Topic: Back Up a PMDB Using sepmdNext Topic: Policy Model Restoration


Back Up a PMDB Using selang

When you back up the PMDB, you copy the data from the Policy Model database to a specified directory. You should store the backed up PMDB files in a secure location, preferably protected by CA ControlMinder access rules.

You can use selang commands to back up a PMDB on a local or remote host. You can also use the sepmd utility to back up a PMDB on a local host.

Note: You can back up a PMDB recursively. A recursive backup backs up all the PMDBs in a hierarchy to the host you specify, and modifies the PMDB subscribers so that the subscription still works when the backup is moved to the host. You can only use a recursive backup if the master and child PMDBs are deployed on the same host.

To back up a PMDB using selang

  1. (Optional) If you are using selang to connect to the PMDB from a remote host, connect to the PMDB host using the following command:
    host pmdb_host_name
    
  2. Move to the PMD environment using the following command:
    env pmd
    
  3. Lock the DMS using the following command:
    pmd pmdb_name lock
    

    The PMDB is locked and cannot send commands to its subscribers.

  4. Back up the DMS database using the following command:
    backuppmd pmdb_name [destination(destination_directory)] [hir_host(host_name)]
    

    Note: If you do not specify a destination directory, the backup is saved to the following directory:

    ACInstallDir\data\policies_backup\pmdbName

  5. Unlock the PMDB using the following command:
    pmd pmdb_name unlock
    

    The PMDB is unlocked and can send commands to its subscribers.