# Disaster management for standalone discourse instance

**URL:** https://meta.discourse.org/t/disaster-management-for-standalone-discourse-instance/90642
**Category:** Self-hosting
**Tags:** hosting
**Created:** [June 24, 2018, 8:05pm UTC](https://meta.discourse.org/t/disaster-management-for-standalone-discourse-instance/90642 "2018-06-24T20:05:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Aaryan\_Khurana](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Aaryan\_Khurana](https://meta.discourse.org/u/Aaryan_Khurana)
#### Post date: [June 24, 2018, 8:05pm UTC](https://meta.discourse.org/t/disaster-management-for-standalone-discourse-instance/90642/1 "2018-06-24T20:05:43Z")

</div>

Hi, I can not use Digital Ocean as none of there payment gateway is not working for my country and its not easy to get credit card in my country. So I installed discourse on AWS EC2 using docker image and AWS SES for smtp (as it is lot cheaper than all the recommended services).  
For failure recovery, I tried to use AWS RDS postgres and modified app.yml accordingly but it throws

> `rake db:migrate` failed

error. I tried but it doesn’t seem to work. So I have only one option of putting everything in single instance (which works BTW) but what if this instance goes down. How to mange this problem?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 24, 2018, 8:29pm UTC](https://meta.discourse.org/t/disaster-management-for-standalone-discourse-instance/90642/2 "2018-06-24T20:29:13Z")

</div>

We don’t see many “disasters” on standalone instances in practice. If you have daily backups configured, and shipped to S3, you can easily set up a new Discourse instance in (way) less than 24 hours anywhere in the cloud and restore your daily backup there.

---

<div class="post-metadata">

### Author: ![Aaryan\_Khurana](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Aaryan\_Khurana](https://meta.discourse.org/u/Aaryan_Khurana)
#### Post date: [June 25, 2018, 8:58am UTC](https://meta.discourse.org/t/disaster-management-for-standalone-discourse-instance/90642/3 "2018-06-25T08:58:44Z")

</div>

How to configure discourse for daily backup to s3?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 25, 2018, 9:01am UTC](https://meta.discourse.org/t/disaster-management-for-standalone-discourse-instance/90642/4 "2018-06-25T09:01:57Z")

</div>

Read the relevant #howto topic; try searching.

---

<div class="post-metadata">

### Author: ![Aaryan\_Khurana](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Aaryan\_Khurana](https://meta.discourse.org/u/Aaryan_Khurana)
#### Post date: [June 25, 2018, 9:03am UTC](https://meta.discourse.org/t/disaster-management-for-standalone-discourse-instance/90642/5 "2018-06-25T09:03:15Z")

</div>

I am sorry 😬
