NetBackup™ for Microsoft SQL Server Administrator's Guide
- About NetBackup for SQL Server
- Installation
- Host configuration and job settings
- Installing the Veritas VSS provider for vSphere
- Configuring RBAC for SQL Server administrators
- Managing SQL Server assets and their credentials
- About discovery of SQL Server objects
- About registering SQL Server instances and availability replicas
- Configuring backups with SQL Server Intelligent Policy
- Performance tuning and configuration options
- Protecting SQL Server availability groups
- Protecting SQL Server availability groups with intelligent policies
- Protecting SQL Server availibility groups with batch file-based policies
- About protecting the preferred replica in a SQL Server availability group (batch file-based policies)
- About protecting a specific node in a SQL Server availability group (batch file-based policies)
- About protecting the preferred replica in a SQL Server availability group (batch file-based policies)
- Protecting SQL Server with VMware backups
- About protecting an application database with VMware backups
- Create a protection plan to protect SQL Server data with a VMware backup
- Configuring backup policies with Snapshot Client
- Using copy-only snapshot backups to affect how differentials are based
- About SQL Server agent grouped snapshots
- Protecting SQL Server in a cluster environment
- Managing protection plans for SQL Server
- Restoring SQL Server with the NetBackup web UI
- Using instant access with SQL Server
- Prerequisites when you configure an instant access SQL Server database
- Configuring batch-file based policies for SQL Server backups
- Requirements to use batch files with NetBackup for SQL Server
- Schedule properties for SQL Server batch file-based policies
- Configure a batch file-based policy for a user-directed backup of read-only filegroups
- Performing backups and restores with the NetBackup MS SQL Client
- Redirect a SQL Server database to a different host (NetBackup MS SQL Client)
- Restoring multistreamed SQL Server backups
- Using NetBackup for SQL Server with multiple NICs
- Performance and troubleshooting
- About debug logging for SQL Server troubleshooting
- About disaster recovery of SQL Server
- Appendix A. Other configurations
- About SQL Server backups and restores in an SAP environment
- About NetBackup for SQL Server with database mirroring
- Appendix B. Register authorized locations
Restore a SQL Server availability database to a secondary replica
This procedure describes how to restore a SQL Server availability database to a secondary replica. Follow this procedure if a secondary replica is unavailable for an extended time and needs to be synchronized with the primary. Or follow these instructions after you add a new secondary replica to the availability group.
To restore a SQL Server availability database to a secondary replica
- Log on to the node that hosts the secondary replica and perform the following actions:
Close any connections to the database on the secondary replica.
Remove the secondary database from the availability group.
- On the left, select Workloads > Microsoft SQL Server.
- Select 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.
- Select the Recovery points tab and locate the latest transaction log backup.
By default NetBackup uses the primary copy. To select a different copy, select 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.
- If the replicas in the availability group use different paths for the database file, select Restore files to different paths and edit the file path.
- Enter the credentials of the instance that you want to restore to and select 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
(Optional) Select Disconnect users. This option disconnects any active users of the database.
- Select Next. Then select Start recovery.
- When the restore completes, join the database to the availability group.