mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
438b957f9c
Add compress-type option and deprecate compress option. Since the compress option is boolean it won't work with multiple compression types. Add logic to cfgLoadUpdateOption() to update compress-type if it is not set directly. The compress option should no longer be referenced outside the cfgLoadUpdateOption() function. Add common/compress/helper module to contain interface functions that work with multiple compression types. Code outside this module should no longer call specific compression drivers, though it may be OK to reference a specific compression type using the new interface (e.g., saving backup history files in gz format). Unit tests only test compression using the gz format because other formats may not be available in all builds. It is the job of integration tests to exercise all compression types. Additional compression types will be added in future commits.
2632 lines
133 KiB
Plaintext
2632 lines
133 KiB
Plaintext
run 002 - rmt 1, s3 1, enc 1, delta 0
|
|
=====================================
|
|
|
|
stanza-create db - create required data for stanza (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --no-online stanza-create
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /archive/db/archive.info
|
|
---------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-2]
|
|
|
|
[db]
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
full backup - create pg_stat link, pg_clog dir (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --cmd-ssh=/usr/bin/ssh --pg1-port=9999 --pg1-socket-path=/test_socket_path --buffer-size=[BUFFER-SIZE] --checksum-page --process-max=1 --type=full --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: 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
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-FULL-1]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=true
|
|
option-compress=false
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="none"
|
|
option-delta=false
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=1
|
|
|
|
[backup:target]
|
|
pg_data={"path":"[TEST_PATH]/db-master/db/base","type":"path"}
|
|
pg_data/pg_hba.conf={"file":"pg_hba.conf","path":"../pg_config","type":"link"}
|
|
pg_data/pg_stat={"path":"../pg_stat","type":"link"}
|
|
pg_data/postgresql.conf={"file":"postgresql.conf","path":"../pg_config","type":"link"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-3]
|
|
|
|
[target:file]
|
|
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":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","checksum-page":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","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]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/pg_hba.conf={"checksum":"dd4cea0cae348309f9de28ad4ded8ee2cc2e6d5b","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
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]}
|
|
pg_data/special-!_.*'()&!@;:+,?={"master":true,"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_hba.conf={"destination":"../pg_config/pg_hba.conf"}
|
|
pg_data/pg_stat={"destination":"../pg_stat"}
|
|
pg_data/postgresql.conf={"destination":"../pg_config/postgresql.conf"}
|
|
|
|
[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={}
|
|
|
|
[target:path:default]
|
|
group="[GROUP-1]"
|
|
mode="0700"
|
|
user="[USER-1]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
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
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: backup '[BACKUP-FULL-1]' missing manifest 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
|
|
P00 WARN: resumable backup [BACKUP-FULL-2] of same type exists -- remove invalid files and resume
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
exclude=postgresql.auto.conf
|
|
exclude=pg_log/
|
|
exclude=pg_log2
|
|
exclude=apipe
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-FULL-2]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=true
|
|
option-compress=false
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="none"
|
|
option-delta=false
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=2
|
|
|
|
[backup:target]
|
|
pg_data={"path":"[TEST_PATH]/db-master/db/base","type":"path"}
|
|
pg_data/pg_hba.conf={"file":"pg_hba.conf","path":"../pg_config","type":"link"}
|
|
pg_data/pg_stat={"path":"../pg_stat","type":"link"}
|
|
pg_data/postgresql.conf={"file":"postgresql.conf","path":"../pg_config","type":"link"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-3]
|
|
|
|
[target:file]
|
|
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"mode":"0660","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/16384/17000={"checksum":"e0101dd8ffb910c9c202ca35b5f828bcb9697bed","checksum-page":false,"checksum-page-error":[1],"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000={"checksum":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","checksum-page":true,"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","checksum-page":true,"master":false,"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],"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changecontent.txt={"checksum":"238a131a3e8eb98d1fc5b27d882ca40b7618fd2a","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/pg_hba.conf={"checksum":"dd4cea0cae348309f9de28ad4ded8ee2cc2e6d5b","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/special-!_.*'()&!@;:+,?={"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
|
|
[target:file:default]
|
|
group="[GROUP-1]"
|
|
master=true
|
|
mode="0600"
|
|
user="[USER-1]"
|
|
|
|
[target:link]
|
|
pg_data/pg_hba.conf={"destination":"../pg_config/pg_hba.conf"}
|
|
pg_data/pg_stat={"destination":"../pg_stat"}
|
|
pg_data/postgresql.conf={"destination":"../pg_config/postgresql.conf"}
|
|
|
|
[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_log={}
|
|
pg_data/pg_stat={}
|
|
pg_data/pg_tblspc={}
|
|
|
|
[target:path:default]
|
|
group="[GROUP-1]"
|
|
mode="0700"
|
|
user="[USER-1]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
restore delta, backup '[BACKUP-FULL-2]' - add and delete files (db-master host)
|
|
> [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
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
----------------------------------------------------------------
|
|
# Recovery settings generated by pgBackRest restore on [TIMESTAMP]
|
|
restore_command = '[BACKREST-BIN] --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
restore delta, backup '[BACKUP-FULL-2]' - fix broken symlink (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --set=[BACKUP-FULL-2] --link-all --compress-level-network=0 --stanza=db restore
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
----------------------------------------------------------------
|
|
# Recovery settings generated by pgBackRest restore on [TIMESTAMP]
|
|
restore_command = '[BACKREST-BIN] --compress-level-network=0 --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
restore delta, force, backup '[BACKUP-FULL-2]' - restore links as directories (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --force --set=[BACKUP-FULL-2] --stanza=db restore
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: file link 'pg_hba.conf' will be restored as a file at the same location
|
|
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
|
|
P00 WARN: unknown user 'bogus' in backup manifest mapped to current user
|
|
P00 WARN: unknown group 'bogus' in backup manifest mapped to current group
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
----------------------------------------------------------------
|
|
# Recovery settings generated by pgBackRest restore on [TIMESTAMP]
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
incr backup - add tablespace 1 (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
|
|
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
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-INCR-1]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=true
|
|
option-compress=false
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="none"
|
|
option-delta=false
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=2
|
|
|
|
[backup:target]
|
|
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"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-3]
|
|
|
|
[target:file]
|
|
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"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],"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000={"checksum":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","checksum-page":true,"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","checksum-page":true,"master":false,"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],"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changecontent.txt={"checksum":"238a131a3e8eb98d1fc5b27d882ca40b7618fd2a","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/special-!_.*'()&!@;:+,?={"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt={"checksum":"14c44cef6287269b08d41de489fd492bb9fc795d","checksum-page":false,"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
|
|
[target:file:default]
|
|
group="[GROUP-1]"
|
|
master=true
|
|
mode="0600"
|
|
user="[USER-1]"
|
|
|
|
[target:link]
|
|
pg_data/pg_tblspc/1={"destination":"[TEST_PATH]/db-master/db/tablespace/ts1"}
|
|
|
|
[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_log={}
|
|
pg_data/pg_stat={}
|
|
pg_data/pg_tblspc={}
|
|
pg_tblspc={}
|
|
pg_tblspc/1={}
|
|
pg_tblspc/1/[TS_PATH-1]={}
|
|
pg_tblspc/1/[TS_PATH-1]/16384={}
|
|
|
|
[target:path:default]
|
|
group="[GROUP-1]"
|
|
mode="0700"
|
|
user="[USER-1]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
incr backup - resume and add tablespace 2 (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --process-max=1 --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: backup '[BACKUP-INCR-1]' missing manifest removed from backup.info
|
|
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
|
|
P00 WARN: file 'changetime.txt' has timestamp earlier than prior backup, enabling delta checksum
|
|
P00 WARN: resumable backup [BACKUP-INCR-2] of same type exists -- remove invalid files and resume
|
|
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
|
|
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
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-INCR-2]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=true
|
|
option-compress=false
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="none"
|
|
option-delta=true
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=1
|
|
|
|
[backup:target]
|
|
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/11={"path":"[TEST_PATH]/db-master/db/tablespace/ts11","tablespace-id":"11","tablespace-name":"ts11","type":"link"}
|
|
pg_tblspc/2={"path":"[TEST_PATH]/db-master/db/tablespace/ts2","tablespace-id":"2","tablespace-name":"ts2","type":"link"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-3]
|
|
|
|
[target:file]
|
|
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"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],"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000={"checksum":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","checksum-page":true,"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","checksum-page":true,"master":false,"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],"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changecontent.txt={"checksum":"a094d94583e209556d03c3c5da33131a065f1689","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"3905d5be2ec8d67f41435dab5e0dcda3ae47455d","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/special-!_.*'()&!@;:+,?={"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","checksum-page":false,"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
|
|
[target:file:default]
|
|
group="[GROUP-1]"
|
|
master=true
|
|
mode="0600"
|
|
user="[USER-1]"
|
|
|
|
[target:link]
|
|
pg_data/pg_tblspc/1={"destination":"[TEST_PATH]/db-master/db/tablespace/ts1"}
|
|
pg_data/pg_tblspc/11={"destination":"[TEST_PATH]/db-master/db/tablespace/ts11"}
|
|
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/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_log={}
|
|
pg_data/pg_stat={}
|
|
pg_data/pg_tblspc={}
|
|
pg_tblspc={}
|
|
pg_tblspc/1={}
|
|
pg_tblspc/1/[TS_PATH-1]={}
|
|
pg_tblspc/1/[TS_PATH-1]/16384={}
|
|
pg_tblspc/11={}
|
|
pg_tblspc/11/[TS_PATH-1]={}
|
|
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]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
diff backup - drop tablespace 11 (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --process-max=1 --type=diff --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: diff backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
|
|
P00 WARN: file 'changetime.txt' has timestamp earlier than prior backup, enabling delta checksum
|
|
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
|
|
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
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-DIFF-1]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=true
|
|
option-compress=false
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="none"
|
|
option-delta=true
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=1
|
|
|
|
[backup:target]
|
|
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"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-3]
|
|
|
|
[target:file]
|
|
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"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],"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000={"checksum":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","checksum-page":true,"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","checksum-page":true,"master":false,"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],"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changecontent.txt={"checksum":"a094d94583e209556d03c3c5da33131a065f1689","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"3905d5be2ec8d67f41435dab5e0dcda3ae47455d","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/special-!_.*'()&!@;:+,?={"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt={"checksum":"d85de07d6421d90aa9191c11c889bfde43680f0f","checksum-page":false,"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
|
|
[target:file:default]
|
|
group="[GROUP-1]"
|
|
master=true
|
|
mode="0600"
|
|
user="[USER-1]"
|
|
|
|
[target:link]
|
|
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"}
|
|
|
|
[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_log={}
|
|
pg_data/pg_stat={}
|
|
pg_data/pg_tblspc={}
|
|
pg_tblspc={}
|
|
pg_tblspc/1={}
|
|
pg_tblspc/1/[TS_PATH-1]={}
|
|
pg_tblspc/1/[TS_PATH-1]/16384={}
|
|
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]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"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":false,"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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
restore, backup '[BACKUP-DIFF-1]', remap - remap all paths (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --set=[BACKUP-DIFF-1] --stanza=db restore
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
------------------------------------------------------------------
|
|
# Recovery settings generated by pgBackRest restore on [TIMESTAMP]
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
restore delta, backup '[BACKUP-DIFF-1]', remap - ensure file in tblspc root remains after --delta (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --set=[BACKUP-DIFF-1] --stanza=db restore
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
------------------------------------------------------------------
|
|
# Recovery settings generated by pgBackRest restore on [TIMESTAMP]
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
incr backup - add files and remove tablespace 2 (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --process-max=1 --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-DIFF-1]
|
|
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
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base-2
|
|
|
|
[db:restore]
|
|
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
|
|
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-INCR-3]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup]
|
|
backup-label="[BACKUP-INCR-3]"
|
|
backup-prior="[BACKUP-DIFF-1]"
|
|
backup-timestamp-copy-start=[TIMESTAMP]
|
|
backup-timestamp-start=[TIMESTAMP]
|
|
backup-timestamp-stop=[TIMESTAMP]
|
|
backup-type="incr"
|
|
|
|
[backup:db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=true
|
|
option-compress=false
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="none"
|
|
option-delta=false
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=1
|
|
|
|
[backup:target]
|
|
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"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-3]
|
|
|
|
[target:file]
|
|
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-1]","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":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","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","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changecontent.txt={"checksum":"a094d94583e209556d03c3c5da33131a065f1689","master":true,"reference":"[BACKUP-DIFF-1]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"3905d5be2ec8d67f41435dab5e0dcda3ae47455d","master":true,"reference":"[BACKUP-DIFF-1]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
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_data/special-!_.*'()&!@;:+,?={"master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"master":true,"reference":"[BACKUP-DIFF-1]","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-1]","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]}
|
|
|
|
[target:file:default]
|
|
group="[GROUP-1]"
|
|
master=false
|
|
mode="0600"
|
|
user="[USER-1]"
|
|
|
|
[target:link]
|
|
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
|
|
|
|
[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_log={}
|
|
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]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"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":false,"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":false,"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-1]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
incr backup - update files (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: incr backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-INCR-3]
|
|
P00 WARN: file 'base/16384/17000' has same timestamp as prior but different size, enabling delta checksum
|
|
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
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base-2
|
|
|
|
[db:restore]
|
|
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
|
|
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-INCR-4]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=true
|
|
option-compress=false
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="none"
|
|
option-delta=true
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=2
|
|
|
|
[backup:target]
|
|
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"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-3]
|
|
|
|
[target:file]
|
|
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-1]","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":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","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","reference":"[BACKUP-INCR-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changecontent.txt={"checksum":"a094d94583e209556d03c3c5da33131a065f1689","master":true,"reference":"[BACKUP-DIFF-1]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"3905d5be2ec8d67f41435dab5e0dcda3ae47455d","master":true,"reference":"[BACKUP-DIFF-1]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
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_data/special-!_.*'()&!@;:+,?={"master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"master":true,"reference":"[BACKUP-DIFF-1]","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-1]","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]}
|
|
|
|
[target:file:default]
|
|
group="[GROUP-1]"
|
|
master=false
|
|
mode="0600"
|
|
user="[USER-1]"
|
|
|
|
[target:link]
|
|
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
|
|
|
|
[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_log={}
|
|
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]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"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":false,"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":false,"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-1]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":false,"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-1]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
diff backup - updates since last full (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --process-max=1 --type=diff --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: diff backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
|
|
P00 WARN: file 'base/16384/17000' has same timestamp as prior but different size, enabling delta checksum
|
|
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/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
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base-2
|
|
|
|
[db:restore]
|
|
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
|
|
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-DIFF-2]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=true
|
|
option-compress=false
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="none"
|
|
option-delta=true
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=1
|
|
|
|
[backup:target]
|
|
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"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-3]
|
|
|
|
[target:file]
|
|
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":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","checksum-page":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","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","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changecontent.txt={"checksum":"a094d94583e209556d03c3c5da33131a065f1689","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"3905d5be2ec8d67f41435dab5e0dcda3ae47455d","master":true,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
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_data/special-!_.*'()&!@;:+,?={"master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"master":true,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"master":true,"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]}
|
|
|
|
[target:file:default]
|
|
group="[GROUP-1]"
|
|
master=false
|
|
mode="0600"
|
|
user="[USER-1]"
|
|
|
|
[target:link]
|
|
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
|
|
|
|
[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_log={}
|
|
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]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"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":false,"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":false,"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-1]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":false,"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-1]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":false,"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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
diff backup - remove files (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --process-max=1 --type=diff --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: diff backup cannot alter compress-type option to 'gz', reset to value in [BACKUP-FULL-2]
|
|
P00 WARN: diff backup cannot alter 'checksum-page' option to 'false', reset to 'true' from [BACKUP-FULL-2]
|
|
P00 WARN: file 'changetime.txt' has timestamp earlier than prior backup, enabling delta checksum
|
|
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
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base-2
|
|
|
|
[db:restore]
|
|
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
|
|
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-DIFF-3]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=true
|
|
option-compress=false
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="none"
|
|
option-delta=true
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=1
|
|
|
|
[backup:target]
|
|
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"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-3]
|
|
|
|
[target:file]
|
|
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","checksum-page":true,"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"mode":"0660","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000={"checksum":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","checksum-page":true,"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","checksum-page":true,"master":false,"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],"master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changecontent.txt={"checksum":"a094d94583e209556d03c3c5da33131a065f1689","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"3905d5be2ec8d67f41435dab5e0dcda3ae47455d","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/special-!_.*'()&!@;:+,?={"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"reference":"[BACKUP-FULL-2]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","checksum-page":false,"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","checksum-page":false,"master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
|
|
[target:file:default]
|
|
group="[GROUP-1]"
|
|
master=true
|
|
mode="0600"
|
|
user="[USER-1]"
|
|
|
|
[target:link]
|
|
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
|
|
|
|
[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_log={}
|
|
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]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"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":false,"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":false,"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-1]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":false,"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-1]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":false,"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":false,"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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
full backup - update file (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --type=full --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
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.
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base-2
|
|
|
|
[db:restore]
|
|
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
|
|
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-FULL-3]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=false
|
|
option-compress=true
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="gz"
|
|
option-delta=false
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=2
|
|
|
|
[backup:target]
|
|
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"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-4]
|
|
|
|
[target:file]
|
|
pg_data/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/badchecksum.txt={"checksum":"f927212cd08d11a42a666b2f04235398e9ceeb51","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/12000={"checksum":"22c98d248ff548311eda88559e4a8405ed77c003","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/1/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"mode":"0660","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/16384/17000={"checksum":"7579ada0808d7f98087a0a586d0df9de009cdc33","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/16384/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000={"checksum":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33001={"checksum":"6bf316f11d28c28914ea9be92c00de9bea6d9a6b","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/PG_VERSION={"checksum":"184473f470864e067ee3a22e64b47b0a1c356f29","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changecontent.txt={"checksum":"a094d94583e209556d03c3c5da33131a065f1689","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"3905d5be2ec8d67f41435dab5e0dcda3ae47455d","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/pg_stat/global.stat={"checksum":"e350d5ce0153f3e22d5db21cf2a4eff00f3ee877","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/postgresql.conf={"checksum":"6721d92c9fcdf4248acff1f9a1377127d9064807","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/special-!_.*'()&!@;:+,?={"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt={"checksum":"dc7f76e43c46101b47acc55ae4d593a9e6983578","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt={"checksum":"dfcb8679956b734706cf87259d50c88f83e80e66","master":false,"repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
|
|
[target:file:default]
|
|
group="[GROUP-1]"
|
|
master=true
|
|
mode="0600"
|
|
user="[USER-1]"
|
|
|
|
[target:link]
|
|
pg_data/pg_tblspc/2={"destination":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
|
|
|
|
[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_log={}
|
|
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]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup:current]
|
|
[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":false,"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":false,"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":false,"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-1]","backup-reference":["[BACKUP-FULL-2]","[BACKUP-DIFF-1]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":false,"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-1]","[BACKUP-INCR-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"incr","db-id":1,"option-archive-check":false,"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":false,"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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":true,"option-compress":false,"option-hardlink":false,"option-online":false}
|
|
[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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
expire full=1 (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --repo1-retention-full=1 --stanza=db expire
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
diff backup - add file (backup host)
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --checksum-page --type=diff --stanza=db backup
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
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.
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base-2
|
|
|
|
[db:restore]
|
|
tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2
|
|
tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-DIFF-4]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[backup]
|
|
backup-label="[BACKUP-DIFF-4]"
|
|
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
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=false
|
|
option-compress=true
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="gz"
|
|
option-delta=false
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=2
|
|
|
|
[backup:target]
|
|
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"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-4]
|
|
|
|
[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":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","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]}
|
|
pg_data/changecontent.txt={"checksum":"a094d94583e209556d03c3c5da33131a065f1689","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"3905d5be2ec8d67f41435dab5e0dcda3ae47455d","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
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_data/special-!_.*'()&!@;:+,?={"master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"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":"[TEST_PATH]/db-master/db/tablespace/ts2-2"}
|
|
|
|
[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_log={}
|
|
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]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"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-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
restore delta, remap - selective restore 16384 (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --db-include=16384 --stanza=db restore
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
------------------------------------------------------------------
|
|
# Recovery settings generated by pgBackRest restore on [TIMESTAMP]
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
restore delta, remap - selective restore 32768 (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --db-include=32768 --stanza=db restore
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
------------------------------------------------------------------
|
|
# Recovery settings generated by pgBackRest restore on [TIMESTAMP]
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
restore delta, remap, expect exit 80 - error on invalid id (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --log-level-console=warn --db-include=7777 --stanza=db restore
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 ERROR: [080]: database to include '7777' does not exist
|
|
|
|
restore delta, remap, expect exit 81 - error on system id (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --log-level-console=warn --db-include=1 --stanza=db restore
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 ERROR: [081]: system databases (template0, postgres, etc.) are included by default
|
|
|
|
restore, remap - no tablespace remap (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --tablespace-map-all=../../tablespace --stanza=db restore
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/base/recovery.conf
|
|
-----------------------------------------------------------------------
|
|
# Recovery settings generated by pgBackRest restore on [TIMESTAMP]
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
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
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 INFO: backup command begin [BACKREST-VERSION]: --backup-standby --buffer-size=[BUFFER-SIZE] --compress-level=3 --compress-level-network=1 --config=[TEST_PATH]/backup/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/backup/lock --log-level-console=info --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --no-online --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --pg1-path=[TEST_PATH]/db-master/db/base-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-tls --repo1-type=s3 --stanza=db --start-fast --type=diff
|
|
P00 WARN: option repo1-retention-full is not set, the repository may run out of space
|
|
HINT: to retain full backups indefinitely (without warning), set option 'repo1-retention-full' to the maximum.
|
|
P00 WARN: option backup-standby is enabled but backup is offline - backups will be performed from the primary
|
|
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-5]
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
|
P00 INFO: backup command end: completed successfully
|
|
P00 INFO: expire command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --config=[TEST_PATH]/backup/pgbackrest.conf --lock-path=[TEST_PATH]/backup/lock --log-level-console=info --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/backup/log[] --no-log-timestamp --pg1-host=db-master --pg1-host-cmd=[BACKREST-BIN] --pg1-host-config=[TEST_PATH]/db-master/pgbackrest.conf --pg1-host-user=[USER-1] --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/ --repo1-s3-bucket=pgbackrest-dev --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --no-repo1-s3-verify-tls --repo1-type=s3 --stanza=db
|
|
P00 INFO: option 'repo1-retention-archive' is not set - archive logs will not be expired
|
|
P00 INFO: http statistics:[HTTP-STATISTICS]
|
|
P00 INFO: expire command end: completed successfully
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
----------------------------------------------------------
|
|
[db]
|
|
pg1-path=[TEST_PATH]/db-master/db/base-2/base
|
|
|
|
[db:restore]
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
compress-type=none
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/db-master/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/db-master/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
repo1-host=backup
|
|
repo1-host-cmd=[BACKREST-BIN]
|
|
repo1-host-config=[TEST_PATH]/backup/pgbackrest.conf
|
|
repo1-host-user=[USER-1]
|
|
spool-path=[TEST_PATH]/db-master/spool
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/pgbackrest.conf
|
|
-------------------------------------------------------
|
|
[db]
|
|
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
|
|
|
|
[global]
|
|
buffer-size=[BUFFER-SIZE]
|
|
compress-level=3
|
|
compress-level-network=1
|
|
db-timeout=45
|
|
lock-path=[TEST_PATH]/backup/lock
|
|
log-level-console=warn
|
|
log-level-file=[LOG-LEVEL-FILE]
|
|
log-level-stderr=off
|
|
log-path=[TEST_PATH]/backup/log
|
|
log-subprocess=[LOG-SUBPROCESS]
|
|
log-timestamp=n
|
|
process-max=2
|
|
protocol-timeout=60
|
|
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
|
|
|
|
[global:backup]
|
|
archive-copy=y
|
|
start-fast=y
|
|
|
|
+ supplemental file: /backup/db/[BACKUP-DIFF-5]/backup.manifest
|
|
---------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
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]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[backup:option]
|
|
option-archive-check=false
|
|
option-archive-copy=true
|
|
option-backup-standby=false
|
|
option-buffer-size=[BUFFER-SIZE]
|
|
option-checksum-page=false
|
|
option-compress=true
|
|
option-compress-level=3
|
|
option-compress-level-network=1
|
|
option-compress-type="gz"
|
|
option-delta=false
|
|
option-hardlink=false
|
|
option-online=false
|
|
option-process-max=2
|
|
|
|
[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"}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-4]
|
|
|
|
[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":"7a16d165e4775f7c92e8cdf60c0af57313f0bf90","reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/base/32768/33000.32767={"checksum":"6e99b589e550e68e934fd235ccba59fe5b592a9e","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]}
|
|
pg_data/changecontent.txt={"checksum":"a094d94583e209556d03c3c5da33131a065f1689","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changesize.txt={"checksum":"3905d5be2ec8d67f41435dab5e0dcda3ae47455d","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/changetime.txt={"checksum":"88087292ed82e26f3eb824d0bffc05ccf7a30f8d","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
pg_data/global/pg_control={"checksum":"4c77c900f7af0d9ab13fa9982051a42e0b637f6c","master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-2]}
|
|
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_data/special-!_.*'()&!@;:+,?={"master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zero_from_start={"master":true,"reference":"[BACKUP-FULL-3]","repo-size":[SIZE],"size":[SIZE],"timestamp":[TIMESTAMP-1]}
|
|
pg_data/zerosize.txt={"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_log={}
|
|
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]"
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: /backup/db/backup.info
|
|
-------------------------------------------
|
|
[backrest]
|
|
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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"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-3]","backup-reference":["[BACKUP-FULL-3]"],"backup-timestamp-start":[TIMESTAMP],"backup-timestamp-stop":[TIMESTAMP],"backup-type":"diff","db-id":1,"option-archive-check":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
|
|
[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":false,"option-archive-copy":true,"option-backup-standby":false,"option-checksum-page":false,"option-compress":true,"option-hardlink":false,"option-online":false}
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|