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
Configure an automatic backup policy for the preferred or the primary replica of a SQL Server availability group
This topic describes how to create a backup policy that uses batch files for automatic (scheduled) backups of the preferred or the primary replica in a SQL Server availability group. Create a policy for each type of backup that you want to perform. For example:
Policy A | Schedules: Full backup, run weekly Backup Selections: Batch file for full backups Clients: Node A, Node B, Node C |
Policy B | Schedules: Differential backup, run daily Backup Selections: Batch file for differential backups Clients: Node A, Node B, Node C |
Policy C | Schedules: Full backup, run per your RTO and RPO Backup Selections: Batch file for transaction log backups Clients: Node A, Node B, Node C |
To configure an automatic backup policy for the preferred or the primary replica of a SQL Server availability group
- Open the NetBackup web UI.
- Sign in to the primary server as a user that has the RBAC Administrator role or a role that can manage policies.
- On the left, click Protection > Policies.
- Click Add.
- Type a unique name for the new policy.
- On the Attributes tab, configure the following:
Select the MS-SQL-Server policy type.
Specify a storage unit.
- On the Instances and databases tab, select Clients for use with batch files.
The tab name changes to the name Clients. The Backup selections tab now lets you specify and browse for scripts.
- On the Schedules tab, add a Full backup schedule.
NetBackup also creates a Default-Application-Backup schedule. Use this schedule to set the retention level for the policy.
- On the Clients tab, add the name of each replica on which you want backups to occur.
Use the NetBackup client name for each replica. If a replica is hosted on a failover cluster instance (FCI), use the virtual cluster instance name.
- Repeat step 4 to 9 in this procedure to create a policy for each type of backup (full, differential, transaction log) that you want to perform.
Each type of backup requires a separate policy.
- On each replica where you want to perform backups, create a batch file for each type of backup that you want to perform.
See Create batch files for the policy that protects the preferred or the primary replica.