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
Configuring 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 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
- Log on to the master server as administrator (Windows) or root (UNIX).
- Open the NetBackup Administration Console.
- Select Actions > New > Policy.
- In the Policy name box, type a unique name for the new policy and click OK.
- 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 Clients and 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. See the NetBackup Administrator's Guide for more information.
- 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 3 to Configuring an automatic backup policy for the preferred or the primary replica of a SQL Server availability group 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 Creating batch files for the policy that protects the preferred or the primary replica.