Configuration deleted but homeassistant still running

Hi,

I’ve deleted by mistake everything in .homeassistant folder. The remaining file is only the database.

However, homeassistant is still running and seems to work correctly. Is there a way to dump the configuration back to file or get it in some way ?

Thanks,

can you do snapshot?

A snapshot ? How do you do that ? I tried to dd the image and try to recover using extundelete but I could not recover the files.

Hass.io>Snapshots