Advance backup keep options

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

In my setup I like to keep one backup which will be move to another location after Gitlab has it created.

For that I set the keep_time to 300 seconds (the backup runs hourly) so that Gitlab will remove every other backup.

But if I perform a full backup this takes longer than an hour so the backup removes itself.

So I think we should change this behavior.

  • Remove old backups before creating another one?
  • Exclude the current backup from the removal?
  • Add option to define the number of backups which should be kept?
Edited by 🤖 GitLab Bot 🤖