# משימות rake להעברת נכסים ל-s3

**URL:** <https://meta.discourse.org/t/migrate-assets-to-s3-rake-tasks/286469>\
**Category:** Self-hosting\
**Tags:** uploads, s3\
**Created:** [23 בנובמבר,‏ 2023,‏ 11:10pm UTC](https://meta.discourse.org/t/migrate-assets-to-s3-rake-tasks/286469 "2023-11-23T23:10:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nrobinaubertin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nrobinaubertin/32/323251_2.png) [@nrobinaubertin](https://meta.discourse.org/u/nrobinaubertin)\
**Post date:** [23 בנובמבר,‏ 2023,‏ 11:10pm UTC](https://meta.discourse.org/t/migrate-assets-to-s3-rake-tasks/286469/1 "2023-11-23T23:10:27Z")

</div>

Hi,

We have multiple discourse instances storing assets locally that we would like to move to s3. We have some questions regarding that process:

1. The recommended way seem to be using the `uploads:migrate_to_s3` rake task. Is this task idempotent (can we re-run it if something goes wrong ?)
2. Is there a verbose mode with this task to get more information about what went wrong if need be ?
3. We had an issue with a previous migration where some assets were not uploaded to s3. Is there an easy way to list which ones to understand what’s going on ?
4. I’m not sure about the `s3:upload_assets` task, is it called as part of the migration to s3 when doing `uploads:migrate_to_s3` or should I call it also if I want everything to s3 ?

Thank you for making Discourse !

---

_[View the full topic](https://meta.discourse.org/t/migrate-assets-to-s3-rake-tasks/286469)._
