How to use Veeam (v12) Agents to Backup Direct to Wasabi?

Wasabi is a member of Veeam's cloud partner ecosystem. We have worked with Veeam closely to offer both a seamless implementation, and a smooth transition to cloud storage. Veeam with Wasabi Solution Overview provides more information on the Wasabi-Veeam partnership and solutions.

Veeam's Backup and Recovery software version 12 provides direct to Wasabi object storage functionality for Veeam agents for Windows, Linux and Mac.

Note: The data restoration process is handled by your specific backup software application. As there are many potential variables that will affect your unique environment, it is strongly recommended that you seek the guidance of your backup software's technical support team in the event that you encounter difficulty, or have application-specific inquiries.

 

Table of Contents

  1. Prerequisites 
  2. Architecture Diagram
  3. Create a Wasabi Object Repository 
  4. Modify Access Permissions on Wasabi Repository
  5. Create a Protection Group
  6. Create a Backup Job
  7. Manually Run the Backup Job

 

1. Prerequisites

  • Active Wasabi Storage account
  • Veeam Backup and Recovery version 12 software installed and licensed. 
  • A valid Veeam license that supports capabilities for object storage.

2. Architecture Diagram

Veeam 2023 Diagram.jpg

 

3. Create a Wasabi Object Storage Repository

Follow the steps below to create the Wasabi Object Storage repository in the cloud. 

3.1 On Veeam Backup and Replication, click on the "Backup Infrastructure" tab and then click on "Backup Repositories". Then click on "Add Repository".

Screen_Shot_2023-01-09_at_11.12.37_AM.png

3.2 Click on "Object Storage" to create an Object repository.

Screen_Shot_2023-01-09_at_11.12.50_AM.png

3.3 Click on Wasabi Cloud Storage to continue.

Screen_Shot_2023-01-27_at_6.49.07_PM.png

3.4 Enter a name for the repository and click "Next".

Screen_Shot_2023-01-27_at_6.51.10_PM.png

3.5 Enter the Wasabi region. In this example we are using us-east-1 region. To get a list of Wasabi regions, refer to What are the service URLs for Wasabi's different storage regions?

Click "Add" to add the credentials for your Wasabi account.

Screen_Shot_2023-02-09_at_1.39.10_AM.png

3.6 Enter the Access and Secret keys for your Wasabi account. Please refer to creating a sub-user and access and secret keys. Click "OK" to continue.

Screen_Shot_2023-01-09_at_11.14.31_AM.png

3.7 Click "Next" to continue.

Screen_Shot_2023-02-09_at_1.40.23_AM.png

3.8 Click "Browse" beside the "Bucket" to choose an existing Wasabi bucket. Then click "Browse" beside the "Folder" and create a new folder by clicking "New Folder" in the folder window. Input a name for the folder and click "OK". Then click "Next".

Screen_Shot_2023-02-09_at_1.41.42_AM.png

3.9 In the Mount server tab, keep the default values and click "Next".

Screen_Shot_2023-02-09_at_1.42.30_AM.png

3.10 Click "Apply" in the Review tab.

Screen_Shot_2023-02-09_at_1.44.45_AM.png

3.11 Click "Next" in the Apply tab to continue.

Screen_Shot_2023-02-09_at_1.47.54_AM.png

3.12 Review the Summary and click "Finish" to create the Wasabi repository.

Screen_Shot_2023-02-09_at_1.48.26_AM.png

3.13 You can view the newly created Object repository by clicking on "Backup Repositories" in the "Backup Infrastructure" tab.

Screen_Shot_2023-02-09_at_1.50.34_AM.png

 

4. Modify Access Permissions on Wasabi Repository

For the NAS device to be able to backup to Wasabi, we will need to modify the permissions on the Wasabi repository to allow the NAS device to backup to it.

4.1 From the "Backup Infrastructure tab, click on "Backup Repositories". Right click on the Wasabi Repository that will be used to backup the NFS share and click on "Access Permissions".

Screen_Shot_2023-02-09_at_11.49.51_AM.png

4.2 Click on "Standalone applications" tab and select "Allow to everyone" as the repository access. Click "OK" to save changes. 

Screen_Shot_2023-02-09_at_11.50.53_AM.png

 

5. Create a Protection Group to add the Device to be Backed up

Follow the steps in this section to create a Protection group for a Windows computer. We will be using this protection group in section 6 while adding a backup job.

5.1 From the Inventory tab, click on "Physical Infrastructure". Then click "Create Protection Group".

Screen_Shot_2023-02-09_at_1.11.35_PM.png

5.2 Input a name for the protection group and click "Next".

Screen_Shot_2023-01-27_at_2.23.07_PM.png

5.3 Select the type as "Individual computers" and click "Next".

Screen_Shot_2023-02-09_at_1.16.14_PM.png

5.4 Click "Add" to add a computer. Enter the hostname or IP address of the computer and click on "Add" and then "Stored". Then click on "Standard account". 

Screen_Shot_2023-02-09_at_1.18.13_PM.png

5.5 Input the username and password of an admin account for the windows machine. Click "OK".

Screen_Shot_2023-01-27_at_2.28.55_PM.png

5.6 Once the computer has been added, click "Next".

Screen_Shot_2023-01-27_at_2.30.05_PM.png

5.7 Select the below options and click "Next".

  • Install backup agent
  • Install Changed Block Tracking driver- The CBT driver helps Veeam Agent for Microsoft Windows keep track of changed data blocks in a more efficient way.
  • Auto-update backup agents and plug-ins
  • Perform reboot automatically if required

Screen_Shot_2023-02-09_at_1.23.04_PM.png

5.8 Click "Apply" in the Review tab.

Screen_Shot_2023-02-09_at_1.23.54_PM.png

5.9 Click "Next" on the Apply tab to continue.

Screen_Shot_2023-01-27_at_2.32.04_PM.png

5.10 Review the summary and click "Finish".

Screen_Shot_2023-01-27_at_2.31.46_PM.png

 

6. Create a Backup Job to Backup to Wasabi

6.1 Creating a backup job for Windows computers-

6.1.1 On the Home tab on Veeam Back and Replication, click "Backup Job" and then click on "Windows Computers".

Screen_Shot_2023-01-27_at_2.45.35_PM.png

6.1.2 Keep the default selections i.e.- Type as "Server" and Mode set to "Managed by backup server". Now click "Next".

Screen_Shot_2023-01-27_at_3.15.56_PM.png

6.1.3 Enter the name for the backup job and a description (optional). Optionally select "High priority" to run the job with a higher priority and click "Next".

Screen_Shot_2023-01-27_at_3.18.49_PM.png

6.1.4 Click "Add" to add a computer to be backed up. Then click on "Protection group" to add the VM from the protection group that was created in section 5. 

Screen_Shot_2023-02-09_at_1.54.15_PM.png

6.1.5 Select the desired computer from the protection group and click "OK".

Screen_Shot_2023-01-27_at_3.25.48_PM.png

6.1.6 Once the Windows computer is added click "Next" to continue.

Screen_Shot_2023-01-27_at_3.26.12_PM.png

6.1.7 Select the desired data to back up and click "Next". In this example, we select to backup the entire computer.

Screen_Shot_2023-01-27_at_3.31.05_PM.png

6.1.8 In the Storage tab select the Wasabi repository as the Backup repository to backup directly to Wasabi Cloud storage. Optionally set the retention period. Click "Next to continue.

Screen_Shot_2023-01-27_at_3.33.11_PM.png

6.1.9 in the Guest Processing tab, keep the default settings and click "Next" to continue.

Screen_Shot_2023-01-27_at_3.34.27_PM.png

6.1.10 In the Schedule tab, optionally check the "Run the job automatically" and set the time to run the  job. Click "Apply" to continue.

Screen_Shot_2023-01-27_at_3.37.00_PM.png

6.1.11 In the Summary tab, review the summary of the backup job. Optionally check "Run the job when I click Finish" to immediately run the backup job once created. Click "Finish" to create the backup job.

Screen_Shot_2023-01-27_at_3.44.42_PM.png

 

6.2 Creating a Backup job for Linux computers

6.2.1 On Home tab, click on "Jobs". Then click "Backup Job" and then "Linux computer".

Screen_Shot_2023-02-08_at_4.49.58_PM.png

6.2.2 In the Job Mode window, select "Server" as type and select mode as "Managed by agent". Then click "Next".

Screen_Shot_2023-02-09_at_12.22.19_AM.png

6.2.3 Enter the name for the backup job and a description (optional). Optionally select "High priority" to run the job with a higher priority and click "Next".

Screen_Shot_2023-02-09_at_1.04.44_AM.png

6.2.4 Click "Add" to add a computer to be backed up. Then click on "Individual computer". 

Screen_Shot_2023-02-08_at_11.45.32_PM.png

6.2.5 Enter the hostname or IP address of the computer to be added. Then click "Add" to add credentials.

Screen_Shot_2023-02-08_at_11.47.16_PM.png

6.2.6 Enter the following information in the Credentials window. Then click "OK".

  • Username- Username to access the linux server
  • Password- Password for the above username
  • Select "Elevate account privileges automatically"
  • Select "Add account to the sudoers file"
  • Select "Use su if sudo fails"
  • Enter the root password 

Screen_Shot_2023-02-08_at_11.49.41_PM.png

6.2.7 Click "OK" to continue adding the server.

Screen_Shot_2023-02-08_at_11.51.05_PM.png

6.2.8 Click "Next" to continue.

Screen_Shot_2023-02-08_at_11.51.23_PM.png

6.2.9 Select "Enter computer" and click "Next". 

Screen_Shot_2023-02-08_at_11.52.14_PM.png

6.2.10 Select "Veeam backup repository" and click "Next".

Screen_Shot_2023-02-08_at_11.52.14_PM.png

6.2.11 Enter the FQDN or IP address of the backup server running Veeam B&R. Then click "Next".

Screen_Shot_2023-02-09_at_2.30.37_AM.png

6.2.12 Select the Wasabi repository from the list of backup repositories and click "Next".

Screen_Shot_2023-02-09_at_12.35.25_AM.png

6.2.13 Keep the default settings in the Guest Processing window and click "Next".

Screen_Shot_2023-02-09_at_12.36.00_AM.png

6.2.14 Check the "Run the job automatically" and set the schedule settings as needed. Click "Apply" to continue.

Screen_Shot_2023-02-09_at_12.36.56_AM.png

6.2.15 Review the summary and click "Finish" to complete creating the Agent Backup Job. 

Screen_Shot_2023-02-09_at_1.06.06_AM.png

6.2.16 The backup job for agent can be viewed by click on the job after it runs per the configured schedule. 

Screen_Shot_2023-02-09_at_2.42.13_AM.png

 

6.3 Creating a Backup job for Mac computers.

Follow the below steps to create a backup job on Veeam Backup and Replication using Veeam agent for Mac. 

6.3.1 On the Home tab on Veeam Back and Replication, click "Backup Job" and then click on "Mac Computer".

Screen_Shot_2023-01-27_at_3.49.32_PM.png

6.3.2 Select the computer type either Workstation or Server and click "Next".

Screen_Shot_2023-01-23_at_9.35.43_AM.png

6.3.3 Enter a name for the Backup job and a description (optional). Click "Next" to continue.

Screen_Shot_2023-01-23_at_9.36.03_AM.png

6.3.4 Click "Add" and then "Protection group" to add a computer from a configured Protection group. Then select the computer and click "Ok". Click "Next" to continue. 

Screen_Shot_2023-01-23_at_9.36.13_AM.png

6.3.5 Select the data to be backed up by checking either "User data" or "Customer scope". If Customer scope is selected, add the path of files to be backed-up. Click "Next" to continue.

Screen_Shot_2023-01-23_at_9.36.22_AM.png

6.3.6 In the Destination tab, select Veeam backup repository to backup directly to Wasabi and click "Next".

Screen_Shot_2023-01-23_at_9.36.35_AM.png

6.3.7 Enter the IP address or the FQDN of the server running Veeam Backup and Replication. Click "Next" to continue.

Screen_Shot_2023-01-23_at_9.36.52_AM.png

6.3.8 Select the Wasabi backup repository that was created in Section 4 to backup Wasabi directly.

Screen_Shot_2023-01-23_at_9.37.05_AM.png

6.3.9 Optionally set a schedule to run the backup job on a regular basis by check "Daily at" and entering the time to start backup job and selecting the frequency of backup in days. 

Screen_Shot_2023-01-23_at_9.38.26_AM.png

6.3.10 Review the summary and click "Finish" to create the backup job. 

Screen_Shot_2023-01-23_at_9.38.36_AM.png

6.3.11 The backup job can be viewed under Jobs in the "Home" tab.

Screen_Shot_2023-01-23_at_9.39.15_AM.png

Note: After creating a Backup Job for a Veeam Agent for Mac, you may need to synchronize them. Veeam Agent synchronizes with Veeam Backup & Replication every 6 hours. If you want to run the backup job immediately then perform a manual sync using the below command on the Veeam Agent-

veeamconfig mode syncnow

 

7. Manually Run the Backup Job

Backups can be scheduled or run manually. To run manual backups for Veeam agents follow the below steps. 

7.1 Run a Backup job for a Windows computer

To initiate a manual backup from the Windows computer use the below command line from a 

"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /backup "<ID>"

where <ID> is the unique job ID generated by Veeam Agent for Microsoft Windows.

 

7.2 Run a Backup job for a Mac computer

Backups on a Mac OSX computer can only be manually started from the Veeam agent deployed on the Mac computer.

7.3.1  Click on the Veeam Agent icon on the Menu bar of the Mac computer. Then click "Start Backup Job" to start the backup. 

Screen_Shot_2023-01-27_at_5.26.56_PM.png

7.3.2 Alternately, backup jobs can also be started using command line. Use the below command on the terminal application of a Mac to start a backup job-

veeamconfig job start --name <job_name>

or

veeamconfig job start --id <job_id>

 

where:

<job_name> — name of the backup job that you want to start.

<job_id> — ID of the backup job that you want to start.

You can use the following command to get details of the configured backup jobs on the Mac-

veeamconfig job list

 

7.3.3 The following command can be used to list the current running backup sessions along with their states-

veeamconfig job list

 

Have more questions? Submit a request