# How to download Discourse backup and restore local database

**URL:** <https://meta.discourse.org/t/discourse/279041>\
**Category:** Self-hosting\
**Tags:** chinese-translation\
**Created:** [September 14, 2023, 6:01pm UTC](https://meta.discourse.org/t/discourse/279041 "2023-09-14T18:01:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![honeymoose](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/honeymoose/32/198718_2.png) [@honeymoose](https://meta.discourse.org/u/honeymoose)\
**Post date:** [October 3, 2023, 3:10pm UTC](https://meta.discourse.org/t/discourse/279041/4 "2023-10-03T15:10:55Z")

</div>

> [@captno78](#):
>
> I don’t understand the error message in the log. The log is as follows:

The log above should indicate that S3 does not have permission.

Please confirm that your S3 permission settings are correct.

 ![2023-10-03_11-09-27](https://global.discourse-cdn.com/meta/original/4X/5/1/0/510674d84eecab6a88795e470258bdd7405f3b8c.jpeg)

> **[Discourse 如何备份到 S3](https://www.isharkfly.com/t/discourse-s3/56)**
>
> Discourse 与 S3 是对好基友，如果你对 S3 比较熟悉的话，那么对你来说帮助会非常大。 很多人的虚拟主机空间是有限并且资源也是有限的。 使用 S3 进行备份能够更好的利用空间。 你可以按照下面的步骤进行配置： 设置备份频率 进入 admin \> backup，然后设置 backup\_frequency 为 1。这个是参数是表示备份的频率，默认为 7 。 1 表示的是每天进行备份一次。 7 表示的是每 7 天进行备份一次。 针对一般访问网站，如果使用 S3...

---

_[View the full topic](https://meta.discourse.org/t/discourse/279041)._
