Veeam v12 Agents to Backup Direct to Wasabi
    • 15 Jul 2024
    • 7 Minutes to read
    • PDF

    Veeam v12 Agents to Backup Direct to Wasabi

    • PDF

    Article summary

    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.

    The data restoration process is handled by your specific backup software application. As there are many, potential variables that will affect your unique environment, Wasabi strongly recommends 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.

    If you are going to leverage immutable Veeam backups, follow the steps in Object Lock: Enabling.

    Enabling bucket versioning only is not a proper configuration for immutable Veeam backups and can cause problems. If you are simply going to use regular Veeam backups with Wasabi buckets, bucket versioning is not required.

    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.

    Architecture Diagram

    Veeam 2023 Diagram.jpg

    Creating a Wasabi Object Storage Repository

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

    1. On Veeam Backup and Replication, click the Backup Infrastructure tab and click Backup Repositories. Click Add Repository.

      Screen_Shot_2023-01-09_at_11.12.37_AM.png
    2. Click Object Storage to create an Object repository.

      Screen_Shot_2023-01-09_at_11.12.50_AM.png
    3. Click Wasabi Cloud Storage to continue.

      Screen_Shot_2023-01-27_at_6.49.07_PM.png
    4. Enter a Name for the repository. Click Next.

      Screen_Shot_2023-01-27_at_6.51.10_PM.png
    5. Enter the Wasabi region. In this example, we are using us-east-1 region. To get a list of Wasabi regions, refer to Service URLs for Wasabi's Storage Regions.

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

      Screen_Shot_2023-02-09_at_1.39.10_AM.png
    7. Enter the Access and Secret keys for your Wasabi account. For more information, 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
    8. Click Next to continue.

      Screen_Shot_2023-02-09_at_1.40.23_AM.png
    9. Click "Browse…" beside the Bucket field to select an existing Wasabi bucket. Click "Browse…" beside the Folder field and create a new folder by clicking New Folder in the folder window. Input a Name for the folder and click OK. Click Next.

      Screen_Shot_2023-02-09_at_1.41.42_AM.png
    10. In the Mount server tab, keep the default values. Click Next.

      Screen_Shot_2023-02-09_at_1.42.30_AM.png
    11. In the Review tab, click Apply.

      Screen_Shot_2023-02-09_at_1.44.45_AM.png
    12. In the Apply tab, click Next to continue.

      Screen_Shot_2023-02-09_at_1.47.54_AM.png
    13. Review the Summary. Click Finish to create the Wasabi repository.

      Screen_Shot_2023-02-09_at_1.48.26_AM.png
    14. In the Backup Infrastucture tab, click Backup Repositories to view the newly created Object repository.

      Screen_Shot_2023-02-09_at_1.50.34_AM.png

    Modifying Access Permissions on Wasabi Repository

    In order for the NAS device to backup to Wasabi, modify the permissions on the Wasabi repository.

    1. From the Backup Infrastructure tab, click Backup Repositories. Right-click the Wasabi Repository that will be used to backup the NFS share. Click Access Permissions.

      Screen_Shot_2023-02-09_at_11.49.51_AM.png
    2. Click the Standalone applications tab. Select Allow to everyone as the repository access. Click OK to save the changes.

      Screen_Shot_2023-02-09_at_11.50.53_AM.png

    Creating a Protection Group to add the Device to be Backed up

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

    1. From the Inventory tab, click Physical Infrastructure. Click Create Protection Group.

      Screen_Shot_2023-02-09_at_1.11.35_PM.png
    2. Input a Name for the protection group. Click Next.

      Screen_Shot_2023-01-27_at_2.23.07_PM.png
    3. For the type, select Individual computers. Click Next.

      Screen_Shot_2023-02-09_at_1.16.14_PM.png
    4. To add a computer, click Add. Enter the Host name or IP address of the computer. Click Add and then Stored. Select “Standard account…”.

      Screen_Shot_2023-02-09_at_1.18.13_PM.png
    5. Input the Username and Password of an administrative account for the Windows machine. Click OK.

      Screen_Shot_2023-01-27_at_2.28.55_PM.png
    6. Once the computer has been added, click Next.

      Screen_Shot_2023-01-27_at_2.30.05_PM.png
    7. Select the following 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
    8. In the Review tab, click Apply.

      Screen_Shot_2023-02-09_at_1.23.54_PM.png
    9. On the Apply tab, click Next to continue.

      Screen_Shot_2023-01-27_at_2.32.04_PM.png
    10. Review the Summary and click Finish.

    Creating a Backup Job to Backup to Wasabi

    Creating a Backup job for Windows Computers

    1. On the Home tab of Veeam Backup and Replication, click Backup Job. Click Windows Computers.

      Screen_Shot_2023-01-27_at_2.45.35_PM.png
    2. Keep the default selections (for example, Type as "Server" and Mode set to "Managed by backup server"). Click Next.

      Screen_Shot_2023-01-27_at_3.15.56_PM.png
    3. Enter the Name for the backup job and, optionally, a Description. Optionally, select High priority to run the job with a higher priority. Click Next.

      Screen_Shot_2023-01-27_at_3.18.49_PM.png
    4. To add a computer to be backed up, click “Add…”. Click “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
    5. Select the desired computer from the protection group. Click OK.

      Screen_Shot_2023-01-27_at_3.25.48_PM.png
    6. Once the Windows computer is added, click Next to continue.

      Screen_Shot_2023-01-27_at_3.26.12_PM.png
    7. Select the desired data to back up and click Next. In this example, we elected to backup the entire computer.

      Screen_Shot_2023-01-27_at_3.31.05_PM.png
    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
    9. In the Guest Processing tab, keep the default settings. Click Next.

      Screen_Shot_2023-01-27_at_3.34.27_PM.png
    10. Optionally, in the Schedule tab, check 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
    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

    Creating a Backup job for Linux Computers

    1. On Home tab, click Jobs. Click Backup Job and then Linux computer.

      Screen_Shot_2023-02-08_at_4.49.58_PM.png
    2. In the Job Mode window, select Server as the Type and select Managed by agent as the Mode. Click Next.

      Screen_Shot_2023-02-09_at_12.22.19_AM.png
    3. Enter the Name for the backup job and, optionally, a Description. Optionally, select High priority to run the job with a higher priority. Click Next.

      Screen_Shot_2023-02-09_at_1.04.44_AM.png
    4. To add a computer to be backed up, click “Add…”. Click “Individual computer…”.

      Screen_Shot_2023-02-08_at_11.45.32_PM.png
    5. Enter the Host name or IP address of the computer to be added. Click Add to add credentials.

      Screen_Shot_2023-02-08_at_11.47.16_PM.png
    6. Enter the following information in the Credentials window and 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
    7. Click OK to continue adding the server.

      Screen_Shot_2023-02-08_at_11.51.05_PM.png
    8. Click Next.

      Screen_Shot_2023-02-08_at_11.51.23_PM.png
    9. Select Enter computer and click Next.

    10. Select Veeam backup repository and click Next.

      Screen_Shot_2023-02-08_at_11.52.14_PM.png
    11. Enter the FQDN or IP address of the backup server running Veeam B&R. Click Next.

      Screen_Shot_2023-02-09_at_2.30.37_AM.png
    12. Select the Wasabi repository from the list of backup repositories. Click Next.

      Screen_Shot_2023-02-09_at_12.35.25_AM.png
    13. In the Guest Processing window, keep the default settings. Click Next.

      Screen_Shot_2023-02-09_at_12.36.00_AM.png
    14. Check 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
    15. eview the Summary. Click Finish to complete creating the Agent Backup Job.

      Screen_Shot_2023-02-09_at_1.06.06_AM.png
    16. The backup job for agent can be viewed by clicking on the job after it runs, per the configured schedule.

      Screen_Shot_2023-02-09_at_2.42.13_AM.png

    Creating a Backup job for Mac Computers

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

    1. On the Home tab of Veeam Back and Replication, click Backup Job. Click Mac Computer.

      Screen_Shot_2023-01-27_at_3.49.32_PM.png
    2. Select the computer Type. Click Next.

      Screen_Shot_2023-01-23_at_9.35.43_AM.png
    3. Enter a Name for the Backup job and, optionally, a Description. Click Next to continue.

      Screen_Shot_2023-01-23_at_9.36.03_AM.png
    4. To add a computer from a configured Protection group, click “Add…” and then “Protection group…”. Select the computer and click OK. Click Next.

      Screen_Shot_2023-01-23_at_9.36.13_AM.png
    5. Select the data to be backed up by checking either User data (recommended) or Customer scope. If Customer scope is selected, add the path of files to be backed-up. Click Next.

      Screen_Shot_2023-01-23_at_9.36.22_AM.png
    6. In the Destination tab, select Veeam backup repository to backup directly to Wasabi. Click Next.

      Screen_Shot_2023-01-23_at_9.36.35_AM.png
    7. Enter the IP address or FQDN of the server running Veeam Backup and Replication. Click Next.

      Screen_Shot_2023-01-23_at_9.36.52_AM.png
    8. Select the Wasabi backup repository that was created in Section 3 to backup Wasabi directly.

      Screen_Shot_2023-01-23_at_9.37.05_AM.png
    9. Optionally, set a schedule to run the backup job on a regular basis by checking Daily at, entering the time to start the backup job, and selecting the frequency of backup in days.

      Screen_Shot_2023-01-23_at_9.38.26_AM.png
    10. Review the Summary and click Finish to create the backup job.

      Screen_Shot_2023-01-23_at_9.38.36_AM.png

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

      Screen_Shot_2023-01-23_at_9.39.15_AM.png

      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 six hours. To run the backup job immediately, perform a manual sync using the command below on the Veeam Agent.

      veeamconfig mode syncnow

    Manually Running the Backup Job

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

    Run a Backup job for a Windows Computer

    To initiate a manual backup from the Windows computer, use the below command line, where the unique job ID is generated by Veeam Agent for Microsoft Windows.

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

    Run a Backup job for a Mac Computer

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

    1. Click the Veeam Agent icon on the Menu bar of the Mac computer. Click Start Backup Job to start the backup.

      Screen_Shot_2023-01-27_at_5.26.56_PM.png
    2. Alternatively, backup jobs can 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 

      Or:

      veeamconfig job start --id 

      Where:

      — Name of the backup job that you want to start.

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

    Use the following command to get details of the configured backup jobs on the Mac.

    veeamconfig job list

    Use the following command to list the current running backup sessions along with their states.

    veeamconfig job list