Configuration deleted but homeassistant still running


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 ?


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.>Snapshots