mmarschall/s3db-backup

Old backups stay there forever

mmarschall opened this issue · 4 comments

There should be a built in way to get automatically get rid of old backups e.g. keep only last X backups

Instead of deleting anything automatically I'm thinking about adding a rake task for deleting old stuff...

@mmarschall Thanks for sharing this awesome gem! Using cron and s3db backup in my project.

I am working on a setting which if set, allows only a fixed number of backups by deleting older ones. Will send a PR soon.

Great to hear! Looking forward to your PR. Thanks!

@mmarschall sent a PR. Please check it out.