2.11. Configuring SSH Connection #
pg_probackup3 supports the remote mode that allows you to perform backup and WAL archiving operations remotely. To operate in the remote mode, pg_probackup3 uses an SSH connection between the Postgres Pro server (where pg_probackup3 is run) and the backup storage server. This allows managing backups on a remote host as if they were stored locally.
pg_probackup3 can store and read backup files and metadata on an SSH server using the SFTP protocol. This operation scheme is similar to that of S3.
If you are going to use pg_probackup3 in the remote mode via SSH, set up a passwordless SSH connection to the server via a public and private keys: set the public key on the server side and the private one — on the client.
See the SSH Options section for details on the remote connection parameters.
pg_probackup3 in the remote mode via SSH works as follows:
All commands can be launched in the remote mode.
Operating in the remote mode does not require the pg_probackup3 binary to be installed on the remote system.
You can provide SSH server settings in the configuration file using the --config-file
option. See the section Common Options for details.