mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
73 lines
4.7 KiB
Plaintext
73 lines
4.7 KiB
Plaintext
run 005 - rmt 1, cmp 1, error version
|
|
=====================================
|
|
|
|
stanza-create db - create required data for stanza (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --log-level-console=detail --no-online stanza-create
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=[USER-1] --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=detail --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db
|
|
P00 INFO: stanza-create command end: completed successfully
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/repo/backup/db/backup.info
|
|
------------------------------------------------------------------
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=6353949018581704918
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":6353949018581704918,"db-version":"9.4"}
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info
|
|
--------------------------------------------------------------------
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[db]
|
|
db-id=1
|
|
db-system-id=6353949018581704918
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-id":6353949018581704918,"db-version":"9.4"}
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 ERROR: [119]: raised on local-1 host: raised on backup host: WAL segment version 9.4 does not match archive version 8.0
|
|
HINT: are you archiving to the correct stanza?
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 ERROR: [119]: raised on local-1 host: raised on backup host: WAL segment version 9.4 does not match archive version 8.0
|
|
HINT: are you archiving to the correct stanza?
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: dropped WAL file 000000010000000100000004 because archive queue exceeded 33554432 bytes
|
|
|
|
> ls -1R [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
[TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001:
|
|
000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
> ls -1R [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
[TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001:
|
|
000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz
|
|
000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz
|
|
000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz
|