1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test
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
..
certificate New test containers with static test certificates. 2018-11-21 18:13:37 -05:00
code-count v2.26: Non-blocking TLS 2020-04-20 15:44:31 -04:00
data Automate generation of WAL and pg_control test files. 2017-11-18 20:02:54 -05:00
expect Add time-based retention for full backups. 2020-05-08 15:25:03 -04:00
lib/pgBackRestTest Update Minio version to 2020-05-06T23-23-25Z in tests/documentation. 2020-05-07 17:26:46 -04:00
patch Add bzip2 compression support. 2020-05-05 16:49:01 -04:00
src Add time-based retention for full backups. 2020-05-08 15:25:03 -04:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
container.yaml Update Fedora container to Fedora 32. 2020-05-07 11:06:56 -04:00
define.yaml Add time-based retention for full backups. 2020-05-08 15:25:03 -04:00
test.pl Update RHEL package location (again). 2020-04-21 10:51:38 -04:00
travis.pl Add bzip2 compression support. 2020-05-05 16:49:01 -04:00
Vagrantfile Add bzip2 compression support. 2020-05-05 16:49:01 -04:00