Recover Veeam Virtual Machine from Backblaze B2
    • Dark
      Light

    Recover Veeam Virtual Machine from Backblaze B2

    • Dark
      Light

    Article Summary

    You can recover your data from Backblaze B2 Cloud Storage when you lose access to your primary backup environment and need to recover in a completely new Veeam Backup & Replication environment wherever that may reside.

    This guide applies only to Enterprise and Enterprise Plus editions of Veeam Backup & Replication and Veeam Availability Suite.

    Demo Environment

    This guide uses the following components in the demo environment:

    • App: Veeam Backup & Replication Version 11.0.0.837
    • OS: Windows Server 2019 Standard
    • Compute Host: PhoenixNAP Bare Metal Cloud
    • 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.

    On the Buckets page, note the S3 endpoint. You will need this URL to connect Backblaze B2 with Veeam.

    Create an Application 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 VMware ESXi Server to Veeam Backup & Replication

    Before you begin:

    1. Open Veeam Backup & Replication, and click Connect.
    2. Select Inventory in the left navigation menu, select Virtual Infrastructure, and click Add Server
    3. Click VMware vSphere, and click vSphere.
    4. Enter the DNS name or the IP address of the VMware server, and click Next.
    5. Enter your server administrator's credentials, click OK, and click Apply.
      You may get a certificate prompt. This is because VMware ESXi uses a self-signed certificate. Click Continue; you can update this certificate later. 
    6. Click Next, view your summary, and click Finish.

    Add a Repository for Backblaze B2

    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 Backups

    1. Open Veeam Backup & Replication, and click Connect.
    2. Select Backup Infrastructure in the left navigation menu, and select Backup Repositories.
    3. Right-click the Backblaze B2 repository that you added in the Add a Repository for Backblaze B2 task, and select Import backups.
    4. On the Start the import process dialog box, click Yes.
    5. Click Next on the Import Backups screen, and click Finish on the Summary screen.
    6. To view your backups, select Home in the left navigation menu, select Backups, and select Object Storage (Imported).

    Restore your VM into VMware ESXi

    1. Open Veeam Backup & Replication, and click Connect.
    2. Select Home in the left navigation menu, select Backups, and select Object Storage (Imported).
    3. Select one or more VMs, and select Entire VM Restore.
    4. On the restore wizard screen, click Next.
    5. Select Restore to a new location or with different settings since you are restoring the VMs to the cloud, and click Next.
    6. Configure the restore options clicking Nextafter each selection.
      1. Select the ESXi host that you created in the Add a VMware ESXi Server to Veeam Backup & Replication task.
      2. Select the VM resource pool.
      3. Select your Datastore file locations.
      4. Select your restore destination folder.
      5. Select the target network on which you want to deploy.
      6. Review the settings, and select Power on target VM after Restoring if you want to power on the target VMs after you restore.
    7. Click Finish.

    Details are displayed as the restore progresses. When the restore is deployed, a success message is displayed.

    On the PhoenixNAP Bare Metal Cloud, you can open the VMware ESXi web UI to see the VMs that are deployed.


    Was this article helpful?