# S3에서 로컬로 업로드 마이그레이션

**URL:** https://meta.discourse.org/t/migrating-uploads-from-s3-to-local/163903
**Category:** Self-hosting
**Tags:** s3
**Created:** [9월 13, 2020, 10: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:** 31

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [6월 20, 2024, 3:56오후 UTC](https://meta.discourse.org/t/migrating-uploads-from-s3-to-local/163903/31 "2024-06-20T15:56:32Z")

</div>

파일을 서버로 전송하는 것은 문제의 (쉬운) 부분일 뿐입니다.

아래 명령어를 사용하여 업로드된 파일을 확인할 수 있습니다.

```plaintext
cd /var/discourse
./launcher enter app
rails c
Upload.pluck(:url)

```

이렇게 하면 업로드된 파일들의 URL이 표시됩니다. 이후 새 버킷으로의 새 경로를 갖도록 모든 업로드 파일을 수정해야 합니다. remap 명령어를 검색해 보시는 것을 권합니다. 작동할 것 같습니다.

> [@kuaza](#):
>
> I uploaded it to local and re-created the topics,

이 말의 정확한 의미가 무엇인지 확실하지 않습니다.

---

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