Mobileread
Transfer my Calibre settings to new computer
#1  booklover81 05-31-2012, 04:04 AM
I've spent a LOT of time tweaking and configuring my Calibre Library on my desktop. I have all my books on an external. How do I transfer my Calibre settings.. IE: plugins settings, custom columns, etc. to a different computer? I'm going to need to put it on a netbook because I'll be traveling for 2 months. Any way I can do this without a ton of trouble?

Thanks
Reply 

#2  kacir 05-31-2012, 05:25 AM
Quote booklover81
I've spent a LOT of time tweaking and configuring my Calibre Library on my desktop. I have all my books on an external. How do I transfer my Calibre settings.. IE: plugins settings, custom columns, etc. to a different computer? I'm going to need to put it on a netbook because I'll be traveling for 2 months. Any way I can do this without a ton of trouble?
If you just transfer library folder, it will retain all your custom folders and other stuff.

As for plugins, I personally usually install then anew, but there has to be way to copy configuration file. I would put an unique word, like "popokatepetl" somewhere into configuration option and then search computer for a file that is less than 24 hours old, smaller than 1MB and containing word "popokatepetl".
Reply 

#3  kovidgoyal 05-31-2012, 05:33 AM
Preferences->Miscellaneous->Open configuration directory

Note that copying configurations like this is not officially supported, but if you're lucky, it will just work.
Reply 

#4  kiwidude 05-31-2012, 05:46 AM
I think you will find plugins need to be reinstalled unless the path for your calibre configuration directory Kovid mentioned above is *exactly* the same on both machines. Because inside one of calibre's configuration files (customize.py) it stores hard-coded full paths to "installed" plugins.

If your directories are different, you can still try Kovids suggestion. From a plugin perspective, at a minimum still copy across the plugins subfolder into your new configuration directory, then reinstall the plugins. The plugins store their configuration data in .json files in that plugins subfolder so it would allow you to keep your existing plugin settings for most of them.

There is the odd exception like the "Generate Cover" plugin which also stores full paths to the images, so you would need to copy those images across and modify the paths inside the plugins/Generate Cover.json file. I should really change that plugin so it stores paths relative to the calibre configuration folder which would make it more "transportable". As a workaround you can use the ability to export your cover settings, install the plugin on your new machine and then import those cover settings.
Reply 

#5  kovidgoyal 05-31-2012, 05:57 AM
@kiwidude: Although customize.py does store absolute paths, IIRC they are not actually used. The plugin loading code constructs the path to the plugin from the plugin name. Only if the constructed name fails is the absolute path used.
Reply 

#6  kiwidude 05-31-2012, 06:20 AM
Ahhh, that is good to know, thanks. That just leaves the onus on me to sort out my plugins with any hard-coded paths then
Reply 

#7  booklover81 06-28-2012, 04:23 PM
Quote kovidgoyal
Preferences->Miscellaneous->Open configuration directory

Note that copying configurations like this is not officially supported, but if you're lucky, it will just work.
Just wanted to say THANK YOU!! This is what I did and it worked . All I needed it for was for the Reading list and Goodreads sync plugins! I put the same info from my desktop to my netbook and then I was looking today because I need to transfer the info from the netbook to my moms desktop and I had forgotten how.
Reply 

#8  berend 05-31-2020, 01:27 PM
Quote kovidgoyal
Preferences->Miscellaneous->Open configuration directory

Note that copying configurations like this is not officially supported, but if you're lucky, it will just work.
Still works like a charm in 2020. I just transferred Calibre from my 6-years-old PC to my brand new one, including all preferences and plugins, in under 10 minutes
Reply 

Today's Posts | Search this Thread | Login | Register