Configure a Veeam Cloud Repository Recovery from Backblaze B2
    • Dark
      Light

    Configure a Veeam Cloud Repository Recovery from Backblaze B2

    • Dark
      Light

    Article Summary

    You can use Backblaze B2 Cloud Storage as part of a Scale-Out Backup Repository when you lose access to your primary backup environment and need to recover it in a completely new Veeam Backup & Replication environment. This guide applies only to Enterprise and Enterprise Plus editions of Veeam Backup & Replication and Veeam Availability Suite. If you need assistance with installing Veeam in your environment, click here.

    Test Environment

    This guide uses the following components in the test environment:

    • App: Veeam Backup & Replication Version 10.0.1.4852
    • OS: Windows Server 2016
    • Compute Host: Equinix Metal
    • Cloud Storage: Backblaze B2

    Enable a Backblaze B2 Account

    Before you begin: You must have a Backblaze B2 Cloud Storage account. You can sign up here. If you already have a Backblaze account and the left navigation menu contains a B2 Cloud Storage section, your account is already enabled for Backblaze B2.

    1. Sign in to your Backblaze account.
    2. In the left navigation menu under Account, click My Settings.
    3. Under Enabled Products, select the checkbox to enable B2 Cloud Storage.
    4. Review the Terms and Conditions, and click OK to accept them. 

    Create a Bucket

    1. Sign in to your Backblaze account.
    2. In the left navigation menu under B2 Cloud Storage, click Buckets.
    3. Click Create a Bucket.
    4. Enter a name for your bucket.
      Bucket names must be at least six characters and globally unique. A message is displayed if your bucket name is already in use.
    5. Select a privacy setting: Private or Public.
      Files that are in a private bucket require authentication to perform an action, for example, downloading. Public buckets do not require authentication so you can easily share files. You can change a bucket's privacy settings at any time.
    6. If applicable, enable a Backblaze B2 server-side encryption key.
    7. Enable Object Lock to restrict a file from being modified or deleted for a specified period of time.
    8. Click Create a Bucket, and copy the value that is in the Endpoint field; you may need this value for other processes.
    9. Click Lifecycle Settings to control how long to keep the files in your new bucket.

    Create an App key

    Application keys control access to your Backblaze B2 Cloud Storage account and the buckets that are contained in your account.

    1. Sign in to your Backblaze account.
    2. In the left navigation menu under Account, click Application Keys.
    3. Click Add a New Application Key, and enter an app key name.
          You cannot search an app key by this name; therefore, app key names are not required to be globally unique.
    4. Select All or a specific bucket in the Allow Access to Bucket(s) dropdown menu.
    5. Optionally, select your access type (Read and Write, Read Only, or Write Only).
    6. Optionally, select the Allow List All Bucket Names checkbox (required for the B2 Native API b2_list_buckets and the S3-Compatible API S3 List Buckets operations).
    7. Optionally, enter a file name prefix to restrict application key access only to files with that prefix. Depending on what you selected in step #4, this limits application key access to files with the specified prefix for all buckets or just the selected bucket.
    8. Optionally, enter a positive integer to limit the time, in seconds, before the application key expires. The value must be less than 1000 days (in seconds).
    9. Click Create New Key, and note the resulting keyID and applicationKey values.
    Note
    When you create a new app key, the response contains the actual key string, for example N2Zug0evLcHDlh_L0Z0AJhiGGdY. You can always find the keyID on this page, but for security, the applicationKey appears only once. Make sure you copy and securely save this value elsewhere.

    Add a Repository for Backblaze B2

    You must create a scale-out backup repository by adding a local storage component as a backup repository.

    1. Open Veeam Backup & Replication, and click Connect.
    2. Select Backup Infrastructure in the left navigation menu, and select Backup Repositories.
    3. In the top menu, click Add Repository.
    4. Select Direct attached storage, and select Microsoft Windows.
    5. Enter a name and a description for your repository, and click Next.
    6. Click Populate, select the drive that you want to use, and click Next.
    7. Click Browse to specify a folder on the drive or use the default folder, and click Next.
      By default, Veeam creates a folder named "Backups" at the root of the drive.
    8. Click Next, and click Apply to apply the settings.
    9. After the backup repository is created and each step is green, click Next and click Finish.

    Your repository is displayed in the Backup Repositories section of Backup Infrastructure.

    Add Your Backblaze B2 Bucket as a new Object Storage Repository

    1. Open Veeam Backup & Replication, and click Connect.
    2. Select Backup Infrastructure in the left navigation menu, and select Backup Repositories.
    3. In the top menu, click Add Repository.
    4. Select Object storage, and select S3 Compatible.
    5.  Enter the details for your repository.
      1. Enter a name for your repository.
      2. Enter a description for your repository, and click Next.
      3. In the Service point field, enter the S3 endpoint that you created in the "Create a Bucket" task.
      4. In the Region field, enter the second part of the S3 endpoint, for example "us-east-005."
      5. In the Credentials field, click Add, enter your Backblaze B2 application key, and click Next.
    6. In the Bucket section, click Browse, select the bucket that you created, and click OK.
    7. In the Folder field, click Browse and click New Folder.
    8. Enter a name for your folder, press Enter, and click OK.
    9. Select the Make recent backups immutable checkbox, and enter the number of days to lock your files.

      Backblaze strongly recommends that you use the immutability feature to protect your organization from ransomware.

    10. To apply your settings, click Next and click Apply.
    11. After the items on the Apply page are green, click Next and click Finish.

    The Backblaze B2 repository is displayed in the Backup Repositories section of Backup Infrastructure.

    Import your Cloud Repository

    You can find Veeam's documentation on Importing Object Storage here

    1. In the top menu, click Rescan to synchronize repositories.
    2. Select the Backblaze B2 Cloud Repository, and click Import Backups
    3. Click Yes, and click Next.
    4. Click Finish.
      The Summary of Successful Import is displayed so that you can verify your import.

    Restore Your Files

    1. In the left menu, select Home.
    2. In the top menu, click the Backup tab. 
    3. In the left menu, click Object Storage (Imported).
    4. Select your backup option, and choose the virtual machine (VM) backup that you want to restore.
    5. Choose the restore point that you want to restore, and click Next.
    6. Choose the files that you want to restore and the destination path, and click Next.
    7. Click Finish.
      The Summary of Successful Import is displayed so that you can verify your restore.
    8. Import your files into the hypervisor to complete your VM restore.

    Was this article helpful?