You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/backup/backup-sql-server-database-from-azure-vm-blade.md
+20-4Lines changed: 20 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ ms.service: backup
7
7
author: AbhishekMallick-MS
8
8
ms.author: v-abhmallick
9
9
---
10
-
# Back up a SQL Server from the Azure VM blade
10
+
# Back up an SQL Server from the Azure VM blade
11
11
12
-
This article describes how to use Azure Backup to back up a SQL Server (running in Azure VM) from the SQL VM resource via the Azure portal.
12
+
This article describes how to use Azure Backup to back up an SQL Server (running in Azure VM) from the SQL VM resource via the Azure portal.
13
13
14
14
SQL Server databases are critical workloads that require a low recovery-point objective (RPO) and long-term retention. You can back up SQL Server databases running on Azure virtual machines (VMs) by using [Azure Backup](backup-overview.md).
15
15
@@ -18,7 +18,7 @@ SQL Server databases are critical workloads that require a low recovery-point ob
18
18
19
19
## Prerequisites
20
20
21
-
Before you back up a SQL Server database, see the [backup criteria](backup-sql-server-database-azure-vms.md#prerequisites).
21
+
Before you back up an SQL Server database, see the [backup criteria](backup-sql-server-database-azure-vms.md#prerequisites).
22
22
23
23
## Configure backup for SQLServer database
24
24
@@ -36,14 +36,20 @@ To configure backup for SQL Server database from the SQL VM blade, follow these
36
36
-**Azure Backup**
37
37
-**Automated Backup**
38
38
39
+
:::image type="content" source="./media/backup-sql-server-database-from-azure-vm-blade/select-backups.png" alt-text="Screenshot shows how to select the Backups option on a SQL VM." lightbox="./media/backup-sql-server-database-from-azure-vm-blade/select-backups.png":::
40
+
39
41
3. On the **Azure Backup** blade, select **Enable** to start configuring the backup for the SQL Server using Azure Backup.
40
42
41
43
4. To start the backup operation, select an *existing Recovery Services vault* or [create a new vault](backup-sql-server-database-azure-vms.md#create-a-recovery-services-vault).
42
44
43
45
5. Select **Discover** to start discovering databases in the VM.
44
46
47
+
:::image type="content" source="./media/backup-sql-server-database-from-azure-vm-blade/start-database-discovery.png" alt-text="Screenshot shows how to start discovering an SQL database." lightbox="./media/backup-sql-server-database-from-azure-vm-blade/start-database-discovery.png":::
48
+
45
49
This operation will take some time to run when performed for the first time.
46
50
51
+
:::image type="content" source="./media/backup-sql-server-database-from-azure-vm-blade/database-discovery-in-progress.png" alt-text="Screenshot shows the database discovery operation in progress." lightbox="./media/backup-sql-server-database-from-azure-vm-blade/database-discovery-in-progress.png":::
52
+
47
53
Azure Backup discovers all SQL Server databases on the VM. During discovery, the following operations run in the background:
48
54
49
55
1. Azure Backup registers the VM with the vault for workload backup. All databases on the registered VM can only be backed up to this vault.
@@ -56,30 +62,40 @@ To configure backup for SQL Server database from the SQL VM blade, follow these
56
62
57
63
6. Once the operation is completed, select **Configure backup**.
58
64
65
+
:::image type="content" source="./media/backup-sql-server-database-from-azure-vm-blade/start-database-backup-configuration.png" alt-text="Screenshot shows how to start the database backup configuration." lightbox="./media/backup-sql-server-database-from-azure-vm-blade/start-database-backup-configuration.png":::
66
+
59
67
7. Define a backup policy using one of the following options:
60
68
61
69
1. Select the default policy as *HourlyLogBackup*.
62
70
2. Select an existing backup policy previously created for SQL.
63
71
3. Create a new policy based on your RPO and retention range.
64
72
73
+
:::image type="content" source="./media/backup-sql-server-database-from-azure-vm-blade/select-backup-policy.png" alt-text="Screenshot shows how to select a backup policy for the database." lightbox="./media/backup-sql-server-database-from-azure-vm-blade/select-backup-policy.png":::
74
+
65
75
8. Select **Add** to view all the registered availability groups and standalone SQL Server instances.
66
76
67
77
9. On **Select items to backup**, expand the list of all the *unprotected databases* in that instance or the *Always On availability group*.
68
78
69
79
10. Select the *databases* to protect and select **OK**.
70
80
81
+
:::image type="content" source="./media/backup-sql-server-database-from-azure-vm-blade/confirm-database-selection.png" alt-text="Screenshot shows how to confirm the selection of database for backup." lightbox="./media/backup-sql-server-database-from-azure-vm-blade/confirm-database-selection.png":::
82
+
71
83
11. To optimize backup loads, Azure Backup allows/permits a maximum number of 50 databases in one backup job.
72
84
73
85
1. To protect more than 50 databases, configure multiple backups.
74
86
2. To enable the entire instance or the Always On availability group, in the AUTOPROTECT drop-down list, select ON, and then select OK.
75
87
76
88
12. Select **Enable Backup** to submit the Configure Protection operation and track the configuration progress in the Notifications area of the portal.
77
89
90
+
:::image type="content" source="./media/backup-sql-server-database-from-azure-vm-blade/enable-database-backup.png" alt-text="Screenshot shows how to enable the database backup operation." lightbox="./media/backup-sql-server-database-from-azure-vm-blade/enable-database-backup.png":::
91
+
78
92
13. To get an overview of your configured backups and a summary of backup jobs, go to **Settings** > **Backups** in the SQL VM resource.
79
93
94
+
:::image type="content" source="./media/backup-sql-server-database-from-azure-vm-blade/backup-jobs-summary.png" alt-text="Screenshot shows how to view the backup jobs summary." lightbox="./media/backup-sql-server-database-from-azure-vm-blade/backup-jobs-summary.png":::
95
+
80
96
## Next steps
81
97
82
98
-[Restore SQL Server databases on Azure VM](restore-sql-database-azure-vm.md)
83
99
-[Manage and monitor backed up SQL Server databases](manage-monitor-sql-database-backup.md)
84
-
-[Troubleshoot backups on a SQL Server database](backup-sql-server-azure-troubleshoot.md)
100
+
-[Troubleshoot backups on an SQL Server database](backup-sql-server-azure-troubleshoot.md)
85
101
-[FAQ - Backing up SQL Server databases on Azure VMs - Azure Backup | Microsoft Learn](faq-backup-sql-server.md)
0 commit comments