Is there any facility in Zope for doing a hot backup, without shuting down zope, taking a backup copy of var -- can this result in inconsistencies in the internal DB, or does it use something mystical to prevent corruption? If not, what other options exist for this? Thanks Patrick
Patrick, as the Data.fs file is always appended to (as opposed to being overwritten in places), I think you should be OK backing it up on the fly. "Patrick J.M. Keane" wrote:
Is there any facility in Zope for doing a hot backup, without shuting down zope, taking a backup copy of var -- can this result in inconsistencies in the internal DB, or does it use something mystical to prevent corruption? If not, what other options exist for this?
Thanks Patrick
_______________________________________________ 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 )
Is there any facility in Zope for doing a hot backup, without shuting down zope, taking a backup copy of var -- can this result in inconsistencies in the internal DB, or does it use something mystical to prevent corruption? If not, what other options exist for this?
AFAICS Zope does a sync() everytime after an object write, so you should be safe by just copying the Data.fs file while it's running. YMMV :) -Petru
participants (3)
-
Chris McDonough -
Patrick J.M. Keane -
Petru Paler