From 417f78a5178815d8c10f86b1561c88c45c53c2d2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 18 Mar 2015 15:48:59 -0400 Subject: [PATCH] pg_upgrade: document use of rsync for slave upgrades Also document that rsync has one-second granularity for file change comparisons. Report by Stephen Frost --- doc/src/sgml/backup.sgml | 6 +- doc/src/sgml/pgupgrade.sgml | 159 +++++++++++++++++++++++++++++++++--- 2 files changed, 152 insertions(+), 13 deletions(-) diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index 07ca0dc62d..e25e0d0edf 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -438,8 +438,10 @@ tar -cf backup.tar /usr/local/pgsql/data Another option is to use rsync to perform a file system backup. This is done by first running rsync while the database server is running, then shutting down the database - server just long enough to do a second rsync. The - second rsync will be much quicker than the first, + server long enough to do an rsync --checksum. + (