How can I migrate from Discourse Hosted to self-hosting

I did that and created a backup, which I downloaded. However, when I tried to restore it on the self-hosted platform, I encountered errors. Did you perhaps make any additional configuration changes before restoring, aside from changing the hostname?