07-24-2014, 10:09 PM | #1 |
Enthusiast
Posts: 42
Karma: 10
Join Date: Apr 2011
Device: iPad
|
what are conflicted copy .db and .json files?
In my main library folder, alongside all of the folders of authors, I see some files called "metadata ... conflicted copy.db" and "metadata_db_prefs_backup...json" and Library Maintenance -> Check Library complains about them. Where do these files come from - should I delete them?
|
07-25-2014, 12:24 AM | #2 |
creator of calibre
Posts: 44,530
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
They come from whatever software you are using to sync your calibre library, probably dropbox. do not run dropbox at the same time as calibre
|
Advert | |
|
07-25-2014, 07:20 AM | #3 |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
It is worth mentioning that if you have the Conflicted Copy type files it means that the syncing software (DropBox?) did not know which was the most up-to-date version of the file. This can result in lost updates (and thus books) from your library if Dropbox has chosen the wrong one to use.
A typical cause of such an issue is running calibre on two different machines simultaneously. Calibre is a single user system and does not support such operation. It can also happen if Calibre was run at different times on two different machines and the DropBox sync process was not allowed to complete after exiting Calibre. |
07-25-2014, 08:32 AM | #4 |
Enthusiast
Posts: 42
Karma: 10
Join Date: Apr 2011
Device: iPad
|
aha! I will pursue with Dropbox people but can you tell me: assuming I NEVER access Calibre (or that folder) from more than one location at one time, why is it a bad idea to have the Calibre database folder on a Dropbox location? I am the only one who uses this folder. I have it on Dropbox so that I can access books from an Apple machine at work and an Apple machine at home. Therefore there's no potential for simultaneous editing of the folder (I can only run Calibre from one of those locations at a time). Can someone explain why this is problematic, and is there a better way to be able to access the library from 2 different machines?
|
07-25-2014, 08:34 AM | #5 |
Enthusiast
Posts: 42
Karma: 10
Join Date: Apr 2011
Device: iPad
|
ok so let me get this clear. The important thing is to make sure that Dropbox fully syncs when - after exiting Calibre and before re-starting it?
|
Advert | |
|
07-25-2014, 08:40 AM | #6 | |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
|
|
07-25-2014, 08:42 AM | #7 |
Enthusiast
Posts: 42
Karma: 10
Join Date: Apr 2011
Device: iPad
|
|
07-25-2014, 09:21 AM | #8 | |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
Most of the time this is painless as long as you have an active internet link on the machines as the syncing happens very quickly. It can be an issue if for any reason the machines do not have an active internet link so that immediate syncing does not happen. |
|
07-25-2014, 09:26 AM | #9 |
Enthusiast
Posts: 42
Karma: 10
Join Date: Apr 2011
Device: iPad
|
got it, that's very useful, thanks all.
|
07-25-2014, 01:28 PM | #10 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Also advisable to pause Dropbox while running calibre, to prevent Dropbox locking a file to sync it while calibre is trying to move/edit it.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conflicted about Paperwhite | Jbthompson | Amazon Kindle | 24 | 10-26-2012 09:41 AM |
Copy files from PC while reading | Darth W | General Discussions | 17 | 10-12-2012 05:44 PM |
Where should I copy files to now? | thorne | enTourage Archive | 2 | 09-27-2010 04:59 PM |
PRS-900 Conflicted | yessirrom | Sony Reader | 6 | 01-21-2010 05:06 PM |
gmail copy (gmcp) - Perl script to copy files to/from Gmail | Colin Dunstan | Lounge | 0 | 09-04-2004 02:24 PM |