A backup job configured in Veeam Agent for Linux creates backup files in a backup repository. When you create a backup job with the Backup Job wizard, you must specify target location for backup — a directory in the computer's local file system or a network shared folder (NFS or CIFS share). Veeam Agent for Linux will automatically create a backup repository in the specified location and save information about this repository in the database.
If you want to create a backup job with the Veeam Agent for Linux command line interface, you must create a backup repository in advance.
If you want to create Veeam Agent backups in the Veeam backup repository, you should connect to the Veeam backup server in advance, before configuring the backup job. To learn more, see Connecting to Veeam Backup Server.
A backup repository must be created on a separate volume from a volume whose data you plan to back up.
To create a backup repository, use the following command:
veeamconfig repository create --name <repository_name> --location <path>
- <repository_name> — desired name for the backup repository.
- <path> — path to the directory in the local file system of your computer in which backup files should be stored.
$ veeamconfig repository create --name BackupVol01 --location /home/backups
To create a backup repository in a network shared folder, you must mount the network shared folder to a directory in your computer's file system in advance. After you mount the network shared folder, you can create the backup repository in the same way as in a local directory.