# Migrating uploaded files from DO to S3

**URL:** <https://meta.discourse.org/t/migrating-uploaded-files-from-do-to-s3/153896>\
**Category:** Product Support\
**Created:** [June 5, 2020, 6:49am UTC](https://meta.discourse.org/t/migrating-uploaded-files-from-do-to-s3/153896 "2020-06-05T06:49:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![iraszl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iraszl/32/120318_2.png) [@iraszl](https://meta.discourse.org/u/iraszl)\
**Post date:** [June 5, 2020, 6:49am UTC](https://meta.discourse.org/t/migrating-uploaded-files-from-do-to-s3/153896/1 "2020-06-05T06:49:31Z")

</div>

I was thinking to migrate all the files already uploaded to my discourse site to S3 and then continue serving them from S3 instead of Digital Ocean local disk.

(I already managed to set-up the backups to be stored on another S3 bucket.)

What is the correct procedure to set-up S3 for file uploads? If I just add the `s3 upload bucket` name and `s3 cdn url` names, enable `Place uploads on Amazon S3 storage`, and discourse will take care of the migration, or is there something else I need to do? Do I need to worry about the `s3 endpoint`?

Thank you!

---

_[View the full topic](https://meta.discourse.org/t/migrating-uploaded-files-from-do-to-s3/153896)._
