Export (0) Print
Expand All

Restore an ADAM instance

Updated: August 22, 2005

Applies To: Windows Server 2003 R2

Restore an ADAM instance

Restore ADAM data on an ADAM instance that belongs to a configuration set

To authoritatively restore ADAM data on an ADAM instance that belongs to a configuration set

  1. If it is running, stop the ADAM instance for which data will be restored.

  2. Open Backup.

    The Backup or Restore Wizard starts by default, unless it is disabled. You can use this wizard, or click the Advanced Mode link to work in advanced mode.

  3. Click the Restore and Manage Media tab.

  4. In the details pane, select the ADAM instance that you want to restore by selecting the check box to the left of the folder that represents the ADAM instance that you want to restore.

  5. In Restore files to, click Original location.

  6. On the Tools menu, click Options, click the Restore tab, click Always replace the file on my computer, and then click OK.

  7. Click Start Restore.

  8. After the restore is complete, close Backup.

  9. Open an ADAM tools command prompt.

  10. At the command prompt, type:

    dsdbutil

  11. At the dsdbutil: prompt, type:

    activate instance instancename

    where instancename represents the service name of the ADAM instance on which you want to restore data.

  12. At the dsdbutil: prompt, type:

    authoritative restore

  13. At the authoritative restore: prompt, type one of the commands in the following table.

     

    Command Meaning

    restore database

    Performs authoritative restore of the entire directory database

    restore object dn

    Performs authoritative restore of the directory object whose distinguished name is represented by dn

    restore subtree dn

    Performs authoritative restore of the directory subtree whose distinguished name is represented by dn

Notes

  • To open an ADAM tools command prompt, click Start, point to All Programs, point to ADAM, and then click ADAM Tools Command Prompt.

  • To start Backup, click Start, point to All Programs, point to Accessories, point to System Tools, and then click Backup.

  • If Backup does not start in wizard mode by default, you can start the wizard by clicking Wizard Mode on the Welcome tab.

  • For information about stopping an ADAM instance, see Related Topics.

  • This procedure can be used if you want the data being restored to authoritatively override existing data in the configuration set.

  • For more information about the authoritative restore command in dsdbutil, at the authoritative restore: prompt, type ?.

  • When you restore ADAM instances on Windows XP Professional, you can restore only one ADAM instance at a time.

  • If you accidentally start a restore of an ADAM instance over a currently running ADAM instance, it is recommended that you immediately restart the computer, stop the ADAM instance, and then perform the restoration again.

Restore a corrupted database that is preventing the ADAM instance from starting

To restore a corrupted database that is preventing the ADAM instance from starting

  1. If it is running, stop the ADAM instance for which data will be restored.

  2. Open Backup.

    The Backup or Restore Wizard starts by default, unless it is disabled. You can use this wizard, or click the Advanced Mode link to work in advanced mode.

  3. Click the Restore and Manage Media tab.

  4. In the details pane, select the ADAM instance that you want to restore by selecting the check box to the left of the folder that represents the ADAM instance that you want to restore.

  5. In Restore files to, click Original location.

  6. On the Tools menu, click Options, click the Restore tab, click Always replace the file on my computer, and then click OK.

  7. Click Start Restore.

  8. After the restore is complete, close Backup.

  9. Restart the ADAM instance.

Notes

  • To start Backup, click Start, point to All Programs, point to Accessories, point to System Tools, and then click Backup.

  • If Backup does not start in wizard mode by default, you can start the wizard by clicking Wizard Mode on the Welcome tab.

  • If the ADAM instance fails to start after you perform this procedure, perform the appropriate procedure for completely restoring an ADAM instance, depending on whether your ADAM instance belongs to a configuration set or is unique.

  • When you restore ADAM instances to Windows XP Professional, you can restore only one ADAM instance at a time.

  • If you accidentally start a restore of an ADAM instance over a currently running ADAM instance, it is recommended that you immediately restart the computer, stop the ADAM instance, and then perform the restoration again.

Restore an ADAM instance that does not belong to a configuration set

To completely restore an ADAM instance that does not belong to a configuration set

  1. Using the Active Directory Application Mode Setup Wizard or an ADAM unattended install, create an ADAM instance, specifying the same settings that you used during your original ADAM installation. However, do not create an application directory partition during setup.

  2. Stop the ADAM instance you just created, as follows:

    1. Click Start, point to Administrative Tools, and then click Services.

    2. In Services, right-click the ADAM instance, and then click Stop.

  3. Open Backup.

    The Backup or Restore Wizard starts by default, unless it is disabled. You can use this wizard, or click the Advanced Mode link to work in advanced mode.

  4. Click the Restore and Manage Media tab.

  5. In the details pane, select the ADAM instance that you want to restore by selecting the check box to the left of the folder that represents the ADAM instance that you want to restore.

  6. In Restore files to, click Original location.

  7. On the Tools menu, click Options, click the Restore tab, click Always replace the file on my computer, and then click OK.

  8. Click Start Restore.

  9. After the restore is complete, close Backup.

  10. Stop the ADAM instance you just created, as follows:

    1. Click Start, point to Administrative Tools, and then click Services.

    2. In Services, right-click the ADAM instance, and then click Stop.

Notes

  • To start Backup, click Start, point to All Programs, point to Accessories, point to System Tools, and then click Backup.

  • If Backup does not start in wizard mode by default, you can start the wizard by clicking Wizard Mode on the Welcome tab.

  • For information about backing up an ADAM instance, see Related Topics.

  • When you restore ADAM instances to Windows XP Professional, you can restore only one ADAM instance at a time.

  • If you accidentally start a restore of an ADAM instance over a currently running ADAM instance, it is recommended that you immediately restart the computer, stop the ADAM instance, and then perform the restoration again.

Restore an ADAM instance that belongs to a configuration set

To completely restore an ADAM instance that belongs to a configuration set

  1. On one of the remaining ADAM instances in the configuration set, delete the server object that represents the ADAM instance that you want to restore, as follows:

    1. Open an ADAM tools command prompt.

    2. At the command prompt, type dsmgmt.

    3. At the dsmgmt: prompt, type metadata cleanup.

    4. At the metadata cleanup: prompt, type select operation target.

    5. At the select operation target: prompt, type connections.

    6. At the server connections: prompt, type connect to servercomputername:portnumber, where computername:portnumber represents the ADAM instance to which you are connecting.

    7. At the server connections: prompt, type q.

    8. At the select operation target: prompt, type list sites, and identify the number corresponding to the site in which the server object that you want to delete resides.

    9. At the select operation target: prompt, type select site n, where n represents the number that is identified in the previous step.

    10. Type list servers in site, and identify the full distinguished name (also known as DN) of the server whose server object you want to delete.

    11. At the select operation target: prompt, type q.

    12. At the metadata cleanup: prompt, type q.

    13. At the dsmgmt: prompt, type q.

    14. At the command prompt, type dsmgmt.

    15. At the dsmgmt: prompt, type metadata cleanup.

    16. At the metadata cleanup: prompt, type remove selected serverservernameoncomputername:portnumber

      where servername represents the distinguished name of the server object that you want to remove and computername:portnumber represents the Domain Name System (DNS) name of the ADAM instance to which you are connecting.

    17. Click Yes to confirm the deletion of the server object.

    18. In addition, you must delete the server object from the sites container:

      CN=Servers, CN=sitename, CN=Sites, CN=Configuration, CN={GUID}

      where sitename represents the name of the site in which the server object exists, and GUID represents the globally unique identifier (GUID) of the ADAM instance.

  2. When you complete the previous steps, install an ADAM replica from media.

Notes

  • To start Backup, click Start, point to All Programs, point to Accessories, point to System Tools, and then click Backup.

  • If Backup does not start in wizard mode by default, you can start the wizard by clicking Wizard Mode on the Welcome tab.

  • For help with dsmgmt, type ? at a dsmgmt prompt.

  • If you accidentally start a restore of an ADAM instance over a currently running ADAM instance, it is recommended that you immediately restart the computer, stop the ADAM instance, and then perform the restoration again.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft