mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-08 13:44:32 +02:00
9e35dd0d47
Because of that two regression tests were failing: - option - show_validate
51 lines
2.6 KiB
Plaintext
51 lines
2.6 KiB
Plaintext
-- test show command
|
|
\! rm -rf ${PWD}/results/sample_backup
|
|
\! cp -rp data/sample_backup ${PWD}/results/sample_backup
|
|
\! pg_rman show -B ${PWD}/results/sample_backup
|
|
===========================================================================================================
|
|
Start Mode Current TLI Parent TLI Time Total Data WAL Log Backup Status
|
|
===========================================================================================================
|
|
2009-06-03 17:05:53 FULL 1 0 0m ---- ---- ---- ---- ---- RUNNING
|
|
2009-06-01 17:05:53 INCR 1 0 3m ---- 9223PB 16MB ---- 162MB DONE
|
|
2009-05-31 17:05:53 FULL 1 0 3m 1242MB ---- 9223PB ---- 242MB DONE
|
|
\! pg_rman validate -B ${PWD}/results/sample_backup 2009-05-31 17:05:53 --debug
|
|
INFO: validate: 2009-05-31 17:05:53 backup and archive log files by CRC
|
|
LOG: database files...
|
|
LOG: (1/1) PG_VERSION
|
|
LOG: archive WAL files...
|
|
LOG: backup 2009-05-31 17:05:53 is valid
|
|
\! pg_rman validate -B ${PWD}/results/sample_backup 2009-06-01 17:05:53 --debug
|
|
INFO: validate: 2009-06-01 17:05:53 backup and archive log files by CRC
|
|
LOG: database files...
|
|
LOG: (1/1) PG_VERSION
|
|
WARNING: CRC of backup file "PG_VERSION" must be 0 but FEF71BC1
|
|
LOG: archive WAL files...
|
|
WARNING: backup 2009-06-01 17:05:53 is corrupted
|
|
\! pg_rman show -a -B ${PWD}/results/sample_backup
|
|
===========================================================================================================
|
|
Start Mode Current TLI Parent TLI Time Total Data WAL Log Backup Status
|
|
===========================================================================================================
|
|
2009-06-03 17:05:53 FULL 1 0 0m ---- ---- ---- ---- ---- RUNNING
|
|
2009-06-02 17:05:03 ARCH 1 0 0m ---- ---- ---- 4335kB 162MB DELETED
|
|
2009-06-01 17:05:53 INCR 1 0 3m ---- 9223PB 16MB ---- 162MB CORRUPT
|
|
2009-05-31 17:05:53 FULL 1 0 3m 1242MB ---- 9223PB ---- 242MB OK
|
|
\! pg_rman show 2009-06-01 17:05:53 -B ${PWD}/results/sample_backup
|
|
# configuration
|
|
BACKUP_MODE=INCREMENTAL
|
|
WITH_SERVERLOG=false
|
|
COMPRESS_DATA=false
|
|
# result
|
|
TIMELINEID=1
|
|
START_LSN=0/0b40c800
|
|
STOP_LSN=0/0b4c8020
|
|
START_TIME='2009-06-01 17:05:53'
|
|
END_TIME='2009-06-01 17:09:13'
|
|
RECOVERY_XID=0
|
|
TOTAL_DATA_BYTES=1242102558
|
|
READ_DATA_BYTES=9223372036854775807
|
|
READ_ARCLOG_BYTES=16777216
|
|
WRITE_BYTES=162372983
|
|
BLOCK_SIZE=8192
|
|
XLOG_BLOCK_SIZE=8192
|
|
STATUS=CORRUPT
|