Disable comment:
Mount to a SQL Server AAG using a snapshot pool
This approach is the fastest way to create a new SQL Server AlwaysOn Availability group for short-term use. The mounted application runs in the snapshot pool, and achieves the same performance as data captured in the snapshot pool.
Mount the databases being added to the SQL availability group to each node in the AG, one node at a time. See Mount a SQL Server database.
Select the required host.
Select the SQL instance.
Specify the roll-forward time, being sure to specify the same time during mounts to each node.
Under Advanced Options, deselect Recover Database After Restore.
Enter a name, or a prefix or suffix. Use the same name, prefix, or suffix on all nodes.
Repeat the process for each availability group member.
Once all databases are mounted as virtual databases on each availability group node, using SQL, select the SQL instance that is the primary and for each database recover it:
`recover database (name) with recovery`
Keep the secondary database copies in restoring state.
When the master database has been restored, using SQL, create the new availability group and join the primary and secondary databases as described in Add virtual databases to a new SQL Server AlwaysOn Availability group.
Clone to a SQL Server availability group independently from the snapshot pool
To clone to a SQL AlwaysOn Availability group that resides independently from the snapshot pool, perform a clone operation for the databases on each node in the SQL AlwaysOn Availability group as described in Clone SQL Server databases. Be sure to deselect Recover database after restore and to specify the same roll-forward time for each clone operation.
Add virtual databases to a new SQL Server AlwaysOn Availability group
After all databases for the new AG have been recovered, use SQL Studio or T-SQL to add the databases to the SQL AlwaysOn Availability group:
From SQL Studio, select the SQL availability group.
Add the databases to the availability group.
Click Next. You are prompted to select a synchronization method. Select Join only; the Join only operation forms the primary and secondary databases into an availability group.
Monitor the progress of the operation. When the operation is complete, both the primary and secondary databases are in sync.
If autodiscover applications is not enabled, manually discover applications on the availability group host.
After discovery is complete, the databases appear in the App Manager as members of the SQL availability group.
Capture members of an availability group just like any other database.
The Backup and DR SQL Server DBA guide
This page is one in a series of pages specific to protecting and recovering Microsoft SQL Server databases with Backup and DR. You can find additional information in the following pages:
- Backup and DR for SQL Server databases
- Prepare SQL Server databases for Backup and DR Service
- Add a SQL Server database host and discover databases
- Configure backup plans for Microsoft SQL Server instances and databases
- Mount a SQL Server database
- Mount databases into SQL AlwaysOn Availability groups
- Manage an active mount
- Migrate a SQL Server database
- Clone SQL Server databases
- Recover SQL Server backups