How Compare Works
Veeam Explorer for Microsoft Active Directory allows you to compare your data in the backup with its present state in the production Active Directory.
Comparing Microsoft Active Directory data works in the following manner:
- After you select a restore point, Veeam Backup & Replication sends a mount command to the Veeam Mount Service running on the mount server associated with the backup repository. The Veeam Mount Service mounts the file system from the backup repository to the mount server.
- The Veeam Explorers Recovery Service locates the ntds.dit file and the associated transaction logs (usually in the %SystemRoot%\NTDS folder) on the mounted file system. To read these files, the Veeam Explorers Recovery Service uses the native Windows Extensible Storage Engine dynamic link library (esent.dll) located in the %SystemRoot%\System32 folder of the mount server.
- After you turn on comparison, Veeam Explorer for Microsoft Active Directory sends a compare command to the Veeam Mount Service. The Veeam Mount Service delegates this request to the Veeam Explorers Recovery Service running on the same server.
- The Veeam Explorers Recovery Service connects to the production Active Directory domain to which the backed-up domain controller belongs. The connection is established over LDAP. The service checks that the account you specify is a member of the built-in Administrators group or the Domain Admins group. Veeam Explorer for Microsoft Active Directory uses these credentials until you exit the Explorer.
- The Veeam Explorers Recovery Service matches objects in the backup with objects in the production Active Directory by the objectGUID attribute, and compares their location, name and attribute values. Veeam Explorer for Microsoft Active Directory displays which objects or attribute values have changed since the backup. If you are comparing containers, the information is displayed in the preview pane and if you are comparing object attributes — in a separate window.
In the Item State column, Veeam Explorer for Microsoft Active Directory shows the following states of objects:
- Equal — the object has not changed since the backup.
- Changed — the object was renamed, or values of attributes that Veeam Explorer for Microsoft Active Directory can restore have changed.
- Moved — the object was moved to a different container.
- Deleted — the object does not exist in the production Active Directory.
- Tombstone — the object was deleted in the production Active Directory and is kept as a tombstone object or in the Active Directory Recycle Bin. For Integrated DNS records, this state also means that the record is marked as tombstoned.
- Unknown — Veeam Explorer for Microsoft Active Directory cannot compare the object.
An object can have several states at the same time, for example, Changed, Moved.
You can use the displayed information to choose which objects or attribute values to recover. You can either restore objects or attribute values to the production Active Directory, or export objects to any Windows machine.
