I am utilising the pg_upgrade documentation for 9.6 to 13. I can upgrade from 9.6 to 13 with the --link issue without issue on the master server. I have a slave machine which I want to upgrade, instead rebuilding the slave (which will take considerable amount of time) I want to utilise the rsync which is documented in pg_upgrade documentation.
The servers both have the postgres software followed by the custom shared objects etc.
When running rsync it is prompting for the postgres password.
rsync --archive --delete --hard-links --size-only --no-inc-recursive --dry-run /var/lib/pgsql/9.6 /var/lib/pgsql/13 remoteserverIP:/var/lib/pgsql/13 --dry-run
I do not know the postgres password, however I could reset the postgres password within a psql window on the slave machine, is there anyway of bypassing this?
Any help is much apprecaited.