Skip to content

Commit 007a96a

Browse files
authored
Merge pull request #102417 from dcurwin/offline-backup-jan-2020
Offline Backup documentation
2 parents 449f5af + 8c51b9d commit 007a96a

37 files changed

+501
-22
lines changed

articles/backup/backup-azure-about-mars.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ The MARS agent supports the following restore scenarios:
5353
### Additional scenarios
5454
- **Back up specific files and folders within Azure virtual machines**: The primary method for backing up Azure virtual machines (VMs) is to use an Azure Backup extension on the VM. The extension backs up the entire VM. If you want to back up specific files and folders within a VM, you can install the MARS agent in the Azure VMs. For more information, see [Architecture: Built-in Azure VM Backup](https://docs.microsoft.com/azure/backup/backup-architecture#architecture-built-in-azure-vm-backup).
5555

56-
- **Offline seeding**: Initial full backups of data to Azure typically transfer large amounts of data and require more network bandwidth. Subsequent backups transfer only the delta, or incremental, amount of data. Azure Backup compresses the initial backups. Through the process of *offline seeding*, Azure Backup can use disks to upload the compressed initial backup data offline to Azure. For more information, see [Offline-backup workflow for DPM and Azure Backup Server](https://docs.microsoft.com/azure/backup/backup-azure-backup-server-import-export-).
57-
56+
- **Offline seeding**: Initial full backups of data to Azure typically transfer large amounts of data and require more network bandwidth. Subsequent backups transfer only the delta, or incremental, amount of data. Azure Backup compresses the initial backups. Through the process of *offline seeding*, Azure Backup can use disks to upload the compressed initial backup data offline to Azure. For more information, see [Azure Backup offline-backup using Azure Data Box](offline-backup-azure-data-box.md).
5857

5958
## Next steps
6059
[MARS agent support matrix](https://docs.microsoft.com/azure/backup/backup-support-matrix-mars-agent)

articles/backup/backup-azure-backup-import-export.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ This section describes the offline-backup workflow so that your data can be deli
6969

7070
![Import screen](./media/backup-azure-backup-import-export/offlinebackup_inputs.png)
7171

72+
2. Select the option **Transfer using my own disks**.
73+
74+
>[!NOTE]
75+
>We recommend using the Azure Data Box option to transfer initial backup data offline. This option saves the effort required to procure your own Azure-compatible disks by delivering Microsoft-proprietary, secure and tamper-proof Azure Data box devices to which backup data can be directly written to by the MARS Agent.
76+
77+
3. Click **Next** and fill in the inputs carefully:
78+
79+
![Enter your disk details](./media/backup-azure-backup-import-export/your-disk-details.png)
80+
7281
The description of the inputs is as follows:
7382

7483
* **Staging Location**: The temporary storage location to which the initial backup copy is written. Staging location might be on a network share or a local computer. If the copy computer and source computer are different, we recommended that you specify the full network path of the staging location.
@@ -79,15 +88,15 @@ This section describes the offline-backup workflow so that your data can be deli
7988

8089
Provide the inputs on the screen and click **Next**. Save the provided *Staging location* and the *Azure Import Job Name*, as this information is required to prepare the disks.
8190

82-
2. When prompted, sign into your Azure subscription. You must sign in so that Azure Backup can create the Azure Active Directory application, and provide the required permissions to access the Azure Import Service.
91+
4. When prompted, sign into your Azure subscription. You must sign in so that Azure Backup can create the Azure Active Directory application, and provide the required permissions to access the Azure Import Service.
8392

84-
![Backup now](./media/backup-azure-backup-import-export/azurelogin.png)
93+
![Backup now](./media/backup-azure-backup-import-export/azure-login.png)
8594

86-
3. Complete the workflow, and in the Azure Backup agent console click **Back Up Now**.
95+
5. Complete the workflow, and in the Azure Backup agent console click **Back Up Now**.
8796

8897
![Backup now](./media/backup-azure-backup-import-export/backupnow.png)
8998

90-
4. In the Confirmation page of the wizard, click **Back Up**. The initial backup is written to the staging area as part of the setup.
99+
6. In the Confirmation page of the wizard, click **Back Up**. The initial backup is written to the staging area as part of the setup.
91100

92101
![Confirm that you're ready to Back up now](./media/backup-azure-backup-import-export/backupnow-confirmation.png)
93102

@@ -200,4 +209,3 @@ Once the initial backup is complete, you can safely delete the data imported to
200209
## Next steps
201210

202211
* For any questions on the Azure Import/Export workflow, refer to [Use the Microsoft Azure Import/Export service to transfer data to Blob storage](../storage/common/storage-import-export-service.md).
203-

articles/backup/backup-azure-backup-server-import-export-.md

Lines changed: 65 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Offline backup for DPM and Azure Backup Server
33
description: Azure Backup enables you to send data off the network using the Azure Import/Export service. This article explains the offline backup workflow for DPM and Azure Backup Server (MABS).
44
ms.reviewer: saurse
55
ms.topic: conceptual
6-
ms.date: 05/08/2018
6+
ms.date: 1/28/2020
77
---
88
# Offline-backup workflow for DPM and Azure Backup Server
99

@@ -50,14 +50,75 @@ Ensure that the following prerequisites are met before initiating the Offline Ba
5050
| United States | [Link](https://portal.azure.us#blade/Microsoft_Azure_ClassicResources/PublishingProfileBlade) |
5151
| China | [Link](https://portal.azure.cn/#blade/Microsoft_Azure_ClassicResources/PublishingProfileBlade) |
5252

53-
* An Azure Storage account with *classic* deployment model has been created in the subscription from which you downloaded the publish settings file as shown below:
53+
* An Azure Storage account with *Resource Manager* deployment model has been created in the subscription from which you downloaded the publish settings file as shown below:
5454

55-
![Creating a classic storage account](./media/backup-azure-backup-import-export/storageaccountclassiccreate.png)
55+
![Creating a storage account with Resource Manager development](./media/backup-azure-backup-import-export/storage-account-resource-manager.png)
5656

5757
* A staging location, which might be a network share or any additional drive on the computer, internal or external, with enough disk space to hold your initial copy, is created. For example, if you are trying to back up a 500-GB file server, ensure that the staging area is at least 500 GB. (A smaller amount is used due to compression.)
5858
* With regards to disks that will be sent to Azure, ensure that only 2.5 inch SSD, or 2.5-inch or 3.5-inch SATA II/III internal hard drives are used. You can use hard drives up to 10 TB. Check the [Azure Import/Export service documentation](../storage/common/storage-import-export-requirements.md#supported-hardware) for the latest set of drives that the service supports.
5959
* The SATA drives have to be connected to a computer (referred to as a *copy computer*) from where the copy of backup data from the *staging location* to the SATA drives is done. Ensure that BitLocker is enabled on the *copy computer*
6060

61+
## Prepare the Server for the Offline Backup process
62+
63+
>[!NOTE]
64+
> If you cannot find the listed utilities such as *AzureOfflineBackupCertGen.exe* in your installation of the MARS agent, write to [email protected] to get access to them.
65+
66+
* Open an elevated command prompt on the server and run the following command:
67+
68+
```cmd
69+
AzureOfflineBackupCertGen.exe CreateNewApplication SubscriptionId:<Subs ID>
70+
```
71+
72+
The tool will create an Azure Offline Backup AD Application if one does not exist.
73+
74+
If an Application already exists, this executable will ask you to manually upload the certificate to the application in the tenant. Follow the steps below in [this section](#manually-upload-offline-backup-certificate) to upload the certificate manually to the application.
75+
76+
* The AzureOfflineBackup.exe tool will generate an OfflineApplicationParams.xml file. Copy this file to the server with MABS or DPM.
77+
* Install the [latest MARS agent](https://aka.ms/azurebackup_agent) on the DPM/Azure Backup (MABS) server.
78+
* Register the server to Azure.
79+
* Run the following command:
80+
81+
```cmd
82+
AzureOfflineBackupCertGen.exe AddRegistryEntries SubscriptionId:<subscriptionid> xmlfilepath:<path of the OfflineApplicationParams.xml file> storageaccountname:<storageaccountname configured with Azure Data Box>
83+
```
84+
85+
* The command above will create the file `C:\Program Files\Microsoft Azure Recovery Services Agent\Scratch\MicrosoftBackupProvider\OfflineApplicationParams_<Storageaccountname>.xml`
86+
87+
## Manually upload Offline Backup Certificate
88+
89+
Follow the steps below to manually upload the Offline Backup certificate to a previously created Azure Active Directory application meant for Offline Backup.
90+
91+
1. Sign in to the Azure portal.
92+
2. Go to **Azure Active Directory** > **App registrations**
93+
3. Navigate to the **Owned Applications** tab and locate an application with the display name format `AzureOfflineBackup _<Azure User Id` as shown below:
94+
95+
![Locate application on Owned Applications tab](./media/backup-azure-backup-import-export/owned-applications.png)
96+
97+
4. Click on the application. Under the **Manage** tab on the left pane, go to **Certificates & secrets**.
98+
5. Check for pre-existing certificates or public keys. If there are none, you can safely delete the application by clicking on the **Delete** button on the application's **Overview** page. Following this, you can retry the steps to [Prepare the Server for the Offline Backup](#prepare-the-server-for-the-offline-backup-process) process and skip the steps below. Otherwise, execute the following steps from the DPM / Azure Backup Server (MABS) server where you wish to configure Offline Backup.
99+
6. Open the **Manage computer certificate application** > **Personal** tab and look for the certificate with the name `CB_AzureADCertforOfflineSeeding_<ResourceId>`
100+
7. Select the certificate above, right-click on **All Tasks** and then **Export**, without private key, in the .cer format.
101+
8. Go to the Azure Offline Backup application in the Azure portal.
102+
9. Click on **Manage** > **Certificates & secrets** > **Upload certificate**, and upload the certificate exported in the previous step.
103+
104+
![Upload the certificate](./media/backup-azure-backup-import-export/upload-certificate.png)
105+
10. On the server, open the registry by typing **regedit** in the run window.
106+
11. Go to the registry entry *Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure Backup\Config\CloudBackupProvider*.
107+
12. Right-click on **CloudBackupProvider** and add a new string value with the name `AzureADAppCertThumbprint_<Azure User Id>`
108+
109+
>[!NOTE]
110+
> Note: To find the Azure User Id, perform one of the following steps:
111+
>
112+
>1. From the Azure connected PowerShell run the `Get-AzureRmADUser -UserPrincipalName “Account Holder’s email as appears in the portal”` command.
113+
>2. Navigate to the registry path: `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure Backup\DbgSettings\OnlineBackup; Name: CurrentUserId;`
114+
115+
13. Right-click on the string added in the previous step and select **Modify**. In the value, provide the thumbprint of the certificate you exported in step 7 and click **OK**.
116+
14. To get the value of the thumbprint, double-click on the certificate, then select the **Details** tab and scroll down until you see the thumbprint field. Click on **Thumbprint** and copy the value.
117+
118+
![Copy value from the thumbprint field](./media/backup-azure-backup-import-export/thumbprint-field.png)
119+
120+
15. Continue to the [Workflow](#workflow) section to proceed with the Offline Backup process.
121+
61122
## Workflow
62123
63124
The information in this section helps you complete the offline-backup workflow so that your data can be delivered to an Azure datacenter and uploaded to Azure Storage. If you have questions about the Import service or any aspect of the process, see the [Import service overview](../storage/common/storage-import-export-service.md) documentation referenced earlier.
@@ -98,7 +159,7 @@ The information in this section helps you complete the offline-backup workflow s
98159
99160
The *AzureOfflineBackupDiskPrep* utility is used to prepare the SATA drives that are sent to the nearest Azure Datacenter. This utility is available in installation directory of the Recovery Services agent in the following path:
100161
101-
*\\Microsoft Azure Recovery Services Agent\\Utils\\*
162+
`*\\Microsoft Azure Recovery Services Agent\Utils\*`
102163
103164
1. Go to the directory, and copy the **AzureOfflineBackupDiskPrep** directory to a copy computer on which the SATA drives to be prepared are connected. Ensure the following with regards to the copy computer:
104165
@@ -212,4 +273,3 @@ At the time of the next scheduled backup, Azure Backup performs incremental back
212273
## Next steps
213274
214275
* For any questions on the Azure Import/Export workflow, refer to [Use the Microsoft Azure Import/Export service to transfer data to Blob storage](../storage/common/storage-import-export-service.md).
215-

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Before you begin, ensure that all the [prerequisites](backup-azure-dpm-introduct
9797
14. Click **Next** and select the appropriate option for transferring the initial backup copy to Azure. You can choose **Automatically over the network** or **Offline Backup**.
9898

9999
* **Automatically over the network** transfers the backup data to Azure as per the schedule chosen for backup.
100-
* How **Offline Backup** works is explained at [Offline Backup workflow in Azure Backup](backup-azure-backup-import-export.md).
100+
* How **Offline Backup** works is explained at [Overview of Offline Backup](offline-backup-overview.md).
101101

102102
Choose the relevant transfer mechanism to send the initial backup copy to Azure and click **Next**.
103103
15. Once you review the policy details in the **Summary** screen, click on the **Create group** button to complete the workflow. You can click the **Close** button and monitor the job progress in Monitoring workspace.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Before you begin, ensure that you have [installed and prepared the Azure Backup
9595
14. Click **Next** and select the appropriate option for transferring the initial backup copy to Azure. You can choose **Automatically over the network** or **Offline Backup**.
9696

9797
* **Automatically over the network** transfers the backup data to Azure as per the schedule chosen for backup.
98-
* How **Offline Backup** works is explained at [Offline Backup workflow in Azure Backup](backup-azure-backup-import-export.md).
98+
* How **Offline Backup** works is explained at [Overview of Offline Backup](offline-backup-overview.md).
9999

100100
Choose the relevant transfer mechanism to send the initial backup copy to Azure and click **Next**.
101101
15. Once you review the policy details in the **Summary** screen, click on the **Create group** button to complete the workflow. You can click the **Close** button and monitor the job progress in Monitoring workspace.

articles/backup/backup-configure-vault.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ Create a policy as follows:
211211
- Backups taken on Saturday on the last week of the month at midnight and 6:00 PM are kept for 12 months.
212212
- Backups taken on a Saturday in the last week of March are kept for 10 years.
213213

214-
![Retention example](./media/backup-configure-vault/retention-example.png)
214+
![Retention example](./media/backup-configure-vault/retention-example.png)
215215

216216

217-
11. In **Choose Initial Backup Type** decide if you want to take the initial backup over the network or use offline backup (for more information on offline backup refer, see this [article](backup-azure-backup-import-export.md)). To take the initial backup over the network, select **Automatically over the network** and click **Next**.
217+
11. In **Choose Initial Backup Type** decide if you want to take the initial backup over the network or use offline backup (for more information on offline backup refer, see this [article](offline-backup-azure-data-box.md)). To take the initial backup over the network, select **Automatically over the network** and click **Next**.
218218

219219
![initial Backup Type](./media/backup-azure-manage-mars/choose-initial-backup-type.png)
220220

@@ -241,7 +241,7 @@ You can run an initial backup automatically over the network, or offline. Offlin
241241
5. At the datacenter, the disk data is copied to an Azure storage account.
242242
6. Azure Backup copies the data from the storage account to the vault, and incremental backups are scheduled.
243243

244-
[Learn more](backup-azure-backup-import-export.md) about offline seeding.
244+
[Learn more](offline-backup-azure-data-box.md) about offline seeding.
245245

246246
### Enable network throttling
247247

articles/backup/backup-mabs-system-state-and-bmr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Set up a protection group as described in [Deploy protection groups](https://doc
135135

136136
12. On the **Specify Online Retention Policy** page, select how the recovery points that are created from the daily, weekly, monthly, and yearly backups are retained in Azure.
137137

138-
13. On the **Choose Online Replication** page, select how the initial full replication of data occurs. You can replicate over the network or do an offline backup (offline seeding). Offline backup uses the Azure Import feature. For more information, see [Offline backup workflow in Azure Backup](backup-azure-backup-import-export.md).
138+
13. On the **Choose Online Replication** page, select how the initial full replication of data occurs. You can replicate over the network or do an offline backup (offline seeding). Offline backup uses the Azure Import feature. For more information, see [Offline backup workflow in Azure Backup](offline-backup-azure-data-box.md).
139139

140140
14. On the **Summary** page, review your settings. After you select **Create Group**, initial replication of the data occurs. When data replication finishes, on the **Status** page, the protection group status is **OK**. Backup then takes place per the protection group settings.
141141

55.6 KB
Loading
Binary file not shown.
-107 KB
Loading

0 commit comments

Comments
 (0)