Creating SQL Server backups in AAG environment
On SQL Server 2012 and later versions, you can back up databases in an AlwaysOn Availability Group (AAG) cluster. This procedure describes different approaches for backing up your SQL Server in an AAG cluster environment.
Before you begin
- To run a legacy backup, ensure that the Data Protection for SQL Server license file is installed.
- To back up availability databases, ensure that IBM Storage® Protect Snapshot is configured to use an AlwaysOn node. Additionally, specify the AlwaysOn node in the AlwaysOn Node field in the IBM Storage Protect Node Names page of the IBM Storage Protect Configuration Wizard.
- For all backup operations of secondary availability replicas, ensure that the secondary replicas are in a synchronized or synchronizing state.
- When running a scheduled backup using a script of a database in an availability group, ensure the backup preferences for the availability group are set. This is done at AAG level when the AAG is being set up. Ensure the backup priority option that defines the order in which replicas are used to back up a database in an AAG is set. Also, ensure that the preferred replica to define whether primary or secondary replicas can be used for backup operations is set. For more information, see Data Protection for AlwaysOn Availability Groups.
Create backup using MMC
About this task
On MMC, you can choose the replica you want to run the backup on and depending on the replica you
want to back up, the following backup types are available. You can select the following types of VSS
backup operations:
- Full VSS backups of the primary availability replica
- VSS copy-only full backups of availability replicas
You can run the following types of legacy backup operations:
- On the primary replica, legacy full, differential, file, set, group, and log backups
- On the secondary replica, legacy full, file, set, group, and log backups
- VSS and legacy copy-only full backups, legacy copy-only file, set, or group backups, and legacy copy-only and normal log backups