Learn how to back up to Azure Blob Storage with step-by-step guidance and tips for data security and scalability
Azure Blob Storage is Microsoft's object storage solution designed for large-scale data storage. You can easily configure backup policies through the Azure portal, selecting the data sources to back up and the target storage location
Before starting the backup, you need to understand the two types of backups:
Operation backup:
Vault backup
To begin backing up your data to Azure Blob Storage, you'll need to perform several steps, from creating a storage account to configuring backup tools. Below is a step-by-step guide:
The backup vault is used to store recovery points created over time and provides an interface for performing backup-related operations, such as on-demand backups, executing recoveries, and creating backup policies.
Although the data for backup operations is not stored in the vault, the vault is crucial for various management operations. Notably, the backup vault is a new resource for backing up newly supported workloads, different from the existing recovery services vault.
The backup operation will apply a delete lock owned by the backup to prevent the storage account containing the Blob to be protected from being accidentally deleted. This requires the backup vault to have specific permissions on the storage account that needs protection. For convenience, these minimum permissions have been integrated into the "Storage Account Backup Contributor" role. It is recommended to assign this role to the backup vault before configuring the backup, but it can also be assigned during the backup configuration.
The specific allocation steps are as follows:
1. In the storage account that needs protection, find the "Access Control (IAM)" tab in the left navigation pane.
2. Select "Add Role Assignment."
3. On the "Add Role Assignment" page:
Step 3. Create a backup policy
Backup policies are used to define the schedule, frequency, and retention period of recovery point creation in the backup vault. The same backup policy can be used for vault backups, operational backups, or both simultaneously, and it can also be used to configure backups to the same vault for multiple storage accounts.
The steps to create a backup strategy are as follows:
1. Enter "Business Continuity Center > Protection Policies," select "+ Create Policy > Create Backup Policy."
2. On the "Start Creating Policy" page, select "Azure Blobs (Azure Storage)" for "Data Source Type," and then click "Continue."
3. On the "Basics" tab of the "Create Backup Policy" page, enter the "Policy Name," select the vault to be associated, view the vault details, and then click "Next."
4. In the "Schedule + Retention" tab, enter the backup details, schedule, and retention period for the data storage. Choose whether to apply the backup strategy to vault backups, operational backups, or both, and add or edit the schedule and retention settings for each data storage:
5. Click "Review + Create," and after approval, click "Create."
You can use a single backup policy to back up one or more storage accounts to the same vault in the Azure region.
The steps to configure storage account backup are as follows:
1. Go to "Business Continuity Center > Overview," and select "+ Configure Protection."
2. In the "Configure protection" pane, select "Datasource type" as "Azure Blobs (Azure Storage)" and "Solution" as "Azure Backup."
3. On the "Configure Backup" page, in the "Basics" tab, select "Azure Blobs (Azure Storage)" as the data source type, and choose the backup vault to associate. After reviewing the vault details, click "Next."
4. In the "Backup policy" tab, select the backup strategy you want to use, or create a new strategy if needed. After reviewing the strategy details, click "Next."
5. In the "Datasource" tab, select the storage accounts to back up. You can choose multiple accounts and perform searches or filters. If you have selected the vault backup policy, you can also choose specific containers to back up. Click "Change" to select or deselect.
6. After selecting the storage account and container, Azure Backup will perform validation. After the verification is successful, click the "Review + Configure" tab, review the details, and then click "Next" to initiate the backup configuration operation and receive notifications about the protection configuration status and completion.
By choosing the appropriate backup method, you can ensure the efficiency of the backup process and the recoverability of the data. AOMEI Cyber Backup provides strong protection for the data security of businesses and individuals.
Q: Can I automate backups to Azure Blob Storage?
Yes, automation can be achieved using PowerShell or the Azure CLI. Use az login for CLI or Connect-AzAccount for PowerShell.
$resourceGroup = "MyResourceGroup" $storageAccount = "MyStorageAccount" $containerName = "MyContainer" $filePath = "C:\Backup\mybackup.zip" Set-AzStorageBlobContent -File $filePath -Container $containerName -Context (Get-AzStorageAccount -ResourceGroupName $resourceGroup -Name $storageAccount).Context
Q: What is the difference between Azure Blob Storage tiers?
Q: What are the costs associated with Azure Blob Storage?
Costs depend on storage tier, data volume, and additional features like data retrieval or redundancy.
Azure Blob Storage offers a scalable, and cost-effective solution for storing and backing up critical data. As businesses generate increasingly vast amounts of data, backing up data to Azure Blob Storage is a secure way to help you protect important data assets.