View Single Post
Old 10-25-2018, 07:48 PM   #11
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by paai View Post
Now say, I made a mistake and changed the database in the backup tree. Now this metadata.db is newer and gets copied over the live one. Will it bring the pathnames of the backup with it and overwrite the pathnames in the live database? Thatwould explain a lot.
Paths stored in the Calibre database (metadata.db) are relative, not absolute so the only time changing the backup would affect paths is if you modify either author or title.

As for library name, afaik Calibre doesn't explicitly store the library name in the database. It just gets the library name from the directory/folder name where metadata.db is located.

I don't believe Calibre scans drives for libraries. By default, I believe it only shows libraries you explicitly added so you must have added your backup libraries to Calibre at some point.

If you mouse-over on the library name, it should show you the path in the status bar. I highly suggest you remove your backup libraries from Calibre or at least change their directory names so you don't make any accidental changes (I believe you can do the latter within Calibre via Rename library).

I use FreeFileSync which I believe has a Linux version. Highly recommended.
ilovejedd is offline   Reply With Quote