You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Reduce the scope of mock/all exclusion tests.
Run exclusions only on the tests where they will have an effect to reduce churn in the expect logs when they change.
This commit is contained in:
@@ -58,42 +58,27 @@ backrest-checksum="[CHECKSUM]"
|
||||
full backup - error on identical link destinations (db-master host)
|
||||
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --type=full --stanza=db backup
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --exclude=postgresql.auto.conf --exclude=pg_log/ --exclude=pg_log2 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full
|
||||
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
||||
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
||||
P00 WARN: exclude special file 'apipe' from backup
|
||||
P00 INFO: exclude pg_log/logfile from backup using 'pg_log/' exclusion
|
||||
P00 INFO: exclude pg_log2 from backup using 'pg_log2' exclusion
|
||||
P00 INFO: exclude pg_log2/logfile from backup using 'pg_log2' exclusion
|
||||
P00 INFO: exclude postgresql.auto.conf from backup using 'postgresql.auto.conf' exclusion
|
||||
P00 ERROR: [070]: link [TEST_PATH]/db-master/db/base/pg_hba.conf (../pg_config) references a subdirectory of or the same directory as link [TEST_PATH]/db-master/db/base/pg_config_bad (../../db/pg_config)
|
||||
P00 INFO: backup command end: aborted with exception [070]
|
||||
|
||||
full backup - error on link to a link (db-master host)
|
||||
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --type=full --stanza=db backup
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --exclude=postgresql.auto.conf --exclude=pg_log/ --exclude=pg_log2 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full
|
||||
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
||||
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
||||
P00 WARN: exclude special file 'apipe' from backup
|
||||
P00 INFO: exclude pg_log/logfile from backup using 'pg_log/' exclusion
|
||||
P00 INFO: exclude pg_log2 from backup using 'pg_log2' exclusion
|
||||
P00 INFO: exclude pg_log2/logfile from backup using 'pg_log2' exclusion
|
||||
P00 INFO: exclude postgresql.auto.conf from backup using 'postgresql.auto.conf' exclusion
|
||||
P00 ERROR: [070]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> '../pg_config/postgresql.conf.link' cannot reference another link
|
||||
P00 INFO: backup command end: aborted with exception [070]
|
||||
|
||||
full backup - create pg_stat link, pg_clog dir (db-master host)
|
||||
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --manifest-save-threshold=3 --buffer-size=16384 --checksum-page --process-max=1 --repo1-type=cifs --type=full --stanza=db backup
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --buffer-size=16384 --checksum-page --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --exclude=postgresql.auto.conf --exclude=pg_log/ --exclude=pg_log2 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --manifest-save-threshold=3 --no-online --pg1-path=[TEST_PATH]/db-master/db/base --process-max=1 --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --repo1-type=cifs --stanza=db --start-fast --type=full
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --buffer-size=16384 --checksum-page --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --manifest-save-threshold=3 --no-online --pg1-path=[TEST_PATH]/db-master/db/base --process-max=1 --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --repo1-type=cifs --stanza=db --start-fast --type=full
|
||||
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
||||
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
||||
P00 WARN: exclude special file 'apipe' from backup
|
||||
P00 INFO: exclude pg_log/logfile from backup using 'pg_log/' exclusion
|
||||
P00 INFO: exclude pg_log2 from backup using 'pg_log2' exclusion
|
||||
P00 INFO: exclude pg_log2/logfile from backup using 'pg_log2' exclusion
|
||||
P00 INFO: exclude postgresql.auto.conf from backup using 'postgresql.auto.conf' exclusion
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/33001 (64KB, 33%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
||||
P00 WARN: invalid page checksums found in file [TEST_PATH]/db-master/db/base/base/32768/33001 at pages 0, 3-5, 7
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/44000_init (32KB, 49%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
||||
@@ -140,9 +125,6 @@ spool-path=[TEST_PATH]/db-master/spool
|
||||
|
||||
[global:backup]
|
||||
archive-copy=y
|
||||
exclude=postgresql.auto.conf
|
||||
exclude=pg_log/
|
||||
exclude=pg_log2
|
||||
start-fast=y
|
||||
|
||||
+ supplemental file: [TEST_PATH]/db-master/repo/backup/db/[BACKUP-FULL-1]/backup.manifest
|
||||
@@ -226,7 +208,6 @@ pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_dynshmem={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_notify={}
|
||||
pg_data/pg_replslot={}
|
||||
pg_data/pg_serial={}
|
||||
@@ -282,7 +263,7 @@ P00 INFO: stop command end: completed successfully
|
||||
full backup - global stop (db-master host)
|
||||
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --type=full --stanza=db backup
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --exclude=postgresql.auto.conf --exclude=pg_log/ --exclude=pg_log2 --exclude=apipe --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full
|
||||
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
||||
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
||||
P00 ERROR: [062]: stop file exists for all stanzas
|
||||
@@ -304,7 +285,7 @@ P00 INFO: stop command end: completed successfully
|
||||
full backup - stanza stop (db-master host)
|
||||
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --type=full --stanza=db backup
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --exclude=postgresql.auto.conf --exclude=pg_log/ --exclude=pg_log2 --exclude=apipe --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full
|
||||
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
||||
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
||||
P00 ERROR: [062]: stop file exists for stanza db
|
||||
@@ -987,7 +968,7 @@ restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf
|
||||
incr backup - invalid database version (db-master host)
|
||||
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --stanza=db backup
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --exclude=postgresql.auto.conf --exclude=pg_log/ --exclude=pg_log2 --exclude=apipe --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast
|
||||
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
||||
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
||||
P00 ERROR: [051]: database version = 9.4, system-id 1000000000000000094 does not match backup version = 8.0, system-id = 1000000000000000094
|
||||
@@ -997,7 +978,7 @@ P00 INFO: backup command end: aborted with exception [051]
|
||||
incr backup - invalid system id (db-master host)
|
||||
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --stanza=db backup
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --exclude=postgresql.auto.conf --exclude=pg_log/ --exclude=pg_log2 --exclude=apipe --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast
|
||||
P00 INFO: backup command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast
|
||||
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
||||
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
||||
P00 ERROR: [051]: database version = 9.4, system-id 1000000000000000094 does not match backup version = 9.4, system-id = 6999999999999999999
|
||||
|
||||
@@ -411,6 +411,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
|
||||
@@ -694,6 +695,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -900,6 +902,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -1109,6 +1112,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -1316,6 +1320,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -1546,6 +1551,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -1751,6 +1757,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -1959,6 +1966,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -2176,6 +2184,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -2379,6 +2388,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -2589,6 +2599,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -2837,6 +2848,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
@@ -3049,6 +3061,7 @@ pg_data/base/16384={}
|
||||
pg_data/base/32768={}
|
||||
pg_data/global={}
|
||||
pg_data/pg_clog={}
|
||||
pg_data/pg_log={}
|
||||
pg_data/pg_stat={}
|
||||
pg_data/pg_tblspc={}
|
||||
pg_tblspc={}
|
||||
|
||||
Reference in New Issue
Block a user