--On 27. Oktober 2007 18:18:23 +0200 Jonas Meurer <[EMAIL PROTECTED]> wrote:
On 27/10/2007 Andreas Jung wrote:If you create a local copy, it is safe. If you rsync a running Data.fs, it is not safe. In this case you create a local copy and rsync the copy.but if rsync is unsafe only because it takes long time, and changes on the instance during the copy process could cause a corrupted Data.fs to be backuped, then theoretically this could happen for a local copy as well, right?Think twice about your last sentence. What should cause a local *copy* to be changed??zope might write to the Data.fs while it is copied, thus an inconsistent copy would be backuped, even inside one filesystem.
This is not the point. rsync will run into if the file to be synced changes
in-between the sync operation. This will happen with the Data.fs - it won'thappen with a static copy. An inconsistent copy of the Data.fs is not the problem since invalid transaction entries will be discarded by the ZODB.
So rsyncing a copy of the Data.fs it the way to go. -aj
Description: PGP signature
_______________________________________________ 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 )