philosophie / suspenders

A Rails template with our standard defaults, ready to deploy to Heroku.
MIT License
2 stars 1 forks source link

Add Postgres backup schedule for production #104

Closed ebramanti closed 8 years ago

ebramanti commented 8 years ago

This PR adds a backup schedule for a Postgres database on production. The time is currently hardcoded to 2AM PT.

@patbenatar

patbenatar commented 8 years ago

@jadengore did you try this out on a fresh suspenders run?

ebramanti commented 8 years ago

@patbenatar As mentioned in chat, this is on hold until we figure out what to do since Postgres is not automatically added to the project.

ebramanti commented 8 years ago

@patbenatar We are now manually provisioning Postgres hobby-dev DB, and it allows me to set a backup schedule. Let me know what you think.

patbenatar commented 8 years ago

@jadengore hobby-dev is the free tier, correct?

ebramanti commented 8 years ago

@patbenatar Yes see here: https://elements.heroku.com/addons/heroku-postgresql

patbenatar commented 8 years ago

Thanks @jadengore ! :eggplant: and :ship: