1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Add --dry-run option to the expire command.

Use dry-run to see which backups/archive would be removed by the expire command without actually removing anything.
This commit is contained in:
Cynthia Shang
2020-03-16 13:56:52 -04:00
committed by David Steele
parent 4608ca473e
commit 2fa69af8da
12 changed files with 581 additions and 20 deletions
+9
View File
@@ -935,6 +935,15 @@
<example>/conf/pgbackrest</example>
</option>
<!-- OPERATION - GENERAL - DRY-RUN OPTION -->
<option id="dry-run" name="Dry Run">
<summary>Execute a dry-run for the command.</summary>
<text>The <br-option>{[dash]}-dry-run</br-option> option is a command-line only option and can be passed when it is desireable to determine what modifications will be made by the command without the command actually making any modifications.</text>
<example>y</example>
</option>
<!-- OPERATION - GENERAL - RAW -->
<option id="raw" name="Raw Data">
<summary>Do not transform data.</summary>