08-21-2012, 03:34 PM | #1 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2012
Device: nook simple touch
|
Rsync failure, Database repair, missing books
I use an rsync job to keep my laptop and home machine in sync. I think I probably had a network failure while syncing and now I see that my calibre library is missing some books.
I performed a database restore and had lots of warnings like this: Quote:
Thanks, Alan |
|
08-21-2012, 11:49 PM | #2 |
creator of calibre
Posts: 44,377
Karma: 23764838
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You've got a mixture of different books with the same db id in your library folder. There's no way to restore them automatically,. You will have to move them from the library folder and re-add them by hand. You can use the recursive adding options to add them in bulk.
|
Advert | |
|
08-24-2012, 04:42 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2012
Device: nook simple touch
|
This is an interesting problem. It seems like it would be pretty messy if I copied the Calibre_Library folder and imported it again. Hopefully we would not import the duplicates but since the import no longer has the metadata, I'm expecting lots of duplicates with poor matching.
What would happen on a database restore if I had first edited all the metadata.opf files to have unique values here: <dc:identifier opf:scheme="calibre" id="calibre_id">2663</dc:identifier> Is this the only place in the metadata where a database id would collide? Thanks, Alan |
08-24-2012, 04:47 AM | #4 |
creator of calibre
Posts: 44,377
Karma: 23764838
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The import will read the metadata from the opf files. You can of course edit the ids by hand and then run a restore, but that's much more work.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Database Failure | RichardGH | Library Management | 9 | 07-25-2012 05:59 AM |
Serious firmware or database failure in Kobo Wireless - help! | tigeraid | Kobo Reader | 5 | 09-27-2011 10:13 PM |
Database repair? or what? | emphasis | Calibre | 30 | 11-02-2010 03:00 AM |
Repair Database metadata.db | icq70610 | Calibre | 1 | 09-21-2010 02:35 AM |
rsync | thetechnobear | iRex | 1 | 03-05-2008 01:57 PM |