A user discusses migrating a Discourse forum from AWS to Digital Ocean, aiming to upgrade the setup with two containers, DO Spaces, and two CDNs (Faststack and StackPath). The migration plan involves setting up a test instance on DO, ensuring version consistency, backing up from AWS, restoring to DO, and updating DNS. dfriestedt shares their successful migration steps, including restoring the backup locally on DO, then migrating assets to DO Spaces and CDN. marianord notes that assets must be manually copied from AWS to DO Spaces since the migration doesn’t happen automatically. RGJ clarifies that the user was using local storage on AWS, not S3, so the images were restored locally first and then uploaded to DO Spaces using a rake command. The process is confirmed to work with proper steps for CDN and object storage setup.
QUESTIONS:
I) Do these steps look correct?
II) When I restore the file, can I expect Discourse to upload the images to DO Spaces or will I need to run the following after restoring?
My understanding is that you’d need to manually copy all the assets in S3 to the new Spaces, because the uploads migration will not happen automagically.
On AWS I was hosting uploads locally, not on S3. When I brought them over to DO, I did a restore to the local disk, and then migrated to DO Spaces and stackpath CDN. I had to run an upload and rake command after to push the images to S3.