![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() Posts: 71
Karma: 422
Join Date: Jun 2009
Device: Palm Treo
|
Moving library folder outside calibre - than change within.
I had a question about moving my library folder. My books currently add up to >70 gb and since I have finally gotten a extra hard drive I decided to move my library to the new drive. I tried to do it once within calibre - just point it to the new folder and let calibre copy. However, after running for 1.5 days it slowed down to a trickle at 83%. Unfortunately, the stupid Windows decided in the middle of the night that I needed an update so it installed an update and automatically restarted my computer losing all the work from calibre.
So I decided to copy the library folder by myself - which took only 2 hours - and than in calibre change it so that it points to the new folder. From the forms I found that --migrate might work, but here is what happened when I tried pointing it to the copied folder. Code:
C:\Users\xxxxxx>calibre-debug.exe --migrate "C:\Users\xxxxxxxx\D esktop\Books\metadata.db" "D:\Books\" Upgrading database from version: 7 Traceback (most recent call last): File "debug.py", line 178, in <module> File "debug.py", line 165, in main File "debug.py", line 83, in migrate File "calibre\library\database.pyo", line 808, in __init__ File "calibre\library\database.pyo", line 735, in upgrade_version7 sqlite3.OperationalError: no such trigger: fkc_delete_books_series_link Thanks, Matt |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,128
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
just go to the preferences and change the path to point to the new location.
or launch calibre as calibre --with-library \path\to\new\folder --migrate is meant for migrating old style calibre databases to new ones |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() Posts: 71
Karma: 422
Join Date: Jun 2009
Device: Palm Treo
|
Thanks, I didn't know that if it was already copied, calibre won't copy the library!
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,128
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Basically, if it detects a library at the new location, it willuse it.
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: May 2011
Device: kobo
|
Moving Calibre Library
I KNEW there had to be a way to do this...I am also moving my Calibre file to an external hard drive... but I don't see where in Preferences is the option to change the target storage file. I am probably missing something obvious, but would appreciate a gentle nudge in the right direction.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2011
Location: BiH
Device: Kindle 3 WiFi
|
You're right, it IS so obvious that it might have been overlooked sometimes.
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: May 2011
Device: kobo
|
So.... copy the library over to the new drive.... then choose THAT library to work with?
And presumably I could safely delete the current library? Oh, nevermind... I see the options that are available now. Thanks for the nudge! Last edited by meandher57; 08-16-2011 at 07:10 AM. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can a library folder be operated on by two sessions of calibre? | gkbeer | Calibre | 9 | 09-13-2010 01:34 AM |
Calibre 0.7.13 - Change library bug ? | zzmijarevic | Calibre | 9 | 08-08-2010 01:57 PM |
Change the folder where News are sent | Walkmancho | Calibre | 0 | 07-07-2010 01:22 AM |
Saving Filenames in Calibre Library Folder | junkyardwillie | Calibre | 2 | 01-07-2010 07:51 PM |
How do I change the default folder? | johnwhelan | Calibre | 2 | 08-07-2009 11:50 AM |