You can delete a backup repository configured with Veeam Agent for Oracle Solaris. When you delete a backup repository, Veeam Agent for Oracle Solaris removes record on the deleted repository from its database. Backup files created by a backup job targeted at the deleted backup repository remain intact on the backup storage.
To delete a backup repository, use the following command:
veeamconfig repository delete --id <repository_id> [--answer <yes/no>]
veeamconfig repository delete --name <repository_name> [--answer <yes/no>]
- <repository_id> — ID of the backup repository that you want to delete.
- <repository_name> — name of the backup repository that you want to delete.
- <yes/no> — answer to the prompt whether to remove records about backups stored on the deleted backup repository from the Veeam Agent database. If you do not specify the --answer option for the command, Veeam Agent for Oracle Solaris will prompt you to specify whether you want to remove backups from database. You will need to enter the answer for each backup residing on the deleted backup repository.
user@srv01:~$ veeamconfig repository delete --name Repository_1 --answer yes
You cannot delete a backup repository that is specified as a backup location in the backup job settings.