Veeam Standalone Agent for Linux (v6) With Wasabi
    • 15 Jul 2024
    • 7 Minutes to read
    • PDF

    Veeam Standalone Agent for Linux (v6) With Wasabi

    • PDF

    Article summary

    How do I use Veeam Standalone Agent for Linux (v6) with 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.

    Wasabi has been validated to work with Veeam Agent for Linux (6) in standalone mode to protect data on Linux computers and backup directly to Wasabi's Object storage. Veeam Agent for Linux version 6 introduces support for Backup directly to cloud object storage, as well as support for immutable backups.

    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.

    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 Agent for Linux version 6 installed and licensed. 

    • A valid Veeam license that supports capabilities for object storage.

    Architecture Diagram

    Screenshot_2023-03-17_at_10.56.02_AM.png

    Creating a Backup Job

    Veeam Backup Agent for Linux has a GUI-like user interface called Control Panel that enables users to easily perform main backup and restore tasks. These tasks (and some more advanced operations) can also be done by using the command line interface. Refer to Veeam Agent for Linux documentation for the command line interface with Veeam Agent for Linux control panel. You do not need to work with Linux shell and remember numerous commands.

    The control panel can be navigated using the keys below.

    • Tab — To switch between controls and buttons in the Backup Job wizard.

    • Up and Down — To switch between items in a scrollable list.

    • Space — To select the necessary item in a list. The selected item's mark may vary in different steps of the wizard.

    • Enter — To proceed to the next step of a wizard or to view details of the backup job session selected in the list of sessions.

    • Backspace — To return to the previous step of a wizard (you cannot use this button to change wizard steps when a text field is selected).

    • Esc — To exit the wizard currently used or close the Veeam Agent for Linux control panel.

    1. Open Veeam Agent for Linux by typing "Veeam" in the terminal. Press C to configure.

      Screenshot_2023-03-16_at_6.23.10_PM.png
    2. Input the Name for the backup job. Press the Return key.

      Screenshot_2023-03-16_at_6.23.51_PM.png
    3. Select the desired backup mode and press the Return key. This example shows Entire machine, but Volume and File level backs can also be taken. For more detail, refer to Veeam Agent for linux documentation for Backup mode.

      Screenshot_2023-03-16_at_6.24.28_PM.png
    4. On the Destination page, select Object storage. Press the Return key.

      Screenshot_2023-03-16_at_6.25.20_PM.png
    5. On the Object Storage page, select S3 Compatible. Press the Return key.

      Screenshot_2023-03-16_at_6.25.47_PM.png
    6. Input the following Wasabi account details and press the Return key.

      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.

      Screenshot_2023-03-17_at_9.47.44_AM.png
    7. Press Return on Browse to choose the Wasabi bucket to be used. Under Folder, press return on Browse to select an existing folder in the bucket or create a new folder. Press Next.

      Screenshot_2023-03-17_at_9.27.01_AM.png

      Screenshot_2023-03-17_at_9.28.09_AM.png

    8. Optionally, on the Schedule page, check Run the job automatically and configure the schedule settings. Press the Return key to continue.

      Screenshot_2023-03-17_at_9.28.16_AM.png
    9. Review the Summary and check Run the job when I click Finish to run the backup job immediately. Press the Return key to finish creating the backup job.

      Screenshot_2023-03-17_at_9.29.02_AM.png
    10. The Backup job is created and begins running. Press the return key on the Info box.

    Manually Running the Backup Job

    1. Open Veeam Agent for Linux. Press S to start a backup job.

      Screenshot_2023-03-17_at_9.59.46_AM.png
    2. Select the backup job to run and press the Return key to run the job. Optionally, press F to run a full backup for the selected job.

      Screenshot_2023-03-17_at_10.00.07_AM.png
    3. The backup job is running. The control panel shows the status of the job.

      Screenshot_2023-03-17_at_9.57.03_AM.png
    4. To view the statistics of a backup job, select the backup from the control panel and press the return key.

      Screenshot_2023-03-17_at_10.04.10_AM.png

    Restoring a Backup

    Restoring Volumes using CLI

    You can restore a specific computer volume or all volumes from a volume-level backup using the command line interface (CLI). This feature is not available on the control panel of Veeam Agent for Linux. When you restore a volume from the backup, Veeam Agent will automatically select the latest restore point in the backup. You can also select a specific restore point in the backup to recover data to a desired point in time. Use the commands below to perform a volume level restore. For more detail, refer to the Veeam Help Center article for restoring from backup.

    If a volume is restored to the original location, Veeam will overwrite the files in that location.

    1. Locate the backup. To view a list of backups created by Veeam Agent, use the command below.

      veeamconfig backup list --all
    2. Explore the backup content. View detailed information about specific backup using the command below.

      veeamconfig backup show --id 

      where — ID of the backup for which you want to view detailed information.

      To view information about restore points in the backup, use the following command.

      veeamconfig point list --backupid 

      — ID of the backup for which you want to view information on restore points

    3. Start the restore process. To start the volume-level restore from a backup, use the following command.

      veeamconfig backup restore --id  --targetdev  --backupdev 

      To start the volume-level restore from a specific restore point, use the following command.

      veeamconfig point restore --id  --targetdev  --backupdev <>
      • — ID of the backup.

      • — ID of the restore point.

      • — Path to a block device that represents a volume on your computer in which to recover. This parameter is optional.

      • — Path to a block device that represents a volume in the backup.

    4. Monitor the restore process.

      To view a Veeam Agent for Linux session log, use the following command.

      veeamconfig session log --id 

      — ID of the restore session

    Restoring Files and Folders Using the Recovery Wizard

    A file-level restore can be performed using the Veeam control panel recovery wizard. Follow the steps below to run the recovery wizard for restoring files and folders.

    1. Launch the Veeam Agent control panel with the "veeam" or "veeamconfig ui" command. Press the R key to proceed to the File Level Restore wizard.

      Screenshot_2023-03-17_at_10.29.52_AM.png
    2. Select the Backup from which to restore. Press the return key.

      Screenshot_2023-03-17_at_10.30.23_AM.png
    3. Select the restore point to use. Press the enter key.

      Screenshot_2023-03-17_at_10.30.58_AM.png
    4. The Veeam agent mounts the backup files to the "/mnt/backup" directory. Press the return key on “OK" to continue.

      Screenshot_2023-03-17_at_10.33.41_AM.png

      After the backup files are mounted to the /mnt/backup directory on the computer's file system, you can use Linux command line utilities or the preferred file browser to browse the files and directories in the mounted backup. Additionally, you can copy the files and directories that you want to restore to either their initial location or to a new location.

    Enabling Immutability

    In version 6 of Veeam Agent for Linux, Veeam introduced immutability support for backup jobs. When you store your backup data in Wasabi, Veeam Agent enables you to protect backup data from deletion or modification by making that data temporarily immutable using the Object Lock feature on a Wasabi bucket.

    This section details the procedure to create immutable backups using a backup job for your Linux computer.

    1. Create an Object Lock enabled bucket. For more detail, review Object Lock: Enabling.

      Do not enable Bucket-Level Object Retention settings on the Object Lock tab for your bucket. The screenshot below illustrates the correct way to configure Object Lock.

    2. Enable immutability while creating the backup job. Follow the steps in Section 4 to create a backup job. On the Bucket page, once you browse the bucket and create a new folder, enable immutability by checking Make backups immutable and specify the number of days to keep the backup immutable. Once you press return on Next, you will get a confirmation box regarding increase in costs due to immutability. Click OK to continue.

      Screenshot_2023-03-17_at_11.01.43_AM.png
    3. Complete the remaining steps to create the backup job. Once a successful backup is written to Wasabi, confirm that immutability is enabled by viewing the file properties on the Wasabi Console.

      To view object lock properties of files on the Wasabi Console, check the checkbox beside Show versions.

      Screenshot_2023-03-17_at_12.26.17_PM.png


    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence