Update README

`--ignore-external-config-files` deprecated
This commit is contained in:
Ian Barwick
2016-10-05 15:09:07 +09:00
parent 4dc3a05e8d
commit c1a1fe6f82

View File

@@ -7,7 +7,7 @@ replication capabilities with utilities to set up standby servers, monitor
replication, and perform administrative tasks such as failover or switchover replication, and perform administrative tasks such as failover or switchover
operations. operations.
The current `repmgr` version, 3.1.5, supports all PostgreSQL versions from The current `repmgr` version, 3.2, supports all PostgreSQL versions from
9.3, including the upcoming 9.6. 9.3, including the upcoming 9.6.
Overview Overview
@@ -690,20 +690,6 @@ fresh clone with `pg_basebackup`.
> control parallelism (`--parallel=N`) and compression (`--bzip2`, > control parallelism (`--parallel=N`) and compression (`--bzip2`,
> `--gzip`). > `--gzip`).
### Dealing with PostgreSQL configuration files
By default, `repmgr` will attempt to copy the standard configuration files
(`postgresql.conf`, `pg_hba.conf` and `pg_ident.conf`) even if they are located
outside of the data directory (though currently they will be copied
into the standby's data directory). To prevent this happening, when executing
`repmgr standby clone` provide the `--ignore-external-config-files` option.
If using `rsync` to clone a standby, additional control over which files
not to transfer is possible by configuring `rsync_options` in `repmgr.conf`,
which enables any valid `rsync` options to be passed to that command, e.g.:
rsync_options='--exclude=postgresql.local.conf'
### Controlling `primary_conninfo` in `recovery.conf` ### Controlling `primary_conninfo` in `recovery.conf`
The `primary_conninfo` setting in `recovery.conf` generated by `repmgr` The `primary_conninfo` setting in `recovery.conf` generated by `repmgr`