dumperhq / dumper

Dumper.io Agent for Rails
https://dumper.io
MIT License
22 stars 6 forks source link

Keep local backups #9

Open TJM opened 9 years ago

TJM commented 9 years ago

There should be an option to keep backups locally. Still send them to dumper.io of course, but basically just don't delete the local file until it has reached a certain age, or keep a certain number of backups. (I would offer both capabilities).

This would mean that Dumper would be able to provide local and offsite backups, without taxing the database twice.

kenn commented 9 years ago

Interesting idea, but that introduces new problems.

TJM commented 9 years ago

Good points... I was going to make that part of the configuration be in the initializer or whatever. Leaving the last backup local would allow someone to hook in after the backup runs (successfully) and "do something" with the file if they want to.