Retrieve configuration from running HA

Hi everyone,

I have an instance of HA running on a Raspberry Pi (on Raspbian).
Two days ago I installed a Zwave stick (from Aeon Labs) and connected a Fibaro Dimmer I had bought a few days ago.

It has been working fine until yesterday evening : I logged in my Raspberry Pi through SSH and tried to see the configuration.yaml file. When I print the content of the file, I have what looks like log data alongside binary data :

7-08-04 05:39:35.666612
�e A2017-08-04 05:39:59.677210
�f A2017-08-04 05:40:05.508628
�g A2017-08-04 05:40:05.560667
�h A2017-08-04 05:40:09.265867
�i A2017-08-04 05:40:09.380609

Home assistant is still running. I have access to the web interface but the ZWave command do not work anymore (no actual effect on the device).

I would like to know if there was a way to retrieve the configuration that HA is currently running (from a cache of some sort somewhere) before I try to stop and restart it.

Unfortunately I do not have any backup of my configuration file (what was I thinking, right ?) …

Any ideas ?

The files could be corrupted. There isn’t a cache anywhere. I would try restarting. If there is corruption on the disk, which does happen, you may be able to run fsck on the disk and recover something.