Veritas NetBackup™ for Microsoft SQL Server Administrator's Guide
- Introducing NetBackup for SQL Server
- Installation and host configuration
- Host configuration and job settings
- Managing SQL Server objects for use with SQL Server Intelligent Policies
- About discovery of SQL Server objects
- About registering SQL Server instances and availability replicas
- Registering instances or availability replicas with an instance group
- Configuring backups with SQL Server Intelligent Policy
- About tuning parameters for SQL Server backups
- Performing restores of SQL Server
- Redirecting a SQL Server database to a different host
- Protecting SQL Server data with VMware backups
- About protecting an application database with VMware backups
- Configuring backups with Snapshot Client
- Using copy-only snapshot backups to affect how differentials are based
- About SQL Server agent grouped backups (legacy SQL Server policies)
- Protecting SQL Server availability groups
- Protecting SQL Server availability groups with intelligent policies
- Protecting SQL Server availibility groups with legacy policies
- About protecting the preferred replica in a SQL Server availability group (legacy backup policies)
- About protecting a specific node in a SQL Server availability group (legacy backup policies)
- About protecting the preferred replica in a SQL Server availability group (legacy backup policies)
- Protecting SQL Server in a cluster environment
- Configuring backups with legacy SQL Server policies using clients and batch files
- About using batch files with NetBackup for SQL Server
- About schedule properties
- Performing user-directed backups of SQL Server databases
- Performing user-directed backups of read-only filegroups
- 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
- Appendix B. Register authorized locations
Restoring 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 any system databases or user databases in the backup, perform a separate browse and restore operation using the replica name.
To restore a SQL Server availability database to the primary and the secondary replicas
- Log on to the host of the primary replica.
- Open SQL Server Management Studio and perform the following tasks:
Suspend data movement on the database.
Remove the database from the availability group.
- Close any connections to the database.
- Remove the primary database from SQL Server.
- In the NetBackup MS SQL Client, select File > Set SQL Server connection properties.
- From the Instance list, select the instance that hosts the availability group.
- Browse for the backup images you want to restore. Select the latest full backup image and transaction log backups.
- Select the following settings:
Select Use replace option.
From the Recovery list, select Recovered.
- Click Restore.
- 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 MS SQL Client, select File > Set SQL Server connection properties.
- From the Instance list, select the instance that hosts the availability group.
- Browse for the backup images you want to restore. Select the same set of images that you restored to the primary replica.
- Select the following settings:
From the Recovery list, select Not recovered.
Select Use replace option.
- If the replicas in the availability group use different paths for the database file, you need to create a move template to restore to a secondary replica. From the Scripting list, choose Create a move template.
- Click Restore.
- When the restore completes, join the database to the availability group.
- Repeat step 11 through step 18 for additional replicas in the availability group.