[Zope] - What is the proper way to migrate a Zope Server?

Brian Lloyd Brian@digicool.com
Tue, 19 Jan 1999 09:38:34 -0500


> I'm trying to move my win32 ZHTTPServer Implementation of Zope to a 
> new machine and directory.
> 
> Moving from E:\Program Files\ZopeOne to another machine in 
> D:\ZopeOne
> 
> I copied the ZopeOne directory tree, changed the start.bat 
> and serve.py 
> file.
> 
> The manage interface works, but when I try to view my 
> index_html files, 
> I'm getting an error (traceback below).
> 
> Note the incorrect paths in the traceback (referring to 
> E:\Program files) I 
> uses find from the manage interface to search for E:, can't 
> find it. I 
> grep'd my files, can't find it.
> 
> Note that I did NOT run the Zope installation script on the target 
> machine, is that the problem?

Probably -- the way to move a win32 installation is to:

  o install a new Zope instance on the new machine

  o install any add on products (Z database adapters, etc.) that
    existed in your old instance into your new instance.

  o shutdown the Zope instance on the old machine

  o copy the contents of your var/ directory from the
    old instance to the new one.

  o if you have an Extensions/ directory in your old instance,
    copy it and all its contents to the new instance.

  o crank up the new instance on the new machine.




Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com