Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 12-08-2011, 09:37 AM   #1
jamng
Member
jamng began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2008
Device: none
Remote Calibre Backup?

Hello,

I'm not sure if this is supported or not and what the behavior should be.

I have 2 PCs (both runnings Windows 7). One machine is at home that I normally use and add/update the catalog, etc. One machine is at work. They are both sharing files.

I am running Syncback to mirror the Calibre directories. I have it scheduled to run every 3 days.

1 - If Calibre is running on both machines will this work? Do I need to shutdown calibre on the backup machine since I'm writing changes, etc to that drive?

2 - If Calibre does NOT need to be shutdown and that sort of backup should work. Do I need to reload/restart Calibre to read the changes or does Calibre know its been changed and will reread it?

Thanks in advance!

Last edited by jamng; 12-08-2011 at 09:46 AM.
jamng is offline   Reply With Quote
Old 12-08-2011, 01:56 PM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,071
Karma: 777825
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Calibre assumes it has exclusive access to its database (at least until the database layer rewrite completes) and caches a lot of datga in memory to avoid unnecessary database re-reads. It will therefore get upset if an update is made outside its control when it is running.

I am not sure how the setup you describe is working as you imply that you have two different instances of Calibre running at the same time making changes to the database. This is not a supported configuration and would lead to changes getting lost. However, maybe I have mistunderstood what you ar actually doing?
itimpi is offline   Reply With Quote
 
Enthusiast
Old 12-08-2011, 05:26 PM   #3
jamng
Member
jamng began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2008
Device: none
One instance on PC #1 and one instance on PC #2.

PC #1 is at home and is sharing files. Calibre is ALWAYS running on this machine.
PC #2 is at work (and really a remote backup of sorts) and is sharing files. I usually remember to shut it down though and fire it up only when necessary.

I edit ONLY on PC #1.

I copy ALL of the files from PC #1 to PC #2 using SyncBack.

PC #2 usually has Calibre shutdown when I'm backing up from PC #1 to PC #2 but I might forget and leave it running so I'm trying to figure out if that would even work. If it should work then I should be able to just leave Calibre running all the time at work as well.

ETA: Would/should this work which is similar I think. PC #1 is running Calibre. I backup the Calibre directory to an external HD while it is running. I take it to PC #2 and while Calibre is running on PC #2 I copy all of the contents off that external HD onto PC #2. What would happen on PC #2? Would it blow up?

Last edited by jamng; 12-08-2011 at 05:38 PM.
jamng is offline   Reply With Quote
Old 12-09-2011, 08:50 AM   #4
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 150
Karma: 10001
Join Date: Feb 2011
Device: sony
Quote:
Originally Posted by jamng View Post
One instance on PC #1 and one instance on PC #2.

PC #1 is at home and is sharing files. Calibre is ALWAYS running on this machine.
PC #2 is at work (and really a remote backup of sorts) and is sharing files. I usually remember to shut it down though and fire it up only when necessary.

I edit ONLY on PC #1.

By sharing files do you mean running the calibre content server?

Then don't run calibre on PC#2, run calibre-server from the command line.

Calibre-server uses read-only access to the database and is pretty tolerant of changes to the database.
capnm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Several questions regarding Calibre Backup inkyichi Related Tools 4 08-01-2011 04:41 PM
[Old Thread] Calibre Backup and Restore Timber Calibre 21 06-01-2011 07:31 PM
Backup for Calibre dee1952 Related Tools 14 02-10-2011 09:56 AM
What kind of backup policy does/can calibre have rollercoaster Calibre 9 04-09-2010 12:25 AM
Calibre kills remote NX session... Egnaled Knarf Calibre 2 01-28-2010 05:51 PM


All times are GMT -4. The time now is 05:03 AM.


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