Lead Image © Aleksey Mnogosmyslov, 123RF.com

Lead Image © Aleksey Mnogosmyslov, 123RF.com

Veeam Agent for Linux backup software

A Clever Agent

Article from ADMIN 38/2017
By
The Veeam Agent for Linux is not open source, but it offers a professional solution free of charge for local and remote backup and recovery of files, folders, volumes, and even complete systems in the local network and on servers in the cloud.

Veeam specializes in creating backup solutions for virtualized environments. Specifically, it focuses on backups for virtual machines (VMs) from VMware vSphere and Microsoft Hyper-V. Hence, the name Veeam, a rendering of the abbreviation "VM." Veeam's core product, Veeam Backup & Replication, runs inside the VM and performs incremental data backups, data duplication, data compression, and complete image replication; the commercial version costs a minimum of $466 per year in subscription fees.

The company released a Linux solution called Veeam Agent for Linux, which is available for $45 (Workstation) or $150 (Server) per year. In 2015, the company expanded its offering with the free Veeam Endpoint Backup, which performs backups on Windows computers. Now, Veeam has a free beta version for Linux, which they call Veeam Agent for Linux FREE.

A Free Professional-Grade Backup

The thinking behind this product is that companies increasingly look to heterogeneous environments; moreover, a large part of the public cloud runs under Linux. The new Veeam Agent for Linux, and its Windows counterpart, comes free of charge, even though it is not completely free software. The solution supports backups and recovery locally via Network File System (NFS) and Common Internet File System (CIFS)/Server Message Block (SMB).

Veeam Agent for Linux is an agent-based solution that runs in the host operating system. This utility can back up and restore files, volumes, and entire installations on both local and remote computers. Restoring a complete installation uses a Clonezilla-like approach; that is, a bootable ISO file with an agent that fully supports the Logical Volume Manager (LVM).

However, the agent uses a proprietary volume snapshot provider instead of the manager's snapshot function. According to the manufacturer, this proprietary snapshot provider eliminates the limitations of the LVM snapshot. An additional proprietary driver supports incremental backups. The snapshot provider also makes use of the Changed Block Tracking (CBT) technology developed by VMware.

Currently, the second beta version of Veeam Agent for Linux is available for DEB- and RPM-based distributions for 32- and 64-bit systems. This edition supports all Linux kernels starting with version 2.6.32. As a result, older server systems can also profit from the solution. During installation, the Dynamic Kernel Module Support (DKMS) takes care of creating dynamically loadable kernel modules for the CBT driver.

Installation

Veeam Agent for Linux comprises veeamsnap and veeam. You can register to download these components from the company website, or you can use wget to retrieve and save them directly to the server [1]. The download is more than 300MB, because they currently have no option for selecting the package format and architecture. During installation, you will need to install veeamsnap first [2], because it builds the core module for the CBT driver. Afterward, you can go back and install the second component, veeam.

All of the required dependencies were fulfilled under Debian 8.6 and Fedora 25. Packages were missing for both components in Ubuntu 16.10, which I installed with the sudo apt -f install command. When the agent starts for the first time, you should enter sudo veeam. The agent will then inform you via a console interface that the beta version can only be used for 31 days. This time restriction has been put in place to allow the tester to switch to a new beta or to the finished version, because beta versions are not updated.

In the Veeam agent console (Figure 1), you can press C (configure) to create the first backup job or R (recover) to start data recovery. Issuing the command

systemctl status veeamservice
Figure 1: The Veeam Agent for Linux user interface takes you through the individual steps in a terminal.

informs you of the status of the Veeam agent. All of the Veeam Agent for Linux functions can be executed directly on the command line. Entering

veeamconfig -h

outputs information about available options.

Backing Up Data

For the purposes of testing, I used the Veeam agent interface to set up a backup of the entire system (Figure 2) and configured it as an incremental job to occur every night of the week at 3:00am. This involved backing up an entire Ubuntu installation in a bootable image on network-attached storage (NAS) in the local network (Figure 3). When backing up the entire system, the beta version is still limited by not being able to recreate the image on a smaller hard drive.

Figure 2: You can label the data backup as desired; the Veeam agent uses BackupJob1 by default.
Figure 3: Backups can be stored locally or remotely via NFS or CIFS.

Writing proceeded at just under 30MBps. You should take into account that the first system backup involves saving thousands of small files in the filesystem, which in turn slows the process down. Veeam attributes the slowness of transfer to the properties of the target (i.e., the logic or the hard drive of the NAS).

The image was created in just over 20 minutes in the test (Figure 4) and can be used to restore individual files, entire directories, complete LVM volumes, or the entire installation.

Figure 4: The GUI provides information about the progress of the backup. In the test, the backup finished successfully after about 20 minutes.

After installing approximately 500MB of additional packages, I set up another system image. The Veeam agent wrote it incrementally in just under two minutes with a data throughput of about 78MBps, yielding an image of about 1.3GB. The computer remained on overnight, and at 3:00am, the Veeam agent – per its instructions – created another incremental backup of the entire system.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • High-performance backup strategies
    A sound backup strategy with appropriate hardware and software ensures you can backup and restore your data rapidly and reliably.
  • The 12 best tricks for Windows Server 2012
    Users of Windows Server 2012 will benefit from numerous innovations, especially in the areas of virtualization, high availability, and storage. In this article, we show you some tricks that make handling the new system much easier.
  • Persistent storage management for Kubernetes
    The container storage interface (CSI) allows CSI-compliant plugins to connect their systems to Kubernetes and other orchestrated container environments for persistent data storage.
  • Cloud protection with Windows Azure Backup
    Microsoft offers the Windows Azure Backup service, which lets you back up data from servers in the cloud. This removes the need for your own infrastructure, and the service alleviates privacy concerns by using continuous encryption.
  • Windows Server 2012 Tricks

    Users of Windows Server 2012 will benefit from numerous innovations, especially in the areas of virtualization, high availability, and storage. In this article, we show you some tricks that make handling the new system much easier.

comments powered by Disqus