search cancel

How to backup and restore the Control Compliance Suite ADAM database on windows 2008 and 2008 R2 servers


Article ID: 158698


Updated On:


Control Compliance Suite Exchange Control Compliance Suite Windows


This covers backing up and restoring both the ADAM and SQL for CCS.  This is for existing CCS environments that have data collected.

For backup and restoration of a new CCS deployment refer to HOWTO76929.



Backup CCS ADAM DB with dsdbutil.exe in windows 2008 and 2008 R2 server.

  1. Stop SymantecCCS service.
  2. Open command prompt as Administrator.  At the prompt type DSDBUTIL and press enter.  You should receive a "dsdbutil:" prompt.
  3. Type the command:  Activate Instance SymantecCCS                and then press enter.
  4. Type the command:  Files                 which will take you in file maintenance mode
  5. To take backup type the command:   Compact To C:\Symantec_ADAM
    • Once command is completed successfully it will create a backup of adamntds.dit file in the folder called Symantec_ADAM....any folder name can be given in place of this folder.

Restoring CCS ADAM if backup is performed with dsdbutil.exe on windows 2008 and 2008 R2

  1. Stop the SymantecCCS service
  2. Delete the old log files at the location C:\Program Files\Microsoft ADAM\SymantecCCS\data\logs\
  3. Open command prompt as Administrator on the CCS directory server (normally the application server)
  4. Type the command:  xcopy /os C:\Symantec_ADAM\adamntds.dit "C:\Program Files\Microsoft ADAM\SymantecCCS\data\adamntds.dit"
  5. It will prompt you with the question: "Does C:\Program Files\Microsoft ADAM\SymantecCCS\data\adamntds.dit specify a file name or directory name on the target
    (F = file, D = directory)?      Press "F" key on your keyboard
  6. Once the file is replaced, verify the file in the target folder has been replaced with the backup version.
  7. Now start the SymantecCCS service
  8. Launch CCS console.

IMPORTANT NOTE:  When restarting the SymantecCCS service, if you receive error "Windows could not start the SymantecCCS service on local computer. 0xc0000001; 0xc0000001"


  1. Change the logon account that is used for the SymantecCCS service to Local System Account instead of the default (which is Network Service).  Alternately you can explicitly grant the NETWORK SERVICE full control to C:\Program Files\Microsoft ADAM   folder, files and subfolders and files.  Either solution should ensure that the restored file can be accessed by the SymantecCCS service.
  2. Remove the following DWORD in the Windows registry and then restart the SymantecCCS service:  HKLM\System\CurrentControlSet\Services\ADAM_SymantecCCS\Parameters\DSA Database Epoch


Note:  If the ADAM and SQL backups were not performed at the same time they can still be used but orphaned data may occur.  When the SQL backup is newer than the ADAM, the SQL will have records that are not associated with GUIDs in ADAM.  When the ADAM is newer there will be GUIDs that do not have any data associated with them.  Either scenario will not prevent CCS from starting from the restore.  However, in either case any data collected after the oldest backup (ADAM or SQL) would be lost.