search cancel

How to recover the DMS from a disaster recovery.


Article ID: 37714


Updated On:


CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)



After a Disaster Recovery you may have updated polices on the DR DMS database that you need to import back to the production server. The following commands detail how this is done on Windows. 


1. Open a command prompt and run 'selang'. 

2. In the selang command run 'env pmd'. 

3. In the pmd environment run 'pmd DMS__ lock' to lock the database. 

4. In the pmd environment run  'backuppmd DMS__' to backup the database. 

5. In the pmd environment run 'pmd DMS__ unlock' to unlock it. 



Target host: localhost

CA ControlMinder selang v12.80.1432 - CA ControlMinder command line interpreter

Copyright (c) 2013 CA. All rights reserved.


AC> env pmd

AC(pmd)> pmd DMS__ lock


Successfully locked Policy Model DMS__ for backup.


AC(pmd)> backuppmd DMS__


Successfully backup Policy model DMS__ to C:\Program Files\CA\AccessControlServer\APMS\AccessControl\Data\policies_backup.


AC(pmd)> pmd DMS__ unlock


Successfully unlocked Policy Model DMS__ for backup.

6. Move the backed-up DMS__ folder to the Production Enterprise Manager server.

7. Run the following command to restore data from the DR DMS to the Production DMS database.  

dmsmgr -restore -dms DMS__ -source "C:\temp\DMS__" -replica [email protected]_ENTM_HOST


C:\Users\Administrator>dmsmgr -restore -dms DMS__ -source "c:\DMS__" -replica [email protected]

CA ControlMinder dmsmgr v12.80.1432 - dmsmgr utility

Copyright (c) 2013 CA. All rights reserved.

Successfully restored DMS.

Additional Information:

You can find more details in our documentation.

Implementation Guide › Installing a Disaster Recovery Deployment › How to Recover from a Disaster



Release: ACP1M005900-12.9-Privileged Identity Manager