How best to update/ sync my Calibre Web and my local Calibre library?
-
When I had a VPS with not much diskspace I used to have a Hetzner Cloud Volume for my books, which I then mounted as a Volume and got my Calibre Web app to use that for data storage. Then I'd just rsync up my local Calibre library every now and then to update Calibre Web.
But now I'm on a server with plenty of disk space I'm not sure how best to do it?
The docs say to just upload files via the File Manager. But that doesn't seem like a very optimal way just to update it - most of the library is already online, I just want all my latest additions to be added.
Can I rsync directly into the app somehow?
-
Moreover, it doesn't seem possible to upload multiple folders at once using the File Manger (without first zipping them up, then uploading them, then upzipping them, which is just a bit long winded)
-
@jdaviescoates Hello
I don't know if this is much help, but I have landed on using the following procedure:
First, on my Cloudron box, I mount my library as a shared volume. I then sync this volume to the Calibre web app using the following syntax:
rsync -azP --delete /mnt/volumes/<volumeid>/ /home/yellowtent/appsdata/<appid>/data/library
Notice the trailing slash on the source, but not on destination.
The drawback on this method is that changes I make in the Calibre web app are overwritten when doing an rsync. So I try to not use the web app for changes (uploads, metadata edits etc).
More on this on this topic: Calibre not able to write on mounted (cifs) volume