Have a look at the excellent Client_Server product. It allows you to export chunks of objects from one to another. http://www.zope.org/Members/MacGregor/Client_Server Then: - write a script that each evening - gets a list of every object in the data.fs and its bobobase_modification_time - runs export on each of those objects from A - B. -- Andy McKay, Developer. ActiveState. ----- Original Message ----- From: "Bowyer, Alex" <BowyerA@logica.com> To: <zope@zope.org> Sent: Monday, November 13, 2000 4:00 PM Subject: [Zope] How to maintain an up-to-date mirror site in Zope? (not-so-newbie question!) question!)
Here is the situation, can you offer advice?
Machine A is running a Zope server for a wide-area network in Company A. This is an Intranet site which changes regularly. Machine B serves a separate wide-area network in Company B, and Company B employees need access to Company A's intranet. The link between Machine A and Machine B is too slow/low-bandwidth for all of company B's employees to access A's intranet directly. Therefore we want to have a Zope server on Machine B with a mirror copy of the Company A intranet. The problem is, how can we keep this mirror copy updated on a daily basis?
Ideally we need an automatic process to run each night and update the mirror on B.
The ideas I had were :
1) stop B's Zope server, copy across data.fs and restart B. But can this be done automatically?
2) somehow keep a log of changes made in A, and at the end of day, export the changed files, import them on B, overwriting the originals. Can this be done in Zope code? Can this be automated?
Does anyone have any thoughts/opinions on these ideas? Or does anyone know of a better way, perhaps an existing Zope package or solution?
Thanks again,
Alex
================================== Alex Bowyer IT Contractor, Logica Australasia Tel : +61 2 9202 8130 Fax : +61 2 9922 7466 E-mail : bowyera@logica.com WWW : http://www.logica.com.au/ ==================================
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )