skip to Main Content

Scenario:

I have few Storage accounts that contains GBs of the data in the Blob Containers.
I did the backup of a container from one of storage account using backup vault:

enter image description here

My doubt is how to download that restored backup instances (Azure Storage blob containers)?

What I tried:

I searched the ways to download or mount that backup instances into any other file shares or storage accounts but no luck.

Could anyone tell me how to download the backup of Azure blob storage containers?

2

Answers


  1. You must use Azure PowerShell or Azure CLI in order to obtain a restored backup of an Azure Storage blob container. The general steps to do this are as follows:

    Install Azure PowerShell or Azure CLI: On your local computer, if you haven’t already, install Azure PowerShell or Azure CLI. They are available for download and installation on the Microsoft Azure official website.

    Verify that you have successfully authenticated into your Azure account. You can accomplish this by executing the following commands

    az login
        
    Get-AzRecoveryServicesBackupItem -VaultName "YourBackupVaultName" -ContainerName "YourContainerName"
        
    az backup item list --resource-group "YourResourceGroupName" --vault-name "YourBackupVaultName" --container-name "YourContainerName"
                
    Start-AzRecoveryServicesBackupRecoveryJob -VaultName "YourBackupVaultName" -ContainerName "YourContainerName" -ItemName "YourBackupItemName" -RecoveryPoint (Get-AzRecoveryServicesBackupRecoveryPoint -VaultName "YourBackupVaultName" -ContainerName "YourContainerName" -ItemName "YourBackupItemName").[0]
             
    az backup restore files mount-rp --resource-group "YourResourceGroupName" --vault-name "YourBackupVaultName" --container-name "YourContainerName" --item-name "YourBackupItemName" --rp-name "YourRecoveryPointName" --target-folder "YourLocalFolderPath"
    
    Login or Signup to reply.
  2. The Massacre, first things first, I recommend ensure you have Azure PowerShell installed on your local system. Authenticate into your Azure account and simply execute:

    Connect-AzAccount
    

    (powershell)

    To proceed with the restore, you’ll need to fetch the recovery point of the backup item. To retrieve the recovery point details proceed this:

    $recoveryPoint = Get-AzRecoveryServicesBackupRecoveryPoint -VaultName "YourBackupVaultName" -ContainerName "YourContainerName" -ItemName "YourBackupItemName"
    

    (powershell)

    After it, it will be a time to mount the recovery point to a specific target folder.

    Start-AzRecoveryServicesBackupFilesRestore -VaultName "YourBackupVaultName" -ContainerName "YourContainerName" -ItemName "YourBackupItemName" -RecoveryPoint $recoveryPoint
    

    (powershell)

    Once the restore operation is completed successfully, you can easily download the restored blobs from the designated target folder to your local system. This allows you to access and use the recovered data as needed.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search