Previous Topic: Back Up the DMS Using sepmdNext Topic: Restore a DH


Back Up the DMS Using selang

Back up the DMS to copy the data from the DMS database to a specified directory.

You can use selang commands to back up a DMS on a local or a remote host. You should store the backed up DMS files in a secure location, preferably protected by CA ControlMinder access rules. We recommend that you auto-truncate the updates.dat file before you back up the DMS.

Note: You can also use the sepmd utility to back up a DMS on a local host.

To back up the DMS using selang

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

    The DMS is locked, and cannot send any commands to its subscribers.

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

    Defines the name of the DMS that is backed up on the local host.

    destination(destination_directory)

    Defines the directory the DMS is backed up to.

    Default: (UNIX) ACInstallDir/data/policies_backup/dmsName

    Default: (Windows) ACInstallDir\data\policies_backup\dmsName

    The DMS database is backed up to the destination directory.

  5. Unlock the DMS using the following command:
    pmd dms_name unlock
    

    The DMS is unlocked, and can send commands to its subscribers.