Skip to content

Commit 79e16ae

Browse files
authored
Merge pull request #224047 from AbhishekMallick01/Jan-6-2022-QS
QS freshness - article updates
2 parents ca05914 + 755c3ae commit 79e16ae

File tree

1 file changed

+42
-36
lines changed

1 file changed

+42
-36
lines changed

articles/backup/backup-azure-sql-mabs.md

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,34 @@
11
---
22
title: Back up SQL Server by using Azure Backup Server
33
description: In this article, learn the configuration to back up SQL Server databases by using Microsoft Azure Backup Server (MABS).
4-
ms.topic: conceptual
5-
ms.date: 07/28/2021
4+
ms.topic: how-to
5+
ms.date: 01/16/2023
6+
author: jyothisuri
7+
ms.author: jsuri
8+
ms.service: backup
9+
ms.custom: engagement-fy23
610
---
11+
712
# Back up SQL Server to Azure by using Azure Backup Server
813

9-
Microsoft Azure Backup Server (MABS) provides backup and recovery for SQL Server databases. In addition to backing up SQL Server databases, you can run a system backup or full bare-metal backup of the SQL Server computer. Here's what MABS can protect:
14+
This article describes how to back up and restore SQL Server to Azure by using Microsoft Azure Backup Server (MABS).
15+
16+
Microsoft Azure Backup Server (MABS) provides backup and recovery for SQL Server databases. In addition to backing up SQL Server databases, you can run a system backup or full bare-metal backup of the SQL Server computer. You can use MABS to protect:
1017

1118
- A standalone SQL Server instance
1219
- A SQL Server Failover Cluster Instance (FCI)
1320

14-
>[!Note]
15-
>MABS v3 UR2 supports SQL Server Failover Cluster Instance (FCI) using Cluster Shared Volume (CSV).
16-
>
17-
>Protection of SQL Server FCI with Storage Spaces Direct on Azure, and SQL Server FCI with Azure shared disks is supported with this feature. The DPM server must be deployed in the Azure Virtual Machine to protect the SQL FCI instance, deployed on the Azure VMs.
18-
>
19-
>A SQL Server Always On availability group with theses preferences:
20-
>- Prefer Secondary
21-
>- Secondary only
22-
>- Primary
23-
>- Any Replica
21+
## Supported scenarios
22+
23+
- MABS v3 UR2 supports SQL Server Failover Cluster Instance (FCI) using Cluster Shared Volume (CSV).
24+
- Protection of SQL Server FCI with Storage Spaces Direct on Azure, and SQL Server FCI with Azure shared disks is supported with this feature. The DPM server must be deployed in the Azure Virtual Machine to protect the SQL FCI instance, deployed on the Azure VMs.
25+
- A SQL Server Always On availability group with theses preferences:
26+
- Prefer Secondary
27+
- Secondary only
28+
- Primary
29+
- Any Replica
30+
31+
## SQL Server database protection workflow
2432

2533
To back up a SQL Server database and recover it from Azure:
2634

@@ -67,53 +75,51 @@ To protect SQL Server databases in Azure, first create a backup policy:
6775
1. In Azure Backup Server, select the **Protection** workspace.
6876
1. Select **New** to create a protection group.
6977

70-
![Create a protection group in Azure Backup Server](./media/backup-azure-backup-sql/protection-group.png)
78+
![Screenshot shows how to start creating a protection group in Azure Backup Server.](./media/backup-azure-backup-sql/protection-group.png)
7179
1. On the start page, review the guidance about creating a protection group. Then select **Next**.
7280
1. For the protection group type, select **Servers**.
7381

74-
![Select the Servers protection group type](./media/backup-azure-backup-sql/pg-servers.png)
82+
![Screenshot shows how to select the Servers protection group type.](./media/backup-azure-backup-sql/pg-servers.png)
7583
1. Expand the SQL Server instance where the databases that you want to back up are located. You see the data sources that can be backed up from that server. Expand **All SQL Shares** and then select the databases that you want to back up. In this example, we select ReportServer$MSDPM2012 and ReportServer$MSDPM2012TempDB. Select **Next**.
7684

77-
![Select a SQL Server database](./media/backup-azure-backup-sql/pg-databases.png)
85+
![Screenshot shows how to select a SQL Server database.](./media/backup-azure-backup-sql/pg-databases.png)
7886
1. Name the protection group and then select **I want online protection**.
7987

80-
![Choose a data-protection method - short-term disk protection or online Azure protection](./media/backup-azure-backup-sql/pg-name.png)
88+
![Screenshot shows how to choose a data-protection method - short-term disk protection or online Azure protection.](./media/backup-azure-backup-sql/pg-name.png)
8189
1. On the **Specify Short-Term Goals** page, include the necessary inputs to create backup points to the disk.
8290

8391
In this example, **Retention range** is set to *5 days*. The backup **Synchronization frequency** is set to once every *15 minutes*. **Express Full Backup** is set to *8:00 PM*.
8492

85-
![Set up short-term goals for backup protection](./media/backup-azure-backup-sql/pg-shortterm.png)
93+
![Screenshot shows how to set up short-term goals for backup protection.](./media/backup-azure-backup-sql/pg-shortterm.png)
8694

8795
> [!NOTE]
8896
> In this example, a backup point is created at 8:00 PM every day. The data that has been modified since the previous day's 8:00 PM backup point is transferred. This process is called **Express Full Backup**. Although the transaction logs are synchronized every 15 minutes, if we need to recover the database at 9:00 PM, then the point is created by replaying the logs from the last express full backup point, which is 8:00 PM in this example.
89-
>
90-
>
9197
9298
1. Select **Next**. MABS shows the overall storage space available. It also shows the potential disk space utilization.
9399

94-
![Set up disk allocation in MABS](./media/backup-azure-backup-sql/pg-storage.png)
100+
![Screenshot shows how to set up disk allocation in MABS.](./media/backup-azure-backup-sql/pg-storage.png)
95101

96102
By default, MABS creates one volume per data source (SQL Server database). The volume is used for the initial backup copy. In this configuration, Logical Disk Manager (LDM) limits MABS protection to 300 data sources (SQL Server databases). To work around this limitation, select **Co-locate data in DPM Storage Pool**. If you use this option, MABS uses a single volume for multiple data sources. This setup allows MABS to protect up to 2,000 SQL Server databases.
97103

98104
If you select **Automatically grow the volumes**, then MABS can account for the increased backup volume as the production data grows. If you don't select **Automatically grow the volumes**, then MABS limits the backup storage to the data sources in the protection group.
99105
1. If you're an administrator, you can choose to transfer this initial backup **Automatically over the network** and choose the time of transfer. Or choose to **Manually** transfer the backup. Then select **Next**.
100106

101-
![Choose a replica-creation method in MABS](./media/backup-azure-backup-sql/pg-manual.png)
107+
![Screenshot shows how to choose a replica-creation method in MABS.](./media/backup-azure-backup-sql/pg-manual.png)
102108

103109
The initial backup copy requires the transfer of the entire data source (SQL Server database). The backup data moves from the production server (SQL Server computer) to MABS. If this backup is large, then transferring the data over the network could cause bandwidth congestion. For this reason, administrators can choose to use removable media to transfer the initial backup **Manually**. Or they can transfer the data **Automatically over the network** at a specified time.
104110

105111
After the initial backup finishes, backups continue incrementally on the initial backup copy. Incremental backups tend to be small and are easily transferred across the network.
106112
1. Choose when to run a consistency check. Then select **Next**.
107113

108-
![Choose when to run a consistency check](./media/backup-azure-backup-sql/pg-consistent.png)
114+
![Screenshot shows how to choose a schedule to run a consistency check.](./media/backup-azure-backup-sql/pg-consistent.png)
109115

110116
MABS can run a consistency check on the integrity of the backup point. It calculates the checksum of the backup file on the production server (the SQL Server computer in this example) and the backed-up data for that file in MABS. If the check finds a conflict, then the backed-up file in MABS is assumed to be corrupt. MABS fixes the backed-up data by sending the blocks that correspond to the checksum mismatch. Because the consistency check is a performance-intensive operation, administrators can choose to schedule the consistency check or run it automatically.
111117
1. Select the data sources to protect in Azure. Then select **Next**.
112118

113-
![Select data sources to protect in Azure](./media/backup-azure-backup-sql/pg-sqldatabases.png)
119+
![Screenshot show how to select data sources to protect in Azure.](./media/backup-azure-backup-sql/pg-sqldatabases.png)
114120
1. If you're an administrator, you can choose backup schedules and retention policies that suit your organization's policies.
115121

116-
![Choose schedules and retention policies](./media/backup-azure-backup-sql/pg-schedule.png)
122+
![Screenshot shows how to choose schedules and retention policies.](./media/backup-azure-backup-sql/pg-schedule.png)
117123

118124
In this example, backups are taken daily at 12:00 PM and 8:00 PM.
119125

@@ -125,7 +131,7 @@ To protect SQL Server databases in Azure, first create a backup policy:
125131
126132
1. Choose the retention policy schedule. For more information about how the retention policy works, see [Use Azure Backup to replace your tape infrastructure](backup-azure-backup-cloud-as-tape.md).
127133

128-
![Choose a retention policy in MABS](./media/backup-azure-backup-sql/pg-retentionschedule.png)
134+
![Screenshot shows how to choose a retention policy in MABS.](./media/backup-azure-backup-sql/pg-retentionschedule.png)
129135

130136
In this example:
131137

@@ -143,49 +149,49 @@ To protect SQL Server databases in Azure, first create a backup policy:
143149
After you choose a transfer mechanism, select **Next**.
144150
1. On the **Summary** page, review the policy details. Then select **Create group**. You can select **Close** and watch the job progress in the **Monitoring** workspace.
145151

146-
![The progress of the protection group creation](./media/backup-azure-backup-sql/pg-summary.png)
152+
![Screenshot shows the progress of the protection group creation.](./media/backup-azure-backup-sql/pg-summary.png)
147153

148154
## Create on-demand backup copies of a SQL Server database
149155

150156
A recovery point is created when the first backup occurs. Rather than waiting for the schedule to run, you can manually trigger the creation of a recovery point:
151157

152158
1. In the protection group, make sure the database status is **OK**.
153159

154-
![A protection group, showing the database status](./media/backup-azure-backup-sql/sqlbackup-recoverypoint.png)
160+
![Screenshot shows the database status in a protection group.](./media/backup-azure-backup-sql/sqlbackup-recoverypoint.png)
155161
1. Right-click the database and then select **Create recovery point**.
156162

157-
![Choose to create an online recovery point](./media/backup-azure-backup-sql/sqlbackup-createrp.png)
163+
![Screenshot shows how to choose creating an online recovery point.](./media/backup-azure-backup-sql/sqlbackup-createrp.png)
158164
1. In the drop-down menu, select **Online protection**. Then select **OK** to start the creation of a recovery point in Azure.
159165

160-
![Start creating a recovery point in Azure](./media/backup-azure-backup-sql/sqlbackup-azure.png)
166+
![Screenshot shows how to start creating a recovery point in Azure.](./media/backup-azure-backup-sql/sqlbackup-azure.png)
161167
1. You can view the job progress in the **Monitoring** workspace.
162168

163-
![View job progress in the Monitoring console](./media/backup-azure-backup-sql/sqlbackup-monitoring.png)
169+
![Screenshot shows how to view job progress in the Monitoring console.](./media/backup-azure-backup-sql/sqlbackup-monitoring.png)
164170

165171
## Recover a SQL Server database from Azure
166172

167173
To recover a protected entity, such as a SQL Server database, from Azure:
168174

169175
1. Open the DPM server management console. Go to the **Recovery** workspace to see the servers that DPM backs up. Select the database (in this example, ReportServer$MSDPM2012). Select a **Recovery time** that ends with **Online**.
170176

171-
![Select a recovery point](./media/backup-azure-backup-sql/sqlbackup-restorepoint.png)
177+
![Screenshot shows how to select a recovery point.](./media/backup-azure-backup-sql/sqlbackup-restorepoint.png)
172178
1. Right-click the database name and select **Recover**.
173179

174-
![Recover a database from Azure](./media/backup-azure-backup-sql/sqlbackup-recover.png)
180+
![Screenshot shows how to recover a database from Azure.](./media/backup-azure-backup-sql/sqlbackup-recover.png)
175181
1. DPM shows the details of the recovery point. Select **Next**. To overwrite the database, select the recovery type **Recover to original instance of SQL Server**. Then select **Next**.
176182

177-
![Recover a database to its original location](./media/backup-azure-backup-sql/sqlbackup-recoveroriginal.png)
183+
![Screenshot shows how to recover a database to its original location.](./media/backup-azure-backup-sql/sqlbackup-recoveroriginal.png)
178184

179185
In this example, DPM allows the recovery of the database to another SQL Server instance or to a standalone network folder.
180186
1. On the **Specify Recovery Options** page, you can select the recovery options. For example, you can choose **Network bandwidth usage throttling** to throttle the bandwidth that recovery uses. Then select **Next**.
181187
1. On the **Summary** page, you see the current recovery configuration. Select **Recover**.
182188

183189
The recovery status shows the database being recovered. You can select **Close** to close the wizard and view the progress in the **Monitoring** workspace.
184190

185-
![Start the recovery process](./media/backup-azure-backup-sql/sqlbackup-recoverying.png)
191+
![Screenshot shows how to start the recovery process.](./media/backup-azure-backup-sql/sqlbackup-recoverying.png)
186192

187193
When the recovery is complete, the restored database is consistent with the application.
188194

189-
### Next steps
195+
## Next steps
190196

191197
For more information, see [Azure Backup FAQ](backup-azure-backup-faq.yml).

0 commit comments

Comments
 (0)