On 27/10/2007 Tino Wildenhain wrote:
Nobody is wrong. Your #debian guys just had not all informations. Zope is always appending to Data.fs, copy (cp) works linear, so it would always maintain a consistent state of this file. (It either copies before or after the last append operation)
rsync on the other hand is very efficient by calculating only differences of the file contents to be copied. This may or may be not following the order of blocks in the file. In the latter case it could try to sync wrong information. (You would need a special rsync which would only transfer new blocks at the end in their given order - you could script something like this using dd, gzip/zcat, ssh.
that finally made the difference between rsync and local copy clear to me ;-) i'll change the backups to rsync a local copy in the future. thanks, jonas