Quote:
Originally Posted by crescere
In case something goes wrong with my computer I would like to backup both the author/book folders and the database.
|
A calibre Library is
A folder that contains author folders, the author folders contain book folders.
- The author folder names are the author names you enter - in 'purified ascii'
- The book folder names are the book titles you enter - in 'purified ascii'
- The book folders usually contain a cover image, a metadata.opf file, and one or more 'format' files, the format files are the ebook files themselves - eg .epub, .mobo, ,pdf etc.
And there is a file named metadata.db, this is the database I previously mentioned as being the heart and soul of calibre.
And there maybe a file called metadata_db_prefs_backup.json. Together with the metadata.opf files in book folders this provides the means via which the database can be rebuilt if something goes wrong - which is a very rare event.
You should backup the library folder in its entirety and restore it in its entirety. If you 'lose' an individual book then you have to import it back into the calibre via the Add process - which could be from a backup location.
If you already have backup/restore processes and tools in place for other data - eg documents, photos, software, source code etc - then you should probably just include the calibre libraries into those processes.
As I previously mention there's also the configuration data, which should also be backed up.
BR