Configure an automatic backup policy for a specific replica of a SQL Server availability group
This topic describes how to create a backup policy for automatic (scheduled) backups of a specific 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 |
Policy B | Schedules: Full backup, run daily Backup Selections: Batch file for full differential backups Clients: Node A |
Policy C | Schedules: Full backup, run per your RTO and RPO Backup Selections: Batch file for transaction log backups Clients: Node A |
To configure an automatic backup policy for a specific replica of a SQL Server availability group
- 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, select Protection > Policies.
- Select Add.
- 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. See the NetBackup Administrator's Guide, Volume I for more information.
- On the Clients tab, add the name of the replica that you want to protect.
Use the NetBackup client name for the replica. If a replica is hosted on a failover cluster instance (FCI), use the instance cluster name.
- Select Create to save the policy.
- Repeat the step 3 through step 7 in this procedure to create a policy for each type of backup (full, full differential, transaction log) that you want to perform.
Each type of backup requires a separate policy.
- Create a batch file for each type of backup that you want to perform with each policy.