Skip to content

Commit 220711b

Browse files
authored
Merge pull request #105550 from MashaMSFT/20200225_sqlvmbackup
updated automated backup for sql vms
2 parents 5b47879 + 3bca1f5 commit 220711b

File tree

6 files changed

+9
-15
lines changed

6 files changed

+9
-15
lines changed
Loading
Loading
Loading

articles/virtual-machines/windows/sql/virtual-machines-windows-sql-automated-backup-v2.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,7 @@ Then, on Tuesday at 10 for 6 hours, full backups of all databases start again.
114114
> [!IMPORTANT]
115115
> When scheduling daily backups, it is recommended that you schedule a wide time window to ensure all databases can be backed up within this time. This is especially important in the case where you have a large amount of data to back up.
116116
117-
## Configure in the portal
118-
119-
You can use the Azure portal to configure Automated Backup v2 during provisioning or for existing SQL Server 2016/2017 VMs.
120-
121-
## Configure for new VMs
117+
## Configure new VMs
122118

123119
Use the Azure portal to configure Automated Backup v2 when you create a new SQL Server 2016 or 2017 Virtual Machine in the Resource Manager deployment model.
124120

articles/virtual-machines/windows/sql/virtual-machines-windows-sql-automated-backup.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Automated Backup for SQL Server 2014 Azure Virtual Machines | Microsoft Docs
2+
title: Automated Backup for SQL Server 2014 Azure Virtual Machines
33
description: Explains the Automated Backup feature for SQL Server 2014 VMs running in Azure. This article is specific to VMs using the Resource Manager.
44
services: virtual-machines-windows
55
documentationcenter: na
@@ -64,30 +64,28 @@ The following table describes the options that can be configured for Automated B
6464
| **Encryption** | Enable/Disable (Disabled) | Enables or disables encryption. When encryption is enabled, the certificates used to restore the backup are located in the specified storage account in the same `automaticbackup` container using the same naming convention. If the password changes, a new certificate is generated with that password, but the old certificate remains to restore prior backups. |
6565
| **Password** | Password text | A password for encryption keys. This is only required if encryption is enabled. In order to restore an encrypted backup, you must have the correct password and related certificate that was used at the time the backup was taken. |
6666

67-
## Configure in the portal
68-
69-
You can use the Azure portal to configure Automated Backup during provisioning or for existing SQL Server 2014 VMs.
7067

7168
## Configure new VMs
7269

7370
Use the Azure portal to configure Automated Backup when you create a new SQL Server 2014 Virtual Machine in the Resource Manager deployment model.
7471

75-
In the **SQL Server settings** tab, scroll down to **Automated backup** and select **Enable**. You can also specify the retention period, and storage account, as well as enabling encryption, backing up system databases, and configuring a backup schedule. The following Azure portal screenshot shows the **SQL Automated Backup** settings.
72+
On the **SQL Server settings** tab, scroll down to **Automated backup** and select **Enable**. The following Azure portal screenshot shows the **SQL Automated Backup** settings.
7673

7774
![SQL Automated Backup configuration in Azure portal](./media/virtual-machines-windows-sql-automated-backup/azure-sql-arm-autobackup.png)
7875

7976
## Configure existing VMs
8077

8178
[!INCLUDE [windows-virtual-machines-sql-use-new-management-blade](../../../../includes/windows-virtual-machines-sql-new-resource.md)]
8279

83-
For existing SQL Server virtual machines, navigate to the
84-
[SQL virtual machines resource](virtual-machines-windows-sql-manage-portal.md#access-the-sql-virtual-machines-resource) and then select **Backups**.
80+
For existing SQL Server virtual machines, you can enable and disable automated backups, change the retention period, specify the storage account, and enable encryption from the Azure portal.
81+
82+
Navigate to the [SQL virtual machines resource](virtual-machines-windows-sql-manage-portal.md#access-the-sql-virtual-machines-resource) for your SQL Server 2014 virtual machine and then select **Backups**.
8583

8684
![SQL Automated Backup for existing VMs](./media/virtual-machines-windows-sql-automated-backup/azure-sql-rm-autobackup-existing-vms.png)
8785

8886
When finished, select the **Apply** button on the bottom of the **Backups** page to save your changes.
8987

90-
If you are enabling Automated Backup for the first time, Azure configures the SQL Server IaaS Agent in the background. During this time, the Azure portal might not show that Automated Backup is configured. Wait several minutes for the agent to be installed, configured. After that the Azure portal will reflect the new settings.
88+
If you are enabling Automated Backup for the first time, Azure configures the SQL Server IaaS Agent in the background. During this time, the Azure portal might not show that Automated Backup is configured. Wait several minutes for the agent to be installed and configured. After that, the Azure portal will reflect the new settings.
9189

9290
> [!NOTE]
9391
> You can also configure Automated Backup using a template. For more information, see [Azure quickstart template for Automated Backup](https://github.com/Azure/azure-quickstart-templates/tree/master/101-vm-sql-existing-autobackup-update).
@@ -97,7 +95,7 @@ If you are enabling Automated Backup for the first time, Azure configures the SQ
9795
You can use PowerShell to configure Automated Backup. Before you begin, you must:
9896

9997
- [Download and install the latest Azure PowerShell](https://aka.ms/webpi-azps).
100-
- Open Windows PowerShell and associate it with your account with the **Connect-AzAccount** command.
98+
- Open Windows PowerShell and associate it with your account with the **Connect-AzAccount** command.
10199

102100
[!INCLUDE [updated-for-az.md](../../../../includes/updated-for-az.md)]
103101

articles/virtual-machines/windows/sql/virtual-machines-windows-sql-performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ For VMs that support premium SSDs, you can also store TempDB on a disk that supp
130130
> [!WARNING]
131131
> Stop the SQL Server service when changing the cache setting of Azure VM disks to avoid the possibility of any database corruption.
132132
133-
* **NTFS allocation unit size**: When formatting the data disk, it is recommended that you use a 64-KB allocation unit size for data and log files as well as TempDB.
133+
* **NTFS allocation unit size**: When formatting the data disk, it is recommended that you use a 64-KB allocation unit size for data and log files as well as TempDB. If TempDB is placed on the temporary disk (D:\ drive) the performance gained by leveraging this drive outweighs the need for a 64K allocation unit size.
134134
135135
* **Disk management best practices**: When removing a data disk or changing its cache type, stop the SQL Server service during the change. When the caching settings are changed on the OS disk, Azure stops the VM, changes the cache type, and restarts the VM. When the cache settings of a data disk are changed, the VM is not stopped, but the data disk is detached from the VM during the change and then reattached.
136136

0 commit comments

Comments
 (0)