@@ -2243,6 +2243,13 @@ BACKUP INSTANCE 'node'
22432243 <literal >MERGING</literal > — the backup is being merged.
22442244 </para >
22452245 </listitem >
2246+ <listitem >
2247+ <para >
2248+ <literal >MERGED</literal > — the backup data files were
2249+ successfully merged, but its metadata is in the process
2250+ of been updated. Only full backup can have this status.
2251+ </para >
2252+ </listitem >
22462253 <listitem >
22472254 <para >
22482255 <literal >DELETING</literal > — the backup files are being deleted.
@@ -3147,7 +3154,9 @@ pg_probackup merge -B <replaceable>backup_dir</replaceable> --instance <replacea
31473154 <para >
31483155 This command merges the specified incremental backup to its
31493156 parent full backup, together with all incremental backups
3150- between them. Once the merge is complete, the incremental
3157+ between them. If the specified backup ID belong to the full backup,
3158+ then it will be merged with the closest incremental backup.
3159+ Once the merge is complete, the incremental
31513160 backups are removed as redundant. Thus, the merge operation is
31523161 virtually equivalent to retaking a full backup and removing all
31533162 the outdated backups, but it allows to save much time,
@@ -3166,7 +3175,8 @@ pg_probackup show -B <replaceable>backup_dir</replaceable> --instance <replaceab
31663175</programlisting >
31673176 <para >
31683177 If the merge is still in progress, the backup status is
3169- displayed as <literal >MERGING</literal >. The merge is idempotent, so you can
3178+ displayed as <literal >MERGING</literal > or, at the final stage,
3179+ <literal >MERGED</literal >. The merge is idempotent, so you can
31703180 restart the merge if it was interrupted.
31713181 </para >
31723182 </refsect2 >
@@ -3412,6 +3422,7 @@ pg_probackup backup -B <replaceable>backup_dir</replaceable> -b <replaceable>bac
34123422[--no-validate] [--skip-block-validation]
34133423[-w --no-password] [-W --password]
34143424[--archive-timeout=<replaceable >timeout</replaceable >] [--external-dirs=<replaceable >external_directory_path</replaceable >]
3425+ [--no-sync]
34153426[<replaceable >connection_options</replaceable >] [<replaceable >compression_options</replaceable >] [<replaceable >remote_options</replaceable >]
34163427[<replaceable >retention_options</replaceable >] [<replaceable >pinning_options</replaceable >] [<replaceable >logging_options</replaceable >]
34173428</programlisting >
@@ -3564,6 +3575,18 @@ pg_probackup backup -B <replaceable>backup_dir</replaceable> -b <replaceable>bac
35643575 </para >
35653576 </listitem >
35663577 </varlistentry >
3578+
3579+ <varlistentry >
3580+ <term ><option >--no-sync</option ></term >
3581+ <listitem >
3582+ <para >
3583+ Do not sync backed up files to disk. You can use this flag to speed
3584+ up backup process. Using this flag can result in data
3585+ corruption in case of operating system or hardware crash.
3586+ Corruption can be detected by backup validation.
3587+ </para >
3588+ </listitem >
3589+ </varlistentry >
35673590 </variablelist >
35683591 </para >
35693592
@@ -3590,9 +3613,11 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
35903613[--help] [-D <replaceable >data_dir</replaceable >] [-i <replaceable >backup_id</replaceable >]
35913614[-j <replaceable >num_threads</replaceable >] [--progress]
35923615[-T <replaceable >OLDDIR</replaceable >=<replaceable >NEWDIR</replaceable >] [--external-mapping=<replaceable >OLDDIR</replaceable >=<replaceable >NEWDIR</replaceable >] [--skip-external-dirs]
3593- [-R | --restore-as-replica] [--no-validate] [--skip-block-validation] [--force]
3616+ [-R | --restore-as-replica] [--no-validate] [--skip-block-validation]
3617+ [--force] [--no-sync]
35943618[--restore-command=<replaceable >cmdline</replaceable >]
35953619[--primary-conninfo=<replaceable >primary_conninfo</replaceable >]
3620+ [-S | --primary-slot-name=<replaceable >slotname</replaceable >]
35963621[<replaceable >recovery_target_options</replaceable >] [<replaceable >logging_options</replaceable >] [<replaceable >remote_options</replaceable >]
35973622[<replaceable >partial_restore_options</replaceable >] [<replaceable >remote_wal_archive_options</replaceable >]
35983623</programlisting >
@@ -3637,14 +3662,27 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
36373662 Sets the
36383663 <ulink url =" https://postgrespro.com/docs/postgresql/current/runtime-config-replication.html#GUC-PRIMARY-CONNINFO" >primary_conninfo</ulink >
36393664 parameter to the specified value.
3640- This option will be ignored if used without the <option >-R</option > flag.
3665+ This option will be ignored unless the <option >-R</option > flag if specified .
36413666 </para >
36423667 <para >
36433668 Example: <literal >--primary-conninfo='host=192.168.1.50 port=5432 user=foo password=foopass'</literal >
36443669 </para >
36453670 </listitem >
36463671 </varlistentry >
36473672
3673+ <varlistentry >
3674+ <term ><option >-S</option ></term >
3675+ <term ><option >--primary-slot-name=<replaceable >slot_name</replaceable ></option ></term >
3676+ <listitem >
3677+ <para >
3678+ Sets the
3679+ <ulink url =" https://postgrespro.com/docs/postgresql/current/runtime-config-replication#GUC-PRIMARY-SLOT-NAME" >primary_slot_name</ulink >
3680+ parameter to the specified value.
3681+ This option will be ignored unless the <option >-R</option > flag if specified.
3682+ </para >
3683+ </listitem >
3684+ </varlistentry >
3685+
36483686 <varlistentry >
36493687<term ><option >-T <replaceable >OLDDIR</replaceable >=<replaceable >NEWDIR</replaceable ></option ></term >
36503688<term ><option >--tablespace-mapping=<replaceable >OLDDIR</replaceable >=<replaceable >NEWDIR</replaceable ></option ></term >
@@ -3729,6 +3767,17 @@ pg_probackup restore -B <replaceable>backup_dir</replaceable> --instance <replac
37293767 </para >
37303768 </listitem >
37313769 </varlistentry >
3770+
3771+ <varlistentry >
3772+ <term ><option >--no-sync</option ></term >
3773+ <listitem >
3774+ <para >
3775+ Do not sync restored files to disk. You can use this flag to speed
3776+ up restore process. Using this flag can result in data
3777+ corruption in case of operating system or hardware crash.
3778+ </para >
3779+ </listitem >
3780+ </varlistentry >
37323781 </variablelist >
37333782 </para >
37343783 <para >
@@ -3855,7 +3904,9 @@ pg_probackup merge -B <replaceable>backup_dir</replaceable> --instance <replacea
38553904 <para >
38563905 Merges the specified incremental backup to its parent full
38573906 backup, together with all incremental backups between them, if
3858- any. As a result, the full backup takes in all the merged
3907+ any. If the specified backup ID belong to the full backup,
3908+ then it will be merged with the closest incremental backup.
3909+ As a result, the full backup takes in all the merged
38593910 data, and the incremental backups are removed as redundant.
38603911 </para >
38613912 <para >
0 commit comments