Backing Up and Restoring Active Directory Application Mode (ADAM)

Applies To: Windows Server 2003 R2

In the following exercises, you back up your ADAM instance. Then, you remove ADAM completely from your computer. Finally, you restore your ADAM instance back to your computer.

Backing up an ADAM Instance

In this exercise, you back up your ADAM instance.

To back up an ADAM instance

  1. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click Backup.

  2. In the Backup or Restore Wizard, click the Advanced Mode link.

  3. Click the Backup tab, and then, on the Job menu, click New.

  4. Select the check box to the left of your ADAM instance folder, which is, by default, %programfiles%\Microsoft\ADAM\instance1.

  5. To back up the ADAM files to a file, in Backup destination, click File. (If you do not have a tape drive in your computer, File is selected by default.) Then, in Backup media or file name, type a path and file name for the backup (.bkf) file. Your screen should now appear similar to the following:

    ADAM, backing up

  6. Click Start Backup, and then make any desired changes in the Backup Job Information dialog box.

  7. If you want to set advanced backup options, such as data verification or hardware compression, in the Backup Job Information dialog box, click Advanced. When you have finished setting advanced backup options, click OK.

  8. Click Start Backup. After the backup operation is complete, close the backup application.

Removing an ADAM Instance

To simulate an accidental loss of an ADAM instance, you can uninstall your ADAM instance, which removes both the ADAM program files and the ADAM data files.

To uninstall an ADAM instance

  1. Click Start, point to Control Panel, click Add or Remove Programs, and then click ADAM Instance instance1. If it is the first item in the list, ADAM Instance instance1 will already be selected.

  2. Click Remove, and then click Yes. Active Directory Application Mode is now removed from your computer.

Restoring an ADAM Instance

In this exercise, you restore your ADAM instance from the backup that you made in the previous exercise.

To restore an ADAM instance

  1. Create an ADAM instance following the steps in Installing ADAM. Use the same settings as you did during your first ADAM installation except, in this case, do not create an application directory partition during setup. You can restore your original application directory partition from your backup. Therefore, on the Application Directory Partition page in the Active Directory Application Mode Setup Wizard, click No, do not create an application directory partition.

  2. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click Backup.

  3. Click the Advanced Mode link in the Backup or Restore Wizard.

  4. Click the Restore and Manage Media tab. To select the ADAM instance that you want to restore, in the details pane, select the check box to the left of the instance1 folder, as shown in the following:

    Restoring an ADAM instance

  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. If you receive a message asking if you want to restart your computer, click Yes.

  9. After the restore is complete, close the Backup application.

  10. To confirm that the data from your original ADAM instance is successfully restored, use ADAM ADSI Edit to confirm that the O=Microsoft,C=US directory partition is restored and that the OU=ADAM users OU and the Mary Baker user account exist in the partition.