Restore backup from container to HAOS

Hi i’m trying to migrate from a container installation to a dedicated raspberry pi with HAOS.
I’m trying to use the backup done in the admin panel to system => backup.
But when i’m trying to restore on the raspberry pi, i get a connection refused and the HAOS is not accessible anymore :confused:
I have ssl on the container but i disabled all the config line about the SSL in the configuration.yaml file before doing the backup.