- linkend="warm-standby">) standby servers, follow these steps to
- upgrade them. You will not be running
pg_upgrade> on
+ linkend="warm-standby">) standby servers, you can follow these steps to
+
quickly upgrade them. You will not be running
pg_upgrade> on
the standby servers, but rather
rsync> on the primary.
- Do not start any servers yet. If you did not> use link
- mode, skip the instructions in this section and simply recreate the
- standby servers.
+ Do not start any servers yet.
+
+
+ If you did not> use link mode, do not have or do not
+ want to use
rsync>, or want an easier solution, skip
+ the instructions in this section and simply recreate the standby
+ servers once
pg_upgrade> completes and the new primary
+ is running.
Make sure the new standby data directories do not>
exist or are empty. If
initdb> was run, delete
- the standby server data directories.
+ the standby servers' new data directories.
Save configuration files
- Save any configuration files from the standbys you need to keep,
- e.g. postgresql.conf>, recovery.conf>,
- as these will be overwritten or removed in the next step.
+ Save any configuration files from the old standbys' data
+ directories you need to keep, e.g. postgresql.conf>,
+ recovery.conf>, because these will be overwritten or
+ removed in the next step.
/opt/PostgreSQL/9.6/data standby.example.com:/opt/PostgreSQL
+ You can verify what the command will do using
+
rsync>'s --dry-run> option. While
+
rsync> must be run on the primary for at least one
+ standby, it is possible to run
rsync> on an upgraded
+ standby to upgrade other standbys, as long as the upgraded standby
+ has not been started.