5 ms·
Can't you just put your library and database on git or Dropbox? It should just work, unless you're accessing them from two devices at the same time.
by StavrosK 9y ago
Can't you just put your library and database on git or Dropbox? It should just work, unless you're accessing them from two devices at the same time.
- r3bl 9y agoYup, that's exactly what I do. I sync over the database and library over to Nextcloud to have it available on both of the operating systems I'm using. It's also synced automatically to an external hard drive connected to the Raspberry Pi, so I have two backups (one online, one offline) in case something goes wrong.
- StevePerkins 9y agoExactly. The problem is that you lose searchability. On the filesystem, Calibre organizes your library in a series of subdirectories named by author. If you want to find a book by title, or some other criteria... or even when it's a book with multiple co-authors and don't know which one Calibre selected as the primary... then you'll have a bad time.
- anc84 9y agoDon't people learn how to use their OS's file searching capabilities anymore?
- jpindar 9y agoI do, with Dropbox, and it mostly works... but it's very easy to get the database corrupted even if you are careful not to have more than one instance of Calibre open. I haven't tried using a source control system, that might work better. Hmmm. And of course that only works for computers, There isn't a full version of Calibre for Android.
- the_af 9y agoOut of curiosity, how does your DB on Dropbox get corrupted if not by having more than one instance of Calibre open? I'm asking because I use Dropbox to store my Keepass DB, and so far (2+ years) I haven't had any problems.
- jpindar 9y agoI don't know. But I occasionally find files with names like foo(username's conflicted copy).db. I do the Keepass thing too, and this has happened with it's files as well, but that doesn't seem to cause any problems.
- StavrosK 9y agoThose aren't corrupted databases, it just can't merge so it leaves you to pick the version you want. Just pick one and keep using it, at most you'll lose some recent changes from the other computer.
- jpindar 9y agoI should have known not to use language imprecisely on HN. :) To the layman, any situation that results in having Calibre show books which are not in fact there, or having books in the library which are not shown in Calibre, or having Calibre's check library function report that there are "invalid titles", "missing formats" etc., could be casually described as "corruption".
- StavrosK 9y agoSure, but the worst case is that you don't see books which are in your filesystem, and then all you need to do to fix that is click "Add books".
- michaelmrose 9y agoThere is calibre companion an app that lets you sync all or part of your library. To sync you would merely connect wirelessly and then search for ondevice:false and send those to the device.
- izacus 9y agoWouldn't that trigger copyright defender algorithms and cause your Dropbox account to be suspended?
- MikeTV 9y agoAFAIK they only run the DMCA checksum when the file/folder is shared. Keeping it inside your own account is OK.
- de8ger 9y agoI do with Dropbox too, along with a portable version of Calibre. For syncing to my andoid phone, I use [Calibre Companion](https://play.google.com/store/apps/details?id=com.multipie.calibreandroid https://play.google.com/store/apps/details?id=com.multipie.c...).