@@ -519,7 +519,7 @@ pg_probackup init -B <replaceable>backup_dir</replaceable>
519519 To add a new backup instance, run the following command:
520520 </para >
521521 <programlisting >
522- pg_probackup add-instance -B <replaceable >backup_dir</replaceable > -D <replaceable >data_dir</replaceable > --instance <replaceable >instance_name</replaceable > [remote_options]
522+ pg_probackup add-instance -B <replaceable >backup_dir</replaceable > -D <replaceable >data_dir</replaceable > --instance <replaceable >instance_name</replaceable > [< replaceable > remote_options</ replaceable > ]
523523</programlisting >
524524 <para >
525525 where:
@@ -556,7 +556,7 @@ pg_probackup add-instance -B <replaceable>backup_dir</replaceable> -D <replaceab
556556 the <filename >pg_probackup.conf</filename > configuration file that controls
557557 <application >pg_probackup</application > settings for this backup instance. If you run this
558558 command with the
559- <link linkend =" pbk-remote-server-opts" >remote_options</link >, the specified parameters
559+ <link linkend =" pbk-remote-server-opts" >remote_options</link >, the specified
560560 parameters will be added to <filename >pg_probackup.conf</filename >.
561561 </para >
562562 <para >
@@ -688,7 +688,7 @@ COMMIT;
688688 <link linkend =" pbk-configuring-the-remote-mode" >Configuring the
689689 Remote Mode</link >,
690690 <link linkend =" pbk-setting-up-partial-restore" >Setting up Partial
691- Restore</link > and
691+ Restore</link >, and
692692 <link linkend =" pbk-setting-up-ptrack-backups" >Setting up PTRACK
693693 Backups</link >.
694694 </para >
@@ -874,15 +874,15 @@ archive_command = '<replaceable>install_dir</replaceable>/pg_probackup archive-p
874874 <para >
875875 To perform standalone backups on standby, complete all steps
876876 in section <link linkend =" pbk-setting-up-stream-backups" >Setting
877- up STREAM Backups</link >
877+ up STREAM Backups</link >.
878878 </para >
879879 </listitem >
880880 <listitem >
881881 <para >
882882 To perform archive backups on standby, complete all steps in
883883 section
884884 <link linkend =" pbk-setting-up-continuous-wal-archiving" >Setting
885- up continuous WAL archiving</link >
885+ up continuous WAL archiving</link >.
886886 </para >
887887 </listitem >
888888 </itemizedlist >
@@ -991,17 +991,17 @@ GRANT SELECT ON TABLE pg_catalog.pg_database TO backup;
991991 <listitem >
992992 <para >
993993 Install <application >pg_probackup</application > on both systems:
994- <replaceable >backup_host</replaceable > and
995- <replaceable >db_host</replaceable >.
994+ <literal >backup_host</literal > and
995+ <literal >db_host</literal >.
996996 </para >
997997 </listitem >
998998 <listitem >
999999 <para >
10001000 For communication between the hosts set up the passwordless
10011001 SSH connection between <literal >backup</literal > user on
1002- <replaceable >backup_host</replaceable > and
1002+ <literal >backup_host</literal > and
10031003 <literal >postgres</literal > user on
1004- <replaceable >db_host</replaceable >:
1004+ <literal >db_host</literal >:
10051005 </para >
10061006 <programlisting >
10071007[backup@backup_host] ssh-copy-id postgres@db_host
@@ -1013,8 +1013,8 @@ GRANT SELECT ON TABLE pg_catalog.pg_database TO backup;
10131013 <link linkend =" pbk-setting-up-continuous-wal-archiving" >continuous
10141014 WAL archiving</link >, set up passwordless SSH
10151015 connection between <literal >postgres</literal > user on
1016- <replaceable >db_host</replaceable > and <literal >backup</literal >
1017- user on <replaceable >backup_host</replaceable >:
1016+ <literal >db_host</literal > and <literal >backup</literal >
1017+ user on <literal >backup_host</literal >:
10181018 </para >
10191019 <programlisting >
10201020[postgres@db_host] ssh-copy-id backup@backup_host
@@ -1027,26 +1027,26 @@ GRANT SELECT ON TABLE pg_catalog.pg_database TO backup;
10271027 <itemizedlist spacing =" compact" >
10281028 <listitem >
10291029 <para >
1030- <replaceable >backup_host</replaceable > is the system with
1030+ <literal >backup_host</literal > is the system with
10311031 <emphasis >backup catalog</emphasis >.
10321032 </para >
10331033 </listitem >
10341034 <listitem >
10351035 <para >
1036- <replaceable >db_host</replaceable > is the system with <productname >PostgreSQL</productname >
1036+ <literal >db_host</literal > is the system with <productname >PostgreSQL</productname >
10371037 cluster.
10381038 </para >
10391039 </listitem >
10401040 <listitem >
10411041 <para >
10421042 <literal >backup</literal > is the OS user on
1043- <replaceable >backup_host</replaceable > used to run <application >pg_probackup</application >.
1043+ <literal >backup_host</literal > used to run <application >pg_probackup</application >.
10441044 </para >
10451045 </listitem >
10461046 <listitem >
10471047 <para >
10481048 <literal >postgres</literal > is the OS user on
1049- <replaceable >db_host</replaceable > used to start the <productname >PostgreSQL</productname >
1049+ <literal >db_host</literal > used to start the <productname >PostgreSQL</productname >
10501050 cluster. Note that for <productname >PostgreSQL</productname > 11 or higher a
10511051 more secure approach can be used thanks to
10521052 <ulink url =" https://postgrespro.com/docs/postgresql/current/app-initdb.html#APP-INITDB-ALLOW-GROUP-ACCESS" >allow-group-access</ulink >
@@ -1307,8 +1307,8 @@ pg_probackup backup -B <replaceable>backup_dir</replaceable> --instance <replace
13071307 </listitem >
13081308 <listitem >
13091309 <para >
1310- Backup in STREAM mode can be taken from standby of a
1311- server, that generates small amount of WAL traffic,
1310+ Backup in STREAM mode can be taken from a standby of a
1311+ server that generates small amount of WAL traffic,
13121312 without long waiting for WAL segment to fill up.
13131313 </para >
13141314 </listitem >
@@ -1350,24 +1350,24 @@ pg_probackup backup -B <replaceable>backup_dir</replaceable> --instance <replace
13501350 separated by colons on Linux systems or semicolons on Windows systems.
13511351 </para >
13521352 <para >
1353- For example, to include <filename >/etc/dir1/ </filename > and
1354- <filename >/etc/dir2/ </filename > directories into the full
1353+ For example, to include <filename >/etc/dir1</filename > and
1354+ <filename >/etc/dir2</filename > directories into the full
13551355 backup of your <replaceable >instance_name</replaceable > instance
13561356 that will be stored under the <replaceable >backup_dir</replaceable >
13571357 directory on Linux, run:
13581358 </para >
13591359 <programlisting >
1360- pg_probackup backup -B backup_dir --instance instance_name -b FULL --external-dirs=/etc/dir1:/etc/dir2
1360+ pg_probackup backup -B < replaceable > backup_dir</ replaceable > --instance < replaceable > instance_name</ replaceable > -b FULL --external-dirs=/etc/dir1:/etc/dir2
13611361</programlisting >
13621362 <para >
1363- For example, to include <filename >C:\dir1\ </filename > and
1364- <filename >C:\dir2\ </filename > directories into the full backup
1363+ For example, to include <filename >C:\dir1</filename > and
1364+ <filename >C:\dir2</filename > directories into the full backup
13651365 of your <emphasis >instance_name</emphasis > instance that will
13661366 be stored under the <emphasis >backup_dir</emphasis > directory
13671367 on Windows, run:
13681368 </para >
13691369 <programlisting >
1370- pg_probackup backup -B backup_dir --instance instance_name -b FULL --external-dirs=C:\dir1;C:\dir2
1370+ pg_probackup backup -B < replaceable > backup_dir</ replaceable > --instance < replaceable > instance_name</ replaceable > -b FULL --external-dirs=C:\dir1;C:\dir2
13711371</programlisting >
13721372 <para >
13731373 <application >pg_probackup</application > creates a separate subdirectory in the backup
@@ -1513,7 +1513,7 @@ pg_probackup validate -B <replaceable>backup_dir</replaceable> --instance <repla
15131513 <link linkend =" pbk-recovery-target-opts" >recovery target
15141514 options</link >, the <command >validate</command > command will check whether it is possible
15151515 to restore the specified backup to the specified
1516- < literal > recovery target</ literal > .
1516+ recovery target.
15171517 </para >
15181518 <para >
15191519 For example, to check that you can restore the database cluster
@@ -1582,7 +1582,7 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
15821582 When using the <option >--tablespace-mapping</option >/<option >-T</option >
15831583 option, you must provide absolute paths to the old and new
15841584 tablespace directories. If a path happens to contain an equals
1585- sign (= ), escape it with a backslash. This option can be
1585+ sign (< literal >=</ literal > ), escape it with a backslash. This option can be
15861586 specified multiple times for multiple tablespaces. For example:
15871587 </para >
15881588 <programlisting >
@@ -1650,7 +1650,7 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
16501650</programlisting >
16511651 <para >
16521652 To exclude one or more databases from restore, use
1653- the <option >--db-include </option > option:
1653+ the <option >--db-exclude </option > option:
16541654 </para >
16551655 <programlisting >
16561656pg_probackup restore -B <replaceable >backup_dir</replaceable > --instance <replaceable >instance_name</replaceable > --db-exclude=<replaceable >database_name</replaceable >
@@ -1851,7 +1851,7 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
18511851 </para >
18521852 <para >
18531853 To solve this problem, you can use
1854- <link linkend =" pbk-remote-wal-archive-options" >Remote Wal Archive
1854+ <link linkend =" pbk-remote-wal-archive-options" >Remote WAL Archive
18551855 Options</link >.
18561856 </para >
18571857 <para >
@@ -2313,7 +2313,7 @@ primary_conninfo = 'user=backup passfile=/var/lib/pgsql/.pgpass port=5432 sslmod
23132313 </listitem >
23142314 <listitem >
23152315 <para >
2316- <literal >parent-backup-id</literal > — backup ID of the parent backup. Available only
2316+ <literal >parent-backup-id</literal > — ID of the parent backup. Available only
23172317 for incremental backups.
23182318 </para >
23192319 </listitem >
@@ -2969,7 +2969,7 @@ pg_probackup set-backup -B <replaceable>backup_dir</replaceable> --instance <rep
29692969 keep WAL of limited depth measured in backups per timeline.
29702970 </para >
29712971 <para >
2972- Suppose you have backed up the <replaceable >node</replaceable >
2972+ Suppose you have backed up the <literal >node</literal >
29732973 instance in the <replaceable >backup_dir</replaceable > directory and
29742974 configured
29752975 <link linkend =" pbk-setting-up-continuous-wal-archiving" >continuous WAL
@@ -2996,7 +2996,7 @@ BACKUP INSTANCE 'node'
29962996 <option >--archive</option > flag:
29972997 </para >
29982998 <programlisting >
2999- pg_probackup show -B <replaceable >backup_dir</replaceable > --instance < replaceable > node</ replaceable > --archive
2999+ pg_probackup show -B <replaceable >backup_dir</replaceable > --instance node --archive
30003000</programlisting >
30013001 <programlisting >
30023002ARCHIVE INSTANCE 'node'
@@ -3010,7 +3010,7 @@ ARCHIVE INSTANCE 'node'
30103010 achieve much, only one segment is removed:
30113011 </para >
30123012 <programlisting >
3013- pg_probackup delete -B <replaceable >backup_dir</replaceable > --instance < replaceable > node</ replaceable > --delete-wal
3013+ pg_probackup delete -B <replaceable >backup_dir</replaceable > --instance node --delete-wal
30143014</programlisting >
30153015 <programlisting >
30163016ARCHIVE INSTANCE 'node'
@@ -3025,7 +3025,7 @@ ARCHIVE INSTANCE 'node'
30253025 <option >--wal-depth</option > option:
30263026 </para >
30273027 <programlisting >
3028- pg_probackup delete -B <replaceable >backup_dir</replaceable > --instance < replaceable > node</ replaceable > --delete-wal --wal-depth=1
3028+ pg_probackup delete -B <replaceable >backup_dir</replaceable > --instance node --delete-wal --wal-depth=1
30293029</programlisting >
30303030 <programlisting >
30313031ARCHIVE INSTANCE 'node'
@@ -3039,7 +3039,7 @@ ARCHIVE INSTANCE 'node'
30393039 option with the <xref linkend =" pbk-backup" /> command:
30403040 </para >
30413041 <programlisting >
3042- pg_probackup backup -B <replaceable >backup_dir</replaceable > --instance < replaceable > node</ replaceable > -b DELTA --wal-depth=1 --delete-wal
3042+ pg_probackup backup -B <replaceable >backup_dir</replaceable > --instance node -b DELTA --wal-depth=1 --delete-wal
30433043</programlisting >
30443044 <programlisting >
30453045ARCHIVE INSTANCE 'node'
@@ -3235,7 +3235,7 @@ pg_probackup set-config -B <replaceable>backup_dir</replaceable> --instance <rep
32353235[-d <replaceable >dbname</replaceable >] [-h <replaceable >host</replaceable >] [-p <replaceable >port</replaceable >] [-U <replaceable >username</replaceable >]
32363236[--archive-timeout=<replaceable >timeout</replaceable >] [--external-dirs=<replaceable >external_directory_path</replaceable >]
32373237[--restore-command=<replaceable >cmdline</replaceable >]
3238- [<replaceable >remote_options</replaceable >] [<replaceable >remote_archive_options </replaceable >] [<replaceable >logging_options</replaceable >]
3238+ [<replaceable >remote_options</replaceable >] [<replaceable >remote_wal_archive_options </replaceable >] [<replaceable >logging_options</replaceable >]
32393239</programlisting >
32403240 <para >
32413241 Adds the specified connection, compression, retention, logging,
@@ -3277,7 +3277,7 @@ pg_probackup show-config -B <replaceable>backup_dir</replaceable> --instance <re
32773277 file located in the
32783278 <filename ><replaceable >backup_dir</replaceable >/backups/<replaceable >instance_name</replaceable ></filename >
32793279 directory. You can specify the
3280- <literal >--format=json</literal > option to return the result
3280+ <literal >--format=json</literal > option to get the result
32813281 in the <acronym >JSON</acronym > format. By default, configuration settings are
32823282 shown as plain text.
32833283 </para >
@@ -3303,7 +3303,7 @@ pg_probackup show -B <replaceable>backup_dir</replaceable>
33033303 <para >
33043304 By default, the contents of the backup catalog is shown as
33053305 plain text. You can specify the
3306- <literal >--format=json</literal > option to return the result
3306+ <literal >--format=json</literal > option to get the result
33073307 in the <acronym >JSON</acronym > format.
33083308 </para >
33093309 <para >
@@ -3318,7 +3318,7 @@ pg_probackup show -B <replaceable>backup_dir</replaceable>
33183318 <title >backup</title >
33193319 <programlisting >
33203320pg_probackup backup -B <replaceable >backup_dir</replaceable > -b <replaceable >backup_mode</replaceable > --instance <replaceable >instance_name</replaceable >
3321- [--help] [-j num_threads] [--progress]
3321+ [--help] [-j < replaceable > num_threads</ replaceable > ] [--progress]
33223322[-C] [--stream [-S slot_name] [--temp-slot]] [--backup-pg-log]
33233323[--no-validate] [--skip-block-validation]
33243324[-w --no-password] [-W --password]
@@ -3498,7 +3498,7 @@ pg_probackup backup -B <replaceable>backup_dir</replaceable> -b <replaceable>bac
34983498 <programlisting >
34993499pg_probackup restore -B <replaceable >backup_dir</replaceable > --instance <replaceable >instance_name</replaceable >
35003500[--help] [-D <replaceable >data_dir</replaceable >] [-i <replaceable >backup_id</replaceable >]
3501- [-j num_threads] [--progress]
3501+ [-j < replaceable > num_threads</ replaceable > ] [--progress]
35023502[-T <replaceable >OLDDIR</replaceable >=<replaceable >NEWDIR</replaceable >] [--external-mapping=<replaceable >OLDDIR</replaceable >=<replaceable >NEWDIR</replaceable >] [--skip-external-dirs]
35033503[-R | --restore-as-replica] [--no-validate] [--skip-block-validation] [--force]
35043504[--restore-command=<replaceable >cmdline</replaceable >]
@@ -3513,7 +3513,7 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
35133513 backup and restores it to the specified recovery target.
35143514 If neither the backup ID nor recovery target options are provided,
35153515 <application >pg_probackup</application > uses the most recent backup
3516- to preform the recovery.
3516+ to perform the recovery.
35173517 </para >
35183518 <para >
35193519 <variablelist >
@@ -3537,7 +3537,7 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
35373537 <para >
35383538 Relocates the tablespace from the <replaceable >OLDDIR</replaceable > to the <replaceable >NEWDIR</replaceable >
35393539 directory at the time of recovery. Both <replaceable >OLDDIR</replaceable > and <replaceable >NEWDIR</replaceable > must
3540- be absolute paths. If the path contains the equals sign (= ),
3540+ be absolute paths. If the path contains the equals sign (< literal >=</ literal > ),
35413541 escape it with a backslash. This option can be specified
35423542 multiple times for multiple tablespaces.
35433543 </para >
@@ -3551,7 +3551,7 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
35513551 Relocates an external directory included into the backup from
35523552 the <replaceable >OLDDIR</replaceable > to the <replaceable >NEWDIR</replaceable > directory at the time of recovery.
35533553 Both <replaceable >OLDDIR</replaceable > and <replaceable >NEWDIR</replaceable > must be absolute paths. If the path
3554- contains the equals sign (= ), escape it with a backslash. This
3554+ contains the equals sign (< literal >=</ literal > ), escape it with a backslash. This
35553555 option can be specified multiple times for multiple
35563556 directories.
35573557 </para >
@@ -3815,7 +3815,7 @@ pg_probackup archive-push -B <replaceable>backup_dir</replaceable> --instance <r
38153815 <ulink url =" https://postgrespro.com/docs/postgresql/current/runtime-config-wal.html#GUC-ARCHIVE-COMMAND" >archive_command</ulink >
38163816 <productname >PostgreSQL</productname > parameter to set up
38173817 <link linkend =" pbk-setting-up-continuous-wal-archiving" >continous
3818- WAl archiving</link >.
3818+ WAL archiving</link >.
38193819 </para >
38203820 <para >
38213821 For details, see sections
0 commit comments