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? Is there a way to dump ZODB instead of just copying the Data.fs file? Thanks, Chris
On Mon, 7 May 2001, Chris Gray wrote:
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? Is there a way to dump ZODB instead of just copying the Data.fs file?
I think it is possible just manage_exportObject: http://www.zope.org/Members/phd/remote-backup/ Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Thanks, Oleg, These scripts back up a single Zope object. If you back up the root folder this way, do you get the whole ZODB? Chris On Mon, 7 May 2001, Oleg Broytmann wrote:
On Mon, 7 May 2001, Chris Gray wrote:
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? Is there a way to dump ZODB instead of just copying the Data.fs file?
I think it is possible just manage_exportObject: http://www.zope.org/Members/phd/remote-backup/
Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
_______________________________________________ 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 )
On Mon, 7 May 2001, Chris Gray wrote:
These scripts back up a single Zope object. If you back up the root folder this way, do you get the whole ZODB?
Yes, but I heard that root of ZODB is a specail beast and people have problems importing root back into ZODB. Cannot confirm this - I really back up single object. Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
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...
participants (3)
-
cg@cdegroot.com -
Chris Gray -
Oleg Broytmann