The Availability Group Wizard and the HADR Seeding Test Database

If you are creating an Availability Group in SQL Server 2012 using the New Availability Group Wizard in SQL Server Management Studio, you might not realize some of the background tasks that the wizard performs when it performs its validation steps.  One of those steps is to create a temporary database on the current server that has a name in the format of [HADR Seeding Test <UniqueIdentifier>], which is then backed up to the network share location specified, and then each of the secondary replica’s attempts a restore of the backup from the network share to validate that the appropriate permissions exist for the service accounts to the share.  This can all be seen in the Default Trace information on each of the servers.

The Default Trace from the server that the wizard is being run against as the Primary will show:


The secondary replicas being configured will show:


This is strictly an artifact of how the wizard validates the configuration being provided to ensure that it will be able to successfully create the Availability Group.  If you create the Availability Group from scripts or through PowerShell and manually perform the backup/restore operations this database will not be created.

2 thoughts on “The Availability Group Wizard and the HADR Seeding Test Database

  1. Hi,
    We have this ‘HADR seeding test’ db created in our HA server. This article helped me to understand when this db is created and for what purpose. But, I would like to know that whether we are able to drop this database or not? Will it create any error or issue if we drop this db?

Leave a Reply

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

Other articles

Imagine feeling confident enough to handle whatever your database throws at you.

With training and consulting from SQLskills, you’ll be able to solve big problems, elevate your team’s capacity, and take control of your data career.