Use of rsync for data directory copying

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Use of rsync for data directory copying
Date: 2012-07-10 02:48:06
Message-ID: 20120710024806.GA3931@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rsync is popular with Postgres users, but I don't understand how they
are using the default check mode (file size, modification time) to
synchronize shut-down data directories? It seems they would have to use
--checksum because it is too easy for files to change in the same
second, and for a backend to write into the middle of a file.

Is everyone who is using rsync with Postgres also using --checksum mode?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Kerr 2012-07-10 03:00:48 Re: Use of rsync for data directory copying
Previous Message Joe Conway 2012-07-10 01:23:56 has_language_privilege returns incorrect answer for non-superuser