View Single Post
Old 01-07-2020, 01:11 PM   #1
Timmeh
Junior Member
Timmeh began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2019
Device: Kindle
Post Local library file, pointing to cloud-based ebooks?

Hi all,

I have calibre running nicely on a dedicated Ubuntu server (via docker). The server has a 2TB hard drive. Up until now I have been able to keep my ebooks stored locally at /opt/appdata/calibre/library. However, I have started acquiring comics and my hard drive space is decreasing rapidly, along with other media.

So, I have mounted a cloud system to hold the books/comics but I'd like to keep my metadata.db file stored locally for stability reasons. The cloud directory is located at /mnt/ebooks.

The main issue is that when I create a new library in the /mnt/ebooks directory and begin to add my ebooks, it becomes unstable and corrupts each database I create.

I have found a thread which says that it is possible to keep the metadata.db file separate from the ebooks folder which is encouraging (https://www.mobileread.com/forums/sh...d.php?t=254287) however after hours of trying, I cannot find a way to do achieve this. Essentially I'd like /opt/appdata/calibre/library to store the metadata.db and point to ebooks stored at /mnt/ebooks.

Please could someone advise how I can achieve this as I have been trying for a few hours and cannot seem to get it to work and cannot find any literature. It's probably something obvious but I can't seem to find it.

Thanks in advance!

Last edited by Timmeh; 01-07-2020 at 01:14 PM. Reason: typos
Timmeh is offline   Reply With Quote