Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-29-2015, 03:24 PM   #1
Kraftwerk
Zealot
Kraftwerk began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Oct 2011
Location: UK
Device: Paperwhite 2
Help - Library is suddenly empty

Version 2.33 64bit (was about to update to 2.45 until I found the library empty!)

Is there anything I can do to get the library back?

How can it suddenly be empty?
The folder is empty except for: 'metadata.db' and 'metadata_db_prefs_backup.json'.

I have my books saved on an external harddrive, but before I start adding the books back to the library is there anything I should do to fix corruption etc. before I add the books back to the library, or is there something I can do that might return the books?

Thanks

Last edited by Kraftwerk; 11-29-2015 at 03:38 PM.
Kraftwerk is offline   Reply With Quote
Old 11-29-2015, 03:34 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
http://manual.calibre-ebook.com/faq....libre-is-blank
eschwartz is offline   Reply With Quote
Advert
Old 11-29-2015, 05:01 PM   #3
Kraftwerk
Zealot
Kraftwerk began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Oct 2011
Location: UK
Device: Paperwhite 2
Quote:
Originally Posted by eschwartz View Post
I clicked on 'restore database', but it's still blank.
Looks like all the books have been deleted?
Kraftwerk is offline   Reply With Quote
Old 11-29-2015, 05:58 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,642
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Kraftwerk - I think this could happen if you did a Ctrl+A on the book list to select all books, and then you inadvertently hit the Delete key - and you either ignored this warning

Click image for larger version

Name:	Capture.JPG
Views:	682
Size:	22.2 KB
ID:	144177

Or on a previous occasion you have unchecked "Show this warning again".

BR
BetterRed is online now   Reply With Quote
Old 11-30-2015, 11:26 AM   #5
Kraftwerk
Zealot
Kraftwerk began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Oct 2011
Location: UK
Device: Paperwhite 2
Quote:
Originally Posted by BetterRed View Post
@Kraftwerk - I think this could happen if you did a Ctrl+A on the book list to select all books, and then you inadvertently hit the Delete key - and you either ignored this warning

Attachment 144177

Or on a previous occasion you have unchecked "Show this warning again".

BR
I can't remember doing that, but you never know.

I've transferred all books back into the library folder (which were saved on an external hard drive), so everything is back to normal now.
Kraftwerk is offline   Reply With Quote
Advert
Old 11-30-2015, 02:34 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,642
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Kraftwerk View Post
I can't remember doing that, but you never know.

I've transferred all books back into the library folder (which were saved on an external hard drive), so everything is back to normal now.
@Kraftwerk - you can click a button in Preferences->Behaviour to reset the 'are you sure' messages.

Glad you got your library back - demonstrates the value of taking regular backups.

BR
BetterRed is online now   Reply With Quote
Old 12-01-2015, 04:01 PM   #7
Kraftwerk
Zealot
Kraftwerk began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Oct 2011
Location: UK
Device: Paperwhite 2
Quote:
Originally Posted by BetterRed View Post
@Kraftwerk - you can click a button in Preferences->Behaviour to reset the 'are you sure' messages.

Glad you got your library back - demonstrates the value of taking regular backups.

BR
I've reset the 'messages'.

One other question:

What information is kept in 'metadata_db_prefs_backup.json'?
Is it the information for plugins, because if it is, I can stop saving the 'calibre configuration directory'?
Kraftwerk is offline   Reply With Quote
Old 12-01-2015, 04:14 PM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
No, plugins store their configuration in the calibre configuration directory.

"metadata_db_prefs_backup.json" contains library-specific information -- basically, anything that is stored in the metadata.db

This includes custom column configuration, which columns are shown/hidden/ordered, saved searches/virtual libraries, etc.

Some plugins store extra info in the database, for example, the OverDrive Link plugin stores the "Discovered Books" in the database.

Last edited by eschwartz; 12-01-2015 at 04:18 PM.
eschwartz is offline   Reply With Quote
Old 12-01-2015, 04:30 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,642
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Kraftwerk View Post
I've reset the 'messages'.

One other question:

What information is kept in 'metadata_db_prefs_backup.json'?
Is it the information for plugins, because if it is, I can stop saving the 'calibre configuration directory'?
@Kraftwerk - that file contains a copy of the settings/preferences/customisations which are library specific, the values that are actually used are stored in the library database itself. It is only used by the Library Maintenance->Restore Database function; as are the metadata.opf files in the book folders.

The 'calibre configuration directory' contains global settings/preferences/customisations. It also has plugins themselves, some plugins store settings there (Count Pages), some plugins store settings there and in the database (Reading List) and others only in the database (View Manager).

So my advice is - backup library directories and calibre's configuration directory - preferably at the same time, and as often as possible. I do incremental backups of both (along with everything else) on a daily basis.

BR

Last edited by BetterRed; 12-01-2015 at 04:39 PM.
BetterRed is online now   Reply With Quote
Old 12-03-2015, 01:50 PM   #10
Kraftwerk
Zealot
Kraftwerk began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Oct 2011
Location: UK
Device: Paperwhite 2
Thanks to the above two replies.
Very helpful.
Kraftwerk is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Library is empty leefa Library Management 1 08-10-2014 01:29 PM
Touch battery suddenly empty ? Goner Kobo Reader 4 07-17-2013 05:35 AM
Glo Your library is empty veloopity Kobo Reader 7 05-12-2013 06:18 AM
PRS-505 Library books suddenly not working? Lirael Sony Reader 2 05-19-2011 11:52 AM
505 Reader, Library behaviour suddenly changed. dstampe Sony Reader 4 02-21-2008 02:22 AM


All times are GMT -4. The time now is 09:09 PM.


MobileRead.com is a privately owned, operated and funded community.