Export to Configuration.yaml

Hi all,

I have set up a fair bit of my infrastructure using the UI. However, I wanted to export the current config into the yaml file. Is there a way that I can continue where I am but work with the yaml file or do I need to start all over again?

Also wondering if I should even bother with it. I have heard that it is ideal to move forward with the UI anyway? Or is there a third option that I am unaware of.

Thanking in advance.

Cheers,
M

Generally speaking integrations are either YAML or UI. You can’t really export the UI config into YAML.

So in that case, how do I back it up and redeploy it if my HA crashes and I need to have the integrations and devices on the new HA instance?

Hopefully you’re already backing up the entire config folder, which contains a number of hidden files and folders, including .storage/ (but there are more).

If you’re backing up the entire folder then you can restore it to a new install. If you aren’t then you’ve never had a complete backup.

1 Like