2018-11-23 19:18:07 +02:00
|
|
|
run 003 - rmt 0, s3 1, enc 0
|
2017-11-06 19:51:12 +02:00
|
|
|
============================
|
2017-06-21 14:38:53 +02:00
|
|
|
|
2017-06-23 00:51:39 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2018-11-23 19:18:07 +02:00
|
|
|
P00 ERROR: [055]: unable to open /archive/db/archive.info or /archive/db/archive.info.copy
|
|
|
|
P00 ERROR: [055]: archive.info does not exist but is required to push/get WAL segments
|
2017-06-23 00:51:39 +02:00
|
|
|
HINT: is archive_command configured in postgresql.conf?
|
|
|
|
HINT: has a stanza-create been performed?
|
|
|
|
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
|
|
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
2017-06-21 14:38:53 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2018-11-23 19:18:07 +02:00
|
|
|
P00 ERROR: [055]: unable to open /archive/db/archive.info or /archive/db/archive.info.copy
|
|
|
|
HINT: archive.info does not exist but is required to push/get WAL segments.
|
2017-06-21 14:38:53 +02:00
|
|
|
HINT: is archive_command configured in postgresql.conf?
|
|
|
|
HINT: has a stanza-create been performed?
|
|
|
|
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
|
|
|
|
2018-11-23 19:18:07 +02:00
|
|
|
stanza-create db - stanza create (db-master host)
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db --log-level-console=detail --no-online --force stanza-create
|
2017-06-21 14:38:53 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2018-11-23 19:18:07 +02:00
|
|
|
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --force --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=/ --repo1-s3-bucket=pgbackrest-dev --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=db
|
2017-06-21 14:38:53 +02:00
|
|
|
P00 INFO: stanza-create command end: completed successfully
|
|
|
|
|
|
|
|
+ supplemental file: /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
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000094
|
2017-06-21 14:38:53 +02:00
|
|
|
db-version="9.4"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
2017-06-21 14:38:53 +02:00
|
|
|
|
|
|
|
+ supplemental file: /archive/db/archive.info
|
|
|
|
---------------------------------------------
|
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
|
|
|
[db]
|
|
|
|
db-id=1
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000094
|
2017-06-21 14:38:53 +02:00
|
|
|
db-version="9.4"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-id":1000000000000000094,"db-version":"9.4"}
|
2017-06-21 14:38:53 +02:00
|
|
|
|
2018-11-23 19:18:07 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push --compress --log-level-console=warn [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001
|
2017-06-23 00:51:39 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
2018-09-05 03:46:41 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get --log-level-console=warn 700000007000000070000000 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
2017-06-23 00:51:39 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get --log-level-console=warn 000000010000000100000001 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
2017-06-21 14:38:53 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push --compress --archive-async --process-max=2 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2018-11-23 19:18:07 +02:00
|
|
|
P00 ERROR: [044]: WAL segment version 9.4 does not match archive version 8.0
|
2017-06-21 14:38:53 +02:00
|
|
|
HINT: are you archiving to the correct stanza?
|
|
|
|
|
2017-06-23 00:51:39 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2017-11-17 00:18:51 +02:00
|
|
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2018-11-23 19:18:07 +02:00
|
|
|
P00 ERROR: [044]: unable to retrieve the archive id for database version '9.4' and system-id '1000000000000000094'
|
2017-06-23 00:51:39 +02:00
|
|
|
|
2017-06-21 14:38:53 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2018-11-23 19:18:07 +02:00
|
|
|
P00 ERROR: [044]: WAL segment system-id 1000000000000000094 does not match archive system-id 5000900090001855000
|
2017-06-21 14:38:53 +02:00
|
|
|
HINT: are you archiving to the correct stanza?
|
|
|
|
|
2017-06-23 00:51:39 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2018-11-23 19:18:07 +02:00
|
|
|
P00 ERROR: [044]: unable to retrieve the archive id for database version '9.4' and system-id '1000000000000000094'
|
2017-06-23 00:51:39 +02:00
|
|
|
|
2017-06-21 14:38:53 +02:00
|
|
|
stop db stanza (db-master host)
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db stop
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
P00 ERROR: [062]: stop file exists for stanza db
|
|
|
|
|
2017-06-23 00:51:39 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
P00 ERROR: [062]: stop file exists for stanza db
|
|
|
|
|
2017-06-21 14:38:53 +02:00
|
|
|
start db stanza (db-master host)
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db start
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
P00 WARN: WAL segment 000000010000000100000002 already exists in the archive with the same checksum
|
|
|
|
HINT: this is valid in some recovery scenarios but may also indicate a problem.
|
|
|
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
P00 ERROR: [045]: WAL segment 000000010000000100000002 already exists in the archive
|
|
|
|
|
2018-11-23 19:18:07 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get --archive-async --archive-timeout=5 000000010000000100000002 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
2017-06-23 00:51:39 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
2017-06-21 14:38:53 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002.partial
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002.partial
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
P00 WARN: WAL segment 000000010000000100000002.partial already exists in the archive with the same checksum
|
|
|
|
HINT: this is valid in some recovery scenarios but may also indicate a problem.
|
|
|
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002.partial
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
P00 ERROR: [045]: WAL segment 000000010000000100000002.partial already exists in the archive
|