Migrate S3 bucket to new S3 bucket (compatible service)

Has anyone successfully migrated from S3 to another S3 bucket (i.e. bucket on a compatible service)?

I’m thinking that perhaps this process would work:

  1. Stop Discourse (./launcher stop app) to ensure no new uploads are processed
  2. rclone existing primary bucket to the new primary bucket (optionally the backups bucket as well)
  3. update credentials, endpoints, bucket names etc. in the app.yml
  4. rebuild discourse
  5. update cdn domain to pull from the new bucket

Not sure if this is viable or if I’m missing something, any insights would be appreciated. :slight_smile:

2 Likes

I’ve never tried it but there are some very helpful discussions about it here:

3 Likes