Transfer from server to raspberry pi

I have HA on my server (unraid) running as a vm. I am switching over to the raspberry pi. Is there a way to take everything from the server’s HA and copy it to the Raspberry pi’s HA? Like a restore?

What installation type do you have in the VM?

Container?

Home Assistant OS?

Core?

For Home Assistant OS, create a full snapshot and copy it off the card. Restore this snapshot during onbarding of the system on your pi.

For all other installation types make a complete copy of your /config folder, including the hidden .storage directories. Transfer this copy to your new system.

I found it. I got it working thanks again