Open marcinlawnik opened 8 hours ago
The Enhancement Bounty Issue type is reserved for improvement, service or feature requests that have an attached bounty. Bounties can only be added to issues, not discussions. If you are not adding a bounty, I will convert this issue into a discussion. Please confirm if you intend to add a bounty, or if you'd like this converted to a discussion.
Request Type
Improvement
Description
I use S3-compatible storage from a provider other than AWS. It does not have a lifecycle/retention policy feature, which leads to it filling up quickly with backups. Unlike AWS, it also does not bill by operations, which means regularly reading and deleting stuff has no additional cost.
Other backup solutions I use (for example laravel-backup from spatie) have a "retention" feature they take care of themselves - i.e. after a successful backup they delete backups older than specified N days from remote storage.
Here's a page from their docs (I actually see they have more complicated/opinionated rules, which seem fine). https://spatie.be/docs/laravel-backup/v8/cleaning-up-old-backups/overview
This could be an option on the backup screen for a resource.