Restore to New Host

Your restore is failing with an error like this?

FileStore::ToS3MigrationError: 1 posts are not remapped to new S3 upload URL. S3 migration failed for db 'default'.

In that case the best thing to do is fix up the post(s) that have uploads in the wrong place. But I think that there’s a case in which that test can have a false positive. In that case, you can use a switch on the rake task the will have it pause so you can fix things up. I can’t find it quicky, and it’s not at Backup discourse from the command line where it should be. I’m in the middle of a task, so I can’t find it now.