1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Update FAQ page for expiring a specific backup set.

The FAQ should have been updated with the addition of ad hoc expire in 1c1a7104.
This commit is contained in:
Cynthia Shang 2020-06-11 14:06:36 -04:00 committed by GitHub
parent 6fe60a2428
commit a60d4c939a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View File

@ -32,11 +32,7 @@
<section id="manual-expire"> <section id="manual-expire">
<title>How do I manually purge a backup set?</title> <title>How do I manually purge a backup set?</title>
<p>Backup sets in the middle cannot be expired, but it is possible to expire the oldest backup sets by running the <cmd>expire</cmd> command with retention. For example, the following command will keep only the last two full backups, purging any prior full backups including their associated incremental/differential backups and archive:</p> <p>A full backup set can be expired using the <br-setting>{[dash]}-set</br-setting> option as explained in <link url="https://pgbackrest.org/command.html#command-expire">Command Reference: Expire</link>.</p>
<code-block>pgbackrest --stanza=xxx --repo1-retention-full=2 expire</code-block>
<p>Using the <br-setting>{[dash]}-repo1-retention-full</br-setting> option on the command- line simply overrides the setting in the configuration file for that one execution of the command. See the <link url='https://pgbackrest.org/user-guide.html#retention'>Retention</link> section in the User Guide for more information on retention.</p>
</section> </section>
<section id="optimize-config"> <section id="optimize-config">

View File

@ -63,6 +63,16 @@
<p>Fix incorrect example for <br-option>repo-retention-full-type</br-option> option.</p> <p>Fix incorrect example for <br-option>repo-retention-full-type</br-option> option.</p>
</release-item> </release-item>
</release-bug-list> </release-bug-list>
<release-improvement-list>
<release-item>
<release-item-contributor-list>
<release-item-contributor id="cynthia.shang"/>
</release-item-contributor-list>
<p>Update the FAQ page to clarify how a backup set can be expired.</p>
</release-item>
</release-improvement-list>
</release-doc-list> </release-doc-list>
</release> </release>