mmarschall / s3db-backup

Backup and restore the database of your rails app to amazon S3, encrypting and compressing it on the fly
MIT License
21 stars 10 forks source link

Old backups stay there forever #6

Open mmarschall opened 11 years ago

mmarschall commented 11 years ago

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

mmarschall commented 11 years ago

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

thegreatshasha commented 10 years ago

@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.

mmarschall commented 10 years ago

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

thegreatshasha commented 10 years ago

@mmarschall sent a PR. Please check it out.