Skip to main content

Delete backups

If the backup repository is full, new backups will not be created. To have old backups automatically removed when creating new ones, configure the Retention Policy — either the number of recovery points to keep or the number of days backups will be stored — during backup configuration.

To check the repository status, you can view resource consumption statistics.

Delete backup

You can delete a specific backup from the machine on which it was created. For this, the following conditions must be met:

  • a backup agent must be installed on the machine, and the Selectel cloud repository must be available;
  • in the Veeam Service Provider Console portal, the machine must be in the Online status.

You can delete all backups from the cloud by deleting backup jobs on the Veeam Service Provider Console portal.

Learn more about deleting backups in the Deleting Backups section of the Veeam Agent for Linux documentation.

  1. Display a list of backups:

    sudo veeamconfig backup list --all
  2. Copy the backup_id, which is the identifier of the required backup.

  3. Delete the backup job:

    sudo veeamconfig backup delete --id <backup_id> --purge

    Specify <backup_id> — the backup identifier.

Clear backup repository

After clearing the backup repository, the information in resource consumption statistics will not update immediately. This will happen after the first successful backup job execution.

  1. Delete backup jobs along with the backups themselves.
  2. If repository space is not freed up or only partially freed up, create a ticket to have the repository cleared.