System State Method - Offline Database Restore

The Active Directory offline mining enables you to browse and recover directory server database objects and their attributes from an offline copy of the directory databases. This feature is useful when you want to restore specific objects or attributes from a live active directory database without restoring the entire database. You can browse multiple versions of the database to compare values of attributes and then recover the required version of the attribute.

The system state method of creating an offline copy of the directory server database consists of following steps:

  1. Ensure that the source and destination computer satisfy the prerequisites.

  2. Create an offline copy. For more information, see the "Creating an Offline Copy of the Database" section on this page.

  3. Mine and restore the required attributes and objects from the offline database to the live active directory (source) database. For more information, see the "Mining and Restoring from the Offline Database" section on this page.

Prerequisites

Before creating the offline copy, ensure that the source and destination clients satisfy the following requirements:

Source Computer

Destination Computer

Ensure that the computer has one of the Windows operating systems listed in the System Requirements for Active Directory Agent.

  • Ensure that the Microsoft Windows operating system and Active Directory Agent are installed on the destination computer.

  • Do not run the adLdapTool.exe utility on the destination computer.

Creating an Offline Copy of the Database

You can use the Windows File System iDataAgent to backup the system state on the Active Directory Server. The system state data includes the active directory component. You can use this component to create an offline copy of the directory server database. Follow the steps given below to create an offline copy on the destination computer.

Configuring System State Backup

By default, system state data is backed up along with file system data by the default subclient. You can also create a separate subclient to back up the system state. Within any backup set, however, only one subclient can back up the system state. Follow the steps given below to configure a subclient for system state backup:

  1. From the CommCell Console, navigate to Client Computers | <Client> | File System | defaultBackupset.

  2. Right-click default subclient and select Properties.

  3. Click the Content tab.

  4. Clear the Backup System State check box.

  5. Click OK.

  6. From the CommCell Console, navigate to Client Computers | <Client> | File System.

  7. Right-click the defaultBackupset and then click All Tasks |New Subclient.

  8. Enter the name of the new subclient.

  9. Select Use VSS Options check box.

  10. Click the Content tab.

  11. Select the Backup System State check box.

  12. Click OK.

    This new subclient will be used to backup the system state.

  13. Click the Storage Device tab.

  14. In the Storage Policy box, select a Storage Policy name.

  15. Click OK.

  16. In the Backup Schedule dialog box, click Do Not Schedule.

    1. If you do not have Storage Policy created, follow the step given below to create a storage policy. Click Create Storage Policy.

    2. Follow the prompts displayed in the Storage Policy Wizard. The required options are mentioned below:

      1. Select the Storage Policy type as Data Protection and Archiving and click Next.

      2. Enter the name in the Storage Policy Name box and click Next.

      3. From the Library list, click the name of a disk library to which the primary copy should be associated and then click Next.

        Ensure that you select a library attached to a MediaAgent operating in the current release.

      4. From the MediaAgent list, click the name of a MediaAgent that will be used to create the primary copy and then click Next.

      5. For the device streams and the retention criteria information, click Next to accept default values.

      6. Select Yes to enable deduplication for the primary copy.

      7. From the MediaAgent list, click the name of the MediaAgent that will be used to host the Deduplication database (DDB).

        In the Location box, type the name of the folder in which the DDB must be located or click the Browse to select the folder, and then click Next.

    3. Review the details and click Finish to create the Storage Policy.

Performing the System State Backup

Follow the steps given below to backup the system state data:

  1. From the CommCell Console, navigate to <Client> | File System iDataAgent | defaultBackupSet.

  2. Right-click the subclient which you have configured for the system state backup, and click Backup.

  3. Select Full.

  4. Select Immediate.

  5. Click OK.

  6. You can track the progress of the backup job from the Job Controller window. When the backup job has completed, the Job Controller displays the status as Completed.

Restoring the Active Directory Component

Follow the steps given below to create an offline copy of the directory server database on the destination computer:

  1. From the CommCell Browser, navigate to Client Computers | <Client> | File System | defaultBackupSet

  2. Right-click the subclient and then click Browse and Restore.

  3. Click View Content.

  4. Expand the defaultBackupSet and navigate to System State | Components

  5. Select Active Directory component.

  6. Click Recover All Selected.

  7. Select the Destination client.

  8. Ensure that the source client and the destination client are in the same CommCell and the destination computer has the Windows 2008 and Active Directory iDataAgent installed on it.

  9. Clear the Restore to same folder check box.

  10. Click Browse and select a folder on the destination client where you want to store the offline copy of the database.

  11. Click OK.

  12. Click OK to start the restore.

  13. You can monitor the progress of the restore job in the Job Controller window of the CommCell Console.

Mining and Restoring from the Offline Database

You can browse the offline copy of directory server database on the destination computer and then restore the required attributes and objects to the source computer (live active directory server).

  1. From the CommCell Browser, navigate to Client Computers| <Destination Client>.

  2. Right-click Active Directory and select Properties.

  3. Select the Enable Offline Mining check box.

  4. Click OK.

  5. From the CommCell Browser, navigate to Client Computers| <Destination Client>| Active Directory.

  6. Right-click the defaultBackupSet and then click Browse and Restore.

  7. Select the Browse/Restore Directory server data from Database (ntds.dit/admntds.dit) file check box.

  8. Click Browse and navigate to the folder on the destination client where you have restored the Active Directory components.

  9. Select the ntds.dit file and click OK.

  10. Click View Content.

  11. Click Yes to continue.

  12. Select the required objects and attributes from the offline database.

  13. Click Recover All Selected.

  14. Select the client where you want to restore the selected objects and attributes from the Destination client list.

  15. Click Edit and enter the username and password for a user account on the destination computer.

  16. The user account must be the domain controller administrator account. Enter the username in the following format:

    <domain_name>\<domain_controller_administrator_user_name>

  17. Click OK.

  18. Click OK to start the restore.

Loading...