[Zope] Backing up ZODB

Cees de Groot cg@cdegroot.com
8 May 2001 08:52:50 +0200


Chris Gray <cpgray@library.uwaterloo.ca> said:
>Are there any gotchas in backing up a _live_ instance of Zope by archiving
>Data.fs?  Will caching, ZEO, or something else make this hazardous or
>unreliable?  

I'm not a ZODB guru, but from what I've seen the thing is append-only, so the
worst thing that can happen is that you have half a transaction at the end,
which is easy to fix on repair. 

>Is there a way to dump ZODB instead of just copying the
>Data.fs file?
>
Well, you could use tranalyzer.py as input for such a script...