Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We host our application on Heroku. I'm wondering what can I do as a backup plan when Heroku doesn't work.

If I keep a backup of everything on Rackspace, when Heroku goes down, can I change to Rackspace in the moment? Any idea how that's done?


share|improve this question

Well, if everything works and is synced from Heroku to Rackspace (database and files) then you can just switch over.

Most fail-overs like this are done by changing the DNS record from your Heroku IP to your rackspace IP.

share|improve this answer
is there any place where I Can read more about how to do this? thanks – donald Mar 24 '12 at 18:02
you just setup an environment that works with your application, and sync the databases. Changing your DNS records should be quite straight forward I think. There is no definite guide on this, you will need to check the tools you have on your platforms (rsync on linux for example to sync files). And replicating the database is entirely dependent on your database software. – Lucas Kauffman Mar 24 '12 at 18:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.