Veritas NetBackup™ for Microsoft SQL Server Administrator's Guide
- Introducing NetBackup for SQL Server
- Installing NetBackup for SQL Server
- Instance Management for SQL Server Intelligent Policies
- Viewing the SQL Server instances and instance groups in instance management
- About registering SQL Server instances
- Configuring SQL Server backups with SQL Server Intelligent Policy
- Configuring NetBackup for SQL Server
- Performing restores of SQL Server
- Redirecting a SQL Server database to a different host
- Restoring multistreamed SQL Server backups
- Protecting SQL Server data with VMware backups
- About protecting SQL Server data with VMware backups
- Using NetBackup for SQL Server 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 in high availability (HA) environments
- About using NetBackup to protect SQL Server availability groups
- 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
- About NetBackup for SQL Server with database mirroring
- Backup and recovery concepts
- Overview of SQL Server backup and recovery concepts
- About recovery factors for SQL Server
- Using NetBackup for SQL Server with multiple NICs
- Configuring backups with legacy SQL Server policies using clients and batch files
- About using batch files with NetBackup for SQL Server
- About schedule properties
- Backing up read-only filegroups
- Performing user-directed operations with dbbackex
- Using bplist to retrieve a list of SQL Server backups
- SQL Server backups and restores in an SAP environment (legacy SQL Server policies)
- About SQL Server backups and restores in an SAP environment
- Troubleshooting
- About debug logging for SQL Server troubleshooting
- Disaster recovery of a SQL Server
- Appendix A. Sample batch files
- About sample backup batch files for legacy SQL Server policies
- About sample restore batch files
- About sample backup batch files for legacy SQL Server policies
- Appendix B. Multiplexed backups
- Appendix C. Register authorized locations
About protecting the preferred replica in a SQL Server availability group (legacy backup policies)
This topic describes how to protect the preferred replica in a SQL Server availability group (AG).
Note the following when you configure a NetBackup policy to protect the preferred replica:
In the backup batch file that you create use the PREFERREDREPLICA TRUE keyword, which honors your SQL Server backup preferences. These preferences include the preferred replica, backup priority, and excluded replicas. Include this keyword in each backup operation in the batch file.
NetBackup backs up the preferred replica, as determined by SQL Server. NetBackup can only fully protect the AG environment if the backup policy includes each node in the AG in the
list. Also, all batch files in the list must exist on all the AG nodes.Review the information on support and limitations for AGs.
See About using NetBackup to protect SQL Server availability groups.
Note:
Perform the following configuration steps after you create the SQL Server availability group.
Table: About protecting the preferred replica in a SQL Server availability group
Step | Action | Description |
---|---|---|
Step 1 | Verify that you have a supported SQL Server configuration. | |
Step 2 | On each node in the availability group, install the NetBackup client. | |
Step 3 | On each node in the availability group, configure the NetBackup services. | See Configuring the NetBackup services for SQL Server backups and restores . |
Step 4 | Configure the mappings for distributed application restores. | Map the WSFC (Windows Server Failover Cluster) name to each AG node. If you have an AG with a FCI, you must configure additional mappings. Configure these mappings in the Distributed Application Restore Mapping host property on the master server. See Configuring mappings for restores of a distributed application, cluster, or virtual machine . |
Step 5 | Review the auto-discovered mappings for the hosts in your environment. | Approve each valid that NetBackup discovers in your environment. Perform this configuration in the properties on the master server.See Reviewing the auto-discovered mappings in Host Management. |
Step 6 | Create a policy for each type of backup you want to perform. | |
Step 7 | On each node in the availability group, create a batch file for each type of backup that you want to perform. | See Creating batch files for the policy that protects the preferred replica. |
Step 8 | Add the batch files to the policies that you created. | See Adding the batch files to the policy that protects the preferred replica. |