# 将上传内容从 S3 迁移到本地

**URL:** https://meta.discourse.org/t/migrating-uploads-from-s3-to-local/163903
**Category:** Self-hosting
**Tags:** s3
**Created:** [2020年九月13日 22:41 UTC](https://meta.discourse.org/t/migrating-uploads-from-s3-to-local/163903 "2020-09-13T22:41:36Z")
**Posts on this page:** 1
**Showing post:** 28

<div class="post-metadata">

### Author: ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)
#### Post date: [2024年六月20日 15:00 UTC](https://meta.discourse.org/t/migrating-uploads-from-s3-to-local/163903/28 "2024-06-20T15:00:40Z")

</div>

这是一个非常合乎逻辑的方法，但它不适用于使用 **cloudflare R2** 的用户。或者这个问题只发生在我身上。当我进行备份时，我也开启了隐藏设置。不幸的是，它不包括 R2 中的文件备份。它在这里出现错误：[Uploads in cloudflare R2 are not added to the backup: Failed to download \*\*\*\*\*\*\* because Aws::S3::Errors::Http501Error](https://meta.discourse.org/t/uploads-in-cloudflare-r2-are-not-added-to-the-backup-failed-to-download-because-aws-http501error/311605)

---

_[View the full topic](https://meta.discourse.org/t/migrating-uploads-from-s3-to-local/163903)._
