# 数据库和文件存储的最佳选择

**URL:** <https://meta.discourse.org/t/best-option-for-db-and-file-storage/291000>\
**Category:** Self-hosting\
**Created:** [2024 年1 月 9 日 12:33 UTC](https://meta.discourse.org/t/best-option-for-db-and-file-storage/291000 "2024-01-09T12:33:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2024 年1 月 13 日 15:40 UTC](https://meta.discourse.org/t/best-option-for-db-and-file-storage/291000/5 "2024-01-13T15:40:47Z")

</div>

我说它很贵，但对许多用例来说是值得的。

备份东西的方法有很多。最简单的方法是让 discourse 每天进行备份并将其推送到 S3。另一方面，您可以创建自己的数据库实时副本（这很难，这也是托管数据库对许多人有吸引力的原因）。

---

_[View the full topic](https://meta.discourse.org/t/best-option-for-db-and-file-storage/291000)._
