View Single Post
Old 11-20-2020, 12:31 AM   #1
NeHe
Junior Member
NeHe began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2020
Device: Android Tablet
Can I have database directory and Library content in different places?

Hi all! Hope you are all safe and healthy.

I have been setting up a small home server and have Calibre running in docker on a small PC. It runs great, but I had to do something during setup I would have preferred to do differently. I was not able to have the library and database directory on a network file system --- I have a NAS that I would like to use to store my content on since it's got lots of storage, is RAID, and also backs up to the cloud.

If I tried to mount that nas into the docker container via CIFS, I can see the files / directories, but the database is never setup correctly and is flagged as corrupt.

When I move the database and content directory to the local filesystem with a docker bind mount it works perfectly. This is where I am now.

However moving all the books (lots of self scanned PDFs, not just ePUBs) to the server directly has cost me all the remaining disk space.

Is it possible to have the database files and the content in stable (i.e. not changing) but different locations? This way I could have say /local/calibre/database/* and /nas/calibre/library/* and would save many gig of disk space on the server.

I do something similar with Plex for my music / video files, the plex database is local, but points to a network mounted content directory.

Thanks!
NeHe is offline   Reply With Quote