Skip to content

Commit f510528

Browse files
Merge pull request #224248 from AbhishekMallick01/Jan-6-2022-QS
QS freshness - article updates
2 parents 770f7d7 + 14a8943 commit f510528

File tree

1 file changed

+52
-44
lines changed

1 file changed

+52
-44
lines changed
Lines changed: 52 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
11
---
22
title: Back up SQL Server workloads on Azure Stack
33
description: In this article, learn how to configure Microsoft Azure Backup Server (MABS) to protect SQL Server databases on Azure Stack.
4-
ms.topic: conceptual
5-
ms.date: 06/08/2018
4+
ms.topic: how-to
5+
ms.date: 01/18/2023
6+
author: jyothisuri
7+
ms.author: jsuri
8+
ms.service: backup
9+
ms.custom: engagement-fy23
610
---
11+
712
# Back up SQL Server on Azure Stack
813

9-
Use this article to configure Microsoft Azure Backup Server (MABS) to protect SQL Server databases on Azure Stack.
14+
This article describes how to configure Microsoft Azure Backup Server (MABS) to protect SQL Server databases on Azure Stack.
15+
16+
## SQL Server databases protection workflow
1017

11-
The management of SQL Server database backup to Azure and recovery from Azure involves three steps:
18+
The management of SQL Server database backup to Azure and recovery from Azure involves:
1219

1320
1. Create a backup policy to protect SQL Server databases
1421
2. Create on-demand backup copies
1522
3. Recover the database from Disks, and from Azure
1623

1724
## Prerequisites and limitations
1825

19-
* If you have a database with files on a remote file share, protection will fail with Error ID 104. MABS doesn't support protection for SQL Server data on a remote file share.
26+
* If you've a database with files on a remote file share, protection will fail with Error ID 104. MABS doesn't support protection for SQL Server data on a remote file share.
2027
* MABS can't protect databases that are stored on remote SMB shares.
2128
* Ensure that the [availability group replicas are configured as read-only](/sql/database-engine/availability-groups/windows/configure-read-only-access-on-an-availability-replica-sql-server).
2229
* You must explicitly add the system account **NTAuthority\System** to the Sysadmin group on SQL Server.
@@ -39,84 +46,83 @@ The management of SQL Server database backup to Azure and recovery from Azure in
3946
* If the backup fails on the selected node, then the backup operation fails.
4047
* Recovery to the original location isn't supported.
4148
* SQL Server 2014 or above backup issues:
42-
* SQL server 2014 added a new feature to create a [database for on-premises SQL Server in Windows Azure Blob storage](/sql/relational-databases/databases/sql-server-data-files-in-microsoft-azure). MABS can't be used to protect this configuration.
49+
* SQL server 2014 added a new feature to create a [database for on-premises SQL Server on Microsoft Azure Blob storage](/sql/relational-databases/databases/sql-server-data-files-in-microsoft-azure). MABS can't be used to protect this configuration.
4350
* There are some known issues with "Prefer secondary" backup preference for the SQL Always On option. MABS always takes a backup from secondary. If no secondary can be found, then the backup fails.
4451

4552
## Before you start
4653

4754
[Install and prepare Azure Backup Server](backup-mabs-install-azure-stack.md).
4855

49-
## Create a backup policy to protect SQL Server databases to Azure
56+
## Create a backup policy
57+
58+
To create a backup policy to protect SQL Server databases to Azure, follow these steps:
5059

5160
1. On the Azure Backup Server UI, select the **Protection** workspace.
5261

5362
2. On the tool ribbon, select **New** to create a new protection group.
5463

55-
![Create Protection Group](./media/backup-azure-backup-sql/protection-group.png)
64+
![Screenshot shows how to initiate creating Protection Group.](./media/backup-azure-backup-sql/protection-group.png)
5665

5766
Azure Backup Server starts the Protection Group wizard, which leads you through creating a **Protection Group**. Select **Next**.
5867

59-
3. In the **Select Protection Group Type** screen, select **Servers**.
68+
3. On the **Select Protection Group Type** screen, select **Servers**.
6069

61-
![Select Protection Group Type - 'Servers'](./media/backup-azure-backup-sql/pg-servers.png)
70+
![Screenshot shows how to select Protection Group Type - Servers.](./media/backup-azure-backup-sql/pg-servers.png)
6271

63-
4. In the **Select Group Members** screen, the Available members list displays the various data sources. Select **+** to expand a folder and reveal the subfolders. Select the checkbox to select an item.
72+
4. On the **Select Group Members** screen, the Available members list displays the various data sources. Select **+** to expand a folder and reveal the subfolders. Select the checkbox to select an item.
6473

65-
![Select SQL DB](./media/backup-azure-backup-sql/pg-databases.png)
74+
![Screenshot shows how to select a SQL database.](./media/backup-azure-backup-sql/pg-databases.png)
6675

6776
All selected items appear in the Selected members list. After selecting the servers or databases you want to protect, select **Next**.
6877

69-
5. In the **Select Data Protection Method** screen, provide a name for the protection group and select the **I want online Protection** checkbox.
78+
5. On the **Select Data Protection Method** screen, provide a name for the protection group and select the **I want online Protection** checkbox.
7079

71-
![Data Protection Method - short-term disk & Online Azure](./media/backup-azure-backup-sql/pg-name.png)
80+
![Screenshot shows the Data Protection Method - short-term disk & Online Azure.](./media/backup-azure-backup-sql/pg-name.png)
7281

73-
6. In the **Specify Short-Term Goals** screen, include the necessary inputs to create backup points to disk, and select **Next**.
82+
6. On the **Specify Short-Term Goals** screen, include the necessary inputs to create backup points to disk, and select **Next**.
7483

7584
In the example, **Retention range** is **5 days**, **Synchronization frequency** is once every **15 minutes**, which is the backup frequency. **Express Full Backup** is set to **8:00 P.M**.
7685

77-
![Short-term goals](./media/backup-azure-backup-sql/pg-shortterm.png)
86+
![Screenshot shows the short-term goals.](./media/backup-azure-backup-sql/pg-shortterm.png)
7887

7988
> [!NOTE]
8089
> In the example shown, at 8:00 PM every day a backup point is created by transferring the modified data from the previous day’s 8:00 PM backup point. This process is called **Express Full Backup**. Transaction logs are synchronized every 15 minutes. If you need to recover the database at 9:00 PM, the point is created from the logs from the last express full backup point (8PM in this case).
81-
>
82-
>
8390
8491
7. On the **Review disk allocation** screen, verify the overall storage space available, and the potential disk space. Select **Next**.
8592

86-
8. In the **Choose Replica Creation Method**, choose how to create your first recovery point. You can transfer the initial backup manually (off network) to avoid bandwidth congestion or over the network. If you choose to wait to transfer the first backup, you can specify the time for the initial transfer. Select **Next**.
93+
8. On the **Choose Replica Creation Method**, choose how to create your first recovery point. You can transfer the initial backup manually (off network) to avoid bandwidth congestion or over the network. If you choose to wait to transfer the first backup, you can specify the time for the initial transfer. Select **Next**.
8794

88-
![Initial replication method](./media/backup-azure-backup-sql/pg-manual.png)
95+
![Screenshot shows the initial replication method.](./media/backup-azure-backup-sql/pg-manual.png)
8996

9097
The initial backup copy requires transferring the entire data source (SQL Server database) from production server (SQL Server computer) to Azure Backup Server. This data might be large, and transferring the data over the network could exceed bandwidth. For this reason, you can choose to transfer the initial backup: **Manually** (using removable media) to avoid bandwidth congestion, or **Automatically over the network** (at a specified time).
9198

9299
Once the initial backup is complete, the rest of the backups are incremental backups on the initial backup copy. Incremental backups tend to be small and are easily transferred across the network.
93100

94101
9. Choose when you want the consistency check to run and select **Next**.
95102

96-
![Consistency check](./media/backup-azure-backup-sql/pg-consistent.png)
103+
![Screenshot shows how to schedule the consistency check.](./media/backup-azure-backup-sql/pg-consistent.png)
97104

98105
Azure Backup Server performs a consistency check on the integrity of the backup point. Azure Backup Server calculates the checksum of the backup file on the production server (SQL Server computer in this scenario) and the backed-up data for that file. If there's a conflict, it's assumed the backed-up file on Azure Backup Server is corrupt. Azure Backup Server rectifies the backed-up data by sending the blocks corresponding to the checksum mismatch. Because consistency checks are performance-intensive, you can schedule the consistency check or run it automatically.
99106

100107
10. To specify online protection of the datasources, select the databases to be protected to Azure and select **Next**.
101108

102-
![Select datasources](./media/backup-azure-backup-sql/pg-sqldatabases.png)
109+
![Screenshot shows how to select data sources.](./media/backup-azure-backup-sql/pg-sqldatabases.png)
103110

104111
11. Choose backup schedules and retention policies that suit the organization policies.
105112

106-
![Schedule and Retention](./media/backup-azure-backup-sql/pg-schedule.png)
113+
![Screenshot shows hot to backup schedule and retention.](./media/backup-azure-backup-sql/pg-schedule.png)
107114

108115
In this example, backups are taken once a day at 12:00 PM and 8 PM (bottom part of the screen)
109116

110117
> [!NOTE]
111118
> It’s a good practice to have a few short-term recovery points on disk, for quick recovery. These recovery points are used for operational recovery. Azure serves as a good offsite location with higher SLAs and guaranteed availability.
112-
>
113-
>
119+
114120

115121
**Best Practice**: If you schedule backups to Azure to start after the local disk backups complete, the latest disk backups are always copied to Azure.
116122

117123
12. Choose the retention policy schedule. The details on how the retention policy works are provided at [Use Azure Backup to replace your tape infrastructure article](backup-azure-backup-cloud-as-tape.md).
118124

119-
![Retention Policy](./media/backup-azure-backup-sql/pg-retentionschedule.png)
125+
![Screenshot shows how to choose the retention Policy.](./media/backup-azure-backup-sql/pg-retentionschedule.png)
120126

121127
In this example:
122128

@@ -128,52 +134,54 @@ The management of SQL Server database backup to Azure and recovery from Azure in
128134

129135
14. Once you review the policy details in the **Summary** screen, select **Create group** to complete the workflow. You can select **Close** and monitor the job progress in Monitoring workspace.
130136

131-
![Creation of Protection Group In-Progress](./media/backup-azure-backup-sql/pg-summary.png)
137+
![Screenshot shows the the in-progress job state of the Protection Group creation.](./media/backup-azure-backup-sql/pg-summary.png)
138+
139+
## Run an on-demand backup
132140

133-
## On-demand backup of a SQL Server database
141+
A *recovery point* is created only when the first backup occurs. After creating a backup policy, you can trigger the creation of a recovery point manually, rather than waiting for the scheduler to take the backup.
134142

135-
While the previous steps created a backup policy, a “recovery point” is created only when the first backup occurs. Rather than waiting for the scheduler to kick in, the steps below trigger the creation of a recovery point manually.
143+
To run an on-demand backup of a SQL Server database, follow these steps:
136144

137145
1. Wait until the protection group status shows **OK** for the database before creating the recovery point.
138146

139-
![Protection Group Members](./media/backup-azure-backup-sql/sqlbackup-recoverypoint.png)
140-
2. Right-click on the database and select **Create Recovery Point**.
147+
![Screenshot shows the Protection Group members.](./media/backup-azure-backup-sql/sqlbackup-recoverypoint.png)
148+
2. Right-click the database and select **Create Recovery Point**.
141149

142-
![Create Online Recovery Point](./media/backup-azure-backup-sql/sqlbackup-createrp.png)
150+
![Screenshot shows how to start creating the online online Recovery Point.](./media/backup-azure-backup-sql/sqlbackup-createrp.png)
143151
3. Choose **Online Protection** in the drop-down menu and select **OK** to start creation of a recovery point in Azure.
144152

145-
![Create recovery point](./media/backup-azure-backup-sql/sqlbackup-azure.png)
153+
![Screenshot shows how to choose the Online Protection option.](./media/backup-azure-backup-sql/sqlbackup-azure.png)
146154
4. View the job progress in the **Monitoring** workspace.
147155

148-
![Monitoring console](./media/backup-azure-backup-sql/sqlbackup-monitoring.png)
156+
![Screenshot shows the monitoring console.](./media/backup-azure-backup-sql/sqlbackup-monitoring.png)
149157

150-
## Recover a SQL Server database from Azure
158+
## Recover the database from Azure
151159

152-
The following steps are required to recover a protected entity (SQL Server database) from Azure.
160+
To recover a protected entity (SQL Server database) from Azure, follow these steps:
153161

154162
1. Open the Azure Backup Server Management Console. Navigate to **Recovery** workspace where you can see the protected servers. Browse the required database (in this case ReportServer$MSDPM2012). Select a **Recovery from** time that's specified as an **Online** point.
155163

156-
![Select Recovery point](./media/backup-azure-backup-sql/sqlbackup-restorepoint.png)
164+
![Screenshot shows how to select a Recovery point.](./media/backup-azure-backup-sql/sqlbackup-restorepoint.png)
157165
2. Right-click the database name and select **Recover**.
158166

159-
![Recover from Azure](./media/backup-azure-backup-sql/sqlbackup-recover.png)
167+
![Screenshot shows how to select a database to recover from Azure.](./media/backup-azure-backup-sql/sqlbackup-recover.png)
160168
3. MABS shows the details of the recovery point. Select **Next**. To overwrite the database, select the recovery type **Recover to original instance of SQL Server**. Select **Next**.
161169

162-
![Recover to Original Location](./media/backup-azure-backup-sql/sqlbackup-recoveroriginal.png)
170+
![Screenshot shows how to recover database to original location.](./media/backup-azure-backup-sql/sqlbackup-recoveroriginal.png)
163171

164172
In this example, MABS recovers the database to another SQL Server instance, or to a standalone network folder.
165173

166-
4. In the **Specify Recovery options** screen, you can select the recovery options like Network bandwidth usage throttling to throttle the bandwidth used by recovery. Select **Next**.
174+
4. On the **Specify Recovery options** screen, you can select the recovery options like Network bandwidth usage throttling to throttle the bandwidth used by recovery. Select **Next**.
167175

168-
5. In the **Summary** screen, you see all the recovery configurations provided so far. Select **Recover**.
176+
5. On the **Summary** screen, you see all the recovery configurations provided so far. Select **Recover**.
169177

170178
The Recovery status shows the database being recovered. You can select **Close** to close the wizard and view the progress in the **Monitoring** workspace.
171179

172-
![Initiate recovery process](./media/backup-azure-backup-sql/sqlbackup-recoverying.png)
180+
![Screenshot shows how to initiate the recovery process.](./media/backup-azure-backup-sql/sqlbackup-recoverying.png)
173181

174182
Once the recovery is completed, the restored database is application consistent.
175183

176184
## Next steps
177185

178-
See the [Backup files and application](backup-mabs-files-applications-azure-stack.md) article.
179-
See the [Backup SharePoint on Azure Stack](backup-mabs-sharepoint-azure-stack.md) article.
186+
- [Back up files and application](backup-mabs-files-applications-azure-stack.md) article.
187+
- [Back up SharePoint on Azure Stack](backup-mabs-sharepoint-azure-stack.md) article.

0 commit comments

Comments
 (0)