Skip to content

Commit 0a1201c

Browse files
authored
Merge pull request #207706 from v-amallick/Aug-9-2022-HANAnSQL
SQL - Added link to supported scenarios
2 parents 2873212 + 1865bd9 commit 0a1201c

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

articles/backup/backup-sql-server-on-availability-groups.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
title: Back up SQL Server always on availability groups
33
description: In this article, learn how to back up SQL Server on availability groups.
44
ms.topic: conceptual
5-
ms.date: 08/20/2021
5+
ms.date: 08/11/2022
66
---
77
# Back up SQL Server always on availability groups
88

99
Azure Backup offers an end-to-end support for backing up SQL Server always on availability groups (AG) if all nodes are in the same region and subscription as the Recovery Services vault. However, if the AG nodes are spread across regions/subscriptions/on-premises and Azure, there are a few considerations to keep in mind.
1010

1111
>[!Note]
12-
>Backup of Basic Availability Group databases is not supported by Azure Backup.
12+
>- Backup of Basic Availability Group databases is not supported by Azure Backup.
13+
>- See the [SQL backup support matrix](sql-support-matrix.md) to know more about the supported configurations and scenarios.
1314
1415
The backup preference used by Azure Backup SQL AG supports full and differential backups only from the primary replica. So, these backup jobs always run on the Primary node irrespective of the backup preference. For copy-only full and transaction log backups, the AG backup preference is considered while deciding the node where backup will run.
1516

@@ -22,7 +23,7 @@ The backup preference used by Azure Backup SQL AG supports full and differential
2223

2324
The workload backup extension gets installed on the node when it is registered with the Azure Backup service. When an AG database is configured for backup, the backup schedules are pushed to all the registered nodes of the AG. The schedules fire on all the AG nodes and the workload backup extensions on these nodes synchronize between themselves to decide which node will perform the backup. The node selection depends on the backup type and the backup preference as explained in section 1.
2425

25-
The selected node proceeds with the backup job, whereas the job triggered on the other nodes bail out, that is, it skips the job.
26+
The selected node proceeds with the backup job, whereas the job triggered on the other nodes bails out, that is, it skips the job.
2627

2728
>[!Note]
2829
>Azure Backup doesn’t consider backup priorities or replicas while deciding among the secondary replicas.
@@ -40,7 +41,7 @@ Let’s consider the following AG deployment as a reference.
4041

4142
:::image type="content" source="./media/backup-sql-server-on-availability-groups/ag-deployment.png" alt-text="Diagram for AG deployment as reference.":::
4243

43-
Taking the above sample AG deployment, following are various considerations:
44+
Based on the above sample AG deployment, following are various considerations:
4445

4546
- As the primary node is in region 1 and subscription 1, the Recovery Services vault (Vault 1) must be in Region 1 and Subscription 1 for protecting this AG.
4647
- VM3 can't be registered to Vault 1 as it's in a different subscription.
@@ -59,7 +60,7 @@ After the AG has failed over to one of the secondary nodes:
5960
>[!Note]
6061
>Log chain breaks do not happen on failover if the failover doesn’t coincide with a backup.
6162
62-
Taking the above sample AG deployment, following are the various failover possibilities:
63+
Based on the above sample AG deployment, following are the various failover possibilities:
6364

6465
- Failover to VM2
6566
- Full and differential backups will happen from VM2.
@@ -75,7 +76,7 @@ Taking the above sample AG deployment, following are the various failover possib
7576

7677
Recovery services vault doesn’t support cross-subscription or cross-region backups. This section summarizes how to enable backups for AGs that are spanning subscriptions or Azure regions and the associated considerations.
7778

78-
- Evaluate if you really need to enable backups from all nodes. If one region/subscription has most of the AG nodes and failover to other nodes happens very rarely, setting up backup in that first region may be enough. If the failovers to other region/subscription happen frequently and for prolonged duration, then you may want to setup backups proactively in the other region as well.
79+
- Evaluate if you really need to enable backups from all nodes. If one region/subscription has most of the AG nodes and failover to other nodes happens very rarely, setting up the backup in that first region may be enough. If the failovers to other region/subscription happen frequently and for prolonged duration, then you may want to set aup backups proactively in the other region as well.
7980

8081
- Each vault where the backup gets enabled will have its own set of recovery point chains. Restores from these recovery points can be done to VMs registered in that vault only.
8182

@@ -91,7 +92,7 @@ Recovery services vault doesn’t support cross-subscription or cross-region bac
9192

9293
To avoid log backup conflicts between the two vaults, we recommend you to set the backup preference to Primary. Then, whichever vault has the primary node will also take the log backups.
9394

94-
Taking the above sample AG deployment, here are the steps to enable backup from all the nodes. The assumption is that backup preference is satisfied in all the steps.
95+
Based on the above sample AG deployment, here are the steps to enable backup from all the nodes. The assumption is that backup preference is satisfied in all the steps.
9596

9697
### Step 1: Enable backups in Region 1, Subscription 1 (Vault 1)
9798

@@ -126,7 +127,7 @@ For example, the first node has 50 standalone databases protected and both the n
126127

127128
As the AG database jobs are queued on one node and running on another, the backup synchronization (mentioned in section 6) won’t work properly. Node 2 might assume that Node 1 is down and therefore jobs from there aren't coming up for synchronization. This can lead to log chain breaks or extra backups as both nodes can take backups independently.
128129

129-
Similar problem can happen if the number of AG databases protected are more than the throttling limit. In such case, backup for, say, DB1 can be queued on Node 1 whereas it runs on Node 2.
130+
Similar problem can happen if the number of AG databases protected is more than the throttling limit. In such case, backup for, say, DB1 can be queued on Node 1 whereas it runs on Node 2.
130131

131132
We recommend you to use the following backup preferences to avoid these synchronization issues:
132133

articles/backup/backup-sql-server-vm-from-vm-pane.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Back up a SQL Server VM from the VM pane
33
description: In this article, learn how to back up SQL Server databases on Azure virtual machines from the VM pane.
44
ms.topic: conceptual
5-
ms.date: 08/13/2020
5+
ms.date: 08/11/2022
66
---
77
# Back up a SQL Server from the VM pane
88

@@ -17,6 +17,9 @@ This article explains how to back up SQL Server running in Azure VMs with the [A
1717
2. Get an [overview](backup-azure-sql-database.md) of Azure Backup for SQL Server VM.
1818
3. Verify that the VM has [network connectivity](backup-sql-server-database-azure-vms.md#establish-network-connectivity).
1919

20+
>[!Note]
21+
>See the [SQL backup support matrix](sql-support-matrix.md) to know more about the supported configurations and scenarios.
22+
2023
## Configure backup on the SQL Server
2124

2225
You can enable backup on your SQL Server VM from the **Backup** pane in the VM. This method does two things:

0 commit comments

Comments
 (0)