Re: rsync and streaming replication

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Jean-Armel Luce <jaluce06(at)gmail(dot)com>
Cc: Cédric Villemain <cedric(dot)villemain(dot)debian(at)gmail(dot)com>, "[ADMIN]" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: rsync and streaming replication
Date: 2011-11-14 18:08:49
Message-ID: 639B3C52-BF6D-4CE9-A710-75D369E9607E@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Nov 14, 2011, at 10:59 AM, Jean-Armel Luce wrote:

> just for the value : rsync --checksum is the option to use to prevent
> copying of identical files

No, that's not what it's used for. It already avoids sending identical blocks by using checksums. --checksum forces a checksum on files that have identical sizes & mod times, thus catching files that have different contents despite having the same mod times & sizes.

--
Scott Ribe
scott_ribe(at)elevated-dev(dot)com
http://www.elevated-dev.com/
(303) 722-0567 voice

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2011-11-14 18:15:10 Re: rsync and streaming replication
Previous Message Jean-Armel Luce 2011-11-14 17:59:22 Re: rsync and streaming replication