独立 Discourse 实例的灾难管理

您好,由于我国没有任何支付网关可用,且办理信用卡非常困难,我无法使用 DigitalOcean。因此,我使用 Docker 镜像在 AWS EC2 上安装了 Discourse,并采用 AWS SES 作为 SMTP 服务(因为相比所有推荐的服务,它的成本更低)。

为了实现故障恢复,我尝试使用 AWS RDS PostgreSQL,并相应地修改了 app.yml,但出现了以下错误:

rake db:migrate 失败

我尝试了多种方法,但似乎都无法解决。因此,我目前唯一的方案是将所有组件部署在单个实例上(该方案确实可行),但如果该实例宕机该怎么办?该如何管理这个问题?

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.

How to configure discourse for daily backup to s3?

Read the relevant howto topic; try searching.

I am sorry :grimacing: