restore database without metadata.db present in directory fails
calibredb restore_database --library-
takes 2 days to look in each folder and fails with
Buntes Allerlei Nr. 5 ... 99%
Buntes Allerlei Nr. 6 ... 100%
Restoring database failed with error:
Traceback (most recent call last):
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden
solves this issue.
As I'm still repairing my huge, crashed library and moving folders by hand to reindex, this would be useful to just create metadata.db if there is no, as this is the goal of the game.
Currently the crash after a restore-run that took days is annoying.