From 35903b94d9f2de14fb116c4b15649466eff78ef2 Mon Sep 17 00:00:00 2001 From: David Steele Date: Sat, 9 Feb 2019 19:52:31 +0200 Subject: [PATCH] v2.10: Bug Fixes Bug Fixes: * Add unimplemented S3 driver method required for archive-get. (Reported by mibiio.) * Fix check for improperly configured pg-path. (Reported by James Chanco Jr.) --- README.md | 2 +- doc/resource/exe.cache | 1487 +++++++++++++++++++------------------ doc/xml/release.xml | 2 +- lib/pgBackRest/Version.pm | 2 +- src/perl/embed.auto.c | 2 +- src/version.h | 2 +- 6 files changed, 749 insertions(+), 748 deletions(-) diff --git a/README.md b/README.md index 10d028dfc..fcce14d00 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ pgBackRest aims to be a simple, reliable backup and restore solution that can seamlessly scale up to the largest databases and workloads by utilizing algorithms that are optimized for database-specific requirements. -pgBackRest [v2.09](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.09) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.10](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.10) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. Documentation for v1 can be found [here](http://www.pgbackrest.org/1). No further releases are planned for v1 because v2 is backward-compatible with v1 options and repositories. diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index 74adbb5a4..d8b1e9a36 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -20,7 +20,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.09" + "sudo mkdir /root/pgbackrest-release-2.10" ], "host" : "build", "load-env" : true, @@ -33,7 +33,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.09" + "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.10" ], "host" : "build", "load-env" : true, @@ -46,7 +46,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.09" + "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.10" ], "host" : "build", "load-env" : true, @@ -104,7 +104,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.09/src" + "sudo make -s -C /root/pgbackrest-release-2.10/src" ], "host" : "build", "load-env" : true, @@ -144,7 +144,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.10/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -286,7 +286,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.09 - General help", + "pgBackRest 2.10 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -431,7 +431,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.09 - 'backup' command - 'log-path' option help", + "pgBackRest 2.10 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -668,7 +668,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -694,8 +694,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-c6e3b2e7829d38f22b19418af5069aa7368efb59.gz'", + "P00 INFO: check command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-5d6e42ba3648e6b292193f562ec9c6882ca955b1.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -722,9 +722,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:21:41\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:33:12\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000003, lsn = 0/3000028", " [filtered 754 lines of output]", "P01 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11895 (0B, 100%)", @@ -750,7 +750,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-172141F" + "20190209-173312F" ] } }, @@ -777,11 +777,11 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum ed206ca108b1328980cce013927c7756dd2b5c62", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 100%) checksum 2565c87cf07ecbc4b759a027c9df54a39204174d", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 2111c90651e68317ca1461a4b13b8513d049adcf", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 100%) checksum cdee6d4e0bd7bdeaa7fd70971378a635533e641d", "P00 INFO: diff backup size = 8.2KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000010000000000000004, lsn = 0/40000F0", + "P00 INFO: backup stop archive = 000000010000000000000004, lsn = 0/4000128", " [filtered 4 lines of output]" ] } @@ -814,18 +814,18 @@ " db (current)", " wal archive min/max (9.4-1): 000000010000000000000003/000000010000000000000004", "", - " full backup: 20190130-172141F", - " timestamp start/stop: 2019-01-30 17:21:41 / 2019-01-30 17:21:52", + " full backup: 20190209-173312F", + " timestamp start/stop: 2019-02-09 17:33:12 / 2019-02-09 17:33:23", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", " database size: 19.2MB, backup size: 19.2MB", " repository size: 2.3MB, repository backup size: 2.3MB", "", - " diff backup: 20190130-172141F_20190130-172153D", - " timestamp start/stop: 2019-01-30 17:21:53 / 2019-01-30 17:21:57", + " diff backup: 20190209-173312F_20190209-173324D", + " timestamp start/stop: 2019-02-09 17:33:24 / 2019-02-09 17:33:28", " wal start/stop: 000000010000000000000004 / 000000010000000000000004", " database size: 19.2MB, backup size: 8.2KB", " repository size: 2.3MB, repository backup size: 400B", - " backup reference list: 20190130-172141F" + " backup reference list: 20190209-173312F" ] } }, @@ -958,10 +958,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20190130-172141F_20190130-172153D, version = 2.09", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:11\": backup begins after the next regular checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20190209-173312F_20190209-173324D, version = 2.10", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:33:42\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", "P00 WARN: a timeline switch has occurred since the last backup, enabling delta checksum", " [filtered 9 lines of output]" ] @@ -1019,11 +1019,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190130-172141F_20190130-172211I, version = 2.09", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:19\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 92ffced3283aef5a9097fae1c533ff4f5df4c348", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190209-173312F_20190209-173342I, version = 2.10", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:33:51\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum f537ac010fc2bc61c43840715a635246ff5edc5f", " [filtered 8 lines of output]" ] } @@ -1065,9 +1065,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:24\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", - "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190130-172141F_20190130-172224I': Permission denied", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:33:56\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190209-173312F_20190209-173356I': Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -1108,12 +1108,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190130-172141F_20190130-172219I, version = 2.09", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:28\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190209-173312F_20190209-173351I, version = 2.10", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:33:59\": backup begins after the requested immediate checkpoint completes", "P00 ERROR: [057]: ERROR: a backup is already in progress", " HINT: Run pg_stop_backup() and try again.:", - " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-01-30 17:22:28', true) as lsn" + " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-02-09 17:33:59', true) as lsn" ] } }, @@ -1170,13 +1170,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", - "P00 INFO: last backup label = 20190130-172141F_20190130-172219I, version = 2.09", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", + "P00 INFO: last backup label = 20190209-173312F_20190209-173351I, version = 2.10", "P00 WARN: the cluster is already in backup mode but no pgBackRest backup process is running. pg_stop_backup() will be called so a new backup can be started.", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:31\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000002000000000000000A, lsn = 0/A000028", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum c33077b302cc625e641b16a96e3b6278ab9d6804", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:34:01\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 04f12f415c5a39d57640d87ba8c4af7a32f7b2db", " [filtered 8 lines of output]" ] } @@ -1203,7 +1203,7 @@ " \"id\" : 1", " },", " \"id\" : \"9.4-1\",", - " \"max\" : \"00000002000000000000000A\",", + " \"max\" : \"000000020000000000000009\",", " \"min\" : \"000000010000000000000003\"", " }", " ],", @@ -1215,7 +1215,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1223,17 +1223,17 @@ " \"info\" : {", " \"delta\" : 20162900,", " \"repository\" : {", - " \"delta\" : 2389152,", - " \"size\" : 2389152", + " \"delta\" : 2389232,", + " \"size\" : 2389232", " },", " \"size\" : 20162900", " },", - " \"label\" : \"20190130-172141F\",", + " \"label\" : \"20190209-173312F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1548868901,", - " \"stop\" : 1548868912", + " \"start\" : 1549733592,", + " \"stop\" : 1549733603", " },", " \"type\" : \"full\"", " },", @@ -1244,7 +1244,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1253,29 +1253,60 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2389152", + " \"size\" : 2389232", " },", " \"size\" : 20162900", " },", - " \"label\" : \"20190130-172141F_20190130-172153D\",", - " \"prior\" : \"20190130-172141F\",", + " \"label\" : \"20190209-173312F_20190209-173324D\",", + " \"prior\" : \"20190209-173312F\",", " \"reference\" : [", - " \"20190130-172141F\"", + " \"20190209-173312F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548868913,", - " \"stop\" : 1548868917", + " \"start\" : 1549733604,", + " \"stop\" : 1549733608", " },", " \"type\" : \"diff\"", " },", " {", " \"archive\" : {", + " \"start\" : \"000000020000000000000006\",", + " \"stop\" : \"000000020000000000000006\"", + " },", + " \"backrest\" : {", + " \"format\" : 5,", + " \"version\" : \"2.10\"", + " },", + " \"database\" : {", + " \"id\" : 1", + " },", + " \"info\" : {", + " \"delta\" : 8428,", + " \"repository\" : {", + " \"delta\" : 400,", + " \"size\" : 2389232", + " },", + " \"size\" : 20162900", + " },", + " \"label\" : \"20190209-173312F_20190209-173342I\",", + " \"prior\" : \"20190209-173312F_20190209-173324D\",", + " \"reference\" : [", + " \"20190209-173312F\"", + " ],", + " \"timestamp\" : {", + " \"start\" : 1549733622,", + " \"stop\" : 1549733628", + " },", + " \"type\" : \"incr\"", + " },", + " {", + " \"archive\" : {", " \"start\" : \"000000020000000000000007\",", " \"stop\" : \"000000020000000000000007\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1284,29 +1315,29 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2389152", + " \"size\" : 2389232", " },", " \"size\" : 20162900", " },", - " \"label\" : \"20190130-172141F_20190130-172211I\",", - " \"prior\" : \"20190130-172141F_20190130-172153D\",", + " \"label\" : \"20190209-173312F_20190209-173351I\",", + " \"prior\" : \"20190209-173312F_20190209-173342I\",", " \"reference\" : [", - " \"20190130-172141F\"", + " \"20190209-173312F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548868931,", - " \"stop\" : 1548868938", + " \"start\" : 1549733631,", + " \"stop\" : 1549733634", " },", " \"type\" : \"incr\"", " },", " {", " \"archive\" : {", - " \"start\" : \"000000020000000000000008\",", - " \"stop\" : \"000000020000000000000008\"", + " \"start\" : \"000000020000000000000009\",", + " \"stop\" : \"000000020000000000000009\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1315,49 +1346,18 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2389152", + " \"size\" : 2389232", " },", " \"size\" : 20162900", " },", - " \"label\" : \"20190130-172141F_20190130-172219I\",", - " \"prior\" : \"20190130-172141F_20190130-172211I\",", + " \"label\" : \"20190209-173312F_20190209-173401I\",", + " \"prior\" : \"20190209-173312F_20190209-173351I\",", " \"reference\" : [", - " \"20190130-172141F\"", + " \"20190209-173312F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548868939,", - " \"stop\" : 1548868943", - " },", - " \"type\" : \"incr\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"00000002000000000000000A\",", - " \"stop\" : \"00000002000000000000000A\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.09\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 8428,", - " \"repository\" : {", - " \"delta\" : 400,", - " \"size\" : 2389152", - " },", - " \"size\" : 20162900", - " },", - " \"label\" : \"20190130-172141F_20190130-172231I\",", - " \"prior\" : \"20190130-172141F_20190130-172219I\",", - " \"reference\" : [", - " \"20190130-172141F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1548868951,", - " \"stop\" : 1548868956", + " \"start\" : 1549733641,", + " \"stop\" : 1549733647", " },", " \"type\" : \"incr\"", " }", @@ -1366,7 +1366,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6652341140067545330,", + " \"system-id\" : 6656054950746378482,", " \"version\" : \"9.4\"", " }", " ],", @@ -1521,7 +1521,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-01-30 17:22:36+00 | 00000002000000000000000A", + " \"demo\" | 2019-02-09 17:34:07+00 | 000000020000000000000009", "(1 row)" ] } @@ -1555,7 +1555,7 @@ "type" : "exe", "value" : { "output" : [ - "1548868956" + "1549733647" ] } }, @@ -1620,7 +1620,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190130-172141F|remove archive" + "archive retention on backup 20190209-173312F|remove archive" ] }, "host" : "pg-primary", @@ -1634,7 +1634,7 @@ " [filtered 763 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190130-172141F, archiveId = 9.4-1, start = 000000010000000000000003", + "P00 DETAIL: archive retention on backup 20190209-173312F, archiveId = 9.4-1, start = 000000010000000000000003", "P00 DETAIL: no archive to remove, archiveId = 9.4-1", "P00 INFO: expire command end: completed successfully" ] @@ -1654,7 +1654,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-172245F" + "20190209-173417F" ] } }, @@ -1669,7 +1669,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190130-172141F|archive retention on backup 20190130-172245F|remove archive" + "expire full backup set\\: 20190209-173312F|archive retention on backup 20190209-173417F|remove archive" ] }, "host" : "pg-primary", @@ -1683,9 +1683,9 @@ " [filtered 763 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190130-172141F, 20190130-172141F_20190130-172153D, 20190130-172141F_20190130-172211I, 20190130-172141F_20190130-172219I, 20190130-172141F_20190130-172231I", - "P00 INFO: remove expired backup 20190130-172141F_20190130-172231I", - "P00 INFO: remove expired backup 20190130-172141F_20190130-172219I", + "P00 INFO: expire full backup set: 20190209-173312F, 20190209-173312F_20190209-173324D, 20190209-173312F_20190209-173342I, 20190209-173312F_20190209-173351I, 20190209-173312F_20190209-173401I", + "P00 INFO: remove expired backup 20190209-173312F_20190209-173401I", + "P00 INFO: remove expired backup 20190209-173312F_20190209-173351I", " [filtered 3 lines of output]" ] } @@ -1749,7 +1749,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-172255F_20190130-172307D" + "20190209-173426F_20190209-173438D" ] } }, @@ -1777,7 +1777,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190130-172255F_20190130-172307D" + "expire diff backup set: 20190209-173426F_20190209-173438D" ] }, "host" : "pg-primary", @@ -1791,9 +1791,9 @@ " [filtered 11 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190130-172255F_20190130-172307D, 20190130-172255F_20190130-172312I", - "P00 INFO: remove expired backup 20190130-172255F_20190130-172312I", - "P00 INFO: remove expired backup 20190130-172255F_20190130-172307D" + "P00 INFO: expire diff backup set: 20190209-173426F_20190209-173438D, 20190209-173426F_20190209-173443I", + "P00 INFO: remove expired backup 20190209-173426F_20190209-173443I", + "P00 INFO: remove expired backup 20190209-173426F_20190209-173438D" ] } }, @@ -1843,7 +1843,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-172255F_20190130-172317D" + "20190209-173426F_20190209-173448D" ] } }, @@ -1886,8 +1886,8 @@ "output" : [ " [filtered 8 lines of output]", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000015, lsn = 0/150000F0", - "P00 INFO: new backup label = 20190130-172255F_20190130-172325D", + "P00 INFO: backup stop archive = 000000020000000000000014, lsn = 0/140000F0", + "P00 INFO: new backup label = 20190209-173426F_20190209-173455D", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin" ] @@ -1907,7 +1907,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-172255F_20190130-172325D" + "20190209-173426F_20190209-173455D" ] } }, @@ -1922,7 +1922,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190130-172255F_20190130-172317D|remove archive" + "archive retention on backup 20190209-173426F_20190209-173448D|remove archive" ] }, "host" : "pg-primary", @@ -1933,13 +1933,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.09: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20190130-172245F, archiveId = 9.4-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20190130-172255F, archiveId = 9.4-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: archive retention on backup 20190130-172255F_20190130-172317D, archiveId = 9.4-1, start = 000000020000000000000011, stop = 000000020000000000000011", - "P00 DETAIL: archive retention on backup 20190130-172255F_20190130-172325D, archiveId = 9.4-1, start = 000000020000000000000015", - "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 00000002000000000000000E, stop = 000000020000000000000010", - "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 000000020000000000000012, stop = 000000020000000000000014", + "P00 INFO: expire command begin 2.10: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20190209-173417F, archiveId = 9.4-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 DETAIL: archive retention on backup 20190209-173426F, archiveId = 9.4-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190209-173426F_20190209-173448D, archiveId = 9.4-1, start = 000000020000000000000010, stop = 000000020000000000000010", + "P00 DETAIL: archive retention on backup 20190209-173426F_20190209-173455D, archiveId = 9.4-1, start = 000000020000000000000014", + "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 00000002000000000000000D, stop = 00000002000000000000000F", + "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 000000020000000000000011, stop = 000000020000000000000013", "P00 INFO: expire command end: completed successfully" ] } @@ -2368,7 +2368,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-01-30 17:24:16.731732+00" + "2019-02-09 17:35:51.553264+00" ] } }, @@ -2421,7 +2421,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-30 17:24:16.731732+00\" restore" + " --type=time \"--target=2019-02-09 17:35:51.553264+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -2465,7 +2465,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-01-30 17:24:16.731732+00'" + "recovery_target_time = '2019-02-09 17:35:51.553264+00'" ] } }, @@ -2544,16 +2544,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:24:09 UTC", - "LOG: starting point-in-time recovery to 2019-01-30 17:24:16.731732+00", + "LOG: database system was interrupted; last known up at 2019-02-09 17:35:44 UTC", + "LOG: starting point-in-time recovery to 2019-02-09 17:35:51.553264+00", "LOG: restored log file \"00000004.history\" from archive", + "LOG: restored log file \"000000040000000000000019\" from archive", + "LOG: redo starts at 0/19000028", + "LOG: consistent recovery state reached at 0/190000F0", "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: redo starts at 0/1A000028", - "LOG: consistent recovery state reached at 0/1A0000F0", - "LOG: restored log file \"00000004000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 689, time 2019-01-30 17:24:17.093744+00", - "LOG: redo done at 0/1B016E58", - "LOG: last completed transaction was at log time 2019-01-30 17:24:16.355536+00", + "LOG: recovery stopping before commit of transaction 689, time 2019-02-09 17:35:51.912377+00", + "LOG: redo done at 0/1A016E90", + "LOG: last completed transaction was at log time 2019-02-09 17:35:51.128448+00", "LOG: selected new timeline ID: 5", "LOG: restored log file \"00000004.history\" from archive", " [filtered 5 lines of output]" @@ -2605,7 +2605,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-172255F_20190130-172408D" + "20190209-173426F_20190209-173543D" ] } }, @@ -2640,7 +2640,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-30 17:24:16.731732+00\" restore" + " --type=time \"--target=2019-02-09 17:35:51.553264+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -2737,14 +2737,15 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:24:31 UTC", - "LOG: starting point-in-time recovery to 2019-01-30 17:24:16.731732+00", + "LOG: database system was interrupted; last known up at 2019-02-09 17:36:07 UTC", + "LOG: incomplete startup packet", + "LOG: starting point-in-time recovery to 2019-02-09 17:35:51.553264+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"00000005000000000000001C\" from archive", - "LOG: redo starts at 0/1C000028", - "LOG: consistent recovery state reached at 0/1C0000F0", - "LOG: redo done at 0/1C0000F0", - "LOG: restored log file \"00000005000000000000001C\" from archive", + "LOG: restored log file \"00000005000000000000001B\" from archive", + "LOG: redo starts at 0/1B000028", + "LOG: consistent recovery state reached at 0/1B0000F0", + "LOG: redo done at 0/1B0000F0", + "LOG: restored log file \"00000005000000000000001B\" from archive", " [filtered 9 lines of output]" ] } @@ -2759,7 +2760,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190130-172255F_20190130-172408D" + "20190209-173426F_20190209-173543D" ] }, "host" : "pg-primary", @@ -2775,47 +2776,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.4-1): 00000002000000000000000C/00000005000000000000001C", + " wal archive min/max (9.4-1): 00000002000000000000000B/00000005000000000000001B", "", - " full backup: 20190130-172245F", - " timestamp start/stop: 2019-01-30 17:22:45 / 2019-01-30 17:22:54", + " full backup: 20190209-173417F", + " timestamp start/stop: 2019-02-09 17:34:17 / 2019-02-09 17:34:25", + " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", + " database size: 19.2MB, backup size: 19.2MB", + " repository size: 2.3MB, repository backup size: 2.3MB", + "", + " full backup: 20190209-173426F", + " timestamp start/stop: 2019-02-09 17:34:26 / 2019-02-09 17:34:36", " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", " database size: 19.2MB, backup size: 19.2MB", " repository size: 2.3MB, repository backup size: 2.3MB", "", - " full backup: 20190130-172255F", - " timestamp start/stop: 2019-01-30 17:22:55 / 2019-01-30 17:23:04", - " wal start/stop: 00000002000000000000000D / 00000002000000000000000D", - " database size: 19.2MB, backup size: 19.2MB", - " repository size: 2.3MB, repository backup size: 2.3MB", - "", - " diff backup: 20190130-172255F_20190130-172325D", - " timestamp start/stop: 2019-01-30 17:23:25 / 2019-01-30 17:23:29", - " wal start/stop: 000000020000000000000015 / 000000020000000000000015", + " diff backup: 20190209-173426F_20190209-173455D", + " timestamp start/stop: 2019-02-09 17:34:55 / 2019-02-09 17:35:02", + " wal start/stop: 000000020000000000000014 / 000000020000000000000014", " database size: 19.2MB, backup size: 72.2KB", " repository size: 2.3MB, repository backup size: 9.8KB", - " backup reference list: 20190130-172255F", + " backup reference list: 20190209-173426F", "", - " incr backup: 20190130-172255F_20190130-172344I", - " timestamp start/stop: 2019-01-30 17:23:44 / 2019-01-30 17:23:53", - " wal start/stop: 000000030000000000000017 / 000000030000000000000017", + " incr backup: 20190209-173426F_20190209-173515I", + " timestamp start/stop: 2019-02-09 17:35:15 / 2019-02-09 17:35:24", + " wal start/stop: 000000030000000000000016 / 000000030000000000000016", " database size: 31.8MB, backup size: 12.6MB", " repository size: 3.8MB, repository backup size: 1.5MB", - " backup reference list: 20190130-172255F, 20190130-172255F_20190130-172325D", + " backup reference list: 20190209-173426F, 20190209-173426F_20190209-173455D", "", - " diff backup: 20190130-172255F_20190130-172408D", - " timestamp start/stop: 2019-01-30 17:24:08 / 2019-01-30 17:24:15", - " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", + " diff backup: 20190209-173426F_20190209-173543D", + " timestamp start/stop: 2019-02-09 17:35:43 / 2019-02-09 17:35:50", + " wal start/stop: 000000040000000000000019 / 000000040000000000000019", " database size: 25.5MB, backup size: 6.4MB", " repository size: 3MB, repository backup size: 781.0KB", - " backup reference list: 20190130-172255F", + " backup reference list: 20190209-173426F", "", - " incr backup: 20190130-172255F_20190130-172430I", - " timestamp start/stop: 2019-01-30 17:24:30 / 2019-01-30 17:24:37", - " wal start/stop: 00000005000000000000001C / 00000005000000000000001C", + " incr backup: 20190209-173426F_20190209-173605I", + " timestamp start/stop: 2019-02-09 17:36:05 / 2019-02-09 17:36:12", + " wal start/stop: 00000005000000000000001B / 00000005000000000000001B", " database size: 25.5MB, backup size: 1.8MB", " repository size: 3MB, repository backup size: 201.5KB", - " backup reference list: 20190130-172255F, 20190130-172255F_20190130-172408D" + " backup reference list: 20190209-173426F, 20190209-173426F_20190209-173543D" ] } }, @@ -2837,8 +2838,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-30 17:24:16.731732+00\" \\", - " --set=20190130-172255F_20190130-172408D restore" + " --type=time \"--target=2019-02-09 17:35:51.553264+00\" \\", + " --set=20190209-173426F_20190209-173543D restore" ], "host" : "pg-primary", "load-env" : true, @@ -2935,19 +2936,20 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:24:09 UTC", - "LOG: starting point-in-time recovery to 2019-01-30 17:24:16.731732+00", - "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: redo starts at 0/1A000028", - "LOG: consistent recovery state reached at 0/1A0000F0", - "LOG: restored log file \"00000004000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 689, time 2019-01-30 17:24:17.093744+00", - "LOG: redo done at 0/1B016E58", - "LOG: last completed transaction was at log time 2019-01-30 17:24:16.355536+00", - "LOG: restored log file \"00000005.history\" from archive", + "LOG: database system was interrupted; last known up at 2019-02-09 17:35:44 UTC", "LOG: incomplete startup packet", - " [filtered 7 lines of output]" + "LOG: starting point-in-time recovery to 2019-02-09 17:35:51.553264+00", + "LOG: restored log file \"00000004.history\" from archive", + "LOG: restored log file \"000000040000000000000019\" from archive", + "LOG: redo starts at 0/19000028", + "LOG: consistent recovery state reached at 0/190000F0", + "LOG: restored log file \"00000004000000000000001A\" from archive", + "LOG: recovery stopping before commit of transaction 689, time 2019-02-09 17:35:51.912377+00", + "LOG: redo done at 0/1A016E90", + "LOG: last completed transaction was at log time 2019-02-09 17:35:51.128448+00", + "LOG: restored log file \"00000005.history\" from archive", + "LOG: restored log file \"00000006.history\" from archive", + " [filtered 8 lines of output]" ] } }, @@ -3106,7 +3108,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-create command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -3133,16 +3135,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:25:14\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000007000000000000001C, lsn = 0/1C000028", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:36:54\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000007000000000000001B, lsn = 0/1B000028", " [filtered 995 lines of output]", - "P02 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11895 (0B, 100%)", - "P04 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11885 (0B, 100%)", + "P03 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11895 (0B, 100%)", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11885 (0B, 100%)", "P00 INFO: full backup size = 25.5MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 00000007000000000000001C, lsn = 0/1C000128", + "P00 INFO: backup stop archive = 00000007000000000000001B, lsn = 0/1B000128", " [filtered 4 lines of output]" ] } @@ -3181,7 +3183,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -3207,7 +3209,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-delete command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -3256,7 +3258,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.10/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -3842,14 +3844,14 @@ " db (current)", " wal archive min/max (9.4-1): 000000080000000000000023/000000080000000000000024", "", - " full backup: 20190130-172707F", - " timestamp start/stop: 2019-01-30 17:27:07 / 2019-01-30 17:27:22", + " full backup: 20190209-173849F", + " timestamp start/stop: 2019-02-09 17:38:49 / 2019-02-09 17:39:05", " wal start/stop: 000000080000000000000023 / 000000080000000000000023", " database size: 25.5MB, backup size: 25.5MB", " repository size: 3MB, repository backup size: 3MB", "", - " full backup: 20190130-172723F", - " timestamp start/stop: 2019-01-30 17:27:23 / 2019-01-30 17:27:38", + " full backup: 20190209-173906F", + " timestamp start/stop: 2019-02-09 17:39:06 / 2019-02-09 17:39:22", " wal start/stop: 000000080000000000000024 / 000000080000000000000024", " database size: 25.5MB, backup size: 25.5MB", " repository size: 3MB, repository backup size: 3MB" @@ -3996,7 +3998,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.10/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -4401,7 +4403,7 @@ "output" : [ "LOG: could not bind IPv6 socket: Cannot assign requested address", "HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.", - "LOG: database system was interrupted; last known up at 2019-01-30 17:27:24 UTC", + "LOG: database system was interrupted; last known up at 2019-02-09 17:39:07 UTC", "LOG: entering standby mode", "LOG: incomplete startup packet", "LOG: restored log file \"00000008.history\" from archive", @@ -4489,7 +4491,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/25019A70 | 2019-01-30 17:28:17.993745+00", + " 0/25019A70 | 2019-02-09 17:40:01.546404+00", "(1 row)" ] } @@ -4516,9 +4518,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+-------------------------------", - " Important Data | 2019-01-30 17:28:24.318314+00", + " message | now ", + "----------------+------------------------------", + " Important Data | 2019-02-09 17:40:07.32096+00", "(1 row)" ] } @@ -4544,7 +4546,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.10: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", "P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -4790,9 +4792,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+------------------------------", - " Important Data | 2019-01-30 17:28:40.90025+00", + " message | now ", + "----------------+-------------------------------", + " Important Data | 2019-02-09 17:40:24.730836+00", "(1 row)" ] } @@ -4821,7 +4823,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-30 17:28:41.568006+00", + " Important Data | 2019-02-09 17:40:25.164523+00", "(1 row)" ] } @@ -5053,8 +5055,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 00000008000000000000002B successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/00000008000000000000002B-5af19c728c50da2bdcb09c7e04042ec8cc415edc.gz'", + "P00 INFO: check command begin 2.10: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 00000008000000000000002B successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/00000008000000000000002B-b56115e2e0d37461d4ee2f063a9d7a6fb6bb1a1d.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -5081,18 +5083,18 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000026] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 2 WAL file(s) to archive: 000000080000000000000026...000000080000000000000027", + "P00 INFO: archive-push command begin 2.10: [pg_xlog/000000080000000000000026] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 3 WAL file(s) to archive: 000000080000000000000026...000000080000000000000028", "P02 DETAIL: pushed WAL file 000000080000000000000027 to archive", "P01 DETAIL: pushed WAL file 000000080000000000000026 to archive", + "P02 DETAIL: pushed WAL file 000000080000000000000028 to archive", "P00 INFO: archive-push command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000028] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000028...00000008000000000000002B", - "P01 DETAIL: pushed WAL file 000000080000000000000028 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000029 to archive", - "P01 DETAIL: pushed WAL file 00000008000000000000002A to archive", + "P00 INFO: archive-push command begin 2.10: [pg_xlog/000000080000000000000029] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 3 WAL file(s) to archive: 000000080000000000000029...00000008000000000000002B", + "P02 DETAIL: pushed WAL file 00000008000000000000002A to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000029 to archive", "P02 DETAIL: pushed WAL file 00000008000000000000002B to archive", "P00 INFO: archive-push command end: completed successfully" ] @@ -5133,45 +5135,43 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get command begin 2.09: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get command begin 2.10: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000024...00000008000000000000002B", "P01 DETAIL: got WAL file 000000080000000000000024 from archive", "P01 DETAIL: WAL file 000000080000000000000026 not found in archive", "P01 DETAIL: WAL file 000000080000000000000027 not found in archive", - "P01 DETAIL: WAL file 000000080000000000000028 not found in archive", - "P02 DETAIL: got WAL file 000000080000000000000025 from archive", - "P01 DETAIL: WAL file 000000080000000000000029 not found in archive", - "P02 DETAIL: WAL file 00000008000000000000002A not found in archive", - " [filtered 30 lines of output]", - "P00 INFO: archive-get command begin 2.09: [000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000026...00000008000000000000002D", - "P02 DETAIL: got WAL file 000000080000000000000027 from archive", - "P01 DETAIL: got WAL file 000000080000000000000026 from archive", - "P02 DETAIL: WAL file 000000080000000000000028 not found in archive", - "P01 DETAIL: WAL file 000000080000000000000029 not found in archive", - " [filtered 20 lines of output]", - "P00 INFO: archive-get command begin 2.09: [000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000028...00000008000000000000002F", - "P01 DETAIL: got WAL file 000000080000000000000028 from archive", + " [filtered 2 lines of output]", "P01 DETAIL: WAL file 00000008000000000000002A not found in archive", "P01 DETAIL: WAL file 00000008000000000000002B not found in archive", - "P01 DETAIL: WAL file 00000008000000000000002C not found in archive", - "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", - "P01 DETAIL: WAL file 00000008000000000000002E not found in archive", - "P02 DETAIL: got WAL file 000000080000000000000029 from archive", - "P01 DETAIL: WAL file 00000008000000000000002F not found in archive", + "P02 DETAIL: got WAL file 000000080000000000000025 from archive", "P00 INFO: archive-get command end: completed successfully", - " [filtered 2 lines of output]", - "P00 INFO: archive-get command begin 2.09: [00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030, 000000080000000000000031] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000002A...000000080000000000000031", - "P01 DETAIL: got WAL file 00000008000000000000002A from archive", - "P01 DETAIL: WAL file 00000008000000000000002C not found in archive", - "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", - "P01 DETAIL: WAL file 00000008000000000000002E not found in archive", - "P02 DETAIL: got WAL file 00000008000000000000002B from archive", - "P01 DETAIL: WAL file 00000008000000000000002F not found in archive", + "", + " [filtered 27 lines of output]", + "P00 INFO: archive-get command begin 2.10: [000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000026...00000008000000000000002D", + "P01 DETAIL: got WAL file 000000080000000000000026 from archive", + "P02 DETAIL: got WAL file 000000080000000000000027 from archive", + "P02 DETAIL: WAL file 000000080000000000000029 not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002A not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002B not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002C not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002D not found in archive", + "P01 DETAIL: got WAL file 000000080000000000000028 from archive", + "P00 INFO: archive-get command end: completed successfully", + "", + " [filtered 13 lines of output]", + "P00 INFO: archive-get command begin 2.10: [000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000029...000000080000000000000030", + "P01 DETAIL: got WAL file 000000080000000000000029 from archive", + "P02 DETAIL: got WAL file 00000008000000000000002A from archive", + "P02 DETAIL: WAL file 00000008000000000000002C not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002D not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002E not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002F not found in archive", + "P01 DETAIL: got WAL file 00000008000000000000002B from archive", "P02 DETAIL: WAL file 000000080000000000000030 not found in archive", - " [filtered 26 lines of output]" + "P00 INFO: archive-get command end: completed successfully", + " [filtered 11 lines of output]" ] } }, @@ -5253,14 +5253,14 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:29:10\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:40:54\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000008000000000000002D, lsn = 0/2D000028", "P00 INFO: wait for replay on the standby to reach 0/2D000028", - "P00 INFO: replay on the standby reached 0/2D000348", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 0%) checksum 71c70a3fd8b7ca5751133cf5453e5a535c8487c1", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/backup_label (238B, 0%) checksum f25d6397b7472cf3975c1d15706c2ca25f42831b", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/12009 (240KB, 12%) checksum 49d099f8501e458cb02a7590821a3eac5222ea9a", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11889 (344KB, 30%) checksum f3096eda0ae08abcd5685aafbe36918fc7fd3c2e", + "P00 INFO: replay on the standby reached 0/2D0000C8", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 0%) checksum 8f73a93294364c5dc115ccaa3c10088d00a92f6d", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/backup_label (238B, 0%) checksum 00c66e6379c216aa3b2e6d9e9553c6829027844a", + "P03 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11889 (344KB, 18%) checksum a9521f29eb7622c983fe1dff2c50589ea2cd0c42", + "P04 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/12009 (240KB, 30%) checksum 85a85fa393bc5c937c227abc9bac6b5050b181c7", " [filtered 35 lines of output]" ] } @@ -5537,7 +5537,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.09: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/postgresql/9.5/demo --pg2-path=/var/lib/postgresql/9.5/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.10: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/postgresql/9.5/demo --pg2-path=/var/lib/postgresql/9.5/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -5776,7 +5776,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.09" + "sudo mkdir /root/pgbackrest-release-2.10" ], "host" : "build", "load-env" : true, @@ -5789,7 +5789,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.09" + "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.10" ], "host" : "build", "load-env" : true, @@ -5802,7 +5802,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.09" + "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.10" ], "host" : "build", "load-env" : true, @@ -5848,7 +5848,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.09/src" + "sudo make -s -C /root/pgbackrest-release-2.10/src" ], "host" : "build", "load-env" : true, @@ -5888,7 +5888,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.10/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -6031,7 +6031,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.09 - General help", + "pgBackRest 2.10 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -6175,7 +6175,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.09 - 'backup' command - 'log-path' option help", + "pgBackRest 2.10 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -6413,7 +6413,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -6439,8 +6439,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-c4825e299a9de2b0d470e7e158c1ae1f6fee16e3.gz'", + "P00 INFO: check command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-2bb97a7deb50cce79262bd136420de5e4f79da46.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -6467,14 +6467,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:09:15\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:21:02\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000003, lsn = 0/3000028", " [filtered 851 lines of output]", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)", - "P00 INFO: full backup size = 20.6MB", + "P00 INFO: full backup size = 20.5MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", " [filtered 4 lines of output]" @@ -6495,7 +6495,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-170915F" + "20190209-172102F" ] } }, @@ -6522,8 +6522,8 @@ "value" : { "output" : [ " [filtered 5 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (1KB, 97%) checksum 4b286bb7eb2186bf481c32abfddf843bf8a10bcc", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum f8fb946f2778fe9361f80b7687bce7d17b38ae42", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (1KB, 97%) checksum 07b4ebacb59ae9130cf92672c48cb03539959f89", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum 56e1b31b809cb8923d3fb905c1c53dbd7329ef45", "P00 INFO: diff backup size = 9.2KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000004, lsn = 0/4000130", @@ -6559,18 +6559,18 @@ " db (current)", " wal archive min/max (9.5-1): 000000010000000000000003/000000010000000000000004", "", - " full backup: 20190130-170915F", - " timestamp start/stop: 2019-01-30 17:09:15 / 2019-01-30 17:09:27", + " full backup: 20190209-172102F", + " timestamp start/stop: 2019-02-09 17:21:02 / 2019-02-09 17:21:13", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190130-170915F_20190130-170928D", - " timestamp start/stop: 2019-01-30 17:09:28 / 2019-01-30 17:09:33", + " diff backup: 20190209-172102F_20190209-172114D", + " timestamp start/stop: 2019-02-09 17:21:14 / 2019-02-09 17:21:19", " wal start/stop: 000000010000000000000004 / 000000010000000000000004", " database size: 20.6MB, backup size: 9.3KB", " repository size: 2.4MB, repository backup size: 752B", - " backup reference list: 20190130-170915F" + " backup reference list: 20190209-172102F" ] } }, @@ -6728,9 +6728,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20190130-170915F_20190130-170928D, version = 2.09", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:09:51\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20190209-172102F_20190209-172114D, version = 2.10", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:21:37\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", "P00 WARN: a timeline switch has occurred since the last backup, enabling delta checksum", " [filtered 10 lines of output]" @@ -6789,11 +6789,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190130-170915F_20190130-170951I, version = 2.09", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:10:00\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190209-172102F_20190209-172137I, version = 2.10", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:21:45\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 79%) checksum dfb7c527f0f1eaed7a7b69e630e2472b303b1399", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 79%) checksum e7f549f02fb5f17d33adbaf2026943d8fa2d42a6", " [filtered 9 lines of output]" ] } @@ -6835,9 +6835,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:10:06\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:21:51\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", - "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190130-170915F_20190130-171006I': Permission denied", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190209-172102F_20190209-172151I': Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -6878,12 +6878,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190130-170915F_20190130-171000I, version = 2.09", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:10:10\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190209-172102F_20190209-172145I, version = 2.10", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:21:55\": backup begins after the requested immediate checkpoint completes", "P00 ERROR: [057]: ERROR: a backup is already in progress", " HINT: Run pg_stop_backup() and try again.:", - " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-01-30 17:10:10', true) as lsn" + " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-02-09 17:21:55', true) as lsn" ] } }, @@ -6940,13 +6940,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", - "P00 INFO: last backup label = 20190130-170915F_20190130-171000I, version = 2.09", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", + "P00 INFO: last backup label = 20190209-172102F_20190209-172145I, version = 2.10", "P00 WARN: the cluster is already in backup mode but no pgBackRest backup process is running. pg_stop_backup() will be called so a new backup can be started.", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:10:13\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:21:58\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 74%) checksum a1f45a44f9608adcdb0bf8e3f002f92a589772c6", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 74%) checksum b7f9352b68e541a6a4d6efcd67038cbb9bea94a3", " [filtered 9 lines of output]" ] } @@ -6985,25 +6985,25 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 21624791,", + " \"delta\" : 21551170,", " \"repository\" : {", - " \"delta\" : 2531168,", - " \"size\" : 2531168", + " \"delta\" : 2529776,", + " \"size\" : 2529776", " },", - " \"size\" : 21624791", + " \"size\" : 21551170", " },", - " \"label\" : \"20190130-170915F\",", + " \"label\" : \"20190209-172102F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1548868155,", - " \"stop\" : 1548868167", + " \"start\" : 1549732862,", + " \"stop\" : 1549732873", " },", " \"type\" : \"full\"", " },", @@ -7014,7 +7014,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -7023,18 +7023,18 @@ " \"delta\" : 9529,", " \"repository\" : {", " \"delta\" : 752,", - " \"size\" : 2531168", + " \"size\" : 2529776", " },", - " \"size\" : 21625005", + " \"size\" : 21551277", " },", - " \"label\" : \"20190130-170915F_20190130-170928D\",", - " \"prior\" : \"20190130-170915F\",", + " \"label\" : \"20190209-172102F_20190209-172114D\",", + " \"prior\" : \"20190209-172102F\",", " \"reference\" : [", - " \"20190130-170915F\"", + " \"20190209-172102F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548868168,", - " \"stop\" : 1548868173", + " \"start\" : 1549732874,", + " \"stop\" : 1549732879", " },", " \"type\" : \"diff\"", " },", @@ -7045,7 +7045,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -7053,19 +7053,19 @@ " \"info\" : {", " \"delta\" : 10204,", " \"repository\" : {", - " \"delta\" : 912,", - " \"size\" : 2531328", + " \"delta\" : 896,", + " \"size\" : 2529920", " },", - " \"size\" : 21625680", + " \"size\" : 21551952", " },", - " \"label\" : \"20190130-170915F_20190130-170951I\",", - " \"prior\" : \"20190130-170915F_20190130-170928D\",", + " \"label\" : \"20190209-172102F_20190209-172137I\",", + " \"prior\" : \"20190209-172102F_20190209-172114D\",", " \"reference\" : [", - " \"20190130-170915F\"", + " \"20190209-172102F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548868191,", - " \"stop\" : 1548868198", + " \"start\" : 1549732897,", + " \"stop\" : 1549732903", " },", " \"type\" : \"incr\"", " },", @@ -7076,7 +7076,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -7085,18 +7085,18 @@ " \"delta\" : 10418,", " \"repository\" : {", " \"delta\" : 912,", - " \"size\" : 2531328", + " \"size\" : 2529936", " },", - " \"size\" : 21625894", + " \"size\" : 21552166", " },", - " \"label\" : \"20190130-170915F_20190130-171000I\",", - " \"prior\" : \"20190130-170915F_20190130-170951I\",", + " \"label\" : \"20190209-172102F_20190209-172145I\",", + " \"prior\" : \"20190209-172102F_20190209-172137I\",", " \"reference\" : [", - " \"20190130-170915F\"", + " \"20190209-172102F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548868200,", - " \"stop\" : 1548868205", + " \"start\" : 1549732905,", + " \"stop\" : 1549732910", " },", " \"type\" : \"incr\"", " },", @@ -7107,7 +7107,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -7116,18 +7116,18 @@ " \"delta\" : 11164,", " \"repository\" : {", " \"delta\" : 1120,", - " \"size\" : 2531536", + " \"size\" : 2530144", " },", - " \"size\" : 21626640", + " \"size\" : 21552912", " },", - " \"label\" : \"20190130-170915F_20190130-171013I\",", - " \"prior\" : \"20190130-170915F_20190130-171000I\",", + " \"label\" : \"20190209-172102F_20190209-172158I\",", + " \"prior\" : \"20190209-172102F_20190209-172145I\",", " \"reference\" : [", - " \"20190130-170915F\"", + " \"20190209-172102F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548868213,", - " \"stop\" : 1548868219", + " \"start\" : 1549732918,", + " \"stop\" : 1549732924", " },", " \"type\" : \"incr\"", " }", @@ -7136,7 +7136,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6652337928691417338,", + " \"system-id\" : 6656051806663676173,", " \"version\" : \"9.5\"", " }", " ],", @@ -7291,7 +7291,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-01-30 17:10:19+00 | 000000020000000000000009", + " \"demo\" | 2019-02-09 17:22:04+00 | 000000020000000000000009", "(1 row)" ] } @@ -7338,7 +7338,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190130-170915F|remove archive" + "archive retention on backup 20190209-172102F|remove archive" ] }, "host" : "pg-primary", @@ -7352,7 +7352,7 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190130-170915F, archiveId = 9.5-1, start = 000000010000000000000003", + "P00 DETAIL: archive retention on backup 20190209-172102F, archiveId = 9.5-1, start = 000000010000000000000003", "P00 DETAIL: no archive to remove, archiveId = 9.5-1", "P00 INFO: expire command end: completed successfully" ] @@ -7372,7 +7372,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-171023F" + "20190209-172208F" ] } }, @@ -7387,7 +7387,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190130-170915F|archive retention on backup 20190130-171023F|remove archive" + "expire full backup set\\: 20190209-172102F|archive retention on backup 20190209-172208F|remove archive" ] }, "host" : "pg-primary", @@ -7401,9 +7401,9 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190130-170915F, 20190130-170915F_20190130-170928D, 20190130-170915F_20190130-170951I, 20190130-170915F_20190130-171000I, 20190130-170915F_20190130-171013I", - "P00 INFO: remove expired backup 20190130-170915F_20190130-171013I", - "P00 INFO: remove expired backup 20190130-170915F_20190130-171000I", + "P00 INFO: expire full backup set: 20190209-172102F, 20190209-172102F_20190209-172114D, 20190209-172102F_20190209-172137I, 20190209-172102F_20190209-172145I, 20190209-172102F_20190209-172158I", + "P00 INFO: remove expired backup 20190209-172102F_20190209-172158I", + "P00 INFO: remove expired backup 20190209-172102F_20190209-172145I", " [filtered 3 lines of output]" ] } @@ -7467,7 +7467,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-171035F_20190130-171047D" + "20190209-172221F_20190209-172234D" ] } }, @@ -7495,7 +7495,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190130-171035F_20190130-171047D" + "expire diff backup set: 20190209-172221F_20190209-172234D" ] }, "host" : "pg-primary", @@ -7509,9 +7509,9 @@ " [filtered 12 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190130-171035F_20190130-171047D, 20190130-171035F_20190130-171052I", - "P00 INFO: remove expired backup 20190130-171035F_20190130-171052I", - "P00 INFO: remove expired backup 20190130-171035F_20190130-171047D" + "P00 INFO: expire diff backup set: 20190209-172221F_20190209-172234D, 20190209-172221F_20190209-172240I", + "P00 INFO: remove expired backup 20190209-172221F_20190209-172240I", + "P00 INFO: remove expired backup 20190209-172221F_20190209-172234D" ] } }, @@ -7561,7 +7561,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-171035F_20190130-171058D" + "20190209-172221F_20190209-172246D" ] } }, @@ -7604,8 +7604,8 @@ "output" : [ " [filtered 9 lines of output]", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/130000F8", - "P00 INFO: new backup label = 20190130-171035F_20190130-171107D", + "P00 INFO: backup stop archive = 000000020000000000000014, lsn = 0/140000F8", + "P00 INFO: new backup label = 20190209-172221F_20190209-172256D", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin" ] @@ -7625,7 +7625,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-171035F_20190130-171107D" + "20190209-172221F_20190209-172256D" ] } }, @@ -7640,7 +7640,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190130-171035F_20190130-171058D|remove archive" + "archive retention on backup 20190209-172221F_20190209-172246D|remove archive" ] }, "host" : "pg-primary", @@ -7651,13 +7651,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.09: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20190130-171023F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", - "P00 DETAIL: archive retention on backup 20190130-171035F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20190130-171035F_20190130-171058D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", - "P00 DETAIL: archive retention on backup 20190130-171035F_20190130-171107D, archiveId = 9.5-1, start = 000000020000000000000013", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000F", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000012", + "P00 INFO: expire command begin 2.10: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20190209-172208F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 DETAIL: archive retention on backup 20190209-172221F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190209-172221F_20190209-172246D, archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000011", + "P00 DETAIL: archive retention on backup 20190209-172221F_20190209-172256D, archiveId = 9.5-1, start = 000000020000000000000014", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000D, stop = 000000020000000000000010", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000012, stop = 000000020000000000000013", "P00 INFO: expire command end: completed successfully" ] } @@ -7697,7 +7697,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 877 lines of output]", + " [filtered 879 lines of output]", "P01 DETAIL: restore file /var/lib/pgsql/9.5/data/base/1/12211 - exists and is zero size (0B, 100%)", "P00 INFO: write /var/lib/pgsql/9.5/data/recovery.conf", "P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)", @@ -8080,7 +8080,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-01-30 17:12:06.634444+00" + "2019-02-09 17:23:56.872252+00" ] } }, @@ -8133,7 +8133,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-30 17:12:06.634444+00\" restore" + " --type=time \"--target=2019-02-09 17:23:56.872252+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -8177,7 +8177,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-01-30 17:12:06.634444+00'" + "recovery_target_time = '2019-02-09 17:23:56.872252+00'" ] } }, @@ -8256,20 +8256,19 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:11:56 UTC", - "FATAL: the database system is starting up", - "LOG: starting point-in-time recovery to 2019-01-30 17:12:06.634444+00", + "LOG: database system was interrupted; last known up at 2019-02-09 17:23:46 UTC", + "LOG: starting point-in-time recovery to 2019-02-09 17:23:56.872252+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000018\" from archive", - "LOG: redo starts at 0/18000028", - "LOG: consistent recovery state reached at 0/180000F8", - "LOG: restored log file \"000000040000000000000019\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-01-30 17:12:07.09233+00", - "LOG: redo done at 0/1901B930", - "LOG: last completed transaction was at log time 2019-01-30 17:12:06.062555+00", + "LOG: restored log file \"00000004000000000000001A\" from archive", + "LOG: redo starts at 0/1A000028", + "LOG: consistent recovery state reached at 0/1A000130", + "LOG: restored log file \"00000004000000000000001B\" from archive", + "LOG: recovery stopping before commit of transaction 630, time 2019-02-09 17:23:57.285067+00", + "LOG: redo done at 0/1B01B8A0", + "LOG: last completed transaction was at log time 2019-02-09 17:23:56.283389+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", - " [filtered 3 lines of output]" + " [filtered 5 lines of output]" ] } }, @@ -8318,7 +8317,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-171035F_20190130-171155D" + "20190209-172221F_20190209-172345D" ] } }, @@ -8353,7 +8352,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-30 17:12:06.634444+00\" restore" + " --type=time \"--target=2019-02-09 17:23:56.872252+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -8450,15 +8449,15 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:12:23 UTC", - "LOG: starting point-in-time recovery to 2019-01-30 17:12:06.634444+00", + "LOG: database system was interrupted; last known up at 2019-02-09 17:24:14 UTC", + "LOG: starting point-in-time recovery to 2019-02-09 17:23:56.872252+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"00000005000000000000001A\" from archive", - "LOG: redo starts at 0/1A000028", - "LOG: consistent recovery state reached at 0/1A0000F8", - "LOG: redo done at 0/1A0000F8", - "LOG: restored log file \"00000005000000000000001A\" from archive", - " [filtered 9 lines of output]" + "LOG: restored log file \"00000005000000000000001C\" from archive", + "LOG: redo starts at 0/1C000028", + "LOG: consistent recovery state reached at 0/1C0000F8", + "LOG: redo done at 0/1C0000F8", + "LOG: restored log file \"00000005000000000000001C\" from archive", + " [filtered 8 lines of output]" ] } }, @@ -8472,7 +8471,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190130-171035F_20190130-171155D" + "20190209-172221F_20190209-172345D" ] }, "host" : "pg-primary", @@ -8488,47 +8487,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.5-1): 00000002000000000000000B/00000005000000000000001A", + " wal archive min/max (9.5-1): 00000002000000000000000B/00000005000000000000001C", "", - " full backup: 20190130-171023F", - " timestamp start/stop: 2019-01-30 17:10:23 / 2019-01-30 17:10:34", + " full backup: 20190209-172208F", + " timestamp start/stop: 2019-02-09 17:22:08 / 2019-02-09 17:22:19", " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " full backup: 20190130-171035F", - " timestamp start/stop: 2019-01-30 17:10:35 / 2019-01-30 17:10:45", + " full backup: 20190209-172221F", + " timestamp start/stop: 2019-02-09 17:22:21 / 2019-02-09 17:22:32", " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190130-171035F_20190130-171107D", - " timestamp start/stop: 2019-01-30 17:11:07 / 2019-01-30 17:11:12", - " wal start/stop: 000000020000000000000013 / 000000020000000000000013", - " database size: 20.6MB, backup size: 116.4KB", + " diff backup: 20190209-172221F_20190209-172256D", + " timestamp start/stop: 2019-02-09 17:22:56 / 2019-02-09 17:23:02", + " wal start/stop: 000000020000000000000014 / 000000020000000000000014", + " database size: 20.6MB, backup size: 116.5KB", " repository size: 2.4MB, repository backup size: 12.7KB", - " backup reference list: 20190130-171035F", + " backup reference list: 20190209-172221F", "", - " incr backup: 20190130-171035F_20190130-171126I", - " timestamp start/stop: 2019-01-30 17:11:26 / 2019-01-30 17:11:38", - " wal start/stop: 000000030000000000000015 / 000000030000000000000015", - " database size: 34MB, backup size: 13.5MB", + " incr backup: 20190209-172221F_20190209-172316I", + " timestamp start/stop: 2019-02-09 17:23:16 / 2019-02-09 17:23:27", + " wal start/stop: 000000030000000000000017 / 000000030000000000000017", + " database size: 33.9MB, backup size: 13.4MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20190130-171035F, 20190130-171035F_20190130-171107D", + " backup reference list: 20190209-172221F, 20190209-172221F_20190209-172256D", "", - " diff backup: 20190130-171035F_20190130-171155D", - " timestamp start/stop: 2019-01-30 17:11:55 / 2019-01-30 17:12:04", - " wal start/stop: 000000040000000000000018 / 000000040000000000000018", - " database size: 27.4MB, backup size: 6.9MB", - " repository size: 3.2MB, repository backup size: 831.8KB", - " backup reference list: 20190130-171035F", + " diff backup: 20190209-172221F_20190209-172345D", + " timestamp start/stop: 2019-02-09 17:23:45 / 2019-02-09 17:23:55", + " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", + " database size: 27.3MB, backup size: 6.9MB", + " repository size: 3.2MB, repository backup size: 831.3KB", + " backup reference list: 20190209-172221F", "", - " incr backup: 20190130-171035F_20190130-171221I", - " timestamp start/stop: 2019-01-30 17:12:21 / 2019-01-30 17:12:29", - " wal start/stop: 00000005000000000000001A / 00000005000000000000001A", - " database size: 27.4MB, backup size: 2MB", - " repository size: 3.2MB, repository backup size: 210.0KB", - " backup reference list: 20190130-171035F, 20190130-171035F_20190130-171155D" + " incr backup: 20190209-172221F_20190209-172413I", + " timestamp start/stop: 2019-02-09 17:24:13 / 2019-02-09 17:24:20", + " wal start/stop: 00000005000000000000001C / 00000005000000000000001C", + " database size: 27.3MB, backup size: 2.0MB", + " repository size: 3.2MB, repository backup size: 209.6KB", + " backup reference list: 20190209-172221F, 20190209-172221F_20190209-172345D" ] } }, @@ -8550,8 +8549,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-30 17:12:06.634444+00\" \\", - " --set=20190130-171035F_20190130-171155D restore" + " --type=time \"--target=2019-02-09 17:23:56.872252+00\" \\", + " --set=20190209-172221F_20190209-172345D restore" ], "host" : "pg-primary", "load-env" : true, @@ -8648,19 +8647,19 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:11:56 UTC", - "LOG: starting point-in-time recovery to 2019-01-30 17:12:06.634444+00", + "LOG: database system was interrupted; last known up at 2019-02-09 17:23:46 UTC", + "LOG: starting point-in-time recovery to 2019-02-09 17:23:56.872252+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000018\" from archive", - " [filtered 2 lines of output]", - "FATAL: the database system is starting up", - "LOG: restored log file \"000000040000000000000019\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-01-30 17:12:07.09233+00", - "LOG: redo done at 0/1901B930", - "LOG: last completed transaction was at log time 2019-01-30 17:12:06.062555+00", + "LOG: restored log file \"00000004000000000000001A\" from archive", + "LOG: redo starts at 0/1A000028", + "LOG: consistent recovery state reached at 0/1A000130", + "LOG: restored log file \"00000004000000000000001B\" from archive", + "LOG: recovery stopping before commit of transaction 630, time 2019-02-09 17:23:57.285067+00", + "LOG: redo done at 0/1B01B8A0", + "LOG: last completed transaction was at log time 2019-02-09 17:23:56.283389+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", - " [filtered 5 lines of output]" + " [filtered 7 lines of output]" ] } }, @@ -8819,7 +8818,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-create command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -8846,16 +8845,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:13:09\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000007000000000000001A, lsn = 0/1A000028", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:25:02\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000007000000000000001C, lsn = 0/1C000028", " [filtered 1119 lines of output]", - "P04 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", - "P02 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)", - "P00 INFO: full backup size = 27.3MB", + "P02 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12221 (0B, 100%)", + "P04 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)", + "P00 INFO: full backup size = 27.2MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 00000007000000000000001A, lsn = 0/1A000130", + "P00 INFO: backup stop archive = 00000007000000000000001C, lsn = 0/1C000130", " [filtered 4 lines of output]" ] } @@ -8894,7 +8893,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -8920,7 +8919,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-delete command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -8982,7 +8981,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.10/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -9567,18 +9566,18 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.5-1): 000000080000000000000022/000000080000000000000023", + " wal archive min/max (9.5-1): 000000080000000000000024/000000080000000000000025", "", - " full backup: 20190130-171506F", - " timestamp start/stop: 2019-01-30 17:15:06 / 2019-01-30 17:15:26", - " wal start/stop: 000000080000000000000022 / 000000080000000000000022", - " database size: 27.4MB, backup size: 27.4MB", + " full backup: 20190209-172712F", + " timestamp start/stop: 2019-02-09 17:27:12 / 2019-02-09 17:27:29", + " wal start/stop: 000000080000000000000024 / 000000080000000000000024", + " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB", "", - " full backup: 20190130-171527F", - " timestamp start/stop: 2019-01-30 17:15:27 / 2019-01-30 17:15:45", - " wal start/stop: 000000080000000000000023 / 000000080000000000000023", - " database size: 27.4MB, backup size: 27.4MB", + " full backup: 20190209-172732F", + " timestamp start/stop: 2019-02-09 17:27:32 / 2019-02-09 17:27:50", + " wal start/stop: 000000080000000000000025 / 000000080000000000000025", + " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB" ] } @@ -9723,7 +9722,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.10/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -10127,12 +10126,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:15:28 UTC", + "LOG: database system was interrupted; last known up at 2019-02-09 17:27:33 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000023\" from archive", - "LOG: redo starts at 0/23000028", - "LOG: consistent recovery state reached at 0/23000130", + "LOG: restored log file \"000000080000000000000025\" from archive", + "LOG: redo starts at 0/25000028", + "LOG: consistent recovery state reached at 0/25000130", "LOG: database system is ready to accept read only connections" ] } @@ -10214,7 +10213,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/2401F328 | 2019-01-30 17:16:23.768498+00", + " 0/2601F2D0 | 2019-02-09 17:28:28.636122+00", "(1 row)" ] } @@ -10243,7 +10242,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-30 17:16:26.873207+00", + " Important Data | 2019-02-09 17:28:31.849276+00", "(1 row)" ] } @@ -10269,7 +10268,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.10: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", "P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -10507,8 +10506,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000024\" from archive", - "LOG: started streaming WAL from primary at 0/25000000 on timeline 8" + "LOG: restored log file \"000000080000000000000026\" from archive", + "LOG: started streaming WAL from primary at 0/27000000 on timeline 8" ] } }, @@ -10540,7 +10539,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-30 17:16:44.732156+00", + " Important Data | 2019-02-09 17:28:50.190353+00", "(1 row)" ] } @@ -10569,7 +10568,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-30 17:16:45.299687+00", + " Important Data | 2019-02-09 17:28:50.790256+00", "(1 row)" ] } @@ -10801,8 +10800,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 00000008000000000000002A successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/00000008000000000000002A-aeeaab632d2f78ab043e815f1c06efa7abdd93c8.gz'", + "P00 INFO: check command begin 2.10: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 00000008000000000000002C successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/00000008000000000000002C-109b38ebcd85b91f2113ac6c871155d70d6e27ca.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -10829,19 +10828,19 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000025] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000025...000000080000000000000028", - "P02 DETAIL: pushed WAL file 000000080000000000000026 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000025 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000027 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000028 to archive", + "P00 INFO: archive-push command begin 2.10: [pg_xlog/000000080000000000000027] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000027...00000008000000000000002A", + "P01 DETAIL: pushed WAL file 000000080000000000000027 to archive", + "P02 DETAIL: pushed WAL file 000000080000000000000028 to archive", + "P02 DETAIL: pushed WAL file 00000008000000000000002A to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000029 to archive", "P00 INFO: archive-push command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000029] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 2 WAL file(s) to archive: 000000080000000000000029...00000008000000000000002A", - "P02 DETAIL: pushed WAL file 00000008000000000000002A to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000029 to archive", + "P00 INFO: archive-push command begin 2.10: [pg_xlog/00000008000000000000002B] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 2 WAL file(s) to archive: 00000008000000000000002B...00000008000000000000002C", + "P01 DETAIL: pushed WAL file 00000008000000000000002B to archive", + "P02 DETAIL: pushed WAL file 00000008000000000000002C to archive", "P00 INFO: archive-push command end: completed successfully" ] } @@ -10881,32 +10880,44 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get command begin 2.09: [000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000023...00000008000000000000002A", - "P01 DETAIL: got WAL file 000000080000000000000023 from archive", - "P01 DETAIL: WAL file 000000080000000000000025 not found in archive", - "P01 DETAIL: WAL file 000000080000000000000026 not found in archive", - "P01 DETAIL: WAL file 000000080000000000000027 not found in archive", - "P02 DETAIL: got WAL file 000000080000000000000024 from archive", - "P01 DETAIL: WAL file 000000080000000000000028 not found in archive", - "P02 DETAIL: WAL file 000000080000000000000029 not found in archive", - " [filtered 17 lines of output]", - "P00 INFO: archive-get command begin 2.09: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get command begin 2.10: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000025...00000008000000000000002C", - "P02 DETAIL: got WAL file 000000080000000000000026 from archive", "P01 DETAIL: got WAL file 000000080000000000000025 from archive", - "P01 DETAIL: got WAL file 000000080000000000000028 from archive", - "P02 DETAIL: got WAL file 000000080000000000000027 from archive", - "P02 DETAIL: WAL file 00000008000000000000002A not found in archive", + "P01 DETAIL: WAL file 000000080000000000000027 not found in archive", + "P01 DETAIL: WAL file 000000080000000000000028 not found in archive", "P01 DETAIL: WAL file 000000080000000000000029 not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002A not found in archive", + "P02 DETAIL: got WAL file 000000080000000000000026 from archive", + "P01 DETAIL: WAL file 00000008000000000000002B not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002C not found in archive", " [filtered 16 lines of output]", - "P00 INFO: archive-get command begin 2.09: [000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get command begin 2.10: [000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000027...00000008000000000000002E", + "P02 DETAIL: got WAL file 000000080000000000000028 from archive", + "P02 DETAIL: WAL file 000000080000000000000029 not found in archive", + "P01 DETAIL: got WAL file 000000080000000000000027 from archive", + "P02 DETAIL: WAL file 00000008000000000000002A not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002C not found in archive", + " [filtered 6 lines of output]", + "P00 INFO: archive-get command begin 2.10: [000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000029...000000080000000000000030", "P01 DETAIL: got WAL file 000000080000000000000029 from archive", - "P02 DETAIL: got WAL file 00000008000000000000002A from archive", "P01 DETAIL: WAL file 00000008000000000000002B not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002C not found in archive", + " [filtered 2 lines of output]", + "P01 DETAIL: WAL file 00000008000000000000002F not found in archive", + "P01 DETAIL: WAL file 000000080000000000000030 not found in archive", + "P02 DETAIL: got WAL file 00000008000000000000002A from archive", + "P00 INFO: archive-get command end: completed successfully", + "", + "-------------------PROCESS START-------------------", + "P00 INFO: archive-get command begin 2.10: [00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030, 000000080000000000000031, 000000080000000000000032] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000002B...000000080000000000000032", + "P01 DETAIL: got WAL file 00000008000000000000002B from archive", + "P02 DETAIL: got WAL file 00000008000000000000002C from archive", "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", - " [filtered 30 lines of output]" + "P01 DETAIL: WAL file 00000008000000000000002F not found in archive", + " [filtered 29 lines of output]" ] } }, @@ -10988,16 +10999,16 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:17:09\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000008000000000000002C, lsn = 0/2C000028", - "P00 INFO: wait for replay on the standby to reach 0/2C000028", - "P00 INFO: replay on the standby reached 0/2C000350", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (8.8KB, 0%) checksum e1a86c3c4917fc15a613bc44811059f6ed6d8ba6", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 16065e511602b41406ce01ccd7c250a9ac1d7a4e", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:29:16\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000008000000000000002E, lsn = 0/2E000028", + "P00 INFO: wait for replay on the standby to reach 0/2E000028", + "P00 INFO: replay on the standby reached 0/2E000350", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (8.8KB, 0%) checksum c22433fcc14460d6fe9f10ce63e0a80033947f83", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 2856476ea0e35808efd565e7c4f778410d3e5710", "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 0%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 0%) checksum 12ba139a81892edb8a4b381ec2ace6581f55d880", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 20%) checksum 25cc8f46c0f1896a28c5d780c6c4ea764909faf9", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 37%) checksum ba5bc3089067b79fce987064c77f7c74d619c6d0", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 0%) checksum 42e135c73c5971bfecdd61a27c39bfbd0526e537", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (360KB, 17%) checksum e76395716c622e35f24641775884175ce56c7812", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 34%) checksum 824aca2fc4dfb5ace2327cecce9ebb6109357371", " [filtered 36 lines of output]" ] } @@ -11261,7 +11272,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.09: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/pgsql/9.6/data --pg2-path=/var/lib/pgsql/9.6/data --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.10: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/pgsql/9.6/data --pg2-path=/var/lib/pgsql/9.6/data --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -11298,7 +11309,7 @@ "type" : "exe", "value" : { "output" : [ - "postgresql-9.6 (pid 4767) is running..." + "postgresql-9.6 (pid 4792) is running..." ] } }, @@ -11503,7 +11514,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.09" + "sudo mkdir /root/pgbackrest-release-2.10" ], "host" : "build", "load-env" : true, @@ -11516,7 +11527,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.09" + "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.10" ], "host" : "build", "load-env" : true, @@ -11529,7 +11540,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.09" + "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.10" ], "host" : "build", "load-env" : true, @@ -11575,7 +11586,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.09/src" + "sudo make -s -C /root/pgbackrest-release-2.10/src" ], "host" : "build", "load-env" : true, @@ -11615,7 +11626,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.10/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -11757,7 +11768,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.09 - General help", + "pgBackRest 2.10 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -11901,7 +11912,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.09 - 'backup' command - 'log-path' option help", + "pgBackRest 2.10 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -12139,7 +12150,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -12165,8 +12176,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-127cdad1688b33b0251b9bf40159419c7a6908cf.gz'", + "P00 INFO: check command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-d3a70ad8227d2eb63458712297e43a065fc80918.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -12193,14 +12204,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:58:59\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:10:19\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 851 lines of output]", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12280 (0B, 100%)", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12275 (0B, 100%)", - "P00 INFO: full backup size = 20.5MB", + "P00 INFO: full backup size = 20.6MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000002, lsn = 0/2000130", " [filtered 4 lines of output]" @@ -12221,7 +12232,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-165859F" + "20190209-171019F" ] } }, @@ -12248,8 +12259,8 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 040c80d05ed2c5d1398f3f30e2f00c8afe1c27ff", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum 46dabe1ae8148b32975af70e7913b5026089a38e", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 68a6f37a0a1e466d7e0448665064c692a65deb4c", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum 136c324ee523592f12b65ecbc1732474edab8f42", "P00 INFO: diff backup size = 8.2KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", @@ -12285,18 +12296,18 @@ " db (current)", " wal archive min/max (9.5-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20190130-165859F", - " timestamp start/stop: 2019-01-30 16:58:59 / 2019-01-30 16:59:07", + " full backup: 20190209-171019F", + " timestamp start/stop: 2019-02-09 17:10:19 / 2019-02-09 17:10:28", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", - " database size: 20.6MB, backup size: 20.6MB", + " database size: 20.7MB, backup size: 20.7MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190130-165859F_20190130-165908D", - " timestamp start/stop: 2019-01-30 16:59:08 / 2019-01-30 16:59:12", + " diff backup: 20190209-171019F_20190209-171029D", + " timestamp start/stop: 2019-02-09 17:10:29 / 2019-02-09 17:10:33", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 20.6MB, backup size: 8.2KB", + " database size: 20.7MB, backup size: 8.2KB", " repository size: 2.4MB, repository backup size: 400B", - " backup reference list: 20190130-165859F" + " backup reference list: 20190209-171019F" ] } }, @@ -12364,10 +12375,10 @@ "output" : [ " [filtered 6 lines of output]", "", - "Jan 30 16:59:14 pg-primary systemd[1]: Starting PostgreSQL 9.5 database server...", - "Jan 30 16:59:14 pg-primary pg_ctl[869]: postgres: could not find the database system", - "Jan 30 16:59:14 pg-primary pg_ctl[869]: Expected to find it in the directory \"/var/lib/pgsql/9.5/data\",", - "Jan 30 16:59:14 pg-primary pg_ctl[869]: but could not open file \"/var/lib/pgsql/9.5/data/global/pg_control\": No such file or directory", + "Feb 09 17:10:35 pg-primary systemd[1]: Starting PostgreSQL 9.5 database server...", + "Feb 09 17:10:35 pg-primary pg_ctl[905]: postgres: could not find the database system", + "Feb 09 17:10:35 pg-primary pg_ctl[905]: Expected to find it in the directory \"/var/lib/pgsql/9.5/data\",", + "Feb 09 17:10:35 pg-primary pg_ctl[905]: but could not open file \"/var/lib/pgsql/9.5/data/global/pg_control\": No such file or directory", " [filtered 3 lines of output]" ] } @@ -12446,9 +12457,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20190130-165859F_20190130-165908D, version = 2.09", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:24\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20190209-171019F_20190209-171029D, version = 2.10", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:10:46\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000005, lsn = 0/5000028", "P00 WARN: a timeline switch has occurred since the last backup, enabling delta checksum", " [filtered 10 lines of output]" @@ -12507,11 +12518,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190130-165859F_20190130-165924I, version = 2.09", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:31\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190209-171019F_20190209-171046I, version = 2.10", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:10:53\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 7fa2d0d2daa6e99415a7e550fb7c566f8e38dd1e", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum a0397f5009733eb8cdbb4890ab38d7de8c4b84e4", " [filtered 8 lines of output]" ] } @@ -12553,9 +12564,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:37\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:10:59\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", - "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190130-165859F_20190130-165937I': Permission denied", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190209-171019F_20190209-171059I': Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -12596,12 +12607,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190130-165859F_20190130-165931I, version = 2.09", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:41\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190209-171019F_20190209-171053I, version = 2.10", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:11:02\": backup begins after the requested immediate checkpoint completes", "P00 ERROR: [057]: ERROR: a backup is already in progress", " HINT: Run pg_stop_backup() and try again.:", - " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-01-30 16:59:41', true) as lsn" + " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-02-09 17:11:02', true) as lsn" ] } }, @@ -12658,13 +12669,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", - "P00 INFO: last backup label = 20190130-165859F_20190130-165931I, version = 2.09", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", + "P00 INFO: last backup label = 20190209-171019F_20190209-171053I, version = 2.10", "P00 WARN: the cluster is already in backup mode but no pgBackRest backup process is running. pg_stop_backup() will be called so a new backup can be started.", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:43\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:11:04\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 83%) checksum 29570333c452a4383e39548cc86425c1a0e96ea0", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 83%) checksum fb964a9969236751847bd4c59b88e9c6a1f6cb08", " [filtered 9 lines of output]" ] } @@ -12703,25 +12714,25 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 21575064,", + " \"delta\" : 21673368,", " \"repository\" : {", - " \"delta\" : 2542080,", - " \"size\" : 2542080", + " \"delta\" : 2543440,", + " \"size\" : 2543440", " },", - " \"size\" : 21575064", + " \"size\" : 21673368", " },", - " \"label\" : \"20190130-165859F\",", + " \"label\" : \"20190209-171019F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1548867539,", - " \"stop\" : 1548867547", + " \"start\" : 1549732219,", + " \"stop\" : 1549732228", " },", " \"type\" : \"full\"", " },", @@ -12732,7 +12743,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12741,18 +12752,18 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2542080", + " \"size\" : 2543440", " },", - " \"size\" : 21575064", + " \"size\" : 21673368", " },", - " \"label\" : \"20190130-165859F_20190130-165908D\",", - " \"prior\" : \"20190130-165859F\",", + " \"label\" : \"20190209-171019F_20190209-171029D\",", + " \"prior\" : \"20190209-171019F\",", " \"reference\" : [", - " \"20190130-165859F\"", + " \"20190209-171019F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548867548,", - " \"stop\" : 1548867552", + " \"start\" : 1549732229,", + " \"stop\" : 1549732233", " },", " \"type\" : \"diff\"", " },", @@ -12763,7 +12774,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12771,19 +12782,19 @@ " \"info\" : {", " \"delta\" : 9348,", " \"repository\" : {", - " \"delta\" : 816,", - " \"size\" : 2542224", + " \"delta\" : 832,", + " \"size\" : 2543600", " },", - " \"size\" : 21575632", + " \"size\" : 21673936", " },", - " \"label\" : \"20190130-165859F_20190130-165924I\",", - " \"prior\" : \"20190130-165859F_20190130-165908D\",", + " \"label\" : \"20190209-171019F_20190209-171046I\",", + " \"prior\" : \"20190209-171019F_20190209-171029D\",", " \"reference\" : [", - " \"20190130-165859F\"", + " \"20190209-171019F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548867564,", - " \"stop\" : 1548867570", + " \"start\" : 1549732246,", + " \"stop\" : 1549732252", " },", " \"type\" : \"incr\"", " },", @@ -12794,7 +12805,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12803,19 +12814,19 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2542224", + " \"size\" : 2543600", " },", - " \"size\" : 21575632", + " \"size\" : 21673936", " },", - " \"label\" : \"20190130-165859F_20190130-165931I\",", - " \"prior\" : \"20190130-165859F_20190130-165924I\",", + " \"label\" : \"20190209-171019F_20190209-171053I\",", + " \"prior\" : \"20190209-171019F_20190209-171046I\",", " \"reference\" : [", - " \"20190130-165859F\",", - " \"20190130-165859F_20190130-165924I\"", + " \"20190209-171019F\",", + " \"20190209-171019F_20190209-171046I\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548867571,", - " \"stop\" : 1548867575", + " \"start\" : 1549732253,", + " \"stop\" : 1549732258", " },", " \"type\" : \"incr\"", " },", @@ -12826,7 +12837,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.09\"", + " \"version\" : \"2.10\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12835,18 +12846,18 @@ " \"delta\" : 9773,", " \"repository\" : {", " \"delta\" : 1024,", - " \"size\" : 2542432", + " \"size\" : 2543792", " },", - " \"size\" : 21576057", + " \"size\" : 21674361", " },", - " \"label\" : \"20190130-165859F_20190130-165943I\",", - " \"prior\" : \"20190130-165859F_20190130-165931I\",", + " \"label\" : \"20190209-171019F_20190209-171104I\",", + " \"prior\" : \"20190209-171019F_20190209-171053I\",", " \"reference\" : [", - " \"20190130-165859F\"", + " \"20190209-171019F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1548867583,", - " \"stop\" : 1548867589", + " \"start\" : 1549732264,", + " \"stop\" : 1549732270", " },", " \"type\" : \"incr\"", " }", @@ -12855,7 +12866,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6652335307693424936,", + " \"system-id\" : 6656049069499130188,", " \"version\" : \"9.5\"", " }", " ],", @@ -13010,7 +13021,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-01-30 16:59:49+00 | 000000020000000000000009", + " \"demo\" | 2019-02-09 17:11:10+00 | 000000020000000000000009", "(1 row)" ] } @@ -13057,7 +13068,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190130-165859F|remove archive" + "archive retention on backup 20190209-171019F|remove archive" ] }, "host" : "pg-primary", @@ -13071,7 +13082,7 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190130-165859F, archiveId = 9.5-1, start = 000000010000000000000002", + "P00 DETAIL: archive retention on backup 20190209-171019F, archiveId = 9.5-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.5-1", "P00 INFO: expire command end: completed successfully" ] @@ -13091,7 +13102,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-165952F" + "20190209-171114F" ] } }, @@ -13106,7 +13117,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190130-165859F|archive retention on backup 20190130-165952F|remove archive" + "expire full backup set\\: 20190209-171019F|archive retention on backup 20190209-171114F|remove archive" ] }, "host" : "pg-primary", @@ -13120,9 +13131,9 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190130-165859F, 20190130-165859F_20190130-165908D, 20190130-165859F_20190130-165924I, 20190130-165859F_20190130-165931I, 20190130-165859F_20190130-165943I", - "P00 INFO: remove expired backup 20190130-165859F_20190130-165943I", - "P00 INFO: remove expired backup 20190130-165859F_20190130-165931I", + "P00 INFO: expire full backup set: 20190209-171019F, 20190209-171019F_20190209-171029D, 20190209-171019F_20190209-171046I, 20190209-171019F_20190209-171053I, 20190209-171019F_20190209-171104I", + "P00 INFO: remove expired backup 20190209-171019F_20190209-171104I", + "P00 INFO: remove expired backup 20190209-171019F_20190209-171053I", " [filtered 3 lines of output]" ] } @@ -13186,7 +13197,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-170002F_20190130-170018D" + "20190209-171123F_20190209-171133D" ] } }, @@ -13214,7 +13225,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190130-170002F_20190130-170018D" + "expire diff backup set: 20190209-171123F_20190209-171133D" ] }, "host" : "pg-primary", @@ -13228,9 +13239,9 @@ " [filtered 11 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190130-170002F_20190130-170018D, 20190130-170002F_20190130-170023I", - "P00 INFO: remove expired backup 20190130-170002F_20190130-170023I", - "P00 INFO: remove expired backup 20190130-170002F_20190130-170018D" + "P00 INFO: expire diff backup set: 20190209-171123F_20190209-171133D, 20190209-171123F_20190209-171139I", + "P00 INFO: remove expired backup 20190209-171123F_20190209-171139I", + "P00 INFO: remove expired backup 20190209-171123F_20190209-171133D" ] } }, @@ -13280,7 +13291,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-170002F_20190130-170027D" + "20190209-171123F_20190209-171143D" ] } }, @@ -13323,8 +13334,8 @@ "output" : [ " [filtered 9 lines of output]", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/13000130", - "P00 INFO: new backup label = 20190130-170002F_20190130-170034D", + "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/130000F8", + "P00 INFO: new backup label = 20190209-171123F_20190209-171151D", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin" ] @@ -13344,7 +13355,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-170002F_20190130-170034D" + "20190209-171123F_20190209-171151D" ] } }, @@ -13359,7 +13370,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190130-170002F_20190130-170027D|remove archive" + "archive retention on backup 20190209-171123F_20190209-171143D|remove archive" ] }, "host" : "pg-primary", @@ -13370,11 +13381,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.09: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20190130-165952F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", - "P00 DETAIL: archive retention on backup 20190130-170002F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20190130-170002F_20190130-170027D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", - "P00 DETAIL: archive retention on backup 20190130-170002F_20190130-170034D, archiveId = 9.5-1, start = 000000020000000000000013", + "P00 INFO: expire command begin 2.10: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20190209-171114F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 DETAIL: archive retention on backup 20190209-171123F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190209-171123F_20190209-171143D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", + "P00 DETAIL: archive retention on backup 20190209-171123F_20190209-171151D, archiveId = 9.5-1, start = 000000020000000000000013", "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000F", "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000012", "P00 INFO: expire command end: completed successfully" @@ -13416,7 +13427,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 877 lines of output]", + " [filtered 878 lines of output]", "P01 DETAIL: restore file /var/lib/pgsql/9.5/data/base/1/12275 - exists and is zero size (0B, 100%)", "P00 INFO: write /var/lib/pgsql/9.5/data/recovery.conf", "P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)", @@ -13799,7 +13810,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-01-30 17:01:22.20917+00" + "2019-02-09 17:12:39.112933+00" ] } }, @@ -13852,7 +13863,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-30 17:01:22.20917+00\" restore" + " --type=time \"--target=2019-02-09 17:12:39.112933+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -13896,7 +13907,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-01-30 17:01:22.20917+00'" + "recovery_target_time = '2019-02-09 17:12:39.112933+00'" ] } }, @@ -13975,16 +13986,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:01:14 UTC", - "LOG: starting point-in-time recovery to 2019-01-30 17:01:22.20917+00", + "LOG: database system was interrupted; last known up at 2019-02-09 17:12:31 UTC", + "LOG: starting point-in-time recovery to 2019-02-09 17:12:39.112933+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000018\" from archive", "LOG: redo starts at 0/18000028", "LOG: consistent recovery state reached at 0/180000F8", "LOG: restored log file \"000000040000000000000019\" from archive", - "LOG: recovery stopping before commit of transaction 712, time 2019-01-30 17:01:22.54139+00", - "LOG: redo done at 0/1901BBB8", - "LOG: last completed transaction was at log time 2019-01-30 17:01:21.879499+00", + "LOG: recovery stopping before commit of transaction 712, time 2019-02-09 17:12:39.489964+00", + "LOG: redo done at 0/1901BC08", + "LOG: last completed transaction was at log time 2019-02-09 17:12:38.748116+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -14036,7 +14047,7 @@ "type" : "exe", "value" : { "output" : [ - "20190130-170002F_20190130-170113D" + "20190209-171123F_20190209-171230D" ] } }, @@ -14071,7 +14082,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-30 17:01:22.20917+00\" restore" + " --type=time \"--target=2019-02-09 17:12:39.112933+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -14168,8 +14179,8 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:01:35 UTC", - "LOG: starting point-in-time recovery to 2019-01-30 17:01:22.20917+00", + "LOG: database system was interrupted; last known up at 2019-02-09 17:12:52 UTC", + "LOG: starting point-in-time recovery to 2019-02-09 17:12:39.112933+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000005000000000000001A\" from archive", "LOG: redo starts at 0/1A000028", @@ -14190,7 +14201,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190130-170002F_20190130-170113D" + "20190209-171123F_20190209-171230D" ] }, "host" : "pg-primary", @@ -14208,45 +14219,45 @@ " db (current)", " wal archive min/max (9.5-1): 00000002000000000000000B/00000005000000000000001A", "", - " full backup: 20190130-165952F", - " timestamp start/stop: 2019-01-30 16:59:52 / 2019-01-30 17:00:00", + " full backup: 20190209-171114F", + " timestamp start/stop: 2019-02-09 17:11:14 / 2019-02-09 17:11:22", " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", - " database size: 20.6MB, backup size: 20.6MB", + " database size: 20.7MB, backup size: 20.7MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " full backup: 20190130-170002F", - " timestamp start/stop: 2019-01-30 17:00:02 / 2019-01-30 17:00:16", + " full backup: 20190209-171123F", + " timestamp start/stop: 2019-02-09 17:11:23 / 2019-02-09 17:11:32", " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", - " database size: 20.6MB, backup size: 20.6MB", + " database size: 20.7MB, backup size: 20.7MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190130-170002F_20190130-170034D", - " timestamp start/stop: 2019-01-30 17:00:34 / 2019-01-30 17:00:39", + " diff backup: 20190209-171123F_20190209-171151D", + " timestamp start/stop: 2019-02-09 17:11:51 / 2019-02-09 17:11:55", " wal start/stop: 000000020000000000000013 / 000000020000000000000013", - " database size: 20.6MB, backup size: 114.0KB", + " database size: 20.7MB, backup size: 114.0KB", " repository size: 2.4MB, repository backup size: 12.6KB", - " backup reference list: 20190130-170002F", + " backup reference list: 20190209-171123F", "", - " incr backup: 20190130-170002F_20190130-170050I", - " timestamp start/stop: 2019-01-30 17:00:50 / 2019-01-30 17:00:58", + " incr backup: 20190209-171123F_20190209-171206I", + " timestamp start/stop: 2019-02-09 17:12:06 / 2019-02-09 17:12:15", " wal start/stop: 000000030000000000000015 / 000000030000000000000015", - " database size: 34.0MB, backup size: 13.5MB", + " database size: 34.1MB, backup size: 13.5MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20190130-170002F, 20190130-170002F_20190130-170034D", + " backup reference list: 20190209-171123F, 20190209-171123F_20190209-171151D", "", - " diff backup: 20190130-170002F_20190130-170113D", - " timestamp start/stop: 2019-01-30 17:01:13 / 2019-01-30 17:01:21", + " diff backup: 20190209-171123F_20190209-171230D", + " timestamp start/stop: 2019-02-09 17:12:30 / 2019-02-09 17:12:38", " wal start/stop: 000000040000000000000018 / 000000040000000000000018", - " database size: 27.3MB, backup size: 6.9MB", - " repository size: 3.2MB, repository backup size: 835.3KB", - " backup reference list: 20190130-170002F", + " database size: 27.4MB, backup size: 6.9MB", + " repository size: 3.2MB, repository backup size: 835.8KB", + " backup reference list: 20190209-171123F", "", - " incr backup: 20190130-170002F_20190130-170134I", - " timestamp start/stop: 2019-01-30 17:01:34 / 2019-01-30 17:01:41", + " incr backup: 20190209-171123F_20190209-171251I", + " timestamp start/stop: 2019-02-09 17:12:51 / 2019-02-09 17:12:58", " wal start/stop: 00000005000000000000001A / 00000005000000000000001A", - " database size: 27.3MB, backup size: 2.0MB", - " repository size: 3.2MB, repository backup size: 209.5KB", - " backup reference list: 20190130-170002F, 20190130-170002F_20190130-170113D" + " database size: 27.4MB, backup size: 2.0MB", + " repository size: 3.2MB, repository backup size: 209.9KB", + " backup reference list: 20190209-171123F, 20190209-171123F_20190209-171230D" ] } }, @@ -14268,8 +14279,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-30 17:01:22.20917+00\" \\", - " --set=20190130-170002F_20190130-170113D restore" + " --type=time \"--target=2019-02-09 17:12:39.112933+00\" \\", + " --set=20190209-171123F_20190209-171230D restore" ], "host" : "pg-primary", "load-env" : true, @@ -14366,16 +14377,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:01:14 UTC", - "LOG: starting point-in-time recovery to 2019-01-30 17:01:22.20917+00", + "LOG: database system was interrupted; last known up at 2019-02-09 17:12:31 UTC", + "LOG: starting point-in-time recovery to 2019-02-09 17:12:39.112933+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000018\" from archive", "LOG: redo starts at 0/18000028", "LOG: consistent recovery state reached at 0/180000F8", "LOG: restored log file \"000000040000000000000019\" from archive", - "LOG: recovery stopping before commit of transaction 712, time 2019-01-30 17:01:22.54139+00", - "LOG: redo done at 0/1901BBB8", - "LOG: last completed transaction was at log time 2019-01-30 17:01:21.879499+00", + "LOG: recovery stopping before commit of transaction 712, time 2019-02-09 17:12:39.489964+00", + "LOG: redo done at 0/1901BC08", + "LOG: last completed transaction was at log time 2019-02-09 17:12:38.748116+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -14537,7 +14548,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-create command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -14564,14 +14575,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "P00 INFO: backup command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:02:17\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:13:35\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000007000000000000001A, lsn = 0/1A000028", " [filtered 1119 lines of output]", - "P04 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12280 (0B, 100%)", + "P02 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12280 (0B, 100%)", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12275 (0B, 100%)", - "P00 INFO: full backup size = 27.3MB", + "P00 INFO: full backup size = 27.4MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 00000007000000000000001A, lsn = 0/1A000130", " [filtered 4 lines of output]" @@ -14612,7 +14623,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -14638,7 +14649,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-delete command begin 2.10: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -14700,7 +14711,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.10/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -15284,18 +15295,18 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.5-1): 000000080000000000000022/000000080000000000000024", + " wal archive min/max (9.5-1): 000000080000000000000023/000000080000000000000024", "", - " full backup: 20190130-170359F", - " timestamp start/stop: 2019-01-30 17:03:59 / 2019-01-30 17:04:16", - " wal start/stop: 000000080000000000000022 / 000000080000000000000022", - " database size: 27.3MB, backup size: 27.3MB", + " full backup: 20190209-171522F", + " timestamp start/stop: 2019-02-09 17:15:22 / 2019-02-09 17:15:38", + " wal start/stop: 000000080000000000000023 / 000000080000000000000023", + " database size: 27.4MB, backup size: 27.4MB", " repository size: 3.2MB, repository backup size: 3.2MB", "", - " full backup: 20190130-170417F", - " timestamp start/stop: 2019-01-30 17:04:17 / 2019-01-30 17:04:34", + " full backup: 20190209-171540F", + " timestamp start/stop: 2019-02-09 17:15:40 / 2019-02-09 17:15:55", " wal start/stop: 000000080000000000000024 / 000000080000000000000024", - " database size: 27.3MB, backup size: 27.3MB", + " database size: 27.4MB, backup size: 27.4MB", " repository size: 3.2MB, repository backup size: 3.2MB" ] } @@ -15440,7 +15451,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.10/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -15843,7 +15854,7 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-30 17:04:19 UTC", + "LOG: database system was interrupted; last known up at 2019-02-09 17:15:41 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", "FATAL: the database system is starting up", @@ -15931,7 +15942,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/2501F5E0 | 2019-01-30 17:05:10.825038+00", + " 0/2501F630 | 2019-02-09 17:16:36.955716+00", "(1 row)" ] } @@ -15960,7 +15971,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-30 17:05:14.105255+00", + " Important Data | 2019-02-09 17:16:39.914863+00", "(1 row)" ] } @@ -15986,7 +15997,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.10: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", "P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -16255,9 +16266,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+-------------------------------", - " Important Data | 2019-01-30 17:05:32.260286+00", + " message | now ", + "----------------+-----------------------------", + " Important Data | 2019-02-09 17:16:59.6252+00", "(1 row)" ] } @@ -16284,9 +16295,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+------------------------------", - " Important Data | 2019-01-30 17:05:32.69031+00", + " message | now ", + "----------------+-------------------------------", + " Important Data | 2019-02-09 17:17:00.467292+00", "(1 row)" ] } @@ -16518,8 +16529,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 00000008000000000000002B successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/00000008000000000000002B-b4ad74365b79fd1405861576d41af48dae980899.gz'", + "P00 INFO: check command begin 2.10: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 00000008000000000000002B successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/00000008000000000000002B-8b9a8a79b89d5a97195f2a166523480928f741f3.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -16546,19 +16557,19 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000026] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000026...000000080000000000000029", + "P00 INFO: archive-push command begin 2.10: [pg_xlog/000000080000000000000026] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 5 WAL file(s) to archive: 000000080000000000000026...00000008000000000000002A", "P01 DETAIL: pushed WAL file 000000080000000000000026 to archive", "P02 DETAIL: pushed WAL file 000000080000000000000027 to archive", "P01 DETAIL: pushed WAL file 000000080000000000000028 to archive", "P02 DETAIL: pushed WAL file 000000080000000000000029 to archive", + "P01 DETAIL: pushed WAL file 00000008000000000000002A to archive", "P00 INFO: archive-push command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.09: [pg_xlog/00000008000000000000002A] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 2 WAL file(s) to archive: 00000008000000000000002A...00000008000000000000002B", - "P01 DETAIL: pushed WAL file 00000008000000000000002A to archive", - "P02 DETAIL: pushed WAL file 00000008000000000000002B to archive", + "P00 INFO: archive-push command begin 2.10: [pg_xlog/00000008000000000000002B] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000002B", + "P01 DETAIL: pushed WAL file 00000008000000000000002B to archive", "P00 INFO: archive-push command end: completed successfully" ] } @@ -16598,43 +16609,33 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get command begin 2.09: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get command begin 2.10: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000024...00000008000000000000002B", - "P01 DETAIL: got WAL file 000000080000000000000024 from archive", - "P01 DETAIL: WAL file 000000080000000000000026 not found in archive", - "P01 DETAIL: WAL file 000000080000000000000027 not found in archive", - "P01 DETAIL: WAL file 000000080000000000000028 not found in archive", - "P01 DETAIL: WAL file 000000080000000000000029 not found in archive", - "P01 DETAIL: WAL file 00000008000000000000002A not found in archive", "P02 DETAIL: got WAL file 000000080000000000000025 from archive", - "P01 DETAIL: WAL file 00000008000000000000002B not found in archive", - "P00 INFO: archive-get command end: completed successfully", - " [filtered 15 lines of output]", - "P00 INFO: archive-get command begin 2.09: [000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P02 DETAIL: WAL file 000000080000000000000026 not found in archive", + "P02 DETAIL: WAL file 000000080000000000000027 not found in archive", + "P02 DETAIL: WAL file 000000080000000000000028 not found in archive", + "P01 DETAIL: got WAL file 000000080000000000000024 from archive", + "P02 DETAIL: WAL file 000000080000000000000029 not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002A not found in archive", + " [filtered 30 lines of output]", + "P00 INFO: archive-get command begin 2.10: [000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000026...00000008000000000000002D", "P01 DETAIL: got WAL file 000000080000000000000026 from archive", "P02 DETAIL: got WAL file 000000080000000000000027 from archive", "P01 DETAIL: got WAL file 000000080000000000000028 from archive", - "P01 DETAIL: WAL file 00000008000000000000002A not found in archive", - "P01 DETAIL: WAL file 00000008000000000000002B not found in archive", - "P01 DETAIL: WAL file 00000008000000000000002C not found in archive", - "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", "P02 DETAIL: got WAL file 000000080000000000000029 from archive", - "P00 INFO: archive-get command end: completed successfully", - "", - " [filtered 14 lines of output]", - "P00 INFO: archive-get command begin 2.09: [00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030, 000000080000000000000031] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000002A...000000080000000000000031", + "P02 DETAIL: WAL file 00000008000000000000002B not found in archive", "P01 DETAIL: got WAL file 00000008000000000000002A from archive", - "P01 DETAIL: WAL file 00000008000000000000002C not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002C not found in archive", "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", - " [filtered 2 lines of output]", - "P01 DETAIL: WAL file 000000080000000000000030 not found in archive", - "P01 DETAIL: WAL file 000000080000000000000031 not found in archive", - "P02 DETAIL: got WAL file 00000008000000000000002B from archive", - "P00 INFO: archive-get command end: completed successfully", - "", - " [filtered 15 lines of output]" + " [filtered 14 lines of output]", + "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000002B...000000080000000000000032", + "P02 DETAIL: WAL file 00000008000000000000002C not found in archive", + "P01 DETAIL: got WAL file 00000008000000000000002B from archive", + "P02 DETAIL: WAL file 00000008000000000000002D not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002E not found in archive", + " [filtered 17 lines of output]" ] } }, @@ -16716,16 +16717,16 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:05:58\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-02-09 17:17:29\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000008000000000000002D, lsn = 0/2D000028", "P00 INFO: wait for replay on the standby to reach 0/2D000028", - "P00 INFO: replay on the standby reached 0/2D0000D0", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 3d7669d58090c8eb2d8e9017838dcd44a9c6111c", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (5.5KB, 0%) checksum 6b5788c4f01075b38ebe783a4528035b45d0eb4c", + "P00 INFO: replay on the standby reached 0/2D000350", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 94ce645b7bd02ea3bbdd05c109c754ab6400a26d", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (5.7KB, 0%) checksum 6b2be6d1374d18082106ac9ce1513f1e453781ad", "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 0%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 0%) checksum 58d09a5f4f456d658c613541cc9f21492b42bf3e", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12442/1249 (360KB, 17%) checksum 455f21a3349a7edd85c16acc65ec15e484f04e41", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12442/2673 (296KB, 31%) checksum 13f075e91a8e650970065df7cb3914541f07ec48", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 0%) checksum 55cd5fec730bf059eae94cb52e9dd9c18d7d1dc8", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12442/2608 (432KB, 20%) checksum a840677db579d365e4c05e6df083de83bb3e0608", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12442/2674 (360KB, 37%) checksum 78417a72eadcf339d1a198b91bf0e0dd2092c2ae", " [filtered 36 lines of output]" ] } @@ -16989,7 +16990,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.09: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/pgsql/9.6/data --pg2-path=/var/lib/pgsql/9.6/data --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.10: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/pgsql/9.6/data --pg2-path=/var/lib/pgsql/9.6/data --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -17023,19 +17024,19 @@ "output" : [ "● postgresql-9.6.service - PostgreSQL 9.6 database server", " Loaded: loaded (/usr/lib/systemd/system/postgresql-9.6.service; disabled; vendor preset: disabled)", - " Active: active (running) since Wed 2019-01-30 17:06:31 UTC; 359ms ago", + " Active: active (running) since Sat 2019-02-09 17:18:03 UTC; 355ms ago", " Docs: https://www.postgresql.org/docs/9.6/static/", - " Process: 4032 ExecStartPre=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", - " Main PID: 4037 (postmaster)", - " CGroup: /docker/a857ade5f5b54f9695c5eaaed24e7eebed732cc6937e3f7770f29fe3344f164f/system.slice/postgresql-9.6.service", - " ├─4037 /usr/pgsql-9.6/bin/postmaster -D /var/lib/pgsql/9.6/data/", - " ├─4038 postgres: logger process ", - " ├─4040 postgres: checkpointer process ", - " ├─4041 postgres: writer process ", - " ├─4042 postgres: wal writer process ", - " ├─4043 postgres: autovacuum launcher process ", - " ├─4044 postgres: archiver process ", - " └─4045 postgres: stats collector process " + " Process: 4073 ExecStartPre=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", + " Main PID: 4078 (postmaster)", + " CGroup: /docker/f4742580bd607f1d8cbab0daed12fa9556219d0c74643360694a74c68970d0bd/system.slice/postgresql-9.6.service", + " ├─4078 /usr/pgsql-9.6/bin/postmaster -D /var/lib/pgsql/9.6/data/", + " ├─4079 postgres: logger process ", + " ├─4081 postgres: checkpointer process ", + " ├─4082 postgres: writer process ", + " ├─4083 postgres: wal writer process ", + " ├─4084 postgres: autovacuum launcher process ", + " ├─4085 postgres: archiver process ", + " └─4086 postgres: stats collector process " ] } }, diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 3a99ff3a2..851297f8f 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -12,7 +12,7 @@ - + diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index a49749c40..d90a5206e 100644 --- a/lib/pgBackRest/Version.pm +++ b/lib/pgBackRest/Version.pm @@ -39,7 +39,7 @@ push @EXPORT, qw(projectBin projectBinSet); # Defines the current version of the BackRest executable. The version number is used to track features but does not affect what # repositories or manifests can be read - that's the job of the format number. #----------------------------------------------------------------------------------------------------------------------------------- -use constant PROJECT_VERSION => '2.10dev'; +use constant PROJECT_VERSION => '2.10'; push @EXPORT, qw(PROJECT_VERSION); # Repository Format Number diff --git a/src/perl/embed.auto.c b/src/perl/embed.auto.c index 74f6e5330..4ddd99b1b 100644 --- a/src/perl/embed.auto.c +++ b/src/perl/embed.auto.c @@ -21022,7 +21022,7 @@ static const EmbeddedModule embeddedModule[] = "\n" "push @EXPORT, qw(projectBin projectBinSet);\n" "\n\n\n\n\n\n" - "use constant PROJECT_VERSION => '2.10dev';\n" + "use constant PROJECT_VERSION => '2.10';\n" "push @EXPORT, qw(PROJECT_VERSION);\n" "\n\n\n\n\n\n" "use constant REPOSITORY_FORMAT => 5;\n" diff --git a/src/version.h b/src/version.h index bf68a5df0..8a5195eb6 100644 --- a/src/version.h +++ b/src/version.h @@ -23,6 +23,6 @@ repository will be invalid unless migration functions are written. /*********************************************************************************************************************************** Software version. Currently this value is maintained in Version.pm and updated by test.pl. ***********************************************************************************************************************************/ -#define PROJECT_VERSION "2.10dev" +#define PROJECT_VERSION "2.10" #endif