Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-18-2021, 03:40 PM   #1
ama
Junior Member
ama began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2021
Device: Nook
Override database path

I would like to keep my wife's and my metadata.db files in different directories on our computers, yet access the same library files. I have my Calibre Library on a shared Windows10 folder that my wife and I have access to from separate laptops. We're running Calibre 4.5 at present. I've tried editing the Path statement as mentioned in the Calibre manual section on Environment variables, but it does seem to have any effect. I've tried it two ways, but neither has any effect:

CALIBRE_OVERRIDE_DATABASE_PATH=E:\TestCalibre
and
CALIBRE_OVERRIDE_DATABASE_PATH=E:\TestCalibre\meta data.db

What am I doing wrong?

Thank you.
ama is offline   Reply With Quote
Old 11-18-2021, 06:34 PM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,054
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
That isn’t going to work. Having two different database files associated with one set of library files will cause things to get out of sync very quickly.
jhowell is offline   Reply With Quote
Advert
Old 11-18-2021, 07:08 PM   #3
ama
Junior Member
ama began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2021
Device: Nook
Thanks. I guess I don't understand then what is the point of this Calibre customization description in the documentation?

"CALIBRE_OVERRIDE_DATABASE_PATH - allows you to specify the full path to metadata.db. Using this variable you can have metadata.db be in a location other than the library folder. Useful if your library folder is on a networked drive that does not support file locking."
ama is offline   Reply With Quote
Old 11-18-2021, 07:20 PM   #4
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,054
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
The calibre database file must be on a file system that supports locking. In some cases if you want your library on a network drive because you do not have enough local storage, you can make it work by keeping the database file local and putting the actual book files on the network drive. But you still need a one-to-one match between a single database file and a single set of library files.

You might want to look into using the calibre content server if you need to access books from multiple locations.
https://manual.calibre-ebook.com/server.html
jhowell is offline   Reply With Quote
Old 11-18-2021, 07:38 PM   #5
ama
Junior Member
ama began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2021
Device: Nook
Thanks. The content server is probably the way to go.
ama is offline   Reply With Quote
Advert
Old 11-18-2021, 08:10 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Consider what User differences are needed and create custom columns for the individual to use. eg Rating and #rating2
theducks is offline   Reply With Quote
Reply

Tags
database path


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-350 About the epub custom font path And how to know the path? 52manhua Sony Reader Dev Corner 6 12-20-2013 01:28 AM
Apps override WiFi On/Off pwright2 Kindle Fire 2 12-29-2012 05:50 PM
Store metadata for multiple libraries using Override Database Path EV jm2 Library Management 15 09-03-2012 05:28 AM
Rebuild Database? & Use Path instead of Filename? gai-jin Calibre 0 07-20-2009 02:58 PM
help with Claibre CSS override sideburnt Calibre 7 05-28-2009 08:25 PM


All times are GMT -4. The time now is 03:28 PM.


MobileRead.com is a privately owned, operated and funded community.