Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-06-2016, 07:42 AM   #1
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
Moved library but not all columns

My laptop had a hard drive failure a couple of weeks ago, so I had to get a new hard drive, meaning everything was lost. Luckily my calibre library was in a cloud, so it is still there. I downloaded calibre onto my fixed laptop and it worked, but not all the custom columns have come with it - only about half have. Is there anything I can do to get all my columns back? I used them a lot and spent ages categorising ebooks.

Thanks!
scarlettruin is offline   Reply With Quote
Old 10-06-2016, 11:13 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Custom Columns are part of metadata.db

So the Big question:
How did you 'recover'?

If you re-imported (via Add books), you got what you saw (and there is a good chance you stomped upon the files that could have helped )

metadata_db_prefs_backup (in the root of the library) helps restore the structure <<
metadata.opf in each book folder helps Populate that structure
Any change to the data or structure causes a background job to keep the metadata.opf current
theducks is offline   Reply With Quote
Advert
Old 10-06-2016, 11:17 AM   #3
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
Quote:
Originally Posted by theducks View Post
Custom Columns are part of metadata.db

So the Big question:
How did you 'recover'?

If you re-imported (via Add books), you got what you saw (and there is a good chance you stomped upon the files that could have helped )

metadata_db_prefs_backup (in the root of the library) helps restore the structure <<
metadata.opf in each book folder helps Populate that structure
Any change to the data or structure causes a background job to keep the metadata.opf current
Thank you for the reply

I didn't do it via 'add books'. I went to 'create a new library' and used the url of the old library on my dropbox,
scarlettruin is offline   Reply With Quote
Old 10-06-2016, 11:31 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by scarlettruin View Post
Thank you for the reply

I didn't do it via 'add books'. I went to 'create a new library' and used the url of the old library on my dropbox,
Sorry, I don't do 'cloud', so I can't answer if you did it OK
(BTW Cloud/NAS/Network share is not officially supported per the FAQ. Some work, others are a ticking time bomb, at least 1 is a disaster)

I just copy the Library Folder to my PC. Then point Calibre to that folder (AKA Library name)
theducks is offline   Reply With Quote
Old 10-06-2016, 02:11 PM   #5
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
Quote:
Originally Posted by theducks View Post
Sorry, I don't do 'cloud', so I can't answer if you did it OK
(BTW Cloud/NAS/Network share is not officially supported per the FAQ. Some work, others are a ticking time bomb, at least 1 is a disaster)

I just copy the Library Folder to my PC. Then point Calibre to that folder (AKA Library name)
Okay - the metadata.db files are still there - how do I use them? Do I just click on the file or do I have to do it through the calibre programme some how?
scarlettruin is offline   Reply With Quote
Advert
Old 10-06-2016, 03:08 PM   #6
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
I've just looked and the calibre library is how it was in April 2015 - anyone know why this might be and how to fix it please?
scarlettruin is offline   Reply With Quote
Old 10-06-2016, 03:34 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by scarlettruin View Post
Okay - the metadata.db files are still there - how do I use them? Do I just click on the file or do I have to do it through the calibre programme some how?
Just o be clear: That metadata.db is NOT the (has date before your new library) one being used by your current Library

Everything makes up the set; You can't mix pieces.

Why not create a new empty folder on your PC. (the folder name will be for the New Library)
Then just copy the entire dropbox folder that contains that Metadata.db to that folder. Then start Calibre. Create/Switch: use existing:<the new folder>

If success, keep it
If just as bad delete the new one
theducks is offline   Reply With Quote
Old 10-06-2016, 05:44 PM   #8
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: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@scarlettruin - if the modified date on the metadata.db file at Dropbox is April 2015, that suggests to me that it's a backup of your library as at that date. If you've subsequently added columns, changed metadata, and added books then they won't be there.

It's probably too late now, but, if you want to maintain an up-to-date backup at Dropbox, I would recommend you periodically (e.g. daily or at least weekly) update the backup (with calibre closed) with changes you've made to your live library using a file synchronising utility, once you have an created an initial copy there it wont take long to update it - typically a few minutes. And do the same with the configuration data, then you won't lose your settings, plugins etc.

Some people do maintain there live libraries on Dropbox, but as theducks pointed out it's not supported and fraught with dangers. It's my observation that the people who do keep there live libraries in the cloud tend to very computer literate.

BR

Last edited by BetterRed; 10-06-2016 at 10:31 PM.
BetterRed is offline   Reply With Quote
Old 10-06-2016, 07:56 PM   #9
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by scarlettruin View Post
Thank you for the reply

I didn't do it via 'add books'. I went to 'create a new library' and used the url of the old library on my dropbox,
Very bad !

NEVER actually use a "backup" for anything except to create another backup. Since the "cloud" was your only backup you should have made a local copy of that on you fixed machine before ever attempting to actually use either, and only one of, the local copy or the "cloud".

Before you attempt any further recovery, make a backup of the current state of the cloud to give you some ability to return to this state if the recovery attempts make things worse. As you fix things, make new independent backups periodically. You don't want to get 90% back to your desired state and then have the next "fix" step destroy everything.
dwig is offline   Reply With Quote
Old 10-07-2016, 03:38 AM   #10
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
Okay - I'll go with that in future. I've got a USB to sata adapter coming today, so hopefully I can recover my old info off my old hard drive.
scarlettruin is offline   Reply With Quote
Old 10-07-2016, 03:58 PM   #11
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
Thank you all for your help! I used the adapter and managed to retrieve all my info from my old damaged drive, but I'm grateful for all of your comments and patience with me - I know I'm not exactly tech-savvy!
scarlettruin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Library Closed Plugin] Save Composite Custom Columns chaley Plugins 22 04-11-2020 07:09 AM
Moved to New Computer - Library issues. Rkelvey Devices 3 07-20-2016 11:09 AM
Different columns depending on Virtual Library cryzed Library Management 4 05-26-2014 03:46 PM
Library columns msandsm Library Management 1 07-27-2013 06:39 PM
I moved my library and calibre now can't display the content Ea Calibre 4 10-31-2009 12:18 PM


All times are GMT -4. The time now is 07:52 AM.


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