NetBackup™ Web UI Microsoft SQL Server Administrator's Guide
- Introducing the NetBackup web user interface
- About NetBackup for SQL Server
- Installation and host configuration
- Monitoring NetBackup
- Managing SQL Server discovery and credentials
- Managing protection plans for SQL Server
- Protecting SQL Server
- Restoring SQL Server
- Using instant access with SQL Server
- Prerequisites when you configure an instant access SQL Server database
- Protecting SQL Server with VMware backups
- Troubleshooting
Restore a SQL Server availability database to the primary and the secondary replicas
In some situations you may need to restore the SQL Server availability databases to both the primary and the secondary replicas. These situations can include when you restore databases:
You may want to perform this restore for the primary database in parallel with the restores for the secondary databases.
To restore a SQL Server availability database to the primary and the secondary replicas
- Log on to the host of the primary replica and perform the following actions:
In SQL Server Management Studio, suspend data movement on the database and remove the database from the availability group.
Close any connections to the database.
Remove the primary database from SQL Server.
- In the NetBackup web UI, on the left select Workloads > Microsoft SQL Server.
- Click on the Availability groups tab and then click on the availability group name.
- On the Replicas tab, click on the instance that is hosted on the primary replica.
- On the Databases tab, click on the database that you want to restore.
- Click the Recovery points tab and locate the latest transaction log backup.
By default NetBackup uses the primary copy. To select a different copy, click Copies.
- From the Actions menu select Perform complete database recovery.
- Select one of the following options.
Recovery point selected
Restore the database to the time indicated.
Point in time
Select a different point in time to which you want to restore the database.
Transaction log mark
Choose whether to restore at or before the transaction mark.
Enter the name of the transaction mark.
To select a transaction mark that occurs after a certain date, select After specific date and time. Then specify the date and time.
- Enter the credentials of the instance that you want to restore to and click Next.
The user account must be a member of the Windows administrator group and a member of the local SQL Server sysadmin role.
- Select the following settings:
Recover
Overwrite existing database
- Click Next. Then click Start recovery.
- When the restore completes, add the database to the availability group using the Skip initial data synchronization option.
- Log on to the host of the secondary replica and complete the following steps:
Close any connections to the database on the secondary replica.
Remove the secondary database from SQL Server.
- In the NetBackup web UI, on the left select Workloads > Microsoft SQL Server.
- Click on the Availability groups tab and then click on the availability group name.
- On the Replicas tab, click on the instance that is hosted on the secondary replica.
- On the Databases tab, click on the database that you want to restore.
- Click the Recovery points tab and locate the image that you restored to the primary replica.
- From the Actions menu select Perform complete database recovery.
- For the transaction log, select the same point in time or log mark that you did for the primary replica.
- Enter the credentials of the instance that you want to restore to and click Next.
The user account must be a member of the Windows administrator group and a member of the local SQL Server sysadmin role.
- Select the following settings:
Restoring
Overwrite existing database
- Click Next. Then click Start recovery.
- When the restore completes, join the database to the availability group.
- Repeat step 13 through step 24 for additional replicas in the availability group.