[Zope] How to maintain an up-to-date mirror site in Zope? (not-so-newbie
question!)
question!)
Bowyer, Alex
BowyerA@logica.com
Tue, 14 Nov 2000 11:00:29 +1100
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/
==================================