Restoring backup on a new system fails

Hello everyone.

I have been using HA Core on a Raspberry Pi 3b for a few months and now that I have a new system I installed HAOS on it and I want to move the data from one to another. I did a backup on the Pi installation, restored it on the new system and it just hangs during the process in the frontend. After rebooting the system HA frontend doesn't start.
I try to restore the backup via CLI and the home assistant crashes:

If I try to do "ha core rebuild" it also crashes with a similar error.
The only way to have HA working again is to restore a backup I did after starting HA for the first time on the system.

I just want to data from these last months. The devices connect to HA are the same. Dunno how it works internally and that's just enough. How can I restore the backup?

I'm assuming you're restoring the backup on the HA onboarding screen, right?

If so, sometimes it has a tendency to crash, so the way around it is to proceed with setting up your new HA instance with a dummy user, then restore from within the Backup page once you're in.
Wouldn't hurt to do another backup or your Pi3 & make sure it's unencrypted, then using that for the restore just in case your current backup file is corrupt.

While a Pi3B with it's 1gb or less of memory might run on core stripped down, HAOS is much more bloated and it will be difficult and limited as to what you can do.

Why NOT to buy a PI to run Home Assistant

The minimum requirement is 2GB ram, which rules out pi3, so a Pi4 is minimum.

If you do need to temporarily get HA up until you get suitable hardware, I suggest trying to simply copy the entire config folder, including hidden files and folders, from the old device to the new, while HA is not running.

No, I was trying to restore the back in the backup page.
I did create a new backup from the Pi3 but the result was the same.

@Sir_Goodenough , @Edwin_D the new system is not a Raspberry. It's a VM running in Proxmox with 4 GB RAM.