Re: [Zope] backing up a running zodb fileStorage

2005-06-14 Thread J Cameron Cooper

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/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] backing up a running zodb fileStorage

2005-06-10 Thread gabor

hi,

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?

gabor
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] backing up a running zodb fileStorage

2005-06-10 Thread Tim Peters
[gabor]
 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?

It can be, although the odds are in your favor.  The intended way to
make backups is explained here:

http://zope.org/Wikis/ZODB/FileStorageBackup
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )