mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-02 13:36:08 +02:00
5c37daca69
All the ERROR_* fields are removed in favor of a more simple layer made of ERROR, FATAL, PANIC. The two last ones are not actually used yet, thought there should be some code paths that would need more polishing on this matter. The error message emitted before leaving should be fine to let the user know what is happening.
35 lines
731 B
Plaintext
35 lines
731 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
|
|
1
|
|
0
|
|
0
|