Restore data from file system only

I accidentally deleted my mysql databases (ccnet-db/seafile-db/seahub-hub), but the files in the file system are still there.
Is there a way to restore the data from the file system to the database ?

Hi Merhart,
there is no way to restore the database from the data in the seafile-data directory.
What you can do is an export of all files in the seafile-data director to a file system. You find the instructions here: