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/tutorial-sql-backup.md
+5-40Lines changed: 5 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Tutorial - Back up SQL Server databases to Azure
3
3
description: In this tutorial, learn how to back up a SQL Server database running on an Azure VM to an Azure Backup Recovery Services vault.
4
4
ms.topic: tutorial
5
-
ms.date: 01/07/2022
5
+
ms.date: 07/20/2022
6
6
author: v-amallick
7
7
ms.service: backup
8
8
ms.author: v-amallick
@@ -23,45 +23,10 @@ This tutorial shows you how to back up a SQL Server database running on an Azure
23
23
Before you back up your SQL Server database, check the following conditions:
24
24
25
25
1. Identify or [create](backup-sql-server-database-azure-vms.md#create-a-recovery-services-vault) a Recovery Services vault in the same region or locale as the VM hosting the SQL Server instance.
26
-
2.[Check the VM permissions](backup-azure-sql-database.md#set-vm-permissions) needed to back up the SQL databases.
27
-
3. Verify that the VM has [network connectivity](backup-sql-server-database-azure-vms.md#establish-network-connectivity).
28
-
4. Check that the SQL Server databases are named in accordance with [naming guidelines](#verify-database-naming-guidelines-for-azure-backup) for Azure Backup.
29
-
5. Verify that you don't have any other backup solutions enabled for the database. Disable all other SQL Server backups before you set up this scenario. You can enable Azure Backup for an Azure VM along with Azure Backup for a SQL Server database running on the VM without any conflict.
30
-
31
-
### Establish network connectivity
32
-
33
-
For all operations, the SQL Server VM virtual machine needs connectivity to Azure public IP addresses. VM operations (database discovery, configure backups, schedule backups, restore recovery points, and so on) fail without connectivity to the public IP addresses. Establish connectivity with one of these options:
34
-
35
-
***Allow the Azure datacenter IP ranges**: Allow the [IP ranges](https://www.microsoft.com/download/details.aspx?id=41653) in the download. To access network security group (NSG), use the **Set-AzureNetworkSecurityRule** cmdlet.
36
-
***Deploy an HTTP proxy server to route traffic**: When you back up a SQL Server database on an Azure VM, the backup extension on the VM uses the HTTPS APIs to send management commands to Azure Backup, and data to Azure Storage. The backup extension also uses Azure Active Directory (Azure AD) for authentication. Route the backup extension traffic for these three services through the HTTP proxy. The extensions are the only component that's configured for access to the public internet.
37
-
38
-
Each option has advantages and disadvantages
39
-
40
-
**Option** | **Advantages** | **Disadvantages**
41
-
--- | --- | ---
42
-
Allow IP ranges | No additional costs. | Complex to manage because the IP address ranges change over time. <br/><br/> Provides access to the whole of Azure, not just Azure Storage.
43
-
Use an HTTP proxy | Granular control in the proxy over the storage URLs is allowed. <br/><br/> Single point of internet access to VMs. <br/><br/> Not subject to Azure IP address changes. | Additional costs to run a VM with the proxy software.
44
-
45
-
### Set VM permissions
46
-
47
-
Azure Backup does a number of things when you configure backup for a SQL Server database:
48
-
49
-
* Adds the **AzureBackupWindowsWorkload** extension.
50
-
* To discover databases on the virtual machine, Azure Backup creates the account **NT SERVICE\AzureWLBackupPluginSvc**. This account is used for backup and restore, and requires SQL sysadmin permissions.
51
-
* Azure Backup leverages the **NT AUTHORITY\SYSTEM** account for database discovery/inquiry, so this account need to be a public login on SQL.
52
-
53
-
If you didn't create the SQL Server VM from Azure Marketplace, you might receive an error **UserErrorSQLNoSysadminMembership**. If this occurs [follow these instructions](backup-azure-sql-database.md#set-vm-permissions).
54
-
55
-
### Verify database naming guidelines for Azure Backup
56
-
57
-
Avoid the following for database names:
58
-
59
-
* Trailing/Leading spaces
60
-
* Trailing ‘!’
61
-
* Close square bracket ‘]’
62
-
* Databases names starting with ‘F:\’
63
-
64
-
We do have aliasing for Azure table unsupported characters, but we recommend avoiding them. [Learn more](/rest/api/storageservices/understanding-the-table-service-data-model).
26
+
1.[Check the VM permissions](backup-azure-sql-database.md#set-vm-permissions) needed to back up the SQL databases.
27
+
1. Verify that the VM has [network connectivity](backup-sql-server-database-azure-vms.md#establish-network-connectivity).
28
+
1. Check that the SQL Server databases are named in accordance with [naming guidelines](backup-sql-server-database-azure-vms.md#database-naming-guidelines-for-azure-backup) for Azure Backup.
29
+
1. Verify that you don't have any other backup solutions enabled for the database. Disable all other SQL Server backups before you set up this scenario. You can enable Azure Backup for an Azure VM along with Azure Backup for a SQL Server database running on the VM without any conflict.
65
30
66
31
[!INCLUDE [How to create a Recovery Services vault](../../includes/backup-create-rs-vault.md)]
0 commit comments