Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks

share|improve this question

1 Answer 1

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

 
discard

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.