mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
cdebfb09e0
The --repo-retention-full-type option allows retention of full backups based on a time period, specified in days. The new option will default to 'count' and therefore will not affect current installations. Setting repo-retention-full-type to 'time' will allow the user to use a time period, in days, to indicate full backup retention. Using this method, a full backup can be expired only if the time the backup completed is older than the number of days set with repo-retention-full (calculated from the moment the 'expire' command is run) and at least one full backup meets the retention period. If archive retention has not been configured, then the default settings will expire archives that are prior to the oldest retained full backup. For example, if there are three full backups ending in times that are 25 days old (F1), 20 days old (F2) and 10 days old (F3), then if the full retention period is 15 days, then only F1 will be expired; F2 will be retained because F1 is not at least 15 days old. |
||
---|---|---|
.. | ||
mock-all-001.log | ||
mock-all-002.log | ||
mock-archive-001.log | ||
mock-archive-002.log | ||
mock-archive-stop-001.log | ||
mock-archive-stop-002.log | ||
mock-expire-001.log | ||
mock-expire-002.log | ||
mock-stanza-001.log | ||
mock-stanza-002.log | ||
real-all-001.log | ||
real-all-002.log | ||
real-all-003.log | ||
real-all-004.log | ||
real-all-005.log | ||
real-all-006.log |