peacecorps / BonVoyage

:airplane: An application intended to streamline communication surrounding Peace Corps Volunteer requests to travel
http://travel.peacecorps.me
4 stars 5 forks source link

Automatic DB backups #94

Open colinking opened 8 years ago

colinking commented 8 years ago

We can use mongoexport or similar to export the database from the command line. We should set up a script that will do this every day (or more often) and store the data somewhere. Possibly S3?

https://mlab.com/databases/bonvoyage#tools

seanbae commented 8 years ago

MongoLab provides a built-in backup service that either stores the data directly on mLab or custom S3. A weekly backup service costs $2.00 per month, and a daily backup service costs $15.00 per month.

colinking commented 8 years ago

I would definitely recommend that we do daily backups at least, since losing an entire week's worth of data would be quite hard to recover.

seanbae commented 8 years ago

@choquette33 Thoughts?

choquette33 commented 8 years ago

@SeanBae - Can we ramp that up as we ramp up? Also is that something I could pay for through heroku?