Moving hassio files (Solved)

So I’ve been running hassio on my unRAID box it’s faster than a pi but it keeps dropping my add-ons offline I want to move onto a pi 4 here is my question I had an sql error and my database is corrupted can I create a new hassio image onto the pi then transfer all of my config files less the database over to the pi and will the new instance create a working database?

The database is just for history, you can delete the database (home-assistant_v2.db), take a snapshot, and then copy the snapshot to your new install.

Hey thanks for the advice I deleted the database file and restarted and all is working fine and system no longer spamming errors!