From the course: Azure Storage Essential Training
Backing up and replication for Azure Blob storage - Azure Tutorial
From the course: Azure Storage Essential Training
Backing up and replication for Azure Blob storage
- [Instructor] Let's see how to backup and replicate Azure blobs. At a high level, there are five steps to enable backup for Azure blobs storage. First, you create a storage account with a container and a blob. Next you create the backup vault. The backup vault is a new resource that is used for backing up a new support workloads and is different from the already existing recovery services vault. Then you grant to the backup vault, the storage account backup contributor permissions on the storage account level. Because operational backup also protect the storage account from any accidental deletions by applying a backup on the delete clock. Then create a backup policy. The policy is essentially needed to specify the retention period only and not a schedule. Because operational backup for blobs is continuous and nurture. You don't need a schedule to perform backups. And last you configure and enable backup for blobs. In this demonstration, we will explore a backing up a blob storage in the Azure portal. I have already done the first three steps. I created a storage account with a container, created a backup vault and then assign the storage account backup contributor role to my backup vault on the storage account. The next step is to create a backup policy and enabled backup. In the Azure portal, type backup vault and the search box under services, select backup vaults and then select your backup vault. In the overview blade, click add backup and the basic step choose Azure blobs, Azure storage as the data source type. Click next to continue. And the backup policy tab you can select or create a new backup policy that you want to use for the desired Azure blobs. Give a policy name and then click next schedule and retention. The default retention rule is 30 days. At the time of this recording you can specify up to 360 days. Click next to review and create, and then click create. Once the policy is created. Click next to continue and the data source tab, you need to select the storage accounts for which you want to configure protection for blobs. You can choose multiple storage accounts at once. As your backup will validate if the volt has sufficient permissions to allow configuring of backup on the selected storage accounts. You need to wait for the validations to complete, which may take up to 30 seconds. Once validations have succeeded, click next to continue. In the review and configure tab review the backup policy and click configure backup. Once you enabled backup all the blobs and the specified storage account will be protected using Azure backup. At high level there are four steps to enable object replication for blobs. First, you need to create two storage accounts and the same or different Azure region. Accounts could be in the same or different Azure subscription as well. You also need at least two containers in the source storage account and in the destination account. You also need to enable blob versioning and change feed on the source account. You need only blob versioning on the destination storage account. And last, if you have access to both the source and destination storage accounts then you can configure the object replication policy on both accounts. In this demonstration, we will explore object replication for blob storage in the Azure portal. I have already created two storage accounts was two containers in the respective accounts. Then next step is to enable object replication. Navigate to the source storage account in the Azure portal. Under blob service, select objects replication. Select set up replication rules. Select the destination subscription and destination storage account. In the container pair details section. Select the source container from the source account and a destination container for the destination account. You can create up to 10 containers spares for a single replication policy. Optionally, you can specify one or more filters to copy only blobs that match a prefix button. For example, if you specify a prefix letter, a only blobs was named begins with that letter are replicated. By default, the copy scope is set to copy only new objects to copy all objects in the container or to copy objects starting from the custom date and time. Select the change link and configure the copy over scope for the container pair. Click save. Finally, select save and apply to create the application policy and start replicating your data. After you have configured object replication, the actual port to display the replication policy and rules because a block blobs data is replicated as synchronously. The source account and destination account are not immediately in sync. There is currently no SLA or service level agreement and how long it takes to replicate data to the destination account. You can check the replication status on the source blob to determine whether replication status is complete. Once the application is completed, you can navigate to the destination storage account and see your data replicated. That's how you protect and backup data in Azure blob storage.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.