mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +02:00
04c4c7b865
The tests now rely on --verbose to print out useful information in the logs that can be used for debugging purposes. In case of a failure in some of the tests an overall cleanup is not done, this is particularly useful for PGDATA which could still be used for extra failure analysis.
35 lines
732 B
Plaintext
35 lines
732 B
Plaintext
\! bash sql/backup.sh
|
|
###### BACKUP COMMAND TEST-0001 ######
|
|
###### full backup mode ######
|
|
0
|
|
1
|
|
3
|
|
###### BACKUP COMMAND TEST-0002 ######
|
|
###### page-level backup mode ######
|
|
0
|
|
2
|
|
6
|
|
###### BACKUP COMMAND TEST-0003 ######
|
|
###### full backup with smooth checkpoint ######
|
|
0
|
|
1
|
|
3
|
|
###### BACKUP COMMAND TEST-0004 ######
|
|
###### full backup with keep-data-generations and keep-data-days ######
|
|
0
|
|
0
|
|
0
|
|
The number of existing full backups validated is greater than 2.
|
|
OK. Let's try to test --keep-data-generations=1.
|
|
9
|
|
0
|
|
Number of remaining full backups validated: 2
|
|
Number of deleted backups : 2
|
|
6
|
|
###### BACKUP COMMAND TEST-0005 ######
|
|
###### switch backup mode from page to full ######
|
|
page-level backup without validated full backup
|
|
10
|
|
0
|
|
0
|