1-800-691-1991 | 9am - 8pm ET

Required modules and permissions for Multi-OS FLR and Repository support for Linux

KB ID: 2216
Product: Veeam Backup & Replication
Version: All
Published: 2017-01-05
Last Modified: 2020-08-13


To configure Linux guests and repositories to work with Veeam Backup and Replication and utilize our software’s features.


There are several requirements that must be met, by a Linux OS, in order for us to effectively utilize all of our features and make sure they run consistently. On top of that we require root permissions to launch several modules. If these settings are not in place, then we won’t be able to properly write to and recover the system. 


Authentication Methods
Linux servers registered with Veeam Backup & Replication infrastructure must use Password or Certificate-based authentication methods. At this time we do not support any other forms of authentication like biometrics, smart cards, etc.

We require Bash to be installed as shell on the Linux environment. At the time we do not support any other command shell. This is usually the default shell set in place by most Linux distributions. 

Important Note: accounts using "sudo" must be in the "/etc/sudoers" file and have the ‘nopasswd’ setting put into the "/etc/sudoers" file.

In order to launch our script we require the "sudo" command to be able to launch from the credentials we are given at the time of setup. "sudo" is a command that allows us to make administrator level (root) changes and executions in the Linux environment. 

One of the primary reasons that we use "sudo" is to make sure that we can access the /tmp folder and launch a script from it. There are many other ways you can launch scripts from the "/tmp" folder but "sudo" is the most consistent way across multiple distribution’s to do it. This also allows us to complete the operation without having change user permissions so the user doesn’t have to modify them afterword’s to get them back to their original configuration, as well as we will be able to relinquish root privileges on the fly.

Many Linux distributions come with Perl pre-installed but this does not mean that it has all the Perl modules that are required for us to utilize the server in a backup and restore function and once all of the correct modules are install we must be able to launch these modules as needed. Some systems are setup with software called SELinux. This software will make it so that only certain modules can be launched from SSH. The Linux distribution must allow us to launch all of these modules from "SSH" at any amount at a time. 

Here is a list of the modules that we require for Veeam to work properly with a Linux install:
  • Constant
  • Carp
  • Cwd
  • Data::Dumper
  • Encode
  • Encode::Alias
  • Encode::Config
  • Encode::Encoding
  • Encode::MIME::Name
  • Exporter
  • Exporter::Heavy
  • File::Path
  • File::Spec
  • File::Spec::Unix
  • File::Temp
  • List::Util
  • Scalar::Util
  • SOAP::Lite
  • Socket
  • Storable
  • Threads
You can find out which modules are installed by running:
perldoc -q installed

One of the most widely used Linux distribution’s currently is CentOS 6/7 and in this distribution the "Data::Dumper Perl" module is not installed by default. 

SSH is a program for logging into a remote machine and for executing commands on a remote machine. This is software that we use to log in to a Linux environment. Most systems have this software installed by default but if the Veeam server is having issues logging into a Linux environment you should check if SSH is installed. 

The configuration of your SSH install must allow using tunneled clear text passwords. Info on how to do this can be found on this KB: http://www.veeam.com/kb1512

SCP copies files between hosts on a network. It uses SSH for data transfer, and uses the same authentication and provides the same security as SSH. We use this software as our file mover on Linux. It is common for Centos core to not include this SCP module in the default install. 

Please enable the sftp by uncommenting similar line in sshd_config. Veeam Backup&Replication uses different SSH libraries to access the servers and one of them requires sftp to be enabled for sshd.
Subsystem sftp internal-sftp

"mlocate", "gzip" and "tar"
"mlocate" is a new implementation of locate, a tool to find files anywhere in the file system based on their name, using a fixed pattern or a regular expression. We utilize "mlocateonly for  VM Guest OS Indexing (Linux) .

"gzip" and "tar" are archive tools very much like WinZip. We use these to compress and decompress files going to and from the server. 

All of these files and their required configurations must be installed on the Linux environment prior to its usage with Veeam Backup and Replication to fully use all of our features. 


More information

KB ID: 2216
Product: Veeam Backup & Replication
Version: All
Published: 2017-01-05
Last Modified: 2020-08-13

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later
Knowledge base content request
By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.


error icon

Oops! Something went wrong.

Please go back try again later.