1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-25 09:01:48 +02:00

[Issue #120] documentation: --error-state option for delete command

This commit is contained in:
Victor Spirin 2020-02-27 16:19:09 +03:00
parent 529a1878d0
commit 2cc3d03c4c

View File

@ -3228,6 +3228,13 @@ pg_probackup delete -B <replaceable>backup_dir</replaceable> --instance <replace
all the available backups according to the current retention
policy, without performing any irreversible actions.
</para>
<para>
To delete backups with the ERROR status, use the <option>--error-state</option> flag:
</para>
<programlisting>
pg_probackup delete -B <replaceable>backup_dir</replaceable> --instance <replaceable>instance_name</replaceable> --error-state
</programlisting>
</refsect2>
</refsect1>
@ -3862,7 +3869,7 @@ pg_probackup merge -B <replaceable>backup_dir</replaceable> --instance <replacea
pg_probackup delete -B <replaceable>backup_dir</replaceable> --instance <replaceable>instance_name</replaceable>
[--help] [-j <replaceable>num_threads</replaceable>] [--progress]
[--retention-redundancy=<replaceable>redundancy</replaceable>][--retention-window=<replaceable>window</replaceable>][--wal-depth=<replaceable>wal_depth</replaceable>]
[--delete-wal] {-i <replaceable>backup_id</replaceable> | --delete-expired [--merge-expired] | --merge-expired}
[--delete-wal] {-i <replaceable>backup_id</replaceable> | --delete-expired [--merge-expired] | --merge-expired | --error-state}
[--dry-run]
[<replaceable>logging_options</replaceable>]
</programlisting>