@@ -483,7 +483,7 @@ doc/src/sgml/pgprobackup.sgml
483
483
</listitem >
484
484
<listitem >
485
485
<para >
486
- <literal >backup </literal > — user on
486
+ <literal >backup_user </literal > — user on
487
487
<literal >backup_host</literal > running all <application >pg_probackup</application >
488
488
operations.
489
489
</para >
@@ -1472,12 +1472,12 @@ GRANT SELECT ON TABLE pg_catalog.pg_database TO backup;
1472
1472
<refsect2 id =" pbk-configuring-the-remote-mode" >
1473
1473
<title >Configuring the Remote Mode</title >
1474
1474
<para >
1475
- <application >pg_probackup</application > supports the remote mode that allows to perform
1476
- backup, restore and WAL archiving operations remotely. In this
1477
- mode, the backup catalog is stored on a local system, while
1478
- <productname >PostgreSQL</productname > instance to backup and/or to restore is located on a
1479
- remote system. Currently the only supported remote protocol is
1480
- SSH.
1475
+ <application >pg_probackup</application > supports the remote mode that
1476
+ allows to perform backup, restore and WAL archiving operations remotely.
1477
+ In this mode, the backup catalog is stored on a local system, while
1478
+ <productname >PostgreSQL</productname > instance to backup and/or to restore
1479
+ is located on a remote system. Currently the only supported remote
1480
+ protocol is SSH.
1481
1481
</para >
1482
1482
<refsect3 id =" pbk-setup-ssh" >
1483
1483
<title >Set up SSH</title >
@@ -1490,19 +1490,19 @@ GRANT SELECT ON TABLE pg_catalog.pg_database TO backup;
1490
1490
<para >
1491
1491
Install <application >pg_probackup</application > on both systems:
1492
1492
<literal >backup_host</literal > and
1493
- <literal >db_host </literal >.
1493
+ <literal >postgres_host </literal >.
1494
1494
</para >
1495
1495
</listitem >
1496
1496
<listitem >
1497
1497
<para >
1498
1498
For communication between the hosts set up a passwordless
1499
- SSH connection between <literal >backup </literal > user on
1500
- <literal >backup_host</literal > and
1499
+ SSH connection between the <literal >backup_user </literal > user on
1500
+ <literal >backup_host</literal > and the
1501
1501
<literal >postgres</literal > user on
1502
- <literal >db_host </literal >:
1502
+ <literal >postgres_host </literal >:
1503
1503
</para >
1504
1504
<programlisting >
1505
- [backup @backup_host] ssh-copy-id postgres@db_host
1505
+ [backup_user @backup_host] ssh-copy-id postgres@postgres_host
1506
1506
</programlisting >
1507
1507
<para >
1508
1508
Where:
@@ -1516,13 +1516,13 @@ GRANT SELECT ON TABLE pg_catalog.pg_database TO backup;
1516
1516
</listitem >
1517
1517
<listitem >
1518
1518
<para >
1519
- <literal >db_host </literal > is the system with <productname >PostgreSQL</productname >
1519
+ <literal >postgres_host </literal > is the system with the <productname >PostgreSQL</productname >
1520
1520
cluster.
1521
1521
</para >
1522
1522
</listitem >
1523
1523
<listitem >
1524
1524
<para >
1525
- <literal >backup </literal > is the OS user on
1525
+ <literal >backup_user </literal > is the OS user on
1526
1526
<literal >backup_host</literal > used to run <application >pg_probackup</application >.
1527
1527
</para >
1528
1528
</listitem >
@@ -1544,18 +1544,19 @@ GRANT SELECT ON TABLE pg_catalog.pg_database TO backup;
1544
1544
<link linkend =" pbk-setting-up-continuous-wal-archiving" >continuous
1545
1545
WAL archiving</link >, set up a passwordless SSH
1546
1546
connection between the <literal >postgres</literal > user on
1547
- <literal >db_host </literal > and the <literal >backup</literal >
1547
+ <literal >postgres_host </literal > and the <literal >backup</literal >
1548
1548
user on <literal >backup_host</literal >:
1549
1549
</para >
1550
1550
<programlisting >
1551
- [postgres@db_host ] ssh-copy-id backup @backup_host
1551
+ [postgres@postgres_host ] ssh-copy-id backup_user @backup_host
1552
1552
</programlisting >
1553
1553
</listitem >
1554
1554
<listitem >
1555
1555
<para >
1556
1556
Make sure <application >pg_probackup</application > on <literal >postgres_host</literal >
1557
1557
can be located when a connection via SSH is made. For example, for <application >Bash</application >, you can
1558
- modify <literal >PATH</literal > in <filename >~/.bashrc</filename > of the <literal >backup</literal > user.
1558
+ modify <literal >PATH</literal > in <filename >~/.bashrc</filename > of the <literal >postgres</literal > user
1559
+ (above the line in <filename >bashrc</filename > which exits the script for non-interactive shells).
1559
1560
Alternatively, for <application >pg_probackup</application > commands, specify the path to the directory
1560
1561
containing the <application >pg_probackup</application > binary on <literal >postgres_host</literal > via
1561
1562
the <link linkend =" pbk-remote-server-opts" >--remote-path</link > option.
@@ -1611,10 +1612,10 @@ GRANT SELECT ON TABLE pg_catalog.pg_database TO backup;
1611
1612
<para >
1612
1613
The main process is usually started on
1613
1614
<replaceable >backup_host</replaceable > and connects to
1614
- <replaceable >db_host </replaceable >, but in case of
1615
+ <replaceable >postgres_host </replaceable >, but in case of
1615
1616
<command >archive-push</command > and
1616
1617
<command >archive-get</command > commands the main process
1617
- is started on <replaceable >db_host </replaceable > and connects to
1618
+ is started on <replaceable >postgres_host </replaceable > and connects to
1618
1619
<replaceable >backup_host</replaceable >.
1619
1620
</para >
1620
1621
</listitem >
@@ -1635,7 +1636,7 @@ GRANT SELECT ON TABLE pg_catalog.pg_database TO backup;
1635
1636
<listitem >
1636
1637
<para >
1637
1638
Compression is always done on
1638
- <replaceable >db_host </replaceable >, while decompression is always done on
1639
+ <replaceable >postgres_host </replaceable >, while decompression is always done on
1639
1640
<replaceable >backup_host</replaceable >.
1640
1641
</para >
1641
1642
</listitem >
0 commit comments