[Enhancement]: Cleaning up old backups from remote S3 storage #4368
marcinlawnik
started this conversation in
Improvement Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions