Clarify pg_basebackup vs rsync

This commit is contained in:
Ian Barwick
2015-03-11 21:35:42 +09:00
parent 6597a03559
commit f3d5a4a7b0

View File

@@ -351,9 +351,10 @@ its port if is different from the default one.
Provide the `-D/--data-dir` option to specify the destination data Provide the `-D/--data-dir` option to specify the destination data
directory; if not, the same directory path as on the source server directory; if not, the same directory path as on the source server
will be used. By default, `pg_basebackup` will be used to copy data will be used. By default, `pg_basebackup` will be used to copy data
from the master or upstream node but this can only be used for new from the master or upstream node but this can only be used for
installations. To update an existing but 'stale' data directory, bootstrapping new installations. To update an existing but 'stale'
`rsync` must be used by specifying `--rsync-only`. In this case, data directory (for example belonging to a failed master), `rsync`
must be used by specifying `--rsync-only`. In this case,
password-less SSH connections between servers are required. password-less SSH connections between servers are required.