library_path now points to a local dir with the recovered metadata.db inside.
migrated = True (which was already the case, though)
I've removed database_path from global.py.
I've copied the recovered (and verified as containing my data) to library_path and the NFS dir in which my actual ebooks (as stored there by calibre) reside.
Then I started calibre:
Code:
$ calibre
link hasn't been detected!
link hasn't been detected!
Upgrading database to version 2...
Upgrading database to version 3...
Upgrading database to version 4...
(The "link" message has always been there.)
No books are shown in calibre.
library_path/metadata.db is wiped empty after quitting calibre. The other metadata.db in the ebook storage area (how do you call that?) is still fine.
The very same setup (with everything on NFS) has worked fine till the original metadata.db got killed (manually by myself by accident).