|  10-01-2020, 08:14 AM | #1 | 
| Member  Posts: 12 Karma: 10 Join Date: Nov 2015 Device: Kindle | 
				
				Cloud Library, Local Database on Windows/Portable
			 
			
			Using Calibre Portable, I want my eBooks stored in cloud but my database needs to be local (Can't store that in GDrive). Is there a command line option for calibre-portable.exe I need to use? Something LIKE C:\Portable_Apps\Calibre\calibre-portable.exe --CALIBRE_OVERRIDE_DATABASE_PATH=C:\Calibre_Portable \metadata.db ??   | 
|   |   | 
|  10-01-2020, 09:52 AM | #2 | 
| Well trained by Cats            Posts: 31,251 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | 
			
			I'm almost positive you can't use Google Drive for the Library as it tampers with the file names and would break the {ID} linkages. Your idea might work with other clouds. | 
|   |   | 
|  10-01-2020, 10:18 AM | #3 | |
| Member  Posts: 12 Karma: 10 Join Date: Nov 2015 Device: Kindle | Quote: 
   | |
|   |   | 
|  10-01-2020, 12:54 PM | #4 | 
| Well trained by Cats            Posts: 31,251 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | 
			
			Depends on how many GB you need. Some folk use Dropbox (the free one) You do realize the Free ones do not include data backup at their end. Be sure to keep a local copy as backup if you use the cloud version. | 
|   |   | 
|  10-01-2020, 05:09 PM | #5 | 
| null operator (he/him)            Posts: 22,012 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | |
|   |   | 
|  10-01-2020, 05:39 PM | #6 | 
| Grand Sorcerer            Posts: 13,983 Karma: 243829945 Join Date: Jan 2014 Location: Estonia Device: Kobo Sage & Libra 2 | 
			
			OneDrive tends to randomly delete Calibre library files. Dropbox is the most problem-free, but their free tier is the smallest of all. Personally I've used their paid plan for several years and have no complaints. Still, one must always be on one's guard when keeping an active library in a cloud. | 
|   |   | 
|  10-02-2020, 01:24 AM | #7 | 
| Wizard            Posts: 3,305 Karma: 10259306 Join Date: May 2016 Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3   HDX8.9, | 
			
			box works , 10gb free tier - but only if no single file is >250MB. nothing larger is allowed in free tier. should be fine if you don't have comics/ large pdfs box.com i still use dropbox, I built up the free tier to 15gb with referrals over several years. but beware also, dropbox free now has a 3 device limit and even on free tier. deleted files in dropbox are saved for 30 days so there is enough time to roll back form a catastrophe, if spotted soon enough | 
|   |   | 
|  10-02-2020, 07:06 AM | #8 | 
| null operator (he/him)            Posts: 22,012 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			I wonder why Onedrive would randomly and specifically delete calibre library files ? I've used Onedrive since before it was called Skydrive, Live something - Drive/Files/Sync? I have files in Onedrive from 2004, not aware of ever losing anything. But I mainly use a commercial FTP service, and there's stuff there from 1984  I really should get rid of most of it. BR | 
|   |   | 
|  10-02-2020, 07:41 AM | #9 | |
| Grand Sorcerer            Posts: 13,983 Karma: 243829945 Join Date: Jan 2014 Location: Estonia Device: Kobo Sage & Libra 2 | Quote: 
 Dropbox has never deleted anything on its own. It can create conflicted copies though, so one has to monitor one's library. But it's still better than just deleting random files and not notifying the user about it. | |
|   |   | 
|  10-02-2020, 01:34 PM | #10 | |
| Bibliophagist            Posts: 48,100 Karma: 174315444 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | Quote: 
 Last edited by DNSB; 10-02-2020 at 01:57 PM. | |
|   |   | 
|  10-02-2020, 06:39 PM | #11 | 
| null operator (he/him)            Posts: 22,012 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			I would have started with a version from MS Research; I used to keep tabs on MS-R stuff because a couple of guys who worked for me in Singapore ended up working there. One still does, and I think I still have the collage maker from their Cambridge (UK) lab   BR | 
|   |   | 
|  10-03-2020, 06:09 PM | #12 | 
| Connoisseur            Posts: 79 Karma: 24858 Join Date: Feb 2020 Device: none | 
			
			I've never had trouble with either OneDrive or Google Drive/Backup and Sync. On a related note, I used to get a sync "error" for metadata.db when Calibre was open (file in use) whereas with v5 it is continually re-uploading with each edit to the catalog - highlights/annotations, etc... It is only a problem with the database, because the epub book "re-uploads" but does so instantly (presumably recognizing that the only actual change is only with the book's small metadata.opf file). Any ideas on how to stop this? I was using my mobile data plan today and it just blew through a lot of data, purely from annotations causing continual uploading of the database. But even when I'm on a dedicated connection, I'd prefer for it to just sync when I close Calibre, as it did before. Last edited by nixsee; 10-03-2020 at 06:15 PM. | 
|   |   | 
|  10-03-2020, 07:15 PM | #13 | 
| Grand Sorcerer            Posts: 13,983 Karma: 243829945 Join Date: Jan 2014 Location: Estonia Device: Kobo Sage & Libra 2 | 
			
			Pause syncing while Calibre is open.
		 | 
|   |   | 
|  10-03-2020, 07:18 PM | #14 | 
| Connoisseur            Posts: 79 Karma: 24858 Join Date: Feb 2020 Device: none | 
			
			Of course that is an option, but I'm certain that I won't always remember to do so. Moreover, it is quite likely that I will have reason to sync other files while Calibre is open. Since something seems to have changed with v5, I'm hoping that there could be a toggle somewhere for this. | 
|   |   | 
|  10-03-2020, 11:47 PM | #15 | 
| Wizard            Posts: 3,305 Karma: 10259306 Join Date: May 2016 Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3   HDX8.9, | 
			
			I have always been able to mirror cloud library to cloud ok with free file sync , with calibre open but idle. Maybe I tweaked a setting in ffs so that it worked without applying a temp file lock to metadata.db 2hen copying, can't remember for sure. But am staying well clear of by until the dust settles, so can't help with that. .except to state the obvious- try completely exiting calibre ft i.e. shut it down. Then do whatever copies, syncs are needed. That has to be best practice. It can be sort of automated with bat files and scripts. Close, sync, restart. | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Local library file, pointing to cloud-based ebooks? | Timmeh | Calibre | 5 | 01-07-2020 05:21 PM | 
| local cloud ebooks do not load the book into cc | RsH | Calibre Companion | 0 | 10-14-2019 09:25 PM | 
| Local database and eBooks on NAS? | DerDominik | Library Management | 3 | 06-02-2018 01:57 PM | 
| Local Cloud Access | HippieWiccan | Calibre Companion | 6 | 08-04-2015 01:36 AM | 
| portable database? | sn123py | Calibre | 28 | 05-18-2011 04:43 AM |