Editing Backup Repository Settings
In command line interface, you can edit settings for a backup repository created with Veeam Agent for Linux in a local or network shared folder.
You can edit properties of the following repository types only in the backup job settings in the Veeam Agent control panel:
- Veeam backup repository.
- Veeam Cloud Connect repository.
- Object storage repository.
You can edit the following parameters for the backup repository:
NOTE |
Consider the following:
|
Changing Backup Repository Name
To change a name for the backup repository, use the following command:
veeamconfig repository edit --name <new_name> for --name <old_name> |
or
veeamconfig repository edit --name <new_name> for --id <id> |
where:
- <old_name> — current name of the backup repository.
- <new_name> — desired name for the backup repository.
- <id> — ID of the backup repository.
For example:
user@srv01:~$ veeamconfig repository edit --name LocalRepository for --name Repository_1 |
Changing Backup Repository Location
To change location for the backup repository, use the following command:
veeamconfig repository edit --location <path> for --name <name> |
or
veeamconfig repository edit --location <path> for --id <id> |
where:
- <path> — desired path for the backup repository.
- <name> — current name of the backup repository.
- <id> — ID of the backup repository.
For example:
user@srv01:~$ veeamconfig repository edit --location /home/veeam for --id 3458797-3ffe-45bc-870e-c5628643bbb3 |
Changing Backup Repository Name and Location
You can change a name and location for the backup repository at the same time, for example:
user@srv01:~$ veeamconfig repository edit --name LocalRepository --location /home/veeam for --name Repository_1 |