[Zope] backing up a running zodb fileStorage

J Cameron Cooper zope-l at jcameroncooper.com
Tue Jun 14 13:38:22 EDT 2005


gabor wrote:

> i am trying to backup a zodb filestorage of a running zope.
> i'm on linux.
> 
> i've read that you simply make a copy of the Data.fs file..
> 
> but what about the modifications/transactions that are happening when i 
> make the copy.
> 
> will not the database be in a corrupt state then?

The ZODB will discard any incomplete transactions on startup. Copying a 
live ZODB is generally to be considered safe. Which is not to say there 
aren't better ways, as previously mentioned.

		--jcc

-- 
"Building Websites with Plone"
http://plonebook.packtpub.com/


More information about the Zope mailing list