How to restore schemes from a broken DB (self-hosted)

Hi, is there any way to recover scheme definitions from MongoDB? I tried to look at the structure, but I was not able to understand where to find it.

Thanks.

Theoretically yes, but it is too complicated. Why do you ask?

Yesterday, my server restarted during a migration and since then squidex docker service is restarting so I cannot log into it to export the schemes. So I am looking for any way to recover the schemes.

It is almost impossible. The database is mainly built by events. But it is very likely possible to restore your system. An exception would help