A backup job configured in Veeam Agent for Linux creates backup files in a backup repository. A backup repository is a directory on the storage where you want to keep backup files. You can use the following types of disk-based storage to create a backup repository:
- Local (internal) storage of the protected machine (not recommended).
- Direct attached storage (DAS), such as USB, eSATA or Firewire external drives.
- Network Attached Storage (NAS) able to represent itself as SMB (CIFS) or NFS share.
- Veeam Backup & Replication 9.5 Update 2 or later backup repository.
A backup repository must be created on a separate volume from a volume whose data you plan to back up.
Veeam Agent for Linux works with backup storage differently depending on the way you configure and start backup jobs — with the Veeam Agent for Linux control panel or command line interface.
Backup Location and Control Panel
If you use the Veeam Agent for Linux control panel to perform backup tasks, you do not have to deal with backup repositories. When you specify a target location for backup in the Backup Job wizard, Veeam Agent for Linux configures the backup repository automatically. Veeam Agent for Linux saves path to the specified backup location, assigns to this location a unique name and ID and saves this information in the database. The information is used by Veeam Agent for Linux and is not displayed in the control panel.
If you target a backup job at the network shared folder, every time the backup job starts, Veeam Agent for Linux will automatically mount the shared folder to the /tmp/veeam directory in the computer file system and create a backup file in this directory. After the backup job completes, Veeam Agent for Linux will automatically unmount the network shared folder.
You can target several backup jobs to individual backup locations or use the same target location for several backup jobs. This may be useful if you want to back up different types of data to separate locations or to keep all backed-up data at one place.
Backup Repository and Command Line Interface
If you work with Veeam Agent for Linux using the command line interface, you perform operations with backup repositories directly. You must create a backup repository manually before configuring the first backup job. When you create a backup repository, you specify a local directory in which Veeam Agent for Linux will create backup files and a name for the backup repository. To learn more, see Creating Backup Repository.
If you want to keep backup files on a remote storage or in a network shared folder, you must mount this remote location to the specified local directory before you start a backup job. Veeam Agent for Linux does not check whether the remote backup location is mounted to the local directory. If the remote location is not mounted, Veeam Agent for Linux will create a new backup chain directly in the local directory. Besides, if the directory to which the remote location should be mounted resides on the backed-up volume, a backup job may fail.
You can configure several backup repositories and target different backup jobs at these repositories. This may be useful if you want to back up different types of data to separate locations or to keep several copies of your backed-up data.