# Set up file and image uploads to S3

**URL:** https://meta.discourse.org/t/set-up-file-and-image-uploads-to-s3/7229
**Category:** Self-Hosting
**Tags:** configuring, how-to
**Created:** [6월 6, 2013, 7:37오후 UTC](https://meta.discourse.org/t/set-up-file-and-image-uploads-to-s3/7229 "2013-06-06T19:37:43Z")
**Posts on this page:** 1
**Showing post:** 275

<div class="post-metadata">

### Author: ![ericomeehan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ericomeehan/32/542726_2.png) [@ericomeehan](https://meta.discourse.org/u/ericomeehan)
#### Post date: [7월 1, 2025, 10:02오후 UTC](https://meta.discourse.org/t/set-up-file-and-image-uploads-to-s3/7229/275 "2025-07-01T22:02:44Z")

</div>

> [@Discourse](#):
>
> ## 일방적 문(One-way door)
> 
> Discourse의 많은 설정 결정과 달리, S3를 사용하는 것은 "일방적 문(one-way door)"이라는 점에 유의하십시오. 즉, _쉽게 되돌릴 수 없는_ 조치입니다. S3에 있는 파일을 로컬 업로드로 이동시키는 안전하거나 유지보수되는 방법은 없습니다. 특히, `migrate_to_s3`는 게시물 이미지뿐만 아니라 되돌릴 경로가 없는 파일들도 S3로 이동시킵니다. (자세한 내용은 [Migrate\_from\_s3 문제](https://meta.discourse.org/t/migrate-from-s3-problems/119064)를 참조하십시오.)

링크된 스레드에는 `migrate_from_s3` 태스크를 제거하는 PR이 언급되어 있으며, 이후 다시 추가되었다고 믿을 만한 근거를 찾지 못했지만, 이것이 여전히 유효한지 확인하고 싶었습니다. 저는 MinIO로 마이그레이션을 고려하고 있으며, 이를 의존성으로 만드는 것에 대해 약간 우려하고 있습니다.

> [@pfaffman](#):
>
> `siteSettings.include_s3_uploads_in_backups=true`를 rails에서 설정한 다음 백업을 만들고, S3 설정을 변경한 후 백업을 복원할 수 있습니다.

이것이 위에서 언급한 문제에 대한 우회책이 될 수 있는지 궁금합니다. 해당 설정을 포함하고, 백업을 만들고, S3 설정을 비활성화한 후 백업을 복원하는 방식입니다.

---

_[View the full topic](https://meta.discourse.org/t/set-up-file-and-image-uploads-to-s3/7229)._
