Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 11:26 AM   #1
lucask
Junior Member
lucask began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2017
Location: Uganda
Device: none
recovering a very large Calibre library after system crash

I’m running Calibre 8.4 on Linux and have a very large library I’ve been maintaining for over a decade (around 19k files, ~180 GB). My laptop recently crashed and my only option now is to reinstall the OS.

Using a live USB, I was able to launch Calibre and use the Export Library tool to back up the library in multiple .calibre-data parts, which I’m currently uploading to Dropbox. Before I wipe the drive, I’d like some guidance:

- If in my new Calibre install the import fails for some reason, can I manually recover the old directory structure from all the .calibre-data files?
- Is there a reliable way to verify that the Dropbox uploads are complete and uncorrupted?
- ISince I don’t have access to another machine to test the restore, is there any way to confirm in advance that the exported parts will restore correctly?

More broadly, what would you do in my position?
lucask is offline   Reply With Quote
Old Today, 11:34 AM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,713
Karma: 80104526
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Rather than using calibre export, seeing that you have access to the files right now, why not simply copy the entire calibre library directory tree to another USB device, along with the calibre preferences (located in .config/calibre and all its sub directories); then it's simply a matter of reinstalling calibre, restoring it's preferences and library, and then starting calibre.
PeterT is offline   Reply With Quote
Old Today, 11:35 AM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,921
Karma: 150249631
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by lucask View Post
I’m running Calibre 8.4 on Linux and have a very large library I’ve been maintaining for over a decade (around 19k files, ~180 GB). My laptop recently crashed and my only option now is to reinstall the OS.

Using a live USB, I was able to launch Calibre and use the Export Library tool to back up the library in multiple .calibre-data parts, which I’m currently uploading to Dropbox. Before I wipe the drive, I’d like some guidance:

- If in my new Calibre install the import fails for some reason, can I manually recover the old directory structure from all the .calibre-data files?
- Is there a reliable way to verify that the Dropbox uploads are complete and uncorrupted?
- ISince I don’t have access to another machine to test the restore, is there any way to confirm in advance that the exported parts will restore correctly?

More broadly, what would you do in my position?
Don't rely on Dropbox as your only backup. And don't rely on an export as your only backup. I've read of some people having problems importing an export. Your best solution would be to get a USB stick or external hard drive of large enough size and backup your entire drive. In most cases, when you install the OS, you don't have to wipe the drive as long as the drive is OK. So you'd have a full backup and maybe no need to restore the backup.
JSWolf is offline   Reply With Quote
Old Today, 12:20 PM   #4
lucask
Junior Member
lucask began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2017
Location: Uganda
Device: none
Quote:
Originally Posted by PeterT View Post
Rather than using calibre export, seeing that you have access to the files right now, why not simply copy the entire calibre library directory tree to another USB device, along with the calibre preferences (located in .config/calibre and all its sub directories); then it's simply a matter of reinstalling calibre, restoring it's preferences and library, and then starting calibre.
I don't have a large enough external hard drive at hand, and I can't afford to take this into the shop. I'm really worried I might only get partial backups randomly scattered if I try copying the whole folder as you suggest. I've got the checksums of all the calibre parts, wouldn't that be less risky? I can then try downloading a couple of parts and seeing whether they match.
lucask is offline   Reply With Quote
Old Today, 12:47 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,713
Karma: 80104526
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
So upload the directories directly to DropBox.

I don't believe there is any way to manually recover files from the calibe export parts.
PeterT is offline   Reply With Quote
Old Today, 12:54 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,629
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Upload the calibre library folder to dropbox as well. The calibre export is of the same size approximately so if you can upload one you can upload the other. Or if for some reason you dont want to do that, use your live usb to restore the exported parts as a test.
kovidgoyal is offline   Reply With Quote
Old Today, 01:52 PM   #7
lucask
Junior Member
lucask began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2017
Location: Uganda
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Upload the calibre library folder to dropbox as well. The calibre export is of the same size approximately so if you can upload one you can upload the other. Or if for some reason you dont want to do that, use your live usb to restore the exported parts as a test.
Thanks for replying. The advantage I see with the export is that I can make sure all of the parts are there, and I can test random parts with a checksum to be quite certain what I have in my backup is exactly what I have locally. I can't install the dropbox client locally, and can't upload the whole folder in one go so instead I have to drag all the subfolders into the browser in batches. If I skip something or make a mistake I would have no way of telling.

Is it possible to download just a few parts and then attempt an import?
lucask is offline   Reply With Quote
Old Today, 01:59 PM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,713
Karma: 80104526
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I could be snarky here and suggest that you just restore your Calibre library and configuration from the backups you make on a regular basis of your important data.

You DO have backups of your important 180 Gb / 19k eBook library, right??
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovering library after a HD crash Mister Underhill Library Management 11 09-19-2024 12:35 PM
Recovering the Calibre library on a lost partition fetito666 Library Management 3 01-17-2021 11:02 PM
Calibre makes my whole system freeze/crash scarlettruin Calibre 2 10-30-2018 08:31 PM
Recovering Calibre Windows 64 after disk crash tytrate Library Management 1 02-03-2016 09:05 PM
Calibre 1.0 Causing System to Crash seacity1 Calibre 0 08-26-2013 12:53 PM


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


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