1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test/expect
Cynthia Shang cdebfb09e0
Add time-based retention for full backups.
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.
2020-05-08 15:25:03 -04:00
..
mock-all-001.log Add time-based retention for full backups. 2020-05-08 15:25:03 -04:00
mock-all-002.log Add time-based retention for full backups. 2020-05-08 15:25:03 -04:00
mock-archive-001.log Add lz4 compression support. 2020-03-10 14:45:27 -04:00
mock-archive-002.log Add Zstandard compression support. 2020-05-04 15:25:27 -04:00
mock-archive-stop-001.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
mock-archive-stop-002.log Add SocketClient object. 2020-03-31 12:43:29 -04:00
mock-expire-001.log Add time-based retention for full backups. 2020-05-08 15:25:03 -04:00
mock-expire-002.log Add time-based retention for full backups. 2020-05-08 15:25:03 -04:00
mock-stanza-001.log Add Zstandard compression support. 2020-05-04 15:25:27 -04:00
mock-stanza-002.log Expire WAL archive only when repo-retention-archive threshold is met. 2020-04-29 08:06:49 -04:00
real-all-001.log Add --set option to the expire command. 2020-04-27 14:00:36 -04:00
real-all-002.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
real-all-003.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
real-all-004.log Add --set option to the expire command. 2020-04-27 14:00:36 -04:00
real-all-005.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
real-all-006.log Add Zstandard compression support. 2020-05-04 15:25:27 -04:00