[Zope] - Upgrading...

Amos Latteier amos@aracnet.com
Fri, 18 Dec 1998 09:24:48 -0800


At 05:22 PM 12/18/98 +0100, Magnus Lie Hetland wrote:
>
>How do you upgrade zope without affecting your current database? Just copy
>it into the new var-directory?

In general you should be able to copy a Zope database to a new installation
by copying all the var/Data.* files. You shouldn't copy any of those
var/pcgi.* files over. Whenever you handle var files you should be aware of
permission issues.

The rule is that the userid that Zope runs as needs to have read & write
permissions to the var directory and all files in it.

Another way to upgrade a site is to simply install it over the old site. I
believe that this should not overwrite the var/Data.* files. But I'm not
totally sure of this, so I would *highly* recommend backing up your
var/Data.* files first.

-Amos