2017-11-06 19:51:12 +02:00
run 003 - rmt 1, s3 1, enc 1
============================
2015-05-05 19:08:48 +02:00
2016-06-24 14:12:58 +02:00
info all stanzas - no stanzas exist (db-master host)
2016-06-24 16:54:31 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn info
2016-04-15 04:50:02 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2017-06-15 21:32:10 +02:00
No stanzas exist in /.
2016-04-15 04:50:02 +02:00
2016-06-24 14:12:58 +02:00
info all stanzas - no stanzas exist (db-master host)
2016-06-24 16:54:31 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --output=json info
2016-04-15 04:50:02 +02:00
------------------------------------------------------------------------------------------------------------------------------------
[]
2017-06-15 21:32:10 +02:00
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
2016-12-20 23:52:20 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-05 22:19:28 +02:00
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --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=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/log --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-ssl --repo1-type=s3 --stanza=db
2016-12-20 23:52:20 +02:00
P00 INFO: stanza-create command end: completed successfully
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2016-12-20 23:52:20 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
backrest-format=5
backrest-version="[VERSION-1]"
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2016-12-20 23:52:20 +02:00
[db]
db-catalog-version=201409291
db-control-version=942
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-12-20 23:52:20 +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"}
2016-12-20 23:52:20 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /archive/db/archive.info
---------------------------------------------
2016-12-20 23:52:20 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
backrest-format=5
backrest-version="[VERSION-1]"
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-2]
2016-12-20 23:52:20 +02:00
[db]
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-12-20 23:52:20 +02:00
db-version="9.4"
[db:history]
2017-11-19 03:02:54 +02:00
1={"db-id":1000000000000000094,"db-version":"9.4"}
2016-12-20 23:52:20 +02:00
2017-06-15 21:32:10 +02:00
full backup - error on identical link destinations (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --type=full --stanza=db backup
2016-04-15 04:50:02 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-04-12 18:41:34 +02:00
P00 ERROR: [070]: link [TEST_PATH]/db-master/db/base/postgresql.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)
2016-04-15 04:50:02 +02:00
2017-06-15 21:32:10 +02:00
full backup - error on link to a link (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --type=full --stanza=db backup
2016-04-15 04:50:02 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-04-12 18:41:34 +02:00
P00 ERROR: [070]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> '../pg_config/postgresql.conf.link' cannot reference another link
2016-04-15 04:50:02 +02:00
2017-06-15 21:32:10 +02:00
full backup - create pg_stat link, pg_clog dir (backup host)
2018-02-04 01:27:38 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --protocol-timeout=2 --db-timeout=1 --cmd-ssh=/usr/bin/ssh --pg1-port=9999 --pg1-socket-path =/test_socket_path --buffer-size=16384 --checksum-page --process-max=1 --type=full --stanza=db backup
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-06-15 21:32:10 +02:00
P00 WARN: invalid page checksums found in file db-master:[TEST_PATH]/db-master/db/base/base/32768/33001 at pages 0, 3-5, 7
P00 WARN: invalid page checksum found in file db-master:[TEST_PATH]/db-master/db/base/base/16384/17000 at page 1
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-06-15 21:32:10 +02:00
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2016-04-14 15:30:54 +02:00
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-FULL-1]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-FULL-1]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="full"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base","type":"path"}
2016-04-15 04:50:02 +02:00
pg_data/pg_stat={"path":"../pg_stat","type":"link"}
pg_data/postgresql.conf={"file":"postgresql.conf","path":"../pg_config","type":"link"}
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"e0101dd8ffb910c9c202ca35b5f828bcb9697bed","checksum-page":false,"checksum-page-error":[1],"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
pg_data/pg_stat={"destination":"../pg_stat"}
pg_data/postgresql.conf={"destination":"../pg_config/postgresql.conf"}
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
full backup - resume (backup host)
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --force --checksum-page --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2016-09-14 23:30:57 +02:00
P00 WARN: backup [BACKUP-FULL-1] missing in repository removed from backup.info
P00 WARN: --no-online passed and postmaster.pid exists but --force was passed so backup will continue though it looks like the postmaster is running and the backup will probably not be consistent
2017-06-09 23:51:41 +02:00
P00 WARN: aborted backup [BACKUP-FULL-2] of same type exists, will be cleaned to remove invalid files and resumed
2016-09-14 23:30:57 +02:00
P00 TEST: PgBaCkReStTeSt-BACKUP-RESUME-PgBaCkReStTeSt
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-06-15 21:32:10 +02:00
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2016-04-14 15:30:54 +02:00
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-FULL-2]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-FULL-2]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="full"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base","type":"path"}
2016-04-15 04:50:02 +02:00
pg_data/pg_stat={"path":"../pg_stat","type":"link"}
pg_data/postgresql.conf={"file":"postgresql.conf","path":"../pg_config","type":"link"}
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"e0101dd8ffb910c9c202ca35b5f828bcb9697bed","checksum-page":false,"checksum-page-error":[1],"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
pg_data/pg_stat={"destination":"../pg_stat"}
pg_data/postgresql.conf={"destination":"../pg_config/postgresql.conf"}
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
full backup - invalid repo (backup host)
2018-02-04 01:27:38 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --repo1-path=/bogus_path --log-level-console=warn --type=full --stanza=db backup
2017-06-15 21:32:10 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-06-15 21:32:10 +02:00
P00 ERROR: [055]: unable to open /bogus_path/backup/db/backup.info or /bogus_path/backup/db/backup.info.copy
P00 ERROR: [055]: /bogus_path/backup/db/backup.info does not exist and is required to perform a backup.
HINT: has a stanza-create been performed?
2016-06-24 14:12:58 +02:00
restore delta, backup '[BACKUP-FULL-2]' - add and delete files (db-master host)
2017-06-15 21:32:10 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --set=[BACKUP-FULL-2] --link-all --cmd-ssh=/usr/bin/ssh --stanza=db restore
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
----------------------------------------------------------------
2017-06-15 21:32:10 +02:00
restore_command = '[BACKREST-BIN] --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
2015-07-07 03:00:48 +02:00
2016-06-27 03:01:20 +02:00
restore delta, backup '[BACKUP-FULL-2]' - fix broken symlink (db-master host)
2017-11-21 16:31:15 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --set=[BACKUP-FULL-2] --link-all --log-level-console=warn --compress-level-network=0 --stanza=db restore
2016-06-27 03:01:20 +02:00
------------------------------------------------------------------------------------------------------------------------------------
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
----------------------------------------------------------------
2017-11-21 16:31:15 +02:00
restore_command = '[BACKREST-BIN] --compress-level-network=0 --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --stanza=db archive-get %f "%p"'
2016-06-27 03:01:20 +02:00
2017-04-12 18:41:34 +02:00
restore delta, force, backup '[BACKUP-FULL-2]', expect exit 40 - fail on missing PG_VERSION (db-master host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --force --set=[BACKUP-FULL-2] --log-level-console=warn --stanza=db restore
2016-02-06 06:03:29 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2016-09-14 23:30:57 +02:00
P00 WARN: --delta or --force specified but unable to find 'PG_VERSION' or 'backup.manifest' in '[TEST_PATH]/db-master/db/base' to confirm that this is a valid $PGDATA directory. --delta and --force have been disabled and if any files exist in the destination directories the restore will be aborted.
P00 WARN: contents of directory link pg_stat will be restored in a directory at the same location
P00 WARN: file link postgresql.conf will be restored as a file at the same location
2017-04-12 18:41:34 +02:00
P00 ERROR: [040]: cannot restore to path '[TEST_PATH]/db-master/db/base' that contains files - try using --delta if this is what you intended
2016-02-06 06:03:29 +02:00
2016-06-24 14:12:58 +02:00
restore delta, force, backup '[BACKUP-FULL-2]' - restore succeeds with backup.manifest file (db-master host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --force --set=[BACKUP-FULL-2] --log-level-console=warn --stanza=db restore
2016-02-06 06:03:29 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2017-02-21 15:59:23 +02:00
P00 WARN: group bogus in manifest cannot be used for restore, set to [USER-1]
2016-10-01 19:39:44 +02:00
P00 WARN: user bogus in manifest cannot be used for restore, set to [USER-1]
2016-09-14 23:30:57 +02:00
P00 WARN: contents of directory link pg_stat will be restored in a directory at the same location
P00 WARN: file link postgresql.conf will be restored as a file at the same location
2016-02-06 06:03:29 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
----------------------------------------------------------------
2017-06-22 00:47:25 +02:00
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --stanza=db archive-get %f "%p"'
2016-02-06 06:03:29 +02:00
2017-06-15 21:32:10 +02:00
incr backup - invalid database version (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --stanza=db backup
2015-06-14 00:25:49 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-11-19 03:02:54 +02:00
P00 ERROR: [051]: database version = 9.4, system-id 1000000000000000094 does not match backup version = 8.0, system-id = 1000000000000000094
2017-02-06 02:58:52 +02:00
HINT: is this the correct stanza?
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
incr backup - invalid system id (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --stanza=db backup
2015-06-14 00:25:49 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-11-19 03:02:54 +02:00
P00 ERROR: [051]: database version = 9.4, system-id 1000000000000000094 does not match backup version = 9.4, system-id = 6999999999999999999
2017-02-06 02:58:52 +02:00
HINT: is this the correct stanza?
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
incr backup - invalid control version (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --stanza=db backup
2015-06-14 00:25:49 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-04-12 18:41:34 +02:00
P00 ERROR: [051]: database control-version = 942, catalog-version 201409291 does not match backup control-version = 842, catalog-version = 201409291
2017-02-06 02:58:52 +02:00
HINT: this may be a symptom of database or repository corruption!
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
incr backup - invalid catalog version (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --stanza=db backup
2015-06-14 00:25:49 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-04-12 18:41:34 +02:00
P00 ERROR: [051]: database control-version = 942, catalog-version 201409291 does not match backup control-version = 942, catalog-version = 197208141
2017-02-06 02:58:52 +02:00
HINT: this may be a symptom of database or repository corruption!
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
incr backup - invalid path in pg_tblspc (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --stanza=db backup
2016-01-15 14:07:00 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2016-12-13 01:54:07 +02:00
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
2017-04-12 18:41:34 +02:00
P00 ERROR: [069]: pg_tblspc/path is not a symlink - pg_tblspc should contain only symlinks
2016-01-15 14:07:00 +02:00
2017-06-15 21:32:10 +02:00
incr backup - invalid relative tablespace in $PGDATA (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --stanza=db backup
2016-01-15 14:07:00 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2016-12-13 01:54:07 +02:00
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
2017-04-12 18:41:34 +02:00
P00 ERROR: [071]: tablespace symlink ../invalid_tblspc destination must not be in $PGDATA
2016-01-15 14:07:00 +02:00
2017-06-15 21:32:10 +02:00
incr backup - invalid tablespace in $PGDATA (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --stanza=db backup
2016-01-15 14:07:00 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2016-12-13 01:54:07 +02:00
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
2017-04-12 18:41:34 +02:00
P00 ERROR: [071]: tablespace symlink [TEST_PATH]/db-master/db/base/invalid_tblspc destination must not be in $PGDATA
2016-01-15 14:07:00 +02:00
2017-06-15 21:32:10 +02:00
incr backup - add tablespace 1 (backup host)
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --test --stanza=db backup
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2016-12-13 01:54:07 +02:00
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
2017-06-15 21:32:10 +02:00
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt: file size 7 is not divisible by page size 8192
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-06-15 21:32:10 +02:00
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2016-04-14 15:30:54 +02:00
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-INCR-1]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-INCR-1]"
backup-prior="[BACKUP-FULL-2]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="incr"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base","type":"path"}
pg_tblspc/1={"path":"[TEST_PATH]/db-master/db/tablespace/ts1","tablespace-id":"1","tablespace-name":"ts1","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"e0101dd8ffb910c9c202ca35b5f828bcb9697bed","checksum-page":false,"checksum-page-error":[1],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/1={"destination":"[TEST_PATH]/db-master/db/tablespace/ts1"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/1={}
pg_tblspc/1/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/1/[TS_PATH-1]/16384={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
incr backup - resume and add tablespace 2 (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --process-max=1 --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2016-09-14 23:30:57 +02:00
P00 WARN: backup [BACKUP-INCR-1] missing in repository removed from backup.info
2016-12-13 01:54:07 +02:00
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
2017-06-09 23:51:41 +02:00
P00 WARN: aborted backup [BACKUP-INCR-2] of same type exists, will be cleaned to remove invalid files and resumed
2016-09-14 23:30:57 +02:00
P00 TEST: PgBaCkReStTeSt-BACKUP-RESUME-PgBaCkReStTeSt
P00 WARN: resumed backup file pg_data/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
2017-06-15 21:32:10 +02:00
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt: file size 7 is not divisible by page size 8192
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-06-15 21:32:10 +02:00
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2016-04-14 15:30:54 +02:00
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-INCR-2]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-INCR-2]"
backup-prior="[BACKUP-FULL-2]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="incr"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base","type":"path"}
pg_tblspc/1={"path":"[TEST_PATH]/db-master/db/tablespace/ts1","tablespace-id":"1","tablespace-name":"ts1","type":"link"}
2017-06-15 21:32:10 +02:00
pg_tblspc/11={"path":"[TEST_PATH]/db-master/db/tablespace/ts11","tablespace-id":"11","tablespace-name":"ts11","type":"link"}
2016-06-24 16:54:31 +02:00
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"e0101dd8ffb910c9c202ca35b5f828bcb9697bed","checksum-page":false,"checksum-page-error":[1],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/1={"destination":"[TEST_PATH]/db-master/db/tablespace/ts1"}
2017-06-15 21:32:10 +02:00
pg_data/pg_tblspc/11={"destination":"[TEST_PATH]/db-master/db/tablespace/ts11"}
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/1={}
pg_tblspc/1/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/1/[TS_PATH-1]/16384={}
2017-06-15 21:32:10 +02:00
pg_tblspc/11={}
pg_tblspc/11/[TS_PATH-1]={}
2016-04-15 04:50:02 +02:00
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-2]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
diff backup - cannot resume - new diff (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --process-max=1 --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-06-09 23:51:41 +02:00
P00 WARN: backup [BACKUP-INCR-2] missing manifest removed from backup.info
P00 WARN: aborted backup [BACKUP-INCR-2] cannot be resumed: new backup-type 'diff' does not match aborted backup-type 'incr'
2016-09-14 23:30:57 +02:00
P00 TEST: PgBaCkReStTeSt-BACKUP-NORESUME-PgBaCkReStTeSt
2017-06-09 23:51:41 +02:00
P00 WARN: diff backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
2017-06-15 21:32:10 +02:00
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt: file size 7 is not divisible by page size 8192
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt: file size 7 is not divisible by page size 8192
2015-05-07 18:29:30 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-06-15 21:32:10 +02:00
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2016-04-14 15:30:54 +02:00
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-DIFF-1]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-DIFF-1]"
backup-prior="[BACKUP-FULL-2]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="diff"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base","type":"path"}
pg_tblspc/1={"path":"[TEST_PATH]/db-master/db/tablespace/ts1","tablespace-id":"1","tablespace-name":"ts1","type":"link"}
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"e0101dd8ffb910c9c202ca35b5f828bcb9697bed","checksum-page":false,"checksum-page-error":[1],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/1={"destination":"[TEST_PATH]/db-master/db/tablespace/ts1"}
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/1={}
pg_tblspc/1/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/1/[TS_PATH-1]/16384={}
2016-04-15 04:50:02 +02:00
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
diff backup - cannot resume - disabled / no repo link (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --no-resume --log-level-console=warn --process-max=1 --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
2015-05-07 18:29:30 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-06-09 23:51:41 +02:00
P00 WARN: backup [BACKUP-DIFF-1] missing manifest removed from backup.info
P00 WARN: aborted backup [BACKUP-DIFF-1] cannot be resumed: resume is disabled
2016-09-14 23:30:57 +02:00
P00 TEST: PgBaCkReStTeSt-BACKUP-NORESUME-PgBaCkReStTeSt
2017-06-09 23:51:41 +02:00
P00 WARN: diff backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
2017-06-15 21:32:10 +02:00
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt: file size 7 is not divisible by page size 8192
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt: file size 7 is not divisible by page size 8192
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-06-15 21:32:10 +02:00
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2016-04-14 15:30:54 +02:00
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-DIFF-2]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-DIFF-2]"
backup-prior="[BACKUP-FULL-2]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="diff"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base","type":"path"}
pg_tblspc/1={"path":"[TEST_PATH]/db-master/db/tablespace/ts1","tablespace-id":"1","tablespace-name":"ts1","type":"link"}
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"e0101dd8ffb910c9c202ca35b5f828bcb9697bed","checksum-page":false,"checksum-page-error":[1],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/1={"destination":"[TEST_PATH]/db-master/db/tablespace/ts1"}
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/1={}
pg_tblspc/1/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/1/[TS_PATH-1]/16384={}
2016-04-15 04:50:02 +02:00
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-2]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-04-12 18:41:34 +02:00
restore, backup '[BACKUP-DIFF-2]', expect exit 40 - fail on used path (db-master host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --set=[BACKUP-DIFF-2] --log-level-console=warn --stanza=db restore
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2017-04-12 18:41:34 +02:00
P00 ERROR: [040]: cannot restore to path '[TEST_PATH]/db-master/db/base' that contains files - try using --delta if this is what you intended
2015-05-05 19:08:48 +02:00
2016-06-24 14:12:58 +02:00
restore, backup '[BACKUP-DIFF-2]', remap - remap all paths (db-master host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --set=[BACKUP-DIFF-2] --log-level-console=warn --stanza=db restore
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
------------------------------------------------------------------
2017-06-22 00:47:25 +02:00
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --stanza=db archive-get %f "%p"'
2015-07-07 03:00:48 +02:00
2016-06-24 14:12:58 +02:00
restore delta, backup '[BACKUP-DIFF-2]', remap - ensure file in tblspc root remains after --delta (db-master host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --set=[BACKUP-DIFF-2] --log-level-console=warn --stanza=db restore
2016-02-02 21:33:15 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
------------------------------------------------------------------
2017-06-22 00:47:25 +02:00
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --stanza=db archive-get %f "%p"'
2016-02-02 21:33:15 +02:00
2017-06-15 21:32:10 +02:00
incr backup - add files and remove tablespace 2 (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --process-max=1 --stanza=db backup
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2016-12-13 01:54:07 +02:00
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-DIFF-2]
2017-06-15 21:32:10 +02:00
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2b.txt: file size 8 is not divisible by page size 8192
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base-2/base/base2.txt: file size 5 is not divisible by page size 8192
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base-2
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[db:restore]
2016-06-24 16:54:31 +02:00
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-2
2017-06-15 21:32:10 +02:00
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-INCR-3]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-INCR-3]"
backup-prior="[BACKUP-DIFF-2]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="incr"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base-2","type":"path"}
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2-2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"reference":"[BACKUP-DIFF-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"e0101dd8ffb910c9c202ca35b5f828bcb9697bed","checksum-page":false,"checksum-page-error":[1],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/base2.txt={"checksum":"09b5e31766be1dba1ec27de82f975c1b6eea2a92","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"reference":"[BACKUP-DIFF-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-2]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-3]={"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-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
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 --force stanza-create
2016-12-20 23:52:20 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-05 22:19:28 +02:00
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --compress-level=3 --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=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/log --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-2 --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-ssl --repo1-type=s3 --stanza=db
2017-11-06 19:51:12 +02:00
P00 ERROR: [055]: backup information missing and repo is encrypted and info file(s) are missing, --force cannot be used
P00 INFO: stanza-create command end: aborted with exception [055]
2016-12-20 23:52:20 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /archive/db/archive.info
---------------------------------------------
2016-12-20 23:52:20 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
backrest-format=5
backrest-version="[VERSION-1]"
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-2]
2016-12-20 23:52:20 +02:00
[db]
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-12-20 23:52:20 +02:00
db-version="9.4"
[db:history]
2017-11-19 03:02:54 +02:00
1={"db-id":1000000000000000094,"db-version":"9.4"}
2016-12-20 23:52:20 +02:00
2017-06-15 21:32:10 +02:00
incr backup - update files (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --stanza=db backup
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2016-12-13 01:54:07 +02:00
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-INCR-3]
2017-06-15 21:32:10 +02:00
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base-2/base/16384/17000: file size 8 is not divisible by page size 8192
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base-2
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[db:restore]
2016-06-24 16:54:31 +02:00
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-2
2017-06-15 21:32:10 +02:00
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-INCR-4]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-INCR-4]"
backup-prior="[BACKUP-INCR-3]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="incr"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base-2","type":"path"}
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2-2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"reference":"[BACKUP-DIFF-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"9a53d532e27785e681766c98516a5e93f096a501","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/base2.txt={"checksum":"09b5e31766be1dba1ec27de82f975c1b6eea2a92","checksum-page":false,"reference":"[BACKUP-INCR-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"reference":"[BACKUP-DIFF-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","checksum-page":false,"reference":"[BACKUP-INCR-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-2]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-3]={"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-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-4]={"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-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
diff backup - updates since last full (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --process-max=1 --type=diff --stanza=db backup
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2016-12-13 01:54:07 +02:00
P00 WARN: diff backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
2017-06-15 21:32:10 +02:00
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base-2/base/16384/17000: file size 8 is not divisible by page size 8192
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base-2/base/base2.txt: file size 5 is not divisible by page size 8192
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2b.txt: file size 8 is not divisible by page size 8192
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt: file size 7 is not divisible by page size 8192
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base-2
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[db:restore]
2016-06-24 16:54:31 +02:00
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-2
2017-06-15 21:32:10 +02:00
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-DIFF-3]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-DIFF-3]"
backup-prior="[BACKUP-FULL-2]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="diff"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base-2","type":"path"}
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2-2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"9a53d532e27785e681766c98516a5e93f096a501","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/base2.txt={"checksum":"09b5e31766be1dba1ec27de82f975c1b6eea2a92","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-2]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-3]={"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-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-4]={"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-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-3]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
incr backup - remove files - but won't affect manifest (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --stanza=db backup --test --test-delay=1 --test-point=manifest-build=y
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-06-15 21:32:10 +02:00
P00 WARN: incr backup cannot alter compress option to 'true', reset to value in [BACKUP-DIFF-3]
2016-12-13 01:54:07 +02:00
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-DIFF-3]
2016-09-14 23:30:57 +02:00
P00 TEST: PgBaCkReStTeSt-MANIFEST-BUILD-PgBaCkReStTeSt
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base-2
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[db:restore]
2016-06-24 16:54:31 +02:00
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-2
2017-06-15 21:32:10 +02:00
[global]
compress=y
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-INCR-5]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-INCR-5]"
backup-prior="[BACKUP-DIFF-3]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="incr"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base-2","type":"path"}
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2-2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"reference":"[BACKUP-DIFF-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"9a53d532e27785e681766c98516a5e93f096a501","checksum-page":false,"reference":"[BACKUP-DIFF-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/base2.txt={"checksum":"09b5e31766be1dba1ec27de82f975c1b6eea2a92","checksum-page":false,"reference":"[BACKUP-DIFF-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"reference":"[BACKUP-DIFF-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2b.txt={"checksum":"e324463005236d83e6e54795dbddd20a74533bf3","checksum-page":false,"reference":"[BACKUP-DIFF-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-2]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-3]={"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-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-4]={"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-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-3]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-5]={"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-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
diff backup - remove files during backup (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --process-max=1 --type=diff --stanza=db backup --test --test-delay=1 --test-point=manifest-build=y
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2017-06-15 21:32:10 +02:00
P00 WARN: diff backup cannot alter compress option to 'true', reset to value in [BACKUP-FULL-2]
2016-12-13 01:54:07 +02:00
P00 WARN: diff backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
2016-09-14 23:30:57 +02:00
P00 TEST: PgBaCkReStTeSt-MANIFEST-BUILD-PgBaCkReStTeSt
2017-06-15 21:32:10 +02:00
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt: file size 12 is not divisible by page size 8192
P00 WARN: page misalignment in file db-master:[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt: file size 7 is not divisible by page size 8192
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base-2
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[db:restore]
2016-06-24 16:54:31 +02:00
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-2
2017-06-15 21:32:10 +02:00
[global]
compress=y
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-DIFF-4]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-DIFF-4]"
backup-prior="[BACKUP-FULL-2]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="diff"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=true
2017-06-15 21:32:10 +02:00
option-compress=false
2015-06-14 00:25:49 +02:00
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base-2","type":"path"}
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2-2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-3]
2016-04-15 04:50:02 +02:00
[target:file]
2017-11-06 19:51:12 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","checksum-page":false,"checksum-page-error":[0,[3,5],7],"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-11-06 19:51:12 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","checksum-page":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-2]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-3]={"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-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-4]={"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-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-3]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-5]={"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-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-4]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
full backup - update file (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --type=full --stanza=db backup
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2015-05-05 19:08:48 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base-2
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[db:restore]
2016-06-24 16:54:31 +02:00
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-2
2017-06-15 21:32:10 +02:00
[global]
compress=y
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-FULL-3]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-FULL-3]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="full"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=false
2015-06-14 00:25:49 +02:00
option-compress=true
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base-2","type":"path"}
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2-2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-4]
2016-04-15 04:50:02 +02:00
[target:file]
2016-09-04 15:19:44 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-12-10 16:13:55 +02:00
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-08-12 04:35:24 +02:00
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-05-11 15:21:39 +02:00
pg_data/base/16384/17000={"checksum":"7579ada0808d7f98087a0a586d0df9de009cdc33","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-08-12 04:35:24 +02:00
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-01-30 20:59:00 +02:00
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-03-13 21:50:13 +02:00
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-12-10 16:13:55 +02:00
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-08-12 04:35:24 +02:00
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2016-09-04 15:19:44 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2017-06-15 21:32:10 +02:00
[BACKUP-FULL-2]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-2]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-3]={"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-prior":"[BACKUP-DIFF-2]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-4]={"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-prior":"[BACKUP-INCR-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-2]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-3]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-INCR-5]={"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-prior":"[BACKUP-DIFF-3]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-4]={"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-prior":"[BACKUP-FULL-2]","backup-reference":["[BACKUP-FULL-2]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
2016-12-13 01:54:07 +02:00
[BACKUP-FULL-3]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2016-06-24 14:12:58 +02:00
info db stanza - normal output (db-master host)
2016-06-24 16:54:31 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --stanza=db info
2016-05-06 16:25:46 +02:00
------------------------------------------------------------------------------------------------------------------------------------
stanza: db
status: ok
2017-07-21 23:32:41 +02:00
db (current)
wal archive min/max (9.4-1): none present
full backup: [BACKUP-FULL-2]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
database size: 160KB, backup size: 160KB
2017-11-06 19:51:12 +02:00
repository size: 160.3KB, repository backup size: 160.3KB
2017-07-21 23:32:41 +02:00
diff backup: [BACKUP-DIFF-2]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
2017-09-04 14:26:57 +02:00
database size: 160KB, backup size: 25B
2017-11-06 19:51:12 +02:00
repository size: 160.4KB, repository backup size: 96B
2017-07-21 23:32:41 +02:00
backup reference list: [BACKUP-FULL-2]
incr backup: [BACKUP-INCR-3]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
database size: 160KB, backup size: 13B
2017-11-06 19:51:12 +02:00
repository size: 160.5KB, repository backup size: 64B
2017-07-21 23:32:41 +02:00
backup reference list: [BACKUP-FULL-2], [BACKUP-DIFF-2]
incr backup: [BACKUP-INCR-4]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
database size: 144KB, backup size: 8B
2017-11-06 19:51:12 +02:00
repository size: 144.5KB, repository backup size: 32B
2017-07-21 23:32:41 +02:00
backup reference list: [BACKUP-FULL-2], [BACKUP-DIFF-2], [BACKUP-INCR-3]
diff backup: [BACKUP-DIFF-3]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
2017-09-04 14:26:57 +02:00
database size: 144KB, backup size: 39B
2017-11-06 19:51:12 +02:00
repository size: 144.5KB, repository backup size: 160B
2017-07-21 23:32:41 +02:00
backup reference list: [BACKUP-FULL-2]
incr backup: [BACKUP-INCR-5]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
database size: 144KB, backup size: 0B
2017-11-06 19:51:12 +02:00
repository size: 144.5KB, repository backup size: 0B
2017-07-21 23:32:41 +02:00
backup reference list: [BACKUP-FULL-2], [BACKUP-DIFF-3]
diff backup: [BACKUP-DIFF-4]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
2017-09-04 14:26:57 +02:00
database size: 144KB, backup size: 30B
2017-11-06 19:51:12 +02:00
repository size: 144.4KB, repository backup size: 96B
2017-07-21 23:32:41 +02:00
backup reference list: [BACKUP-FULL-2]
full backup: [BACKUP-FULL-3]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
database size: 144KB, backup size: 144KB
2017-11-19 03:02:54 +02:00
repository size: 2.2KB, repository backup size: 2.2KB
2016-05-06 16:25:46 +02:00
2017-06-15 21:32:10 +02:00
info db stanza - normal output (backup host)
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --log-level-console=warn --stanza=db --output=json info
2016-05-06 16:25:46 +02:00
------------------------------------------------------------------------------------------------------------------------------------
[
{
2017-07-21 23:32:41 +02:00
"archive" : [
{
"database" : {
2017-10-18 14:42:32 +02:00
"id" : 1
2017-07-21 23:32:41 +02:00
},
"id" : "9.4-1",
"max" : null,
"min" : null
}
],
2016-05-06 16:25:46 +02:00
"backup" : [
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
"format" : 5,
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-FULL-2]",
"prior" : null,
"reference" : null,
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "full"
},
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
"format" : 5,
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-DIFF-2]",
"prior" : "[BACKUP-FULL-2]",
"reference" : [
"[BACKUP-FULL-2]"
],
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "diff"
},
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
"format" : 5,
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-INCR-3]",
"prior" : "[BACKUP-DIFF-2]",
"reference" : [
"[BACKUP-FULL-2]",
"[BACKUP-DIFF-2]"
],
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "incr"
},
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
"format" : 5,
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-INCR-4]",
"prior" : "[BACKUP-INCR-3]",
"reference" : [
"[BACKUP-FULL-2]",
"[BACKUP-DIFF-2]",
"[BACKUP-INCR-3]"
],
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "incr"
},
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
"format" : 5,
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-DIFF-3]",
"prior" : "[BACKUP-FULL-2]",
"reference" : [
"[BACKUP-FULL-2]"
],
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "diff"
},
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
"format" : 5,
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-INCR-5]",
"prior" : "[BACKUP-DIFF-3]",
"reference" : [
"[BACKUP-FULL-2]",
"[BACKUP-DIFF-3]"
],
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "incr"
},
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
"format" : 5,
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-DIFF-4]",
"prior" : "[BACKUP-FULL-2]",
"reference" : [
"[BACKUP-FULL-2]"
],
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "diff"
},
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
"format" : 5,
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-FULL-3]",
"prior" : null,
"reference" : null,
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "full"
}
],
"db" : [
{
2017-10-18 14:42:32 +02:00
"id" : 1,
2017-11-19 03:02:54 +02:00
"system-id" : 1000000000000000094,
2016-08-12 04:35:24 +02:00
"version" : "9.4"
2016-05-06 16:25:46 +02:00
}
],
"name" : "db",
"status" : {
"code" : 0,
"message" : "ok"
}
}
]
2017-06-15 21:32:10 +02:00
expire full=1 (backup host)
2018-02-19 22:07:24 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --log-level-console=detail --repo1-retention-full=1 --stanza=db expire
2016-01-16 06:37:17 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --lock-path=[TEST_PATH]/backup/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/log --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=1 --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
2016-09-14 23:30:57 +02:00
P00 INFO: expire full backup set: [BACKUP-FULL-2], [BACKUP-DIFF-2], [BACKUP-INCR-3], [BACKUP-INCR-4], [BACKUP-DIFF-3], [BACKUP-INCR-5], [BACKUP-DIFF-4]
P00 INFO: remove expired backup [BACKUP-DIFF-4]
P00 INFO: remove expired backup [BACKUP-DIFF-3]
P00 INFO: remove expired backup [BACKUP-INCR-4]
P00 INFO: remove expired backup [BACKUP-INCR-3]
P00 INFO: remove expired backup [BACKUP-DIFF-2]
P00 INFO: remove expired backup [BACKUP-FULL-2]
2016-12-04 21:44:53 +02:00
P00 INFO: expire command end: completed successfully
2016-01-16 06:37:17 +02:00
2017-06-15 21:32:10 +02:00
diff backup - add file (backup host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=warn --checksum-page --type=diff --stanza=db backup
2015-05-05 19:08:48 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2018-02-19 22:07:24 +02:00
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.
2015-05-09 00:34:27 +02:00
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
----------------------------------------------------------
2015-06-14 00:25:49 +02:00
[db]
2018-02-04 01:27:38 +02:00
pg1-path=[TEST_PATH]/db-master/db/base-2
2015-06-14 00:25:49 +02:00
2016-04-14 15:30:54 +02:00
[db:restore]
2016-06-24 16:54:31 +02:00
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
2016-04-14 15:30:54 +02:00
[global]
2017-06-15 21:32:10 +02:00
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-09 23:51:41 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2016-04-14 15:30:54 +02:00
log-level-file=trace
2016-10-05 15:09:30 +02:00
log-level-stderr=off
2017-06-09 23:51:41 +02:00
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-09 23:51:41 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-2
2017-06-15 21:32:10 +02:00
[global]
compress=y
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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
2015-06-14 00:25:49 +02:00
[global:backup]
archive-copy=y
start-fast=y
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/[BACKUP-DIFF-5]/backup.manifest
---------------------------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-DIFF-5]"
backup-prior="[BACKUP-FULL-3]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="diff"
[backup:db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2016-04-15 04:50:02 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[backup:option]
option-archive-check=true
option-archive-copy=true
2016-08-25 17:25:46 +02:00
option-backup-standby=false
2016-12-13 01:54:07 +02:00
option-checksum-page=false
2015-06-14 00:25:49 +02:00
option-compress=true
option-hardlink=false
2016-02-20 02:32:02 +02:00
option-online=false
2015-06-14 00:25:49 +02:00
2016-04-15 04:50:02 +02:00
[backup:target]
2016-06-24 16:54:31 +02:00
pg_data={"path":"[TEST_PATH]/db-master/db/base-2","type":"path"}
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2-2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2016-04-15 04:50:02 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-4]
2016-04-15 04:50:02 +02:00
[target:file]
2016-09-04 15:19:44 +02:00
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-12-10 16:13:55 +02:00
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-08-12 04:35:24 +02:00
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-05-11 15:21:39 +02:00
pg_data/base/16384/17000={"checksum":"7579ada0808d7f98087a0a586d0df9de009cdc33","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-08-12 04:35:24 +02:00
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-01-30 20:59:00 +02:00
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-03-13 21:50:13 +02:00
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-12-10 16:13:55 +02:00
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-08-12 04:35:24 +02:00
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
pg_data/base/base2.txt={"checksum":"cafac3c59553f2cfde41ce2e62e7662295f108c0","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2016-09-04 15:19:44 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2016-04-15 04:50:02 +02:00
[target:file:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-09-04 15:19:44 +02:00
master=false
2016-04-15 04:50:02 +02:00
mode="0600"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:link]
2016-06-24 16:54:31 +02:00
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
2016-04-15 04:50:02 +02:00
[target:link:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2016-04-15 04:50:02 +02:00
[target:path]
pg_data={}
pg_data/base={}
2016-05-11 15:21:39 +02:00
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
2016-04-15 04:50:02 +02:00
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
2016-05-11 15:21:39 +02:00
pg_tblspc/2/[TS_PATH-1]/32768={}
2016-04-15 04:50:02 +02:00
[target:path:default]
2017-02-21 15:59:23 +02:00
group="[GROUP-1]"
2016-04-15 04:50:02 +02:00
mode="0700"
2016-10-01 19:39:44 +02:00
user="[USER-1]"
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
+ supplemental file: /backup/db/backup.info
-------------------------------------------
2015-06-14 00:25:49 +02:00
[backrest]
backrest-checksum="[CHECKSUM]"
2016-04-15 04:50:02 +02:00
backrest-format=5
2015-06-14 00:25:49 +02:00
backrest-version="[VERSION-1]"
[backup:current]
2016-12-13 01:54:07 +02:00
[BACKUP-FULL-3]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-5]={"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-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
2015-06-14 00:25:49 +02:00
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-1]
2015-06-14 00:25:49 +02:00
[db]
2016-08-12 04:35:24 +02:00
db-catalog-version=201409291
db-control-version=942
2015-06-14 00:25:49 +02:00
db-id=1
2017-11-19 03:02:54 +02:00
db-system-id=1000000000000000094
2016-08-12 04:35:24 +02:00
db-version="9.4"
2015-06-14 00:25:49 +02:00
[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"}
2015-06-14 00:25:49 +02:00
2016-06-24 14:12:58 +02:00
restore delta, remap - selective restore 16384 (db-master host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --log-level-console=warn --db-include=16384 --stanza=db restore
2016-05-11 15:21:39 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
------------------------------------------------------------------
2017-06-22 00:47:25 +02:00
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --stanza=db archive-get %f "%p"'
2016-05-11 15:21:39 +02:00
2016-06-24 14:12:58 +02:00
restore delta, remap - selective restore 32768 (db-master host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --log-level-console=warn --db-include=32768 --stanza=db restore
2016-05-11 15:21:39 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
------------------------------------------------------------------
2017-06-22 00:47:25 +02:00
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --stanza=db archive-get %f "%p"'
2016-05-11 15:21:39 +02:00
2017-04-12 18:41:34 +02:00
restore delta, remap, expect exit 80 - error on invalid id (db-master host)
2016-06-24 16:54:31 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --log-level-console=warn --db-include=7777 --stanza=db restore
2016-05-11 15:21:39 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2017-04-12 18:41:34 +02:00
P00 ERROR: [080]: database to include '7777' does not exist
2016-05-11 15:21:39 +02:00
2017-04-12 18:41:34 +02:00
restore delta, remap, expect exit 81 - error on system id (db-master host)
2016-06-24 16:54:31 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --log-level-console=warn --db-include=1 --stanza=db restore
2016-05-11 15:21:39 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2017-04-12 18:41:34 +02:00
P00 ERROR: [081]: system databases (template0, postgres, etc.) are included by default
2016-05-11 15:21:39 +02:00
2017-04-12 18:41:34 +02:00
restore, remap, expect exit 73 - no tablespace remap - error when tablespace dir does not exist (db-master host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --tablespace-map-all=../../tablespace --stanza=db restore
2015-05-09 00:34:27 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2017-04-12 18:41:34 +02:00
P00 ERROR: [073]: cannot restore to missing path [TEST_PATH]/db-master/db/base-2/tablespace
2016-04-15 04:50:02 +02:00
2016-06-24 14:12:58 +02:00
restore - no tablespace remap (db-master host)
2017-06-22 00:47:25 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --tablespace-map-all=../../tablespace --log-level-console=warn --stanza=db restore
2016-04-15 04:50:02 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2016-06-24 16:54:31 +02:00
+ supplemental file: [TEST_PATH]/db-master/db/base-2/base/recovery.conf
-----------------------------------------------------------------------
2017-06-22 00:47:25 +02:00
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --stanza=db archive-get %f "%p"'
2015-06-14 00:25:49 +02:00
2017-06-15 21:32:10 +02:00
info all stanzas - normal output (backup host)
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --log-level-console=warn info
2015-06-14 00:25:49 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2016-05-06 16:25:46 +02:00
stanza: db
2016-04-14 00:55:34 +02:00
status: ok
2015-06-14 00:25:49 +02:00
2017-07-21 23:32:41 +02:00
db (current)
wal archive min/max (9.4-1): none present
2016-05-06 16:25:46 +02:00
2017-07-21 23:32:41 +02:00
full backup: [BACKUP-FULL-3]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
database size: 144KB, backup size: 144KB
2017-11-19 03:02:54 +02:00
repository size: 2.2KB, repository backup size: 2.2KB
2017-07-21 23:32:41 +02:00
diff backup: [BACKUP-DIFF-5]
timestamp start/stop: [TIMESTAMP-STR]
wal start/stop: n/a
database size: 144KB, backup size: 9B
2017-11-19 03:02:54 +02:00
repository size: 2.2KB, repository backup size: 48B
2017-07-21 23:32:41 +02:00
backup reference list: [BACKUP-FULL-3]
2016-05-06 16:25:46 +02:00
2016-06-24 14:12:58 +02:00
info all stanzas - normal output (db-master host)
2016-06-24 16:54:31 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --output=json info
2015-06-14 00:25:49 +02:00
------------------------------------------------------------------------------------------------------------------------------------
[
2016-04-14 00:55:34 +02:00
{
2017-07-21 23:32:41 +02:00
"archive" : [
{
"database" : {
2017-10-18 14:42:32 +02:00
"id" : 1
2017-07-21 23:32:41 +02:00
},
"id" : "9.4-1",
"max" : null,
"min" : null
}
],
2016-04-14 00:55:34 +02:00
"backup" : [
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
2016-04-15 04:50:02 +02:00
"format" : 5,
2016-04-14 00:55:34 +02:00
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-FULL-3]",
"prior" : null,
"reference" : null,
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "full"
},
{
"archive" : {
"start" : null,
"stop" : null
},
"backrest" : {
2016-04-15 04:50:02 +02:00
"format" : 5,
2016-04-14 00:55:34 +02:00
"version" : "[VERSION-1]"
},
"database" : {
"id" : 1
},
"info" : {
"delta" : [DELTA],
"repository" : {
"delta" : [DELTA],
"size" : [SIZE]
},
"size" : [SIZE]
},
"label" : "[BACKUP-DIFF-5]",
"prior" : "[BACKUP-FULL-3]",
"reference" : [
"[BACKUP-FULL-3]"
],
"timestamp" : {
"start" : [TIMESTAMP],
"stop" : [TIMESTAMP]
},
"type" : "diff"
}
],
"db" : [
{
2017-10-18 14:42:32 +02:00
"id" : 1,
2017-11-19 03:02:54 +02:00
"system-id" : 1000000000000000094,
2016-08-12 04:35:24 +02:00
"version" : "9.4"
2016-04-14 00:55:34 +02:00
}
],
"name" : "db",
"status" : {
"code" : 0,
"message" : "ok"
}
}
2015-06-14 00:25:49 +02:00
]
2017-06-15 21:32:10 +02:00
info bogus stanza - bogus stanza (backup host)
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --log-level-console=warn --stanza=bogus info
2015-06-14 00:25:49 +02:00
------------------------------------------------------------------------------------------------------------------------------------
2016-05-06 16:25:46 +02:00
stanza: bogus
2016-04-14 00:55:34 +02:00
status: error (missing stanza path)
2015-06-14 00:25:49 +02:00
2016-06-24 14:12:58 +02:00
info bogus stanza - bogus stanza (db-master host)
2016-06-24 16:54:31 +02:00
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --stanza=bogus --output=json info
2015-06-14 00:25:49 +02:00
------------------------------------------------------------------------------------------------------------------------------------
[
2016-04-14 00:55:34 +02:00
{
"backup" : [],
"db" : [],
"name" : "bogus",
"status" : {
"code" : 1,
"message" : "missing stanza path"
}
}
2015-06-14 00:25:49 +02:00
]
2017-06-15 21:32:10 +02:00
diff backup - config file not validated on remote (backup host)
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=info --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
2018-02-04 01:27:38 +02:00
P00 INFO: backup command begin [BACKREST-VERSION]: --compress --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=info --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/log --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-2/base --process-max=2 --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-ssl --repo1-type=s3 --stanza=db --start-fast --type=diff
2018-02-19 22:07:24 +02:00
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.
2017-06-15 21:32:10 +02:00
P00 INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base-2/base/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
P00 INFO: diff backup size = 9B
P00 INFO: new backup label = [BACKUP-DIFF-6]
P00 INFO: backup command end: completed successfully
2018-02-05 18:50:09 +02:00
P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --lock-path=[TEST_PATH]/backup/lock --log-level-console=info --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/log --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-ssl --repo1-type=s3 --stanza=db
2018-02-19 22:07:24 +02:00
P00 INFO: option 'repo1-retention-archive' is not set - archive logs will not be expired
2017-06-15 21:32:10 +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-2/base
2017-06-15 21:32:10 +02:00
[db:restore]
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
bogus=bogus
+ 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-2/base
2017-06-15 21:32:10 +02:00
[global]
compress=y
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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-06-15 21:32:10 +02:00
[global:backup]
archive-copy=y
start-fast=y
+ supplemental file: /backup/db/[BACKUP-DIFF-6]/backup.manifest
---------------------------------------------------------------
[backrest]
backrest-checksum="[CHECKSUM]"
backrest-format=5
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-DIFF-6]"
backup-prior="[BACKUP-FULL-3]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="diff"
[backup: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-15 21:32:10 +02:00
db-version="9.4"
[backup:option]
option-archive-check=true
option-archive-copy=true
option-backup-standby=false
option-checksum-page=false
option-compress=true
option-hardlink=false
option-online=false
[backup:target]
pg_data={"path":"[TEST_PATH]/db-master/db/base-2/base","type":"path"}
pg_tblspc/2={"path":"../../tablespace/ts2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-4]
2017-06-15 21:32:10 +02:00
[target:file]
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"7579ada0808d7f98087a0a586d0df9de009cdc33","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/base2.txt={"checksum":"cafac3c59553f2cfde41ce2e62e7662295f108c0","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-06-15 21:32:10 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
[target:file:default]
group="[GROUP-1]"
master=false
mode="0600"
user="[USER-1]"
[target:link]
pg_data/pg_tblspc/2={"destination":"../../tablespace/ts2"}
[target:link:default]
group="[GROUP-1]"
user="[USER-1]"
[target:path]
pg_data={}
pg_data/base={}
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
pg_tblspc/2/[TS_PATH-1]/32768={}
[target:path:default]
group="[GROUP-1]"
mode="0700"
user="[USER-1]"
+ supplemental file: /backup/db/backup.info
-------------------------------------------
[backrest]
backrest-checksum="[CHECKSUM]"
backrest-format=5
backrest-version="[VERSION-1]"
[backup:current]
[BACKUP-FULL-3]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-5]={"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-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-6]={"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-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"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-06-15 21:32:10 +02:00
[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-15 21:32:10 +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-15 21:32:10 +02:00
diff backup - option backup-standby reset - backup performed from master (backup host)
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --log-level-console=info --backup-standby --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
2018-02-04 01:27:38 +02:00
P00 INFO: backup command begin [BACKREST-VERSION]: --backup-standby --compress --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=info --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/log --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-2/base --process-max=2 --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-ssl --repo1-type=s3 --stanza=db --start-fast --type=diff
2018-02-19 22:07:24 +02:00
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.
2017-06-15 21:32:10 +02:00
P00 WARN: option backup-standby is enabled but standby is not properly configured - backups will be performed from the master
P00 INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base-2/base/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
P00 INFO: diff backup size = 9B
P00 INFO: new backup label = [BACKUP-DIFF-7]
P00 INFO: backup command end: completed successfully
2018-02-05 18:50:09 +02:00
P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --lock-path=[TEST_PATH]/backup/lock --log-level-console=info --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/log --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-ssl --repo1-type=s3 --stanza=db
2018-02-19 22:07:24 +02:00
P00 INFO: option 'repo1-retention-archive' is not set - archive logs will not be expired
2017-06-15 21:32:10 +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-2/base
2017-06-15 21:32:10 +02:00
[db:restore]
[global]
compress=n
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/db-master/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/db-master/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +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
repo1-host-user=[USER-2]
2017-06-21 14:38:53 +02:00
spool-path=[TEST_PATH]/db-master/spool
2017-06-15 21:32:10 +02:00
+ 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-2/base
2017-06-15 21:32:10 +02:00
[global]
compress=y
2017-10-23 00:05:46 +02:00
compress-level=3
compress-level-network=1
2017-06-15 21:32:10 +02:00
db-timeout=45
lock-path=[TEST_PATH]/backup/lock
2017-06-22 00:47:25 +02:00
log-level-console=warn
2017-06-15 21:32:10 +02:00
log-level-file=trace
log-level-stderr=off
log-path=[TEST_PATH]/backup/log
2017-06-22 00:47:25 +02:00
process-max=2
2017-06-15 21:32:10 +02:00
protocol-timeout=60
2018-02-04 01:27:38 +02:00
repo1-cipher-pass=x
repo1-cipher-type=aes-256-cbc
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-06-15 21:32:10 +02:00
[global:backup]
archive-copy=y
start-fast=y
+ supplemental file: /backup/db/[BACKUP-DIFF-7]/backup.manifest
---------------------------------------------------------------
[backrest]
backrest-checksum="[CHECKSUM]"
backrest-format=5
backrest-version="[VERSION-1]"
[backup]
backup-label="[BACKUP-DIFF-7]"
backup-prior="[BACKUP-FULL-3]"
backup-timestamp-copy-start=[TIMESTAMP]
backup-timestamp-start=[TIMESTAMP]
backup-timestamp-stop=[TIMESTAMP]
backup-type="diff"
[backup: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-15 21:32:10 +02:00
db-version="9.4"
[backup:option]
option-archive-check=true
option-archive-copy=true
option-backup-standby=false
option-checksum-page=false
option-compress=true
option-hardlink=false
option-online=false
[backup:target]
pg_data={"path":"[TEST_PATH]/db-master/db/base-2/base","type":"path"}
pg_tblspc/2={"path":"../../tablespace/ts2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
2017-11-06 19:51:12 +02:00
[cipher]
cipher-pass=[CIPHER-PASS-4]
2017-06-15 21:32:10 +02:00
[target:file]
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","mode":"0660","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/17000={"checksum":"7579ada0808d7f98087a0a586d0df9de009cdc33","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000={"checksum":"4a383e4fb8b5cd2a4e8fab91ef63dce48e532a2f","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33000.32767={"checksum":"21e2c7c1a326682c07053b7d6a5a40dbd49c2ec5","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_data/base/base2.txt={"checksum":"cafac3c59553f2cfde41ce2e62e7662295f108c0","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
2017-11-19 03:02:54 +02:00
pg_data/global/pg_control={"checksum":"b4a3adade1e81ebfc7e9a27bca0887a347d81522","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
2017-06-15 21:32:10 +02:00
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
[target:file:default]
group="[GROUP-1]"
master=false
mode="0600"
user="[USER-1]"
[target:link]
pg_data/pg_tblspc/2={"destination":"../../tablespace/ts2"}
[target:link:default]
group="[GROUP-1]"
user="[USER-1]"
[target:path]
pg_data={}
pg_data/base={}
pg_data/base/1={}
pg_data/base/16384={}
pg_data/base/32768={}
pg_data/global={}
pg_data/pg_clog={}
pg_data/pg_stat={}
pg_data/pg_tblspc={}
pg_tblspc={}
pg_tblspc/2={}
pg_tblspc/2/[TS_PATH-1]={}
pg_tblspc/2/[TS_PATH-1]/32768={}
[target:path:default]
group="[GROUP-1]"
mode="0700"
user="[USER-1]"
+ supplemental file: /backup/db/backup.info
-------------------------------------------
[backrest]
backrest-checksum="[CHECKSUM]"
backrest-format=5
backrest-version="[VERSION-1]"
[backup:current]
[BACKUP-FULL-3]={"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":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-5]={"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-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-6]={"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-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
[BACKUP-DIFF-7]={"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-prior":"[BACKUP-FULL-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":true,"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-06-15 21:32:10 +02:00
[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-15 21:32:10 +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"}