05-31-2016, 02:09 PM | #1 |
Grand Sorcerer
Posts: 5,009
Karma: 18018738
Join Date: Nov 2009
Location: UK
Device: Kobo Forma, Libra2, Clara 2e, Kindle PW SE & Kindle 2022
|
Calibre metadata files query
Hi
I've got my calibre in Dropbox so its accessable by multiple laptops. I made a mistake on one laptop and bulk changed the series info on 800 books to the same name (I meant to bulk add a new tag). I'm trying to work out my easiest resolution. I managed to get to another laptop and pause sycing so i have the database files from that laptop pre change and I was on that PC earlier today so they are uptodate Can I just replace the metadata.bd file from the unsynced laptop into Dropbox? and will that put back my series info? or am I looking at letting dropbox fully sync then adding the data back manually? |
05-31-2016, 04:40 PM | #2 |
Connoisseur
Posts: 60
Karma: 499999
Join Date: Nov 2008
Location: Laois, Ireland
Device: Kindle App Android, Kindle PW2, Calibre
|
If you stopped the sync on the second laptop then the first thing I would do is make a copy of your library from this laptop. The Metadata for the individual books is stored in the opf file with the book itself so the calibre metadata file on it's own won't help.
Once you have made a backup on the second laptop then allow it to sync. Once the sync has completed copy the backuped library back overwriting all files in the dropbox folder. This will replace the "messed up" version with the version on the second laptop that is still has ok metadata. This should work based on what I see happening when I sync my Calibre library on my laptop with the backup version on an external drive. My internet is so slow there is no point using dropbox for Calibre. No matter what happens make the copy from the second laptop and verify that it is correct before doing anything. |
Advert | |
|
05-31-2016, 04:49 PM | #3 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
As jimbob101 said, if you know the copy on the second laptop is good then you can simply copy it and restore it after Dropbox does its thing.
But if not... well, the easiest and least-interactive thing in my opinion is to revert your entire Dropbox by a couple hours so the synced changes get undone. Dropbox Support may be able to do this for you, but I used the following python script: https://github.com/eli-schwartz/dropbox-restore ... A series change only affects the database, and the backup metadata.opf files, so the actual changes will be minimal. |
05-31-2016, 04:58 PM | #4 | |
Grand Sorcerer
Posts: 5,009
Karma: 18018738
Join Date: Nov 2009
Location: UK
Device: Kobo Forma, Libra2, Clara 2e, Kindle PW SE & Kindle 2022
|
Quote:
|
|
05-31-2016, 04:59 PM | #5 | |
Grand Sorcerer
Posts: 5,009
Karma: 18018738
Join Date: Nov 2009
Location: UK
Device: Kobo Forma, Libra2, Clara 2e, Kindle PW SE & Kindle 2022
|
Quote:
Last edited by Josieb1; 05-31-2016 at 05:02 PM. |
|
Advert | |
|
05-31-2016, 05:14 PM | #6 |
Grand Sorcerer
Posts: 5,009
Karma: 18018738
Join Date: Nov 2009
Location: UK
Device: Kobo Forma, Libra2, Clara 2e, Kindle PW SE & Kindle 2022
|
I just thought, my third PC that's connected to my Dropbox Calibre is a MAC could I use that devices Dropbox folder to overwrite the one actually in Dropbox? My other two PCs which have both synced up to Dropbox (and down) are Windows laptops. My MAC hasn't been switched on today at all.
|
05-31-2016, 05:32 PM | #7 | ||
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Quote:
It should be no different than overwriting the Dropbox folder on the Windows computer. |
||
05-31-2016, 06:06 PM | #8 |
Grand Sorcerer
Posts: 5,009
Karma: 18018738
Join Date: Nov 2009
Location: UK
Device: Kobo Forma, Libra2, Clara 2e, Kindle PW SE & Kindle 2022
|
Thank you . I'll take a look at my MAC and see what I've updated since the weekend. I am quite prolific with Claibre but it might only be a few books. I'll make sure my router is off before I turn it on first so it can't update
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Companion - metadata only query | Josieb1 | Calibre Companion | 9 | 11-12-2015 08:47 AM |
Metadata query | iain robinson | ePub | 4 | 08-08-2012 12:07 PM |
Query re: bugfix in Calibre 8.15 to Kindle "sidecar" files | GeekyGal | Calibre | 4 | 08-20-2011 02:36 AM |
metadata query | turbotoes | Calibre | 2 | 12-27-2010 06:19 AM |
Editing the date in metadata query | Cyclops | Calibre | 11 | 09-22-2010 11:58 AM |