patel
patel

Reputation: 15

artifactory: how to delete old backups and set retention to work?

We are not able to delete the old backups even though retention is in place.

Could you please help me how to delete the old backups from artifactory and how to make retention to work which is already in place.

Thanks in advance.

Regards, Rammohan

Upvotes: -1

Views: 4052

Answers (1)

Ariel
Ariel

Reputation: 3506

In order for the backup retention in Artifactory to kick in you have to have the following:

  1. The retention period must expire. Meaning that if you set 168 hours, it will have to expire first before the retention will be able to work.
  2. The last backup MUST finish without any errors. Meaning that even if the 168 hours expired, if the last backup had errors, the retention will not kick in.

Check your logs for backup errors.

Also you can always delete it manually by going to the backup folder and delete the folder that contains the old backup. Please NOTE that the daily, or any other incremental backup will have only one folder and you should not delete it!.

Upvotes: 2

Related Questions