10-16-2020, 03:40 PM | #1 |
Leftcoast, USA
Posts: 38
Karma: 500010
Join Date: Dec 2012
Location: SF Bay Area
Device: Pixel 2 XL, Basic Kindle
|
Calibre lib on OneDrive using Linux
I've been using Dropbox and Calibre for years so I can have easy 24/7 access to books from anywhere. I have my actual library on my Linux Desktop, and when I modify it, I use rsync to do a one-way sync to my Dropbox folder, deleting anything not in my real folder. This worked great, and was quick and easy, because Dropbox supports Linux.
However, I'm reaching my limit, but have an unused 15GB OneDrive account I'd like to use. I installed rclone using the traditional way of mounting the OneDrive folder locally, but it seems to be very slow to use on my internet connection (250 mb/s down, 10 mb/s up). This is when trying to use rsync to update. I haven't tried connecting Calibre directly, so it's possible this might be usable, but I don't really want it to be my only library, because I'm afraid I might lose data assuming it does a two-way sync (not sure about that). I tried using rclone to sync the files after making a change, which seems to work although it's also a bit slow. But it does a one-way sync only, so I think it's safe. So, I'm wondering if anyone has had experience with this, and can either confirm my findings, or give me ideas to improve the situation. I'd appreciate any ideas. |
10-16-2020, 04:38 PM | #2 |
null operator (he/him)
Posts: 20,959
Karma: 27620690
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
A search for 'one way mirror with rsync' will show you how to do that. No idea if it would be faster than rclone.
And there's this ==>> Comparison of file synchronization software - Wikipedia BR |
Advert | |
|
10-18-2020, 06:24 PM | #3 | ||
Leftcoast, USA
Posts: 38
Karma: 500010
Join Date: Dec 2012
Location: SF Bay Area
Device: Pixel 2 XL, Basic Kindle
|
Quote:
OneDrive has no Linux app, hence rclone, which works with a lot of cloud storage providers. But they don't have an offline mode, and it's extremely slow to try to use rsync with their mounted copy. Also, rsync doesn't work directly with any cloud drives I've used. You usually need ssh access for that. Quote:
To anyone who may have landed here trying to do the same thing, I suggest being careful if you try the Linux fork of OneDrive. I tried it first, and had errors, so I tried rclone next. Unfortunately, I didn't uninstall the OneDrive app, and it was sitting there erasing all my remote files while I was trying to test rclone. I finally figured that out and removed the app. I was then able to use rclone to resync the files to my remote OneDrive, using one simple command (rclone sync). Then, I tried a free trial of a non-free program called inSync - I think it costs $29 after the two week trial. It creates a duplicate folder that is like Dropbox, and has no speed issues at all. I'm able to run Calibre on my Linux system, and on a windows 10 system on VirtualBox. Also, Calibre Companion works perfectly on my Android phone (it supports OneDrive directly). The free rclone is still a very useful tool. At one point, I was unable to open the Windows Calibre using its copy of OneDrive, so I was able to use the rclone sync command to make it work again. Only took a minute or two. Feel free to ask for more info if you want to try this. |
||
10-18-2020, 06:48 PM | #4 |
Resident Curmudgeon
Posts: 76,096
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What you can do is log into Onedrive using your browser. Then drag the directory you want to copy to Onedrive to the Onedrive page in your browser ad wait for the files to be uploaded.
|
10-20-2020, 12:10 PM | #5 | |
Leftcoast, USA
Posts: 38
Karma: 500010
Join Date: Dec 2012
Location: SF Bay Area
Device: Pixel 2 XL, Basic Kindle
|
Quote:
I think perhaps you are missing the point of syncing drives. |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
add books from calibre library or from kindle lib? | crane3 | Library Management | 1 | 10-24-2020 06:03 AM |
Help! - Calibre 2.30 with OneDrive | Stevex | Calibre | 7 | 08-27-2018 07:09 PM |
Calibre and OneDrive Windows 10 | vaderag | Calibre | 5 | 08-07-2015 11:40 AM |
Calibre 1.11.0 Vitrual Lib-Names at Content Server | Divingduck | Calibre | 16 | 11-23-2013 11:28 AM |
Can not start recoll from calibre /opt/calibre/lib/libz.so.1: no version information | Satas | Development | 5 | 04-19-2013 11:22 PM |