Shachar Shemesh wrote:

>Galed Friedmann wrote:
>
>>I know that the DB files are being touched all the time and their last
>>modification time is being
>>changed, so maybe that is why rsync thinks the file has been changed,
>>but it still supposed to
>>transfer the deltas only ...
>
>
>While you said it right, I believe you may have misunderstood what you
>just said. rsync *transfers* the deltas. It needs both files, in their
>entirety, to do that.
>
>In particular, when rsync transfers between two local files, it's just a
>file copy. I think we can conclude that rsync is the wrong tool for this
>job.
>
you're wrong. When you use rsync between 2 local files checksums are always
calculated.

>
>>Does somebody have an idea of what I'm doing wrong? Has somebody ever
>>experienced a transfer
>>of a really large database (I'm speaking of few TBs)?
>
>
>Use a snapshot filesystem. There is one inside LVM. This way, you shut
>the server down, take the snapshot, put the server back up, and then
>backup from the taken snapshot. This should be an almost instantaneous
>operation, and you get the file at the time of the snapshot visible as
>long as you want.
>
>Of course, the longer you keep it visible, the more space it's going to
>take, but that's a tradeoff you can decide on as you wish.
>
>          Shachar
>
>=================================================================
>To unsubscribe, send mail to [EMAIL PROTECTED] with
>the word "unsubscribe" in the message body, e.g., run the command
>echo unsubscribe | mail [EMAIL PROTECTED]
>
>
>


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to