How to Set up Veeam to Offload Data to Object Storage

October 14, 2024

Introduction

Data management and storage optimization are essential for creating a robust backup solution. Veeam Backup & Replication enables offloading data to cloud object storage.

phoenixNAP's object storage is an S3-compatible service that integrates with Veeam, enabling offloading virtual machine (VM) copies to improve local data redundancy. Creating redundancies prevents permanent data loss and is essential to a successful backup strategy.

This guide shows how to configure Veeam to offload data to object storage.

How to Set up Veeam to Offload Data to Object Storage

Prerequisites

Step 1: Set up Object Storage

Utilizing object storage and configuring Veeam requires creating or accessing the storage data (bucket name, access key, and secret key):

1. Log in to the Object Storage page using your credentials.

phoenixNAP objectstorage login page

The link is available on the BMC portal Storage page or the phoenixNAP Client Portal.

2. Navigate to the Buckets & Objects tab.

Object storage Buckets & Objects tab

3. If you do not have an existing bucket, click Add New Bucket. Provide a unique bucket name, choose a region, and select the storage policy. Otherwise, note an existing bucket's name from the list and skip this step.

New bucket data: name, region, and storage policy UI

4. Once ready, click Create. The bucket appears on the list. Note the bucket name and region, which are required when configuring Veeam.

5. Access the User account->Security Credentials page from the top navbar.

Credentials page objectstorage UI

The page contains the S3 Access Credentials (access key and secret). Save both parameters and continue to the following section.

Note: For more information about the object storage service (OSS) API, see our OSS API guide.

Step 2: Add Object Storage as a Backup Repository

To add phoenixNAP object storage as a backup repository, open the Veeam Backup & Replication console and do the following in the Backup Infrastructure section:

1. Right-click Backup Repositories -> Add Backup Repository.

Veeam add backup repository

A backup repository is a server where Veeam stores backup files, copies, and VM metadata.

2. Choose the S3 Compatible as the object storage type.

S3 compatible object storage

3. Select the S3 Compatible as the S3 compatible storage type.

S3 compatible storage S3 compatible

The action opens the new object storage repository wizard.

4. Specify the object storage name and provide a description.

New object storage repository name and description

5. Enter the object storage details. Provide the service point URL and region. Add the S3 access credentials and choose the connection mode.

New object storage repository service point, region, credentials, and connection mode

6. Click Browse and locate the bucket from Step 1.

New object storage repository bucket and folder object storage

Optionally, specify the folder path to organize backups within the bucket and choose whether to limit the object storage spend.

7. Choose a mount server for performing advanced restores and instant recoveries, and select the recovery write cache folder. Click Next to continue.

New object storage repository mount server and cache folder

8. Review the settings and click Apply.

New object storage repository review

Veeam applies the settings and creates the backup infrastructure objects. Wait for the process to complete before continuing.

9. Click Next to view the summary or Finish to exit the wizard. The object storage is now available as a backup repository in Veeam.

Step 3: Configure Veeam Backup Job

To create a Veeam backup job, do the following in the Home view:

1. In the Jobs section, right-click Backup and choose Backup->Virtual machine.

Jobs backup virtual machine Veeam

The action opens the New Backup Job wizard.

2. Provide a name and an optional description for the backup job.

New backup job name and description

3. Select which virtual machine to process. Click Add to select the VMs or containers to back up.

New backup job virtual machines

4. Specify the storage details. Choose the backup proxy and repository. Determine the retention policy and configure the storage settings. Click Advanced to set up the advanced storage settings.

New backup job storage

5. Set the storage optimization to 4MB.

Important: Setting the storage optimization to 4MB is required and it ensures best practices are followed for object storage.

New backup job storage advanced settings storage optimization

Click OK to close the window and continue the backup job creation.

6. Choose whether to enable guest OS processing options, such as application-aware processing or guest file system indexing.

New backup job guest processing

7. Optionally, schedule the automatic backup job. Define the scheduling options (such as the number of retries and the time between retry attempts) and whether the job runs daily, weekly, etc. Click Apply to save the configuration.

New backup job schedule

8. The final page shows the backup job configuration summary. Click Finish to complete the job creation.

New backup job summary

Do not run the job immediately; continue to the following configuration step.

Step 4: Configure Job to Offload to Object Storage

Create a backup copy job to configure the Veeam backup job to offload copies to object storage. Do the following in the Home view:

1. Right-click Backup Copy->Backup copy.

Veeam jobs backup copy

The action opens the new Backup Copy Job creation wizard.

2. Provide the backup copy name, add a description, and select the backup copy mode.

New backup copy job name description and mode

3. Click Add->From Jobs to select the job created in step 3.

New backup copy job objects

The restore points from VMs or objects defined in this job will be copied from the local repository and sent to the object storage.

4. Select the destination backup repository. Choose the backup repository with the object storage bucket (added in step 2).

New backup copy job target

5. Leave the data transfer as Direct to directly send copies from source to destination. Continue to the next step.

New backup copy job data transfer direct

6. Schedule the time for the backup copy job. Decide between continuous or choose specific times in the table. Click Apply to save the backup copy job configuration.

New backup copy job schedule

7. The final page shows the configuration summary. Choose whether to start the job immediately after completing the creation process and click Finish.

New backup copy job summary

Once the offload starts, the job's status is visible on the Last 24 Hours page.

Daily backup offload job listed Veeam

Conclusion

This guide showed how to utilize Veeam Backup & Replication and connect to phoenixNAP's object storage service to create a VM backup copy.

Next, read about whether to back up Office 365 data and how to leverage object storage with Veeam to back up Office 365 data.

Was this article helpful?
YesNo
Milica Dancuk
Milica Dancuk is a technical writer at phoenixNAP with a passion for programming. With a background in Electrical Engineering and Computing, coupled with her teaching experience, she excels at simplifying complex technical concepts in her writing.
Next you should read
Veeam Plugin for VMware Cloud Director
April 20, 2022

Veeam Plugin for VMware Cloud Director brings convenience to Cloud Director users. You do not have to switch accounts and portals to perform backup activities.
Read more
How to Install and Configure Veeam Management Agent and Veeam Backup Agent
August 6, 2020

This tutorial will show you how to log into the Veeam Service Provider Console and install the...
Read more
Veeam Service Provider Console Quick Start Guide
October 2, 2019

This quick start guide is a resource for all phoenixNAP clients using the Veeam Service Provider Console (VSPC) operated by PNAP. It provides the...
Read more
How to Install & Configure Veeam Backup for Office 365
September 25, 2018

Managed Backup for Microsoft Office 365 powered by Veeam is completely independent of Microsoft’s infrastructure. Even in the case of a major...
Read more