2020-03-06 21:41:03 +02:00
|
|
|
run 002 - remote 1, s3 1, enc 1, cmp gz
|
|
|
|
=======================================
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
stanza-create db - fail on missing control file (backup host)
|
2019-12-17 22:23:07 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online --log-level-file=[LOG-LEVEL-FILE] stanza-create
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-08-21 22:26:28 +02:00
|
|
|
P00 ERROR: [055]: raised from remote-0 protocol on 'db-master': unable to open missing file '[TEST_PATH]/db-master/db/base/global/pg_control' for read
|
|
|
|
P00 INFO: stanza-create command end: aborted with exception [055]
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
stanza-upgrade db - fail on stanza not initialized since archive.info is missing (backup host)
|
2019-05-23 00:23:44 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online stanza-upgrade
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-upgrade command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-08-21 22:26:28 +02:00
|
|
|
P00 ERROR: [055]: unable to load info file '/archive/db/archive.info' or '/archive/db/archive.info.copy':
|
|
|
|
FileMissingError: unable to open '/archive/db/archive.info': No such file or directory
|
|
|
|
FileMissingError: unable to open '/archive/db/archive.info.copy': No such file or directory
|
|
|
|
HINT: archive.info cannot be opened but is required to push/get WAL segments.
|
|
|
|
HINT: is archive_command configured correctly in postgresql.conf?
|
2017-08-04 22:10:51 +02:00
|
|
|
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.
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: stanza-upgrade command end: aborted with exception [055]
|
|
|
|
|
|
|
|
stanza-create db - successfully create the stanza (backup host)
|
2019-05-23 00:23:44 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online stanza-create
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: stanza-create command end: completed successfully
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
|
|
-------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-1]
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[db]
|
|
|
|
db-catalog-version=201306121
|
|
|
|
db-control-version=937
|
|
|
|
db-id=1
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000093
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.3"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":1000000000000000093,"db-version":"9.3"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /archive/db/archive.info
|
|
|
|
---------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-2]
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[db]
|
|
|
|
db-id=1
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000093
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.3"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-id":1000000000000000093,"db-version":"9.3"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2018-02-01 21:12:03 +02:00
|
|
|
stanza-create db - do not fail on rerun of stanza-create - info files exist and DB section ok (backup host)
|
2019-05-23 00:23:44 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online stanza-create
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-08-21 22:26:28 +02:00
|
|
|
P00 INFO: stanza 'db' already exists and is valid
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2018-02-01 21:12:03 +02:00
|
|
|
P00 INFO: stanza-create command end: completed successfully
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
|
|
-------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-1]
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[db]
|
|
|
|
db-catalog-version=201306121
|
|
|
|
db-control-version=937
|
|
|
|
db-id=1
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000093
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.3"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":1000000000000000093,"db-version":"9.3"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /archive/db/archive.info
|
|
|
|
---------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-2]
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[db]
|
|
|
|
db-id=1
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000093
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.3"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-id":1000000000000000093,"db-version":"9.3"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2019-08-21 22:26:28 +02:00
|
|
|
stanza-create db - fail on database mismatch and warn force option deprecated (backup host)
|
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online --force stanza-create
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --force --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-08-21 22:26:28 +02:00
|
|
|
P00 WARN: option --force is no longer supported
|
2019-10-09 00:04:09 +02:00
|
|
|
P00 ERROR: [028]: backup and archive info files exist but do not match the database
|
2019-08-21 22:26:28 +02:00
|
|
|
HINT: is this the correct stanza?
|
|
|
|
HINT: did an error occur during stanza-upgrade?
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: stanza-create command end: aborted with exception [028]
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
|
|
-------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-1]
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[db]
|
|
|
|
db-catalog-version=201306121
|
|
|
|
db-control-version=937
|
|
|
|
db-id=1
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000093
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.3"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":1000000000000000093,"db-version":"9.3"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /archive/db/archive.info
|
|
|
|
---------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-2]
|
|
|
|
|
2017-08-04 22:10:51 +02:00
|
|
|
[db]
|
|
|
|
db-id=1
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000093
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.3"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-id":1000000000000000093,"db-version":"9.3"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
stanza-upgrade db - already up to date (backup host)
|
2019-05-23 00:23:44 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online stanza-upgrade
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-upgrade command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-08-21 22:26:28 +02:00
|
|
|
P00 INFO: stanza 'db' is already up to date
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2017-11-06 19:51:12 +02:00
|
|
|
P00 INFO: stanza-upgrade command end: completed successfully
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
|
|
-------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
|
2017-08-04 22:10:51 +02:00
|
|
|
[db]
|
|
|
|
db-catalog-version=201306121
|
|
|
|
db-control-version=937
|
|
|
|
db-id=1
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000093
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.3"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":1000000000000000093,"db-version":"9.3"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /archive/db/archive.info
|
|
|
|
---------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-2]
|
|
|
|
|
2017-08-04 22:10:51 +02:00
|
|
|
[db]
|
|
|
|
db-id=1
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000093
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.3"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-id":1000000000000000093,"db-version":"9.3"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2017-11-06 19:51:12 +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
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2019-12-17 22:23:07 +02:00
|
|
|
P00 INFO: archive-push command begin [BACKREST-VERSION]: [[TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001] --buffer-size=[BUFFER-SIZE] --compress-level=3 --compress-level-network=1 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log[] --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-host=backup --repo1-host-cmd=[BACKREST-BIN] --repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf --repo1-host-user=[USER-1] --stanza=db
|
2019-03-29 15:26:33 +02:00
|
|
|
P00 INFO: pushed WAL file '000000010000000100000001' to the archive
|
2017-11-06 19:51:12 +02:00
|
|
|
P00 INFO: archive-push command end: completed successfully
|
|
|
|
|
2017-11-17 00:18:51 +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
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2019-12-17 22:23:07 +02:00
|
|
|
P00 INFO: archive-push command begin [BACKREST-VERSION]: [[TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002] --buffer-size=[BUFFER-SIZE] --compress-level=3 --compress-level-network=1 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log[] --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-host=backup --repo1-host-cmd=[BACKREST-BIN] --repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf --repo1-host-user=[USER-1] --stanza=db
|
2019-03-29 15:26:33 +02:00
|
|
|
P00 INFO: pushed WAL file '000000010000000100000002' to the archive
|
2017-11-17 00:18:51 +02:00
|
|
|
P00 INFO: archive-push command end: completed successfully
|
|
|
|
|
2018-04-19 01:37:35 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-push-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2019-03-29 15:26:33 +02:00
|
|
|
P00 ERROR: [044]: PostgreSQL version 9.4, system-id 1000000000000000094 do not match stanza version 9.3, system-id 1000000000000000093
|
2017-08-04 22:10:51 +02:00
|
|
|
HINT: are you archiving to the correct stanza?
|
|
|
|
|
|
|
|
stanza-upgrade db - successful upgrade creates additional history (backup host)
|
2019-05-23 00:23:44 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online stanza-upgrade
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-upgrade command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: stanza-upgrade command end: completed successfully
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
|
|
-------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
|
2017-08-04 22:10:51 +02:00
|
|
|
[db]
|
|
|
|
db-catalog-version=201409291
|
|
|
|
db-control-version=942
|
|
|
|
db-id=2
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000094
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.4"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":1000000000000000093,"db-version":"9.3"}
|
|
|
|
2={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /archive/db/archive.info
|
|
|
|
---------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-2]
|
|
|
|
|
2017-08-04 22:10:51 +02:00
|
|
|
[db]
|
|
|
|
db-id=2
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000094
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.4"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-id":1000000000000000093,"db-version":"9.3"}
|
|
|
|
2={"db-id":1000000000000000094,"db-version":"9.4"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
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 000000010000000100000002 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: archive-get command begin [BACKREST-VERSION]: [000000010000000100000002, [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG] --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log[] --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-host=backup --repo1-host-cmd=[BACKREST-BIN] --repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf --repo1-host-user=[USER-1] --stanza=db
|
2018-09-11 18:30:48 +02:00
|
|
|
P00 INFO: found 000000010000000100000002 in the archive
|
2017-11-17 00:18:51 +02:00
|
|
|
P00 INFO: archive-get command end: completed successfully
|
|
|
|
|
2018-04-19 01:37:35 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-push-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
full backup - create first full backup (backup host)
|
2019-02-24 06:55:59 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --repo1-retention-full=2 --no-online --type=full --stanza=db backup
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2019-12-17 22:23:07 +02:00
|
|
|
P00 INFO: backup command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level=3 --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/ --repo1-retention-full=2 --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-tls --repo1-type=s3 --stanza=db --start-fast --type=full
|
2017-11-19 03:02:54 +02:00
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG (16MB, 33%) checksum 488ba4b8b98acc510bce86b8f16e3c1ed9886a29
|
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 (16MB, 66%) checksum 488ba4b8b98acc510bce86b8f16e3c1ed9886a29
|
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 (16MB, 99%) checksum e40de8cea99dd469c3efb47f5f33a73c7390fb9c
|
2018-09-25 11:24:42 +02:00
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/global/pg_control (8KB, 100%) checksum 4c77c900f7af0d9ab13fa9982051a42e0b637f6c
|
2017-11-19 03:02:54 +02:00
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/archive_status/000000010000000100000002.ready (0B, 100%)
|
2017-08-04 22:10:51 +02:00
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/archive_status/000000010000000100000001.ready (0B, 100%)
|
2017-11-17 00:18:51 +02:00
|
|
|
P00 INFO: full backup size = 48MB
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: new backup label = [BACKUP-FULL-1]
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: backup command end: completed successfully
|
2019-12-17 22:23:07 +02:00
|
|
|
P00 INFO: expire command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --config=[TEST_PATH]/backup/pgbackrest.conf --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/ --repo1-retention-full=2 --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-tls --repo1-type=s3 --stanza=db
|
2019-02-24 07:42:41 +02:00
|
|
|
P00 INFO: remove archive path: /archive/db/9.3-1
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: full backup total < 2 - using oldest full backup for 9.4-2 archive retention
|
2019-06-18 21:19:20 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: expire command end: completed successfully
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
|
|
----------------------------------------------------------
|
|
|
|
[db]
|
2018-02-04 01:27:38 +02:00
|
|
|
pg1-path=[TEST_PATH]/db-master/db/base
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[global]
|
2019-12-17 22:23:07 +02:00
|
|
|
buffer-size=[BUFFER-SIZE]
|
2017-10-23 00:05:46 +02:00
|
|
|
compress-level=3
|
|
|
|
compress-level-network=1
|
2017-08-04 22:10:51 +02:00
|
|
|
db-timeout=45
|
|
|
|
lock-path=[TEST_PATH]/db-master/lock
|
2019-02-24 06:55:59 +02:00
|
|
|
log-level-console=detail
|
2019-12-17 22:23:07 +02:00
|
|
|
log-level-file=[LOG-LEVEL-FILE]
|
2017-08-04 22:10:51 +02:00
|
|
|
log-level-stderr=off
|
|
|
|
log-path=[TEST_PATH]/db-master/log
|
2019-12-17 22:23:07 +02:00
|
|
|
log-subprocess=[LOG-SUBPROCESS]
|
2018-05-11 17:24:38 +02:00
|
|
|
log-timestamp=n
|
2017-08-04 22:10:51 +02:00
|
|
|
protocol-timeout=60
|
2018-02-04 01:27:38 +02:00
|
|
|
repo1-host=backup
|
|
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
2019-10-12 15:45:18 +02:00
|
|
|
repo1-host-user=[USER-1]
|
2017-08-04 22:10:51 +02:00
|
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
|
|
-------------------------------------------------------
|
|
|
|
[db]
|
2018-02-04 01:27:38 +02:00
|
|
|
pg1-host=db-master
|
|
|
|
pg1-host-cmd=[BACKREST-BIN]
|
|
|
|
pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf
|
|
|
|
pg1-host-user=[USER-1]
|
|
|
|
pg1-path=[TEST_PATH]/db-master/db/base
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[global]
|
2019-12-17 22:23:07 +02:00
|
|
|
buffer-size=[BUFFER-SIZE]
|
2017-10-23 00:05:46 +02:00
|
|
|
compress-level=3
|
|
|
|
compress-level-network=1
|
2017-08-04 22:10:51 +02:00
|
|
|
db-timeout=45
|
|
|
|
lock-path=[TEST_PATH]/backup/lock
|
2019-02-24 06:55:59 +02:00
|
|
|
log-level-console=detail
|
2019-12-17 22:23:07 +02:00
|
|
|
log-level-file=[LOG-LEVEL-FILE]
|
2017-08-04 22:10:51 +02:00
|
|
|
log-level-stderr=off
|
|
|
|
log-path=[TEST_PATH]/backup/log
|
2019-12-17 22:23:07 +02:00
|
|
|
log-subprocess=[LOG-SUBPROCESS]
|
2018-05-11 17:24:38 +02:00
|
|
|
log-timestamp=n
|
2017-08-04 22:10:51 +02:00
|
|
|
protocol-timeout=60
|
2018-02-04 01:27:38 +02:00
|
|
|
repo1-cipher-pass=x
|
|
|
|
repo1-cipher-type=aes-256-cbc
|
2019-02-24 07:42:41 +02:00
|
|
|
repo1-path=/
|
|
|
|
repo1-s3-bucket=pgbackrest-dev
|
|
|
|
repo1-s3-endpoint=s3.amazonaws.com
|
|
|
|
repo1-s3-key=accessKey1
|
|
|
|
repo1-s3-key-secret=verySecretKey1
|
|
|
|
repo1-s3-region=us-east-1
|
|
|
|
repo1-s3-verify-ssl=n
|
|
|
|
repo1-type=s3
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[global:backup]
|
|
|
|
archive-copy=y
|
|
|
|
start-fast=y
|
|
|
|
|
2019-08-21 22:26:28 +02:00
|
|
|
stanza-upgrade db - successfully upgrade (backup host)
|
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online stanza-upgrade
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-upgrade command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2019-08-21 22:26:28 +02:00
|
|
|
P00 INFO: stanza-upgrade command end: completed successfully
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-08-21 22:26:28 +02:00
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
|
|
-------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2019-08-21 22:26:28 +02:00
|
|
|
[backup:current]
|
2019-11-28 15:27:21 +02:00
|
|
|
[BACKUP-FULL-1]={"backrest-format":5,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":[SIZE],"backup-info-repo-size-delta":[DELTA],"backup-info-size":[SIZE],"backup-info-size-delta":[DELTA],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":2,"option-archive-check":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
|
2019-08-21 22:26:28 +02:00
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
2019-08-21 22:26:28 +02:00
|
|
|
cipher-pass=[CIPHER-PASS-1]
|
2017-11-06 19:51:12 +02:00
|
|
|
|
2017-08-04 22:10:51 +02:00
|
|
|
[db]
|
2019-08-21 22:26:28 +02:00
|
|
|
db-catalog-version=201510051
|
|
|
|
db-control-version=942
|
|
|
|
db-id=3
|
|
|
|
db-system-id=1000000000000000095
|
|
|
|
db-version="9.5"
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[db:history]
|
2019-08-21 22:26:28 +02:00
|
|
|
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":1000000000000000093,"db-version":"9.3"}
|
|
|
|
2={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
3={"db-catalog-version":201510051,"db-control-version":942,"db-system-id":1000000000000000095,"db-version":"9.5"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /archive/db/archive.info
|
|
|
|
---------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-2]
|
|
|
|
|
2017-08-04 22:10:51 +02:00
|
|
|
[db]
|
2019-08-21 22:26:28 +02:00
|
|
|
db-id=3
|
|
|
|
db-system-id=1000000000000000095
|
|
|
|
db-version="9.5"
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-id":1000000000000000093,"db-version":"9.3"}
|
|
|
|
2={"db-id":1000000000000000094,"db-version":"9.4"}
|
2019-08-21 22:26:28 +02:00
|
|
|
3={"db-id":1000000000000000095,"db-version":"9.5"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2019-08-21 22:26:28 +02:00
|
|
|
stanza-upgrade db - upgrade fails with mismatched db-ids (backup host)
|
2019-05-23 00:23:44 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online stanza-upgrade
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-upgrade command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-08-21 22:26:28 +02:00
|
|
|
P00 ERROR: [028]: backup info file and archive info file do not match
|
|
|
|
archive: id = 2, version = 9.5, system-id = 1000000000000000095
|
|
|
|
backup : id = 3, version = 9.5, system-id = 1000000000000000095
|
|
|
|
HINT: this may be a symptom of repository corruption!
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2019-08-21 22:26:28 +02:00
|
|
|
P00 INFO: stanza-upgrade command end: aborted with exception [028]
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
|
|
-------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
|
|
|
[backup:current]
|
2019-11-28 15:27:21 +02:00
|
|
|
[BACKUP-FULL-1]={"backrest-format":5,"backrest-version":"[VERSION-1]","backup-archive-start":null,"backup-archive-stop":null,"backup-info-repo-size":[SIZE],"backup-info-repo-size-delta":[DELTA],"backup-info-size":[SIZE],"backup-info-size-delta":[DELTA],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"full","db-id":2,"option-archive-check":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
|
2017-11-06 19:51:12 +02:00
|
|
|
|
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-1]
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[db]
|
|
|
|
db-catalog-version=201510051
|
|
|
|
db-control-version=942
|
2017-11-06 19:51:12 +02:00
|
|
|
db-id=3
|
2017-11-19 03:02:54 +02:00
|
|
|
db-system-id=1000000000000000095
|
2017-08-04 22:10:51 +02:00
|
|
|
db-version="9.5"
|
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":1000000000000000093,"db-version":"9.3"}
|
|
|
|
2={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
3={"db-catalog-version":201510051,"db-control-version":942,"db-system-id":1000000000000000095,"db-version":"9.5"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2019-02-24 07:42:41 +02:00
|
|
|
+ supplemental file: /archive/db/archive.info
|
|
|
|
---------------------------------------------
|
2017-08-04 22:10:51 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
2017-11-06 19:51:12 +02:00
|
|
|
[cipher]
|
|
|
|
cipher-pass=[CIPHER-PASS-2]
|
|
|
|
|
2017-08-04 22:10:51 +02:00
|
|
|
[db]
|
2019-08-21 22:26:28 +02:00
|
|
|
db-id=1
|
|
|
|
db-system-id=1000000000000000093
|
|
|
|
db-version="9.3"
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[db:history]
|
2017-11-19 03:02:54 +02:00
|
|
|
1={"db-id":1000000000000000093,"db-version":"9.3"}
|
2017-08-04 22:10:51 +02:00
|
|
|
|
2019-09-06 19:48:28 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
|
2018-04-19 01:37:35 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-push-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
diff backup - diff changed to full backup (backup host)
|
2019-02-24 06:55:59 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --repo1-retention-full=2 --no-online --type=diff --stanza=db backup
|
2017-08-04 22:10:51 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2019-12-17 22:23:07 +02:00
|
|
|
P00 INFO: backup command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level=3 --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/ --repo1-retention-full=2 --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-tls --repo1-type=s3 --stanza=db --start-fast --type=diff
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 WARN: no prior backup exists, diff backup has been changed to full
|
2017-11-19 03:02:54 +02:00
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG (16MB, 33%) checksum 488ba4b8b98acc510bce86b8f16e3c1ed9886a29
|
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 (16MB, 66%) checksum 488ba4b8b98acc510bce86b8f16e3c1ed9886a29
|
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 (16MB, 99%) checksum 65b64687e7bfd1a918c6144f84a133f03e50ac57
|
2018-09-25 11:24:42 +02:00
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/global/pg_control (8KB, 100%) checksum 4969435f3b36bfaa0f5a486bef97f1988a135520
|
2017-11-19 03:02:54 +02:00
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/archive_status/000000010000000100000002.ready (0B, 100%)
|
2017-08-04 22:10:51 +02:00
|
|
|
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_xlog/archive_status/000000010000000100000001.ready (0B, 100%)
|
2017-11-17 00:18:51 +02:00
|
|
|
P00 INFO: full backup size = 48MB
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: new backup label = [BACKUP-FULL-2]
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: backup command end: completed successfully
|
2019-12-17 22:23:07 +02:00
|
|
|
P00 INFO: expire command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --config=[TEST_PATH]/backup/pgbackrest.conf --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/ --repo1-retention-full=2 --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-tls --repo1-type=s3 --stanza=db
|
2019-06-18 21:19:20 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2017-08-04 22:10:51 +02:00
|
|
|
P00 INFO: expire command end: completed successfully
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
|
|
----------------------------------------------------------
|
|
|
|
[db]
|
2018-02-04 01:27:38 +02:00
|
|
|
pg1-path=[TEST_PATH]/db-master/db/base
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[global]
|
2019-12-17 22:23:07 +02:00
|
|
|
buffer-size=[BUFFER-SIZE]
|
2017-10-23 00:05:46 +02:00
|
|
|
compress-level=3
|
|
|
|
compress-level-network=1
|
2017-08-04 22:10:51 +02:00
|
|
|
db-timeout=45
|
|
|
|
lock-path=[TEST_PATH]/db-master/lock
|
2019-02-24 06:55:59 +02:00
|
|
|
log-level-console=detail
|
2019-12-17 22:23:07 +02:00
|
|
|
log-level-file=[LOG-LEVEL-FILE]
|
2017-08-04 22:10:51 +02:00
|
|
|
log-level-stderr=off
|
|
|
|
log-path=[TEST_PATH]/db-master/log
|
2019-12-17 22:23:07 +02:00
|
|
|
log-subprocess=[LOG-SUBPROCESS]
|
2018-05-11 17:24:38 +02:00
|
|
|
log-timestamp=n
|
2017-08-04 22:10:51 +02:00
|
|
|
protocol-timeout=60
|
2018-02-04 01:27:38 +02:00
|
|
|
repo1-host=backup
|
|
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
2019-10-12 15:45:18 +02:00
|
|
|
repo1-host-user=[USER-1]
|
2017-08-04 22:10:51 +02:00
|
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
|
|
-------------------------------------------------------
|
|
|
|
[db]
|
2018-02-04 01:27:38 +02:00
|
|
|
pg1-host=db-master
|
|
|
|
pg1-host-cmd=[BACKREST-BIN]
|
|
|
|
pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf
|
|
|
|
pg1-host-user=[USER-1]
|
|
|
|
pg1-path=[TEST_PATH]/db-master/db/base
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[global]
|
2019-12-17 22:23:07 +02:00
|
|
|
buffer-size=[BUFFER-SIZE]
|
2017-10-23 00:05:46 +02:00
|
|
|
compress-level=3
|
|
|
|
compress-level-network=1
|
2017-08-04 22:10:51 +02:00
|
|
|
db-timeout=45
|
|
|
|
lock-path=[TEST_PATH]/backup/lock
|
2019-02-24 06:55:59 +02:00
|
|
|
log-level-console=detail
|
2019-12-17 22:23:07 +02:00
|
|
|
log-level-file=[LOG-LEVEL-FILE]
|
2017-08-04 22:10:51 +02:00
|
|
|
log-level-stderr=off
|
|
|
|
log-path=[TEST_PATH]/backup/log
|
2019-12-17 22:23:07 +02:00
|
|
|
log-subprocess=[LOG-SUBPROCESS]
|
2018-05-11 17:24:38 +02:00
|
|
|
log-timestamp=n
|
2017-08-04 22:10:51 +02:00
|
|
|
protocol-timeout=60
|
2018-02-04 01:27:38 +02:00
|
|
|
repo1-cipher-pass=x
|
|
|
|
repo1-cipher-type=aes-256-cbc
|
2019-02-24 07:42:41 +02:00
|
|
|
repo1-path=/
|
|
|
|
repo1-s3-bucket=pgbackrest-dev
|
|
|
|
repo1-s3-endpoint=s3.amazonaws.com
|
|
|
|
repo1-s3-key=accessKey1
|
|
|
|
repo1-s3-key-secret=verySecretKey1
|
|
|
|
repo1-s3-region=us-east-1
|
|
|
|
repo1-s3-verify-ssl=n
|
|
|
|
repo1-type=s3
|
2017-08-04 22:10:51 +02:00
|
|
|
|
|
|
|
[global:backup]
|
|
|
|
archive-copy=y
|
|
|
|
start-fast=y
|
|
|
|
|
2018-01-03 19:23:33 +02:00
|
|
|
stanza-delete db - fail on missing stop file (backup host)
|
2019-05-23 00:23:44 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db stanza-delete
|
2018-01-03 19:23:33 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-delete command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2018-01-03 19:23:33 +02:00
|
|
|
P00 ERROR: [055]: stop file does not exist for stanza 'db'
|
2019-08-21 22:26:28 +02:00
|
|
|
HINT: has the pgbackrest stop command been run on this server for this stanza?
|
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2018-01-03 19:23:33 +02:00
|
|
|
P00 INFO: stanza-delete command end: aborted with exception [055]
|
|
|
|
|
|
|
|
db must not exist for successful delete
|
2019-07-03 04:20:35 +02:00
|
|
|
> list backup
|
2018-01-03 19:23:33 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2019-07-03 04:20:35 +02:00
|
|
|
db
|
2018-01-03 19:23:33 +02:00
|
|
|
|
|
|
|
db must not exist for successful delete
|
2019-07-03 04:20:35 +02:00
|
|
|
> list archive
|
2018-01-03 19:23:33 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2019-07-03 04:20:35 +02:00
|
|
|
db
|
2018-01-03 19:23:33 +02:00
|
|
|
|
|
|
|
stop db stanza (backup host)
|
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db stop
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2019-12-17 22:23:07 +02:00
|
|
|
P00 INFO: stop command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2018-01-03 19:23:33 +02:00
|
|
|
P00 INFO: stop command end: completed successfully
|
|
|
|
|
|
|
|
stanza-delete db - successfully delete the stanza (backup host)
|
2019-05-23 00:23:44 +02:00
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db stanza-delete
|
2018-01-03 19:23:33 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2020-02-27 19:25:32 +02:00
|
|
|
P00 INFO: stanza-delete command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --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-tls --repo1-type=s3 --stanza=db
|
2019-06-26 14:24:58 +02:00
|
|
|
P00 DETAIL: tls statistics:[TLS-STATISTICS]
|
|
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
2018-01-03 19:23:33 +02:00
|
|
|
P00 INFO: stanza-delete command end: completed successfully
|
|
|
|
|
|
|
|
db must not exist for successful delete
|
2019-07-03 04:20:35 +02:00
|
|
|
> list backup
|
2018-01-03 19:23:33 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
db must not exist for successful delete
|
2019-07-03 04:20:35 +02:00
|
|
|
> list archive
|
2018-01-03 19:23:33 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|