1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test
Andrey Sokolov 0ac09344dc
Fix unique label generation for diff/incr backup.
If there were at least two full backups and the last one was expired, it was impossible to make either a differential or incremental backup without first making a new full backup. The backupLabelCreate() function identified this situation as clock skew because the new backup label was compared with label of the expired full backup.

If the new backup is differential or incremental, then its label is now compared with the labels of differential or incremental backups related to the same full backup.

Also convert a hard-coded date length to a macro.
2023-06-28 18:19:20 +02:00
..
certificate SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
code-count v2.46: Block Incremental Backup and SFTP Storage 2023-05-22 11:13:13 +03:00
data Automate generation of WAL and pg_control test files. 2017-11-18 20:02:54 -05:00
lib/pgBackRestTest Update Fedora test image to Fedora 38. 2023-06-22 18:23:06 +02:00
src Fix unique label generation for diff/incr backup. 2023-06-28 18:19:20 +02:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
ci.pl Remove user-facing documentation references to --vm=none. 2023-05-23 10:58:51 +03:00
container.yaml Update Fedora test image to Fedora 38. 2023-06-22 18:23:06 +02:00
define.yaml SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
Dockerfile SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
test.pl Remove double spaces from comments and documentation. 2023-05-02 12:57:12 +03:00
uncrustify.cfg Check for stray execute permissions in test.pl --code-format. 2023-02-01 12:57:04 +07:00
Vagrantfile SFTP support for repository storage. 2023-05-13 19:16:16 +03:00