--- title: "Editing Backup Repository Settings" description: "In command line interface, you can edit settings for a backup repository created with Veeam Agent for Mac in a local or network shared folder." canonical: "https://helpcenter.veeam.com/docs/agentformac/userguide/backup_repo_edit.html" breadcrumb: "User Guide > Performing Backup > Managing Backup Repositories > Managing Backup Repositories in Command Line Interface > Editing Backup Repository Settings" dateModified: "2026-10-20" --- # Editing Backup Repository Settings In command line interface, you can edit settings for a backup repository created with Veeam Agent for Mac 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 properties for a backup repository that resides in a local or network shared folder: - [Name of the backup repository](backup_repo_edit.md#name) - [Location of the backup repository](backup_repo_edit.md#location) ::: note Consider the following: - If you change location for the backup repository that is already used by a backup job and contains backup files, during the next backup job run, Veeam Agent will create a new backup chain in the new repository location. - You can temporarily change backup repository location if you want to create an ad hoc full backup in addition to the backup chain created by the backup job in the original repository location. ::: ## Changing Backup Repository Name {#name} To change a name for the backup repository, use the following command: ``` veeamconfig repository edit --name for --name ``` or ``` veeamconfig repository edit --name for --id ``` where: - `` — current name of the backup repository. - `` — desired name for the backup repository. - `` — ID of the backup repository. For example: ``` $ veeamconfig repository edit --name LocalRepository for --name Repository_1 ``` ## Changing Backup Repository Location {#location} To change location for the backup repository, use the following command: ``` veeamconfig repository edit --location for --name ``` or ``` veeamconfig repository edit --location for --id ``` where: - `` — desired path for the backup repository. - `` — current name of the backup repository. - `` — ID of the backup repository. For example: ``` $ 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: ``` $ veeamconfig repository edit --name LocalRepository --location /home/veeam for --name Repository_1 ```