Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-30-2009, 04:22 PM   #1
myle00
Connoisseur
myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.
 
myle00's Avatar
 
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
Is there an easy way of doing this or do I have to copy it within calibre?

Thanks,
Matt
myle00 is offline   Reply With Quote
Old 07-30-2009, 06:16 PM   #2
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: 44,559
Karma: 24495948
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
kovidgoyal is offline   Reply With Quote
Advert
Old 07-30-2009, 06:44 PM   #3
myle00
Connoisseur
myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.
 
myle00's Avatar
 
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!
myle00 is offline   Reply With Quote
Old 07-30-2009, 06:53 PM   #4
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: 44,559
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Basically, if it detects a library at the new location, it willuse it.
kovidgoyal is offline   Reply With Quote
Old 08-16-2011, 07:09 AM   #5
meandher57
Enthusiast
meandher57 began at the beginning.
 
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.
meandher57 is offline   Reply With Quote
Advert
Old 08-16-2011, 08:03 AM   #6
XisiX
Junior Member
XisiX began at the beginning.
 
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.
Attached Thumbnails
Click image for larger version

Name:	CalibreLibrary.png
Views:	1685
Size:	16.9 KB
ID:	75502  
XisiX is offline   Reply With Quote
Old 08-16-2011, 08:08 AM   #7
meandher57
Enthusiast
meandher57 began at the beginning.
 
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 08:10 AM.
meandher57 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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 02:34 AM
Calibre 0.7.13 - Change library bug ? zzmijarevic Calibre 9 08-08-2010 02:57 PM
Change the folder where News are sent Walkmancho Calibre 0 07-07-2010 02:22 AM
Saving Filenames in Calibre Library Folder junkyardwillie Calibre 2 01-07-2010 08:51 PM
How do I change the default folder? johnwhelan Calibre 2 08-07-2009 12:50 PM


All times are GMT -4. The time now is 12:36 PM.


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