@@ -2402,6 +2402,11 @@ primary_conninfo = 'user=backup passfile=/var/lib/pgsql/.pgpass port=5432 sslmod
24022402 password is not included.
24032403 </para >
24042404 </listitem >
2405+ <listitem >
2406+ <para >
2407+ <literal >note</literal > — text note attached to backup.
2408+ </para >
2409+ </listitem >
24052410 </itemizedlist >
24062411 </para >
24072412 <para >
@@ -3377,15 +3382,28 @@ pg_probackup set-config -B <replaceable>backup_dir</replaceable> --instance <rep
33773382 <title >set-backup</title >
33783383 <programlisting >
33793384pg_probackup set-backup -B <replaceable >backup_dir</replaceable > --instance <replaceable >instance_name</replaceable > -i <replaceable >backup_id</replaceable >
3380- {--ttl=<replaceable >ttl</replaceable > | --expire-time=<replaceable >time</replaceable >} [--note=<replaceable >note</replaceable >] [--help]
3385+ {--ttl=<replaceable >ttl</replaceable > | --expire-time=<replaceable >time</replaceable >}
3386+ [--note=<replaceable >backup_note</replaceable >] [--help]
33813387</programlisting >
33823388 <para >
33833389 Sets the provided backup-specific settings into the
33843390 <filename >backup.control</filename > configuration file, or modifies the previously
33853391 defined values.
33863392 </para >
3393+ <varlistentry >
3394+ <term ><option >--note=<replaceable >backup_note</replaceable ></option ></term >
3395+ <listitem >
3396+ <para >
3397+ Sets the text note for backup copy.
3398+ If <replaceable >backup_note</replaceable > contain newline characters,
3399+ then only substring before first newline character will be saved.
3400+ Max size of text note is 1 KB.
3401+ The <replaceable >'none'</replaceable > value removes current note.
3402+ </para >
3403+ </listitem >
3404+ </varlistentry >
33873405 <para >
3388- For all available settings, see the section
3406+ For all available pinning settings, see the section
33893407 <link linkend =" pbk-pinning-options" >Pinning Options</link >.
33903408 </para >
33913409 </refsect3 >
@@ -3445,7 +3463,7 @@ pg_probackup backup -B <replaceable>backup_dir</replaceable> -b <replaceable>bac
34453463[--no-validate] [--skip-block-validation]
34463464[-w --no-password] [-W --password]
34473465[--archive-timeout=<replaceable >timeout</replaceable >] [--external-dirs=<replaceable >external_directory_path</replaceable >]
3448- [--no-sync] [--note=<replaceable >note </replaceable >]
3466+ [--no-sync] [--note=<replaceable >backup_note </replaceable >]
34493467[<replaceable >connection_options</replaceable >] [<replaceable >compression_options</replaceable >] [<replaceable >remote_options</replaceable >]
34503468[<replaceable >retention_options</replaceable >] [<replaceable >pinning_options</replaceable >] [<replaceable >logging_options</replaceable >]
34513469</programlisting >
@@ -3613,10 +3631,14 @@ pg_probackup backup -B <replaceable>backup_dir</replaceable> -b <replaceable>bac
36133631 </listitem >
36143632 </varlistentry >
36153633 <varlistentry >
3616- <term ><option >--note=<replaceable >note </replaceable ></option ></term >
3634+ <term ><option >--note=<replaceable >backup_note </replaceable ></option ></term >
36173635 <listitem >
36183636 <para >
36193637 Sets the text note for backup copy.
3638+ If <replaceable >backup_note</replaceable > contain newline characters,
3639+ then only substring before first newline character will be saved.
3640+ Max size of text note is 1 KB.
3641+ The <replaceable >'none'</replaceable > value removes current note.
36203642 </para >
36213643 </listitem >
36223644 </varlistentry >
0 commit comments