1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00
pgbackrest/test/lib/pgBackRestTest/Module
Cynthia Shang 34c63276cd Automatically enable backup checksum delta when anomalies (e.g. timeline switch) are detected.
There are a number of cases where a checksum delta is more appropriate than the default time-based delta:

* Timeline has switched since the prior backup
* File timestamp is older than recorded in the prior backup
* File size changed but timestamp did not
* File timestamp is in the future compared to the start of the backup
* Online option has changed since the prior backup

A practical example is that checksum delta will be enabled after a failover to standby due to the timeline switch.  In this case, timestamps can't be trusted and our recommendation has been to run a full backup, which can impact the retention schedule and requires manual intervention.

Now, a checksum delta will be performed if the backup type is incr/diff.  This means more CPU will be used during the backup but the backup size will be smaller and the retention schedule will not be impacted.

Contributed by Cynthia Shang.
2018-11-01 11:31:25 -04:00
..
Archive Fix static WAL segment size used to determine if archive-push-queue-max has been exceeded. 2018-10-27 20:00:00 +01:00
Backup Automatically enable backup checksum delta when anomalies (e.g. timeline switch) are detected. 2018-11-01 11:31:25 -04:00
Common Improve the HTTP client to set content-length to 0 when not specified by the server. 2018-06-26 17:27:22 -04:00
Info Improve info command to display the stanza cipher type. 2018-09-10 13:09:45 -04:00
Manifest Automatically enable backup checksum delta when anomalies (e.g. timeline switch) are detected. 2018-11-01 11:31:25 -04:00
Mock Automatically enable backup checksum delta when anomalies (e.g. timeline switch) are detected. 2018-11-01 11:31:25 -04:00
Performance Rename db-* options to pg-* and backup-* options to repo-* to improve consistency. 2018-02-03 18:27:38 -05:00
Protocol Improve log file names for remote processes started by locals. 2018-08-31 11:31:13 -04:00
Real Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
Stanza Remove incompletely implemented online option from the check command. 2018-08-12 19:24:21 -04:00
Storage Retry all S3 5xx errors rather than just 500 internal errors. 2018-10-30 16:45:42 -04:00