|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2020
Device: none
|
Backing up the library structure and metadata only (without the book files)?
Is there an option to backup the library metadata database and the library structure (i.e. the folders), without backing up the whole library, i.e. the ebook files themselves? Specifically, backing up the folder structure, the metadata.db, metadata_db_prefs_backup.json, and the .opf files in each folder?
The reason for asking is this: Calibre manages the library by managing those metadata files aforementioned. The actual ebook files themselves (the .epub) are seldomly altered. The danger of a corrupted library lies in the database, not the ebook files. Meanwhile, backing up the whole library folder is quite heavy. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,354
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre has no backup facility at all. If you want to backup only the db using whatever backup tools you use, feel free, but note that anytime you change the title and author of any entry the file names and folder names will go out of sync with the database. SO only do this if you never intend to edit those two fields.
|
![]() |
![]() |
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Not if you use a file/folder sync tool to mirror the library, after the first backup it only backs up the changed files, plenty to choose from ==>> Comparison of file synchronization software - Wikipedia
FreeFileSync and rsync are popular amongst calibre users, SyncToy too. And a few of us use GoodSync, BR |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2020
Device: none
|
note that anytime you change the title and author of any entry the file names and folder names will go out of sync with the database. SO only do this if you never intend to edit those two fields.[/QUOTE]
That's a good point, and good know. Thanks. I've put the library in dropbox. (Yes I have read the sticky notes.) So far I've seen two books out of ~500 that have duplicates with "_(case conflict)" at the end of the file names. Upon manually deleting them things seem fine. Are there any other, more serious problems one should expect? |
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2020
Device: none
|
Quote:
Speaking of which, can I use git to backup calibre library? |
|
![]() |
![]() |
![]() |
#6 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2020
Device: none
|
Quote:
Just came to my mind, can I use git to back up calibre library? I can gitignore the ebook files - or not, since except the initial commit the updates are lightweight. |
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,354
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can use whatever you want to backup a calibre library, just be careful to backup everything in the folder, otherwise your backups will not be directly restorable.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2020
Device: none
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best way to copy original book files and their metadata to a new library | halloleo | Library Management | 8 | 04-16-2020 05:10 AM |
Sync only the library and metadata without actual ebook files to Calibra Companion? | markus98 | Calibre Companion | 3 | 03-09-2020 11:03 AM |
Metadata Change->Library Folder Structure? | CC-GoE | Library Management | 9 | 03-30-2014 04:05 PM |
eDGe Library files and backup structure | ken_jennings | enTourage eDGe | 9 | 07-08-2011 10:16 AM |
[old thread] filename and library structure /author and titel structure | tscamera | Library Management | 4 | 05-31-2011 05:44 PM |