古い Discourse データベースを新規インストールにインポートする際のトラブル

My suggestion was that you search for the topic about your problem. Restore from backup fails due to S3 migration

Since you can’t make a new backup it may be more difficult. I think you’ll need to disable S3 inside the backup sql.