Skip to content

Commit 81c7352

Browse files
authored
Merge pull request #88098 from ThalathBhagya/master
added encrypted content
2 parents 94b6789 + e790687 commit 81c7352

File tree

6 files changed

+31
-35
lines changed

6 files changed

+31
-35
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This solution leverages the SQL native APIs to take backups of your SQL database
2121

2222
* Once you specify the SQL Server VM that you want to protect and query for the databases in it, Azure Backup service will install a workload backup extension on the VM by the name `AzureBackupWindowsWorkload` extension.
2323
* This extension consists of a coordinator and a SQL plugin. While the coordinator is responsible for triggering workflows for various operations like configure backup, backup and restore, the plugin is responsible for actual data flow.
24-
* To be able to discover databases on this VM, Azure Backup creates the account `NT SERVICE\AzureWLBackupPluginSvc`. This account is used for backup and restore and requires SQL sysadmin permissions. Azure Backup leverages the `NT AUTHORITY\SYSTEM` account for database discovery/inquiry, so this account need to be a public login on SQL. If you didn't create the SQL Server VM from the Azure Marketplace, you might receive an error **UserErrorSQLNoSysadminMembership**. If this occurs [follow these instructions](backup-azure-sql-database.md).
24+
* To be able to discover databases on this VM, Azure Backup creates the account `NT SERVICE\AzureWLBackupPluginSvc`. This account is used for backup and restore and requires SQL sysadmin permissions. Azure Backup leverages the `NT AUTHORITY\SYSTEM` account for database discovery/inquiry, so this account needs to be a public login on SQL. If you didn't create the SQL Server VM from the Azure Marketplace, you might receive an error **UserErrorSQLNoSysadminMembership**. If this occurs [follow these instructions](#set-vm-permissions).
2525
* Once you trigger configure protection on the selected databases, the backup service sets up the coordinator with the backup schedules and other policy details, which the extension caches locally on the VM.
2626
* At the scheduled time, the coordinator communicates with the plugin and it starts streaming the backup data from the SQL server using VDI.
2727
* The plugin sends the data directly to the recovery services vault, thus eliminating the need for a staging location. The data is encrypted and stored by the Azure Backup service in storage accounts.
@@ -55,8 +55,7 @@ Azure Backup has recently announced support for [EOS SQL Severs](https://docs.mi
5555
2. .NET Framework 4.5.2 and above needs to be installed on the VM
5656
3. Backup for FCI and mirrored databases isn’t supported
5757

58-
Users will not be charged for this feature until the time it is generally available. All of the other [feature considerations and limitations](#feature-consideration-and-limitations) apply to these versions as well. Kindly refer to the [prerequisites](backup-sql-server-database-azure-vms.md#prerequisites) before you configure protection on SQL Servers 2008 and 2008 R2, which include setting the [registry key](backup-sql-server-database-azure-vms.md#add-registry-key-to-enable-registration) (this step would not be required when the feature is generally available).
59-
58+
Users will not be charged for this feature until the time it is generally available. All of the other [feature considerations and limitations](#feature-consideration-and-limitations) apply to these versions as well. Kindly refer to the [prerequisites](backup-sql-server-database-azure-vms.md#prerequisites) before you configure protection on SQL Servers 2008 and 2008 R2.
6059

6160
## Feature consideration and limitations
6261

articles/backup/backup-sql-server-database-azure-vms.md

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dcurwin
66
manager: carmonm
77
ms.service: backup
88
ms.topic: conceptual
9-
ms.date: 06/18/2019
9+
ms.date: 09/11/2019
1010
ms.author: dacurwin
1111

1212

@@ -32,8 +32,7 @@ Before you back up a SQL Server database, check the following criteria:
3232
1. Identify or create a [Recovery Services vault](backup-sql-server-database-azure-vms.md#create-a-recovery-services-vault) in the same region or locale as the VM hosting the SQL Server instance.
3333
2. Verify that the VM has [network connectivity](backup-sql-server-database-azure-vms.md#establish-network-connectivity).
3434
3. Make sure that the SQL Server databases follow the [database naming guidelines for Azure Backup](#database-naming-guidelines-for-azure-backup).
35-
4. Specifically for SQL 2008 and 2008 R2, [add registry key](#add-registry-key-to-enable-registration) to enable server registration. This step will be not be required when the feature is generally available.
36-
5. Check that you don't have any other backup solutions enabled for the database. Disable all other SQL Server backups before you back up the database.
35+
4. Check that you don't have any other backup solutions enabled for the database. Disable all other SQL Server backups before you back up the database.
3736

3837
> [!NOTE]
3938
> You can enable Azure Backup for an Azure VM and also for a SQL Server database running on the VM without conflict.
@@ -94,22 +93,6 @@ Avoid using the following elements in database names:
9493

9594
Aliasing is available for unsupported characters, but we recommend avoiding them. For more information, see [Understanding the Table Service Data Model](https://docs.microsoft.com/rest/api/storageservices/Understanding-the-Table-Service-Data-Model?redirectedfrom=MSDN).
9695

97-
### Add registry key to enable registration
98-
99-
1. Open Regedit
100-
2. Create the Registry Directory Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WorkloadBackup\TestHook (you will need to create the 'Key' TestHook under WorkloadBackup which in turn needs to be created under Microsoft).
101-
3. Under the Registry Directory Path, create a new 'string value' with the string name **AzureBackupEnableWin2K8R2SP1** and value: **True**
102-
103-
![RegEdit for enabling registration](media/backup-azure-sql-database/reg-edit-sqleos-bkp.png)
104-
105-
Alternatively, you can automate this step by running .reg file with the following command:
106-
107-
```csharp
108-
Windows Registry Editor Version 5.00
109-
110-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WorkloadBackup\TestHook]
111-
"AzureBackupEnableWin2K8R2SP1"="True"
112-
```
11396

11497
[!INCLUDE [How to create a Recovery Services vault](../../includes/backup-create-rs-vault.md)]
11598

@@ -258,18 +241,6 @@ To create a backup policy:
258241

259242
14. After you complete the edits to the backup policy, select **OK**.
260243

261-
262-
### Modify policy
263-
Modify policy to change backup frequency or retention range.
264-
265-
> [!NOTE]
266-
> Any change in the retention period will be applied retrospectively to all the older recovery points besides the new ones.
267-
268-
In the vault dashboard, go to **Manage** > **Backup Policies** and choose the policy you want to edit.
269-
270-
![Manage backup policy](./media/backup-azure-sql-database/modify-backup-policy.png)
271-
272-
273244
## Enable auto-protection
274245

275246
You can enable auto-protection to automatically back up all existing and future databases to a standalone SQL Server instance or to an Always On availability group.

articles/backup/manage-monitor-sql-database-backup.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: dcurwin
55
manager: carmonm
66
ms.service: backup
77
ms.topic: conceptual
8-
ms.date: 03/14/2018
8+
ms.date: 09/11/2019
99
ms.author: dacurwin
1010

1111

@@ -137,6 +137,32 @@ Unregister a SQL Server instance after you disable protection but before you del
137137

138138
![Select Delete](./media/backup-azure-sql-database/delete-protected-server.jpg)
139139

140+
141+
## Modify policy
142+
Modify policy to change backup frequency or retention range.
143+
144+
> [!NOTE]
145+
> Any change in the retention period will be applied retrospectively to all the older recovery points besides the new ones.
146+
147+
In the vault dashboard, go to **Manage** > **Backup Policies** and choose the policy you want to edit.
148+
149+
![Manage backup policy](./media/backup-azure-sql-database/modify-backup-policy.png)
150+
151+
![Modify backup policy](./media/backup-azure-sql-database/modify-backup-policy-impact.png)
152+
153+
Policy modification will impact all the associated Backup Items and trigger corresponding **configure protection** jobs.
154+
155+
#### Inconsistent Policy
156+
157+
Sometimes, a modify policy operation can lead to an **inconsistent** policy version for some backup items. This happens when the corresponding **configure protection** job fails for the backup item after a modify policy operation is triggered. It appears as follows in the backup item view:
158+
159+
![Inconsistent policy](./media/backup-azure-sql-database/inconsistent-policy.png)
160+
161+
You can fix the policy version for all the impacted items in one click:
162+
163+
![Fix inconsistent policy](./media/backup-azure-sql-database/fix-inconsistent-policy.png)
164+
165+
140166
## Re-register extension on the SQL Server VM
141167

142168
Sometimes, the workload extension on the VM may get impacted for one reason or the other. In such cases, all the operations triggered on the VM will begin to fail. You may then need to re-register the extension on the VM. **Re-register** operation reinstalls the workload backup extension on the VM for operations to continue. <br>
200 KB
Loading
188 KB
Loading
44.9 KB
Loading

0 commit comments

Comments
 (0)