[Zope] Data.fs backup

J Cameron Cooper jccooper at jcameroncooper.com
Tue Oct 14 12:20:01 EDT 2003


>The URL pointed to by Paolo seems to assume that Zope is running on
>UNIX/Linux.  Are there any recommended practices for backing up Zope for
>those of us stuck on Win2K?
>
>I currently have a VBScript that stops the Zope service, zips up my
>INSTANCE_HOME, and then restarts the service.  Is this method a
>sufficient backup procedure?
>  
>
The Zope Book chapter provides a script for packing the database 
automatically for Unix systems. Its advice on backing up the ZODB is 
OS-independant. (It does warn that tar won't work.)

All you need to do to back up the ZODB in its usual FileStorage form is 
to copy it. You do not need to stop Zope: if you get caught in the 
middle of a transaction Zope will truncate it automatically on restart. 
DirectoryStorage doesn't work like this, but it has its own snapshotting 
tools.

          --jcc




More information about the Zope mailing list