Skip to content

For help, click the link below to get free database assistance or contact our experts for personalized support.

Azure Blob storage

Version added: 1.5.0

Companies with Microsoft-based infrastructure can set up Percona Backup for MongoDB with less administrative efforts by using Microsoft Azure Blob Storage as the remote backup storage.

Create a blob storage

You can create a blob storage either via the Azure Portal web interface or using the Azure CLI.

For either method you need a storage account.

  1. Sign in to Azure Portal
  2. On the Home page, select Storage accounts.
  3. Click Create from the toolbar and use the wizard to create a storage account.
  4. After the storage account is created, select it from the list.
  5. In the left menu, select Data storage -> Containers.
  6. Click + Container to create a new container.
  7. Enter a name for the container and select Private as the access level.
  8. Click Create to create the container.
  1. Install the Azure CLI . After the installation, the az is available for you.
  2. Sign in to Azure CLI:

    $ az login
    
  3. Create a Resource group if it’s not created for you:

    $ az group create --name <your-resource-group> --location <your-location>
    

    For the list of available locations, run:

    $ az account list-locations
    
  4. Create a storage account:

    $ az storage account create --name <storage-account-name> --resource-group <your-resource-group> --location <your-location> --sku Standard_LRS
    
  5. Create a blob container:

    $ az storage container create --account-name <storage-account-name> --name <your-container>  --public-access off
    
    Expected output
    {
      "created": true
    }
    

After the bucket is created, apply the proper permissions for PBM to use the bucket.

Configuration example

storage:
  type: azure
  azure:
    account: <your-storage-account>
    container: <your-container>
    prefix: pbm
    credentials:
      key: <your-access-key>

For the description of configuration options, see Configuration file options.


Last update: May 23, 2025
Created: May 23, 2025