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 08-30-2013, 05:13 PM   #1
benkay
Junior Member
benkay began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2012
Device: Kindle
keeping 2 calibre libraries in sync

Hi!

I'd like to keep a local and remote Calibre library in sync. My current approach is to watch the local library for changes, push changed files up to the remote server (including metadata.db), and then restart the server.

Issues:
- calibre-server doesn't have an explicit "restart" command, so I'm resorting to "sudo killall calibre-server && sudo calibre-server ..."
- when books are deleted in the local repository, I have to remove them manually from the remote library with 'calibredb remove...'.

Questions:
- is there a builtin restart command?
- how can I get true replication between libraries such that changes made to the local library through the GUI propagate to the remote library for serving via the Calibre server?

Thanks!
benkay is offline   Reply With Quote
Old 08-30-2013, 06:55 PM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
Check out this thread: https://www.mobileread.com/forums/sho...d.php?t=220950

There you can find a way to automatically shut down and restart the calibre server, when there is a need to update the books/database on the remote server.

There are plenty of sync tools to efficiently keep two directories synced. Just google "sync utility". I like rsync.
Adoby is offline   Reply With Quote
Advert
Old 09-03-2013, 04:22 PM   #3
benkay
Junior Member
benkay began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2012
Device: Kindle
Thanks, Adoby. I've got the sync handled, but the open-db issue was my blocker.
benkay is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keeping Calibre customizations in sync across multiple copies CuriousGrrl Calibre 6 05-12-2013 06:15 PM
Transfer Calibre Library to another PC keeping the Genre looki Conversion 3 11-19-2012 10:13 AM
Metadata sync between libraries cecdc7731 Library Management 4 07-19-2012 02:35 PM
Does keeping your books in Calibre use up memory mufc Calibre 3 05-17-2011 12:33 PM
Sync two calibre libraries esears Calibre 16 02-18-2010 07:39 PM


All times are GMT -4. The time now is 12:24 AM.


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