You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1691,24 +1691,24 @@ You can use these options together with [backup](#backup) and [checkdb](#checkdb
1691
1691
All [libpq environment variables](https://www.postgresql.org/docs/current/libpq-envars.html) are supported.
1692
1692
1693
1693
-d dbname
1694
-
--dbname=dbname
1694
+
--pgdatabase=dbname
1695
1695
PGDATABASE
1696
1696
Specifies the name of the database to connect to. The connection is used only for managing backup process, so you can connect to any existing database. If this option is not provided on the command line, PGDATABASE environment variable, or the pg_probackup.conf configuration file, pg_probackup tries to take this value from the PGUSER environment variable, or from the current user name if PGUSER variable is not set.
1697
1697
1698
1698
-h host
1699
-
--host=host
1699
+
--pghost=host
1700
1700
PGHOST
1701
1701
Default: local socket
1702
1702
Specifies the host name of the system on which the server is running. If the value begins with a slash, it is used as a directory for the Unix domain socket.
1703
1703
1704
1704
-p port
1705
-
--port=port
1705
+
--pgport=port
1706
1706
PGPORT
1707
1707
Default: 5432
1708
1708
Specifies the TCP port or the local Unix domain socket file extension on which the server is listening for connections.
1709
1709
1710
1710
-U username
1711
-
--username=username
1711
+
--pguser=username
1712
1712
PGUSER
1713
1713
User name to connect as.
1714
1714
@@ -1839,31 +1839,37 @@ All examples below assume the remote mode of operations via `ssh`. If you are pl
1839
1839
Examples are based on Ubuntu 18.04, PostgreSQL 11 and pg_probackup 2.2.0.
1840
1840
1841
1841
backup_host - host with backup catalog.
1842
+
1842
1843
backupman - user on `backup_host` running all pg_probackup operations.
1844
+
1843
1845
/mnt/backups - directory on `backup_host` where backup catalog is stored.
1844
1846
1845
-
postgres-host - host with PostgreSQL cluster.
1847
+
postgres_host - host with PostgreSQL cluster.
1848
+
1846
1849
postgres - user on `postgres_host` which run PostgreSQL cluster.
1850
+
1847
1851
/var/lib/postgresql/11/main - directory on `postgres_host` where PGDATA of PostgreSQL cluster is located.
1848
-
backup_db - database used for connection to PostgreSQL cluster.
1852
+
1853
+
backupdb - database used for connection to PostgreSQL cluster.
1849
1854
1850
1855
### Minimal Setup
1851
1856
1852
1857
This setup is relying on autonomous FULL and DELTA backups.
1853
1858
1854
-
1. Setup passwordless SSH connection from `backup_host` to `postgres_host`:
1859
+
####Setup passwordless SSH connection from `backup_host` to `postgres_host`
0 commit comments