View Single Post
Old 09-13-2018, 06:19 AM   #1161
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Quote:
Originally Posted by Rellwood View Post
I have two ideas:
2. Library backup
...
It copies the metadata.db file into a separate folder every time a library is accessed, so whatever damage that has been done in that one session can be reset closer to time than a computer restore point and much quicker. Sure you need to do a vacuumed and check and remove any books you added in that session, but it’s still better than doing an entire library reset which takes longer, and may or may not even be available. If a user realizes they screwed up and need to go back they close the library, copy the saved metadata.db over to the library to be restored, start Calibre back up, and it’s
This is a really bad idea and the master footprint of every disaster in a database system. Exactly this takes care of a not in sync and inconsistent library. There is already a (better and 100% save) build in solution. It is called Restore database (pls. see https://manual.calibre-ebook.com/gui.html#library).

+1 @BR
Divingduck is offline   Reply With Quote