Backup Software

Veeam Restore Windows Server 2016 Active Directory Objects

In this post we take a look at Veeam Restore Windows Server 2016 Active Directory Objects to see how well Veeam Backup and Replication 9.5 handles this

When thinking about DR, Active Directory backup and restoration is CRITICAL! ย Period! ย If you can restore all of your important SQL servers, Sharepoint, Exchange, exactly as they were in production at the block level, but cannot start services because AD is hosed or non existent, for the purposes of getting the business back up and running, you are just as “down” as you were without your critical servers up and running. ย Veeam Backup and Replication 9.5 with the Explorer for Active Directory which is also freeย provides a powerful way to backup and restore your Active Directory environment. ย Let’s look at how to with Veeam restore Windows Server 2016 Active Directory Objects.

Putting our DR hats on for a minute, lets say we need to restore an important service account. ย Also, it is a member of many different groups. ย We may not know all the groups the account is a member of. ย How do we restore this object with all the attributes, memberships, etc, intact? ย Let’s see how to use Veeam Backup and Replication 9.5 to do this.

Veeam Restore Windows Server 2016 Active Directory Objects

As mentioned above, for this lab scenario, I am using Veeam Backup and Replication 9.5. ย The AD environment is a simple single domain controller running Windows Server 2016.

I performed anย application aware backupย of the domain controller. ย In going to the restore process in Veeam,ย we can then choose to restore application items.

vbr_ad01

The application aware backup picks up on the fact the VM has an Active Directory database. ย So, in the restore,ย we can chooseย Microsoft Active Directory as the application to restore.

vbr_ad02

Choose the restore point that we wish to choose Active Directory objects from.

vbr_ad03 vbr_ad04 vbr_ad05 vbr_ad06

The Veeam Explorer for Microsoft Active Directory launches and the restore point/database mount of Active Directory begins.

vbr_ad07

As the Explorer is launching, let’s do something drastic to see how the Veeam restore of AD objects works. ย I have aย TestOU setup with aย testuser1 account and a couple ofย groups –ย TestGroup1 andย TestGroup2. ย I deleted the testuser1 account.

vbr_ad08

A really nice feature of the Veeam Explorer for Microsoft Active Directory are theย Compare All Objects andย Show Changed Objects Only functions. ย These do what they sound like they do. ย This is nice as it cuts through the noise of unchanged objects and only shows ones that have changed.

vbr_ad09

As you can see below, when we look into the TestOU, we see that ourย testuser1 account shows Tombstone which means it has been deleted. ย Also, theย TestGroup1 andย TestGroup2 groups show changed because the membership (testuser1 account) has been changed since the user was deleted.

vbr_ad10

Notice in TestGroup1, we indeed now have no members.

vbr_ad11

Looking at theย View attributes function in the Explorer, we can check TestGroup1 to see the attributes that were backed up.

vbr_ad12

We see that the backup knows that it had a member –ย testuser1.

vbr_ad13

A restore of the object is as simple as right clicking on the object and then selecting toย Restore to <your dc> or theย Restore to… function which allows you to choose the LDAP server you wish to connect to.

vbr_ad14

The restore process begins.

vbr_ad15

In a couple of seconds it finishes.

vbr_ad16

Notice also once the restore completes, Veeam has successfully restored the group memberships as well. ย This is important as you not only want to be able to restore an object, but also restore all other attributes and memberships of that object for successful reanimation.

vbr_ad17

Deleting an OU

Let’s take it up a notch and do something even more drastic. ย By default or normally when you create an OU, you have the message to allow to protect from accidental deletion. ย When you set this, the permissions for Everyone has a DENY permission set on theย Delete andย Delete subtree permissions. ย Let’s unset this.

vbr_ad18

Now, let’s delete it!

vbr_ad19

We have a warning that pops up and basically pleads with you – do you understand what you are about to do?

vbr_ad20

So I clicked Yes and deleted the whole OU with the two groups and testuser1 account. ย Let’s go back to Veeam and see how well a container and objects get restored.

vbr_ad21

All 4 objects show to have been restored.

vbr_ad22

This is a picture ofย before we restored the objects back.

vbr_ad23

After the Veeam AD restore, we have the OU, both groups, and the testuser1 account.

vbr_ad24

Thoughts

The Veeam Active Directory restore is slick. ย I ran into no issues with theย Veeam Restore Windows Server 2016 Active Directory Objects. ย All objects were restored including attributes and group memberships. ย In thinking about disaster recovery Active Directory often gets forgotten. ย We tend to think first about the important SQL servers, email servers, file servers, but then forget that the domain and domain authentication is equally important.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.