|
|
#1 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2009
Location: Thonon-les-Bains, France
Device: Kobo Libra Colour
|
Location of new books
Hi,
Sorry if this specific question has been asked before but I cannot find the use case. I have my ebook files in a NAS server: Code:
/nas/data/ebooks Code:
metadata.db Code:
CALIBRE_OVERRIDE_DATABASE_PATH=/Calibre/metadata.db However when I add a new book I would expect Calibre to copy the file to the NAS server (/nas/data/ebooks) with Calibre's own file structure and update the metadata.db locally but instead of that the book is copied locally to where the metadata.db is present, is this the expected behavior or am I doing something wrong?. PS: I'm using latest version of Calibre |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,527
Karma: 150265873
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It is the correct behavior for calibre to keep the library with the database. You cannot have the database in one directory and the eBooks in another.
What you can do is keep your eBooks on your local drive and use the NAS as a backup. Use FreeFileSync to sync your library to your backup on your NAS. That way you only have to copy everything once and from then on, just what's new or changed. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,134
Karma: 30317706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
|
|
|
|
#4 | |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2009
Location: Thonon-les-Bains, France
Device: Kobo Libra Colour
|
Quote:
Code:
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. Code:
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 |
|
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,837
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Does not replicate for me. I ran calibre as:
CALIBRE_CONFIG_DIRECTORY=/t/v CALIBRE_OVERRIDE_DATABASE_PATH=/tmp/metadata.db calibre After setup of the welcome wizard and choosing a library folder, I tried adding a book using the add books button and it was added in the library folder, as expected. |
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2009
Location: Thonon-les-Bains, France
Device: Kobo Libra Colour
|
Quote:
|
|
|
|
|
|
|
#7 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,837
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
CALIBRE_CONFIG_DIRECTORY sets where calibre stores all its config data including library locations.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding books from folder also imports books from unknown location | rvank | Calibre | 1 | 03-25-2016 10:36 PM |
| Location syncing in sideloaded books | Joques | Kobo Reader | 0 | 07-25-2014 03:38 AM |
| The save location for books will not change, even though I modified it | deckoff | Library Management | 2 | 07-12-2013 03:43 PM |
| Location of books when adding | Inferno | Library Management | 3 | 04-21-2012 01:04 PM |
| How to change location books are stored on reader | bdillahu | Calibre | 5 | 10-09-2010 11:09 PM |