Retrieve the dashboard/view from the data base

Hi folks,

I am reconfiguring home-assistant in a new system (I am moving from raspberrypi 3 to raspberry pi 4)

I wanted to clean the data base and start from the scratch in the new installation, but reuse my configuration files.

I have the old HA data base to extract whatever I need. Once I completed all the configuration I realized that I have missed my Overview dashboard because I didn’t use yaml files for lovelace. So, the question is, do you know how can I obtain it from the old data base?

At least, if I could access to the stored data, I could recreate it manually. Anyway, Ideas for recover my old dashboard are welcome.

Regards,

If it’s the default dashboard I think it lives in a file called lovelace in the .storage folder.

If it’s a separate dashboard you’ve created then there should be a file in .storage called lovelace.yourDashboardName?

I don’t know if you can just copy over the default dashboard lovelace file, but it’s worth a try. If it’s a separate dashboard I’d create one with the same name first then overwrite the file.

1 Like

it was easier than I expected :smiley:
thank you very much. there it was.

For those who installed HA OS to a harddrive and have mounted the various disk partitions to a linux machine to salvage something…

The .storage folder is within the hassos-data partition > supervisor > homeassistant > .storage.
(If you’re using Ubuntu File Manager hit Ctrl+H to toggle hidden files/folders on and off).