Skip to main content

Delete backups

If the backup repository is full, new backups will not be created. To automatically delete old backups when creating new ones, when configuring backups, set up Retention Policy — the number of stored restore points or the number of days backups will be retained.

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. To do 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 have the status Online.

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

For more information about deleting backups, see the Deleting Backups guide in the Veeam Agent for Linux documentation.

  1. Display a list of backups:

    sudo veeamconfig backup list --all
  2. Copy backup_id — the ID of the required backup.

  3. Delete the backup job:

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

    Specify <backup_id> — the backup ID.

Clear backup repository

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

  1. Delete backup jobs along with the backups themselves.
  2. If space in the repository has not been freed up or has not been freed up completely, submit a ticket to clean up the repository.