From ce2bf2999892f689001b084af4d5feb63dc9b402 Mon Sep 17 00:00:00 2001 From: David Steele Date: Tue, 3 Sep 2019 16:39:32 -0400 Subject: [PATCH] v2.17: C Migrations and Bug Fixes Bug Fixes: * Improve slow manifest build for very large quantities of tables/segments. (Reported by Jens Wilke.) * Fix exclusions for special files. (Reported by CluelessTechnologist, Janis Puris, Rachid Broum.) Improvements: * The stanza-create/update/delete commands are implemented entirely in C. (Contributed by Cynthia Shang.) * The start/stop commands are implemented entirely in C. (Contributed by Cynthia Shang.) * Create log directories/files with 0750/0640 mode. (Suggested by Damiano Albani.) Documentation Bug Fixes: * Fix yum.p.o package being installed when custom package specified. (Reported by Joe Ayers, John Harvey.) Documentation Improvements: * Build pgBackRest as an unprivileged user. (Suggested by Laurenz Albe.) --- README.md | 2 +- doc/RELEASE.md | 2 +- doc/resource/exe.cache | 1626 +++++++++-------- doc/resource/git-history.cache | 310 ++++ doc/xml/auto/metric-coverage-report.auto.xml | 87 +- doc/xml/release.xml | 4 +- lib/pgBackRest/Version.pm | 2 +- src/configure | 18 +- src/configure.ac | 2 +- src/perl/embed.auto.c | 2 +- src/version.h | 2 +- test/code-count/file-type.yaml | 84 +- .../pgBackRestTest/Common/CodeCountTest.pm | 3 + 13 files changed, 1281 insertions(+), 863 deletions(-) diff --git a/README.md b/README.md index 62a9af1ec..feb4f3fb7 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.16](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.16) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.17](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.17) 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/RELEASE.md b/doc/RELEASE.md index 6b5de4877..a60cfb472 100644 --- a/doc/RELEASE.md +++ b/doc/RELEASE.md @@ -39,7 +39,7 @@ test/test.pl --code-count ## Commit release branch and push to CI for testing ``` git commit -m "Release test" -git push release-ci +git push origin release-ci ``` ## Clone web documentation into `doc/site` diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index 4945b0b64..af10104b0 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -35,7 +35,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.16" + "sudo mkdir -p /build/pgbackrest-release-2.17" ], "host" : "build", "load-env" : true, @@ -48,7 +48,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.16" + "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.17" ], "host" : "build", "load-env" : true, @@ -61,7 +61,20 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.16" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.17" + ], + "host" : "build", + "load-env" : true, + "output" : false, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo chown -R vagrant /build/pgbackrest-release-2.17" ], "host" : "build", "load-env" : true, @@ -120,12 +133,12 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "(cd /root/pgbackrest-release-2.16/src && ./configure)" + "cd /build/pgbackrest-release-2.17/src && ./configure" ], "host" : "build", "load-env" : true, "output" : false, - "run-as-user" : "root" + "run-as-user" : null }, "type" : "exe" }, @@ -133,7 +146,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.16/src" + "make -s -C /build/pgbackrest-release-2.17/src" ], "host" : "build", "load-env" : true, @@ -160,7 +173,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.16/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.17/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -302,7 +315,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.16 - General help", + "pgBackRest 2.17 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -447,7 +460,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.16 - 'backup' command - 'log-path' option help", + "pgBackRest 2.17 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -684,7 +697,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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" ] } @@ -710,8 +723,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/10-1/0000000100000000/000000010000000000000001-e32d76d02b8c71f4b0dd15e5a714874dba64f14b.gz'", + "P00 INFO: check command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/10-1/0000000100000000/000000010000000000000001-ee655927823b3edb1f50e25461e1bcca47238741.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -738,9 +751,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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 non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:26:04\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:38:19\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 941 lines of output]", "P01 INFO: backup file /var/lib/postgresql/10/demo/base/1/12820 (0B, 100%)", @@ -766,7 +779,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-142604F" + "20190903-193819F" ] } }, @@ -793,11 +806,11 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum dc1892b6cd4b304e22eb94d86fa905d84dcacfac", + "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum 245f66589ed42bf7cd6618ae3280e25be145b06c", "P01 INFO: backup file /var/lib/postgresql/10/demo/pg_logical/replorigin_checkpoint (8B, 100%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", "P00 INFO: diff backup size = 8KB", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/3000130", + "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", " [filtered 4 lines of output]" ] } @@ -830,18 +843,18 @@ " db (current)", " wal archive min/max (10-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20190805-142604F", - " timestamp start/stop: 2019-08-05 14:26:04 / 2019-08-05 14:26:18", + " full backup: 20190903-193819F", + " timestamp start/stop: 2019-09-03 19:38:19 / 2019-09-03 19:38:32", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 22.4MB, backup size: 22.4MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " diff backup: 20190805-142604F_20190805-142620D", - " timestamp start/stop: 2019-08-05 14:26:20 / 2019-08-05 14:26:22", + " diff backup: 20190903-193819F_20190903-193833D", + " timestamp start/stop: 2019-09-03 19:38:33 / 2019-09-03 19:38:36", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", " database size: 22.4MB, backup size: 8.2KB", " repository size: 2.7MB, repository backup size: 517B", - " backup reference list: 20190805-142604F" + " backup reference list: 20190903-193819F" ] } }, @@ -975,10 +988,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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 = 20190805-142604F_20190805-142620D, version = 2.16", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:26:39\": backup begins after the next regular checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000005, lsn = 0/5000028", + "P00 INFO: backup command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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 = 20190903-193819F_20190903-193833D, version = 2.17", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:38:55\": 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 8 lines of output]" ] @@ -1036,11 +1049,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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 = 20190805-142604F_20190805-142639I, version = 2.16", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:26:45\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", - "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum 02f64252aa89e8bfd46d880147daa1bf0bdba23e", + "P00 INFO: backup command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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 = 20190903-193819F_20190903-193855I, version = 2.17", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:39:00\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", + "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum 13c5554a06ebf65adceab94b4f36a1dba0d0b92b", " [filtered 8 lines of output]" ] } @@ -1067,7 +1080,7 @@ " \"id\" : 1", " },", " \"id\" : \"10-1\",", - " \"max\" : \"000000020000000000000006\",", + " \"max\" : \"000000020000000000000007\",", " \"min\" : \"000000010000000000000002\"", " }", " ],", @@ -1079,25 +1092,25 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 23497041,", + " \"delta\" : 23521617,", " \"repository\" : {", - " \"delta\" : 2790373,", - " \"size\" : 2790373", + " \"delta\" : 2788533,", + " \"size\" : 2788533", " },", - " \"size\" : 23497041", + " \"size\" : 23521617", " },", - " \"label\" : \"20190805-142604F\",", + " \"label\" : \"20190903-193819F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1565015164,", - " \"stop\" : 1565015178", + " \"start\" : 1567539499,", + " \"stop\" : 1567539512", " },", " \"type\" : \"full\"", " },", @@ -1108,7 +1121,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1117,61 +1130,61 @@ " \"delta\" : 8429,", " \"repository\" : {", " \"delta\" : 517,", - " \"size\" : 2790373", + " \"size\" : 2788533", " },", - " \"size\" : 23497041", + " \"size\" : 23521617", " },", - " \"label\" : \"20190805-142604F_20190805-142620D\",", - " \"prior\" : \"20190805-142604F\",", + " \"label\" : \"20190903-193819F_20190903-193833D\",", + " \"prior\" : \"20190903-193819F\",", " \"reference\" : [", - " \"20190805-142604F\"", + " \"20190903-193819F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1565015180,", - " \"stop\" : 1565015182", + " \"start\" : 1567539513,", + " \"stop\" : 1567539516", " },", " \"type\" : \"diff\"", " },", " {", " \"archive\" : {", - " \"start\" : \"000000020000000000000005\",", - " \"stop\" : \"000000020000000000000005\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.16\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 8421,", - " \"repository\" : {", - " \"delta\" : 469,", - " \"size\" : 2790373", - " },", - " \"size\" : 23497041", - " },", - " \"label\" : \"20190805-142604F_20190805-142639I\",", - " \"prior\" : \"20190805-142604F_20190805-142620D\",", - " \"reference\" : [", - " \"20190805-142604F\",", - " \"20190805-142604F_20190805-142620D\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1565015199,", - " \"stop\" : 1565015203", - " },", - " \"type\" : \"incr\"", - " },", - " {", - " \"archive\" : {", " \"start\" : \"000000020000000000000006\",", " \"stop\" : \"000000020000000000000006\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", + " },", + " \"database\" : {", + " \"id\" : 1", + " },", + " \"info\" : {", + " \"delta\" : 8421,", + " \"repository\" : {", + " \"delta\" : 469,", + " \"size\" : 2788533", + " },", + " \"size\" : 23521617", + " },", + " \"label\" : \"20190903-193819F_20190903-193855I\",", + " \"prior\" : \"20190903-193819F_20190903-193833D\",", + " \"reference\" : [", + " \"20190903-193819F\",", + " \"20190903-193819F_20190903-193833D\"", + " ],", + " \"timestamp\" : {", + " \"start\" : 1567539535,", + " \"stop\" : 1567539538", + " },", + " \"type\" : \"incr\"", + " },", + " {", + " \"archive\" : {", + " \"start\" : \"000000020000000000000007\",", + " \"stop\" : \"000000020000000000000007\"", + " },", + " \"backrest\" : {", + " \"format\" : 5,", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1180,18 +1193,18 @@ " \"delta\" : 8429,", " \"repository\" : {", " \"delta\" : 517,", - " \"size\" : 2790373", + " \"size\" : 2788533", " },", - " \"size\" : 23497041", + " \"size\" : 23521617", " },", - " \"label\" : \"20190805-142604F_20190805-142645I\",", - " \"prior\" : \"20190805-142604F_20190805-142639I\",", + " \"label\" : \"20190903-193819F_20190903-193900I\",", + " \"prior\" : \"20190903-193819F_20190903-193855I\",", " \"reference\" : [", - " \"20190805-142604F\"", + " \"20190903-193819F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1565015205,", - " \"stop\" : 1565015207", + " \"start\" : 1567539540,", + " \"stop\" : 1567539543", " },", " \"type\" : \"incr\"", " }", @@ -1200,7 +1213,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6721688847430979816,", + " \"system-id\" : 6732530775756386535,", " \"version\" : \"10\"", " }", " ],", @@ -1355,7 +1368,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-08-05 14:26:47+00 | 000000020000000000000006", + " \"demo\" | 2019-09-03 19:39:03+00 | 000000020000000000000007", "(1 row)" ] } @@ -1389,7 +1402,7 @@ "type" : "exe", "value" : { "output" : [ - "1565015207" + "1567539543" ] } }, @@ -1408,7 +1421,7 @@ "type" : "exe", "value" : { "output" : [ - "\"000000020000000000000006\"" + "\"000000020000000000000007\"" ] } }, @@ -1453,7 +1466,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190805-142604F|remove archive" + "archive retention on backup 20190903-193819F|remove archive" ] }, "host" : "pg-primary", @@ -1466,8 +1479,8 @@ "output" : [ " [filtered 951 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190805-142604F, archiveId = 10-1, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.17: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=full", + "P00 DETAIL: archive retention on backup 20190903-193819F, archiveId = 10-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 10-1", "P00 INFO: expire command end: completed successfully" ] @@ -1487,7 +1500,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-142656F" + "20190903-193913F" ] } }, @@ -1502,7 +1515,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190805-142604F|archive retention on backup 20190805-142656F|remove archive" + "expire full backup set\\: 20190903-193819F|archive retention on backup 20190903-193913F|remove archive" ] }, "host" : "pg-primary", @@ -1515,10 +1528,10 @@ "output" : [ " [filtered 950 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190805-142604F, 20190805-142604F_20190805-142620D, 20190805-142604F_20190805-142639I, 20190805-142604F_20190805-142645I", - "P00 INFO: remove expired backup 20190805-142604F_20190805-142645I", - "P00 INFO: remove expired backup 20190805-142604F_20190805-142639I", + "P00 INFO: expire command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=full", + "P00 INFO: expire full backup set: 20190903-193819F, 20190903-193819F_20190903-193833D, 20190903-193819F_20190903-193855I, 20190903-193819F_20190903-193900I", + "P00 INFO: remove expired backup 20190903-193819F_20190903-193900I", + "P00 INFO: remove expired backup 20190903-193819F_20190903-193855I", " [filtered 2 lines of output]" ] } @@ -1581,7 +1594,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-142711F_20190805-142727D" + "20190903-193929F_20190903-193946D" ] } }, @@ -1609,7 +1622,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190805-142711F_20190805-142727D" + "expire diff backup set: 20190903-193929F_20190903-193946D" ] }, "host" : "pg-primary", @@ -1622,10 +1635,10 @@ "output" : [ " [filtered 11 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190805-142711F_20190805-142727D, 20190805-142711F_20190805-142731I", - "P00 INFO: remove expired backup 20190805-142711F_20190805-142731I", - "P00 INFO: remove expired backup 20190805-142711F_20190805-142727D" + "P00 INFO: expire command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo --start-fast --type=diff", + "P00 INFO: expire diff backup set: 20190903-193929F_20190903-193946D, 20190903-193929F_20190903-193951I", + "P00 INFO: remove expired backup 20190903-193929F_20190903-193951I", + "P00 INFO: remove expired backup 20190903-193929F_20190903-193946D" ] } }, @@ -1674,7 +1687,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-142711F_20190805-142735D" + "20190903-193929F_20190903-193955D" ] } }, @@ -1717,10 +1730,10 @@ "output" : [ " [filtered 8 lines of output]", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000010, lsn = 0/100000F8", - "P00 INFO: new backup label = 20190805-142711F_20190805-142740D", + "P00 INFO: backup stop archive = 000000020000000000000011, lsn = 0/110000F8", + "P00 INFO: new backup label = 20190903-193929F_20190903-194000D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin" + "P00 INFO: expire command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo --start-fast --type=diff" ] } }, @@ -1738,7 +1751,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-142711F_20190805-142740D" + "20190903-193929F_20190903-194000D" ] } }, @@ -1753,7 +1766,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190805-142711F_20190805-142735D|remove archive" + "archive retention on backup 20190903-193929F_20190903-193955D|remove archive" ] }, "host" : "pg-primary", @@ -1764,13 +1777,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.16: --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 20190805-142656F, archiveId = 10-1, start = 000000020000000000000008, stop = 000000020000000000000008", - "P00 DETAIL: archive retention on backup 20190805-142711F, archiveId = 10-1, start = 000000020000000000000009, stop = 000000020000000000000009", - "P00 DETAIL: archive retention on backup 20190805-142711F_20190805-142735D, archiveId = 10-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: archive retention on backup 20190805-142711F_20190805-142740D, archiveId = 10-1, start = 000000020000000000000010", - "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000A, stop = 00000002000000000000000C", - "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000E, stop = 00000002000000000000000F", + "P00 INFO: expire command begin 2.17: --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 20190903-193913F, archiveId = 10-1, start = 000000020000000000000009, stop = 000000020000000000000009", + "P00 DETAIL: archive retention on backup 20190903-193929F, archiveId = 10-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", + "P00 DETAIL: archive retention on backup 20190903-193929F_20190903-193955D, archiveId = 10-1, start = 00000002000000000000000E, stop = 00000002000000000000000E", + "P00 DETAIL: archive retention on backup 20190903-193929F_20190903-194000D, archiveId = 10-1, start = 000000020000000000000011", + "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000B, stop = 00000002000000000000000D", + "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000F, stop = 000000020000000000000010", "P00 INFO: expire command end: completed successfully" ] } @@ -1810,7 +1823,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 763 lines of output]", + " [filtered 762 lines of output]", "P01 DETAIL: restore file /var/lib/postgresql/10/demo/base/12977/PG_VERSION - exists and matches backup (3B, 99%) checksum 4143d3a341877154d6e95211464e1df1015b74bd", "P01 DETAIL: restore file /var/lib/postgresql/10/demo/base/1/PG_VERSION - exists and matches backup (3B, 99%) checksum 4143d3a341877154d6e95211464e1df1015b74bd", "P01 DETAIL: restore file /var/lib/postgresql/10/demo/PG_VERSION - exists and matches backup (3B, 100%) checksum 4143d3a341877154d6e95211464e1df1015b74bd", @@ -2199,7 +2212,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-08-05 14:28:26.411465+00" + "2019-09-03 19:40:49.60437+00" ] } }, @@ -2252,7 +2265,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-08-05 14:28:26.411465+00\" \\", + " --type=time \"--target=2019-09-03 19:40:49.60437+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2297,7 +2310,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-08-05 14:28:26.411465+00'", + "recovery_target_time = '2019-09-03 19:40:49.60437+00'", "recovery_target_action = 'promote'" ] } @@ -2379,16 +2392,16 @@ "output" : [ " [filtered 2 lines of output]", "LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"", - "LOG: database system was interrupted; last known up at 2019-08-05 14:28:19 UTC", - "LOG: starting point-in-time recovery to 2019-08-05 14:28:26.411465+00", + "LOG: database system was interrupted; last known up at 2019-09-03 19:40:41 UTC", + "LOG: starting point-in-time recovery to 2019-09-03 19:40:49.60437+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000015\" from archive", + "LOG: restored log file \"000000040000000000000016\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000040000000000000016\" from archive", - "LOG: recovery stopping before commit of transaction 564, time 2019-08-05 14:28:26.933264+00", - "LOG: redo done at 0/16021358", - "LOG: last completed transaction was at log time 2019-08-05 14:28:25.894026+00", + "LOG: restored log file \"000000040000000000000017\" from archive", + "LOG: recovery stopping before commit of transaction 564, time 2019-09-03 19:40:50.146413+00", + "LOG: redo done at 0/17020800", + "LOG: last completed transaction was at log time 2019-09-03 19:40:48.997696+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -2440,7 +2453,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-142711F_20190805-142818D" + "20190903-193929F_20190903-194040D" ] } }, @@ -2475,7 +2488,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-08-05 14:28:26.411465+00\" --target-action=promote restore" + " --type=time \"--target=2019-09-03 19:40:49.60437+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2574,14 +2587,14 @@ "output" : [ " [filtered 2 lines of output]", "LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"", - "LOG: database system was interrupted; last known up at 2019-08-05 14:28:39 UTC", - "LOG: starting point-in-time recovery to 2019-08-05 14:28:26.411465+00", + "LOG: database system was interrupted; last known up at 2019-09-03 19:41:03 UTC", + "LOG: starting point-in-time recovery to 2019-09-03 19:40:49.60437+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"000000050000000000000017\" from archive", - "LOG: redo starts at 0/17000028", - "LOG: consistent recovery state reached at 0/170000F8", + "LOG: restored log file \"000000050000000000000018\" from archive", + "LOG: redo starts at 0/18000028", + "LOG: consistent recovery state reached at 0/180000F8", "LOG: database system is ready to accept read only connections", - "LOG: redo done at 0/170000F8", + "LOG: redo done at 0/180000F8", " [filtered 8 lines of output]" ] } @@ -2596,7 +2609,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190805-142711F_20190805-142818D" + "20190903-193929F_20190903-194040D" ] }, "host" : "pg-primary", @@ -2612,47 +2625,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (10-1): 000000020000000000000008/000000050000000000000017", + " wal archive min/max (10-1): 000000020000000000000009/000000050000000000000018", "", - " full backup: 20190805-142656F", - " timestamp start/stop: 2019-08-05 14:26:56 / 2019-08-05 14:27:10", - " wal start/stop: 000000020000000000000008 / 000000020000000000000008", - " database size: 22.4MB, backup size: 22.4MB", - " repository size: 2.7MB, repository backup size: 2.7MB", - "", - " full backup: 20190805-142711F", - " timestamp start/stop: 2019-08-05 14:27:11 / 2019-08-05 14:27:25", + " full backup: 20190903-193913F", + " timestamp start/stop: 2019-09-03 19:39:13 / 2019-09-03 19:39:28", " wal start/stop: 000000020000000000000009 / 000000020000000000000009", " database size: 22.4MB, backup size: 22.4MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " diff backup: 20190805-142711F_20190805-142740D", - " timestamp start/stop: 2019-08-05 14:27:40 / 2019-08-05 14:27:43", - " wal start/stop: 000000020000000000000010 / 000000020000000000000010", + " full backup: 20190903-193929F", + " timestamp start/stop: 2019-09-03 19:39:29 / 2019-09-03 19:39:44", + " wal start/stop: 00000002000000000000000A / 00000002000000000000000A", + " database size: 22.4MB, backup size: 22.4MB", + " repository size: 2.7MB, repository backup size: 2.7MB", + "", + " diff backup: 20190903-193929F_20190903-194000D", + " timestamp start/stop: 2019-09-03 19:40:00 / 2019-09-03 19:40:03", + " wal start/stop: 000000020000000000000011 / 000000020000000000000011", " database size: 22.4MB, backup size: 96.2KB", " repository size: 2.7MB, repository backup size: 11.9KB", - " backup reference list: 20190805-142711F", + " backup reference list: 20190903-193929F", "", - " incr backup: 20190805-142711F_20190805-142754I", - " timestamp start/stop: 2019-08-05 14:27:54 / 2019-08-05 14:28:04", - " wal start/stop: 000000030000000000000012 / 000000030000000000000012", - " database size: 37.0MB, backup size: 15.0MB", + " incr backup: 20190903-193929F_20190903-194014I", + " timestamp start/stop: 2019-09-03 19:40:14 / 2019-09-03 19:40:25", + " wal start/stop: 000000030000000000000013 / 000000030000000000000013", + " database size: 37MB, backup size: 15MB", " repository size: 4.4MB, repository backup size: 1.8MB", - " backup reference list: 20190805-142711F, 20190805-142711F_20190805-142740D", + " backup reference list: 20190903-193929F, 20190903-193929F_20190903-194000D", "", - " diff backup: 20190805-142711F_20190805-142818D", - " timestamp start/stop: 2019-08-05 14:28:18 / 2019-08-05 14:28:25", - " wal start/stop: 000000040000000000000015 / 000000040000000000000015", + " diff backup: 20190903-193929F_20190903-194040D", + " timestamp start/stop: 2019-09-03 19:40:40 / 2019-09-03 19:40:48", + " wal start/stop: 000000040000000000000016 / 000000040000000000000016", " database size: 29.7MB, backup size: 7.8MB", - " repository size: 3.5MB, repository backup size: 948.7KB", - " backup reference list: 20190805-142711F", + " repository size: 3.5MB, repository backup size: 948.1KB", + " backup reference list: 20190903-193929F", "", - " incr backup: 20190805-142711F_20190805-142838I", - " timestamp start/stop: 2019-08-05 14:28:38 / 2019-08-05 14:28:41", - " wal start/stop: 000000050000000000000017 / 000000050000000000000017", + " incr backup: 20190903-193929F_20190903-194102I", + " timestamp start/stop: 2019-09-03 19:41:02 / 2019-09-03 19:41:06", + " wal start/stop: 000000050000000000000018 / 000000050000000000000018", " database size: 29.7MB, backup size: 2MB", - " repository size: 3.5MB, repository backup size: 218.4KB", - " backup reference list: 20190805-142711F, 20190805-142711F_20190805-142818D" + " repository size: 3.5MB, repository backup size: 217.8KB", + " backup reference list: 20190903-193929F, 20190903-193929F_20190903-194040D" ] } }, @@ -2674,8 +2687,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-08-05 14:28:26.411465+00\" \\", - " --set=20190805-142711F_20190805-142818D --target-action=promote restore" + " --type=time \"--target=2019-09-03 19:40:49.60437+00\" \\", + " --set=20190903-193929F_20190903-194040D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2774,16 +2787,16 @@ "output" : [ " [filtered 2 lines of output]", "LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"", - "LOG: database system was interrupted; last known up at 2019-08-05 14:28:19 UTC", - "LOG: starting point-in-time recovery to 2019-08-05 14:28:26.411465+00", + "LOG: database system was interrupted; last known up at 2019-09-03 19:40:41 UTC", + "LOG: starting point-in-time recovery to 2019-09-03 19:40:49.60437+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000015\" from archive", + "LOG: restored log file \"000000040000000000000016\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000040000000000000016\" from archive", - "LOG: recovery stopping before commit of transaction 564, time 2019-08-05 14:28:26.933264+00", - "LOG: redo done at 0/16021358", - "LOG: last completed transaction was at log time 2019-08-05 14:28:25.894026+00", + "LOG: restored log file \"000000040000000000000017\" from archive", + "LOG: recovery stopping before commit of transaction 564, time 2019-09-03 19:40:50.146413+00", + "LOG: redo done at 0/17020800", + "LOG: last completed transaction was at log time 2019-09-03 19:40:48.997696+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -2909,8 +2922,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", - "P00 INFO: http statistics: objects 1, sessions 1, requests 16, retries 0, closes 0", + "P00 INFO: stanza-create command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: http statistics: objects 2, sessions 2, requests 12, retries 0, closes 0", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -2937,16 +2950,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=4 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=4 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo --start-fast", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:29:05\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000070000000000000017, lsn = 0/17000028", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:41:31\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000070000000000000018, lsn = 0/18000028", " [filtered 1238 lines of output]", - "P01 INFO: backup file /var/lib/postgresql/10/demo/base/1/12815 (0B, 100%)", - "P03 INFO: backup file /var/lib/postgresql/10/demo/base/1/12830 (0B, 100%)", + "P03 INFO: backup file /var/lib/postgresql/10/demo/base/1/12820 (0B, 100%)", + "P04 INFO: backup file /var/lib/postgresql/10/demo/base/1/12825 (0B, 100%)", "P00 INFO: full backup size = 29.7MB", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000070000000000000017, lsn = 0/17000130", + "P00 INFO: backup stop archive = 000000070000000000000018, lsn = 0/18000130", " [filtered 6 lines of output]" ] } @@ -2985,7 +2998,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -3011,8 +3024,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", - "P00 INFO: http statistics: objects 1, sessions 1, requests 13, retries 0, closes 0", + "P00 INFO: stanza-delete command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: http statistics: objects 2, sessions 2, requests 15, retries 0, closes 0", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -3061,7 +3074,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.16/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.17/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -3645,18 +3658,18 @@ " cipher: none", "", " db (current)", - " wal archive min/max (10-1): 00000008000000000000001D/00000008000000000000001F", + " wal archive min/max (10-1): 00000008000000000000001E/000000080000000000000020", "", - " full backup: 20190805-143025F", - " timestamp start/stop: 2019-08-05 14:30:25 / 2019-08-05 14:30:40", - " wal start/stop: 00000008000000000000001D / 00000008000000000000001D", - " database size: 29.7MB, backup size: 29.7MB", + " full backup: 20190903-194252F", + " timestamp start/stop: 2019-09-03 19:42:52 / 2019-09-03 19:43:10", + " wal start/stop: 00000008000000000000001E / 00000008000000000000001E", + " database size: 29.8MB, backup size: 29.8MB", " repository size: 3.5MB, repository backup size: 3.5MB", "", - " full backup: 20190805-143042F", - " timestamp start/stop: 2019-08-05 14:30:42 / 2019-08-05 14:30:51", - " wal start/stop: 00000008000000000000001F / 00000008000000000000001F", - " database size: 29.7MB, backup size: 29.7MB", + " full backup: 20190903-194313F", + " timestamp start/stop: 2019-09-03 19:43:13 / 2019-09-03 19:43:21", + " wal start/stop: 000000080000000000000020 / 000000080000000000000020", + " database size: 29.8MB, backup size: 29.8MB", " repository size: 3.5MB, repository backup size: 3.5MB" ] } @@ -3801,7 +3814,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.16/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.17/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -4206,12 +4219,12 @@ "output" : [ " [filtered 3 lines of output]", "LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"", - "LOG: database system was interrupted; last known up at 2019-08-05 14:30:43 UTC", + "LOG: database system was interrupted; last known up at 2019-09-03 19:43:14 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"00000008000000000000001F\" from archive", - "LOG: redo starts at 0/1F000028", - "LOG: consistent recovery state reached at 0/1F0000F8", + "LOG: restored log file \"000000080000000000000020\" from archive", + "LOG: redo starts at 0/20000028", + "LOG: consistent recovery state reached at 0/200000F8", "LOG: database system is ready to accept read only connections", "LOG: incomplete startup packet" ] @@ -4294,7 +4307,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/2002B4D8 | 2019-08-05 14:31:38.868459+00", + " 0/2102A9B0 | 2019-09-03 19:44:12.724174+00", "(1 row)" ] } @@ -4321,9 +4334,9 @@ "type" : "exe", "value" : { "output" : [ - " message | current_timestamp ", - "----------------+-----------------------------", - " Important Data | 2019-08-05 14:31:43.6212+00", + " message | current_timestamp ", + "----------------+-------------------------------", + " Important Data | 2019-09-03 19:44:17.289247+00", "(1 row)" ] } @@ -4349,7 +4362,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.16: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.17: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --stanza=demo", "P00 INFO: switch wal not performed because no primary was found", "P00 INFO: check command end: completed successfully" ] @@ -4563,9 +4576,9 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "LOG: restored log file \"000000080000000000000020\" from archive", + "LOG: restored log file \"000000080000000000000021\" from archive", "LOG: incomplete startup packet", - "LOG: started streaming WAL from primary at 0/21000000 on timeline 8" + "LOG: started streaming WAL from primary at 0/22000000 on timeline 8" ] } }, @@ -4597,7 +4610,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2019-08-05 14:32:00.774117+00", + " Important Data | 2019-09-03 19:44:35.125862+00", "(1 row)" ] } @@ -4626,7 +4639,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2019-08-05 14:32:01.616566+00", + " Important Data | 2019-09-03 19:44:36.024894+00", "(1 row)" ] } @@ -4858,8 +4871,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.16: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 000000080000000000000026 successfully archived to 'archive/demo/10-1/0000000800000000/000000080000000000000026-7eb6a9de7b9b280721b5d49e50e901ae2dd349af.gz'", + "P00 INFO: check command begin 2.17: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 000000080000000000000027 successfully archived to 'archive/demo/10-1/0000000800000000/000000080000000000000027-43de039b7fbc0784f8f69ed57b79009c590d8305.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -4886,24 +4899,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.16: [/var/lib/postgresql/10/demo/pg_wal] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000021", - "P01 DETAIL: pushed WAL file '000000080000000000000021' to the archive", - "P00 INFO: archive-push-async command end: completed successfully", - "", - "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.16: [/var/lib/postgresql/10/demo/pg_wal] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000022...000000080000000000000025", + "P00 INFO: archive-push-async command begin 2.17: [/var/lib/postgresql/10/demo/pg_wal] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000022", "P01 DETAIL: pushed WAL file '000000080000000000000022' to the archive", - "P02 DETAIL: pushed WAL file '000000080000000000000023' to the archive", - "P01 DETAIL: pushed WAL file '000000080000000000000024' to the archive", - "P02 DETAIL: pushed WAL file '000000080000000000000025' to the archive", "P00 INFO: archive-push-async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.16: [/var/lib/postgresql/10/demo/pg_wal] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000026", - "P01 DETAIL: pushed WAL file '000000080000000000000026' to the archive", + "P00 INFO: archive-push-async command begin 2.17: [/var/lib/postgresql/10/demo/pg_wal] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000023...000000080000000000000026", + "P01 DETAIL: pushed WAL file '000000080000000000000023' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000024' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000025' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000026' to the archive", + "P00 INFO: archive-push-async command end: completed successfully", + "", + "-------------------PROCESS START-------------------", + "P00 INFO: archive-push-async command begin 2.17: [/var/lib/postgresql/10/demo/pg_wal] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000027", + "P01 DETAIL: pushed WAL file '000000080000000000000027' to the archive", "P00 INFO: archive-push-async command end: completed successfully" ] } @@ -4943,29 +4956,29 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.16: [00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001F...000000080000000000000026", - "P01 DETAIL: found 00000008000000000000001F in the archive", - "P02 DETAIL: found 000000080000000000000020 in the archive", - "P01 DETAIL: unable to find 000000080000000000000021 in the archive", - "P02 DETAIL: unable to find 000000080000000000000022 in the archive", + "P00 INFO: archive-get-async command begin 2.17: [000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000020...000000080000000000000027", + "P01 DETAIL: found 000000080000000000000020 in the archive", + "P02 DETAIL: found 000000080000000000000021 in the archive", + "P02 DETAIL: unable to find 000000080000000000000023 in the archive", + "P01 DETAIL: unable to find 000000080000000000000022 in the archive", " [filtered 20 lines of output]", - "P00 INFO: archive-get-async command begin 2.16: [000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000021...000000080000000000000028", - "P01 DETAIL: found 000000080000000000000021 in the archive", - "P02 DETAIL: found 000000080000000000000022 in the archive", - "P02 DETAIL: found 000000080000000000000024 in the archive", - "P01 DETAIL: found 000000080000000000000023 in the archive", - "P01 DETAIL: unable to find 000000080000000000000026 in the archive", - "P01 DETAIL: unable to find 000000080000000000000027 in the archive", - "P01 DETAIL: unable to find 000000080000000000000028 in the archive", + "P00 INFO: archive-get-async command begin 2.17: [000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000022...000000080000000000000029", + "P01 DETAIL: found 000000080000000000000022 in the archive", + "P02 DETAIL: found 000000080000000000000023 in the archive", + "P01 DETAIL: found 000000080000000000000024 in the archive", "P02 DETAIL: found 000000080000000000000025 in the archive", + "P02 DETAIL: unable to find 000000080000000000000027 in the archive", + "P02 DETAIL: unable to find 000000080000000000000028 in the archive", + "P02 DETAIL: unable to find 000000080000000000000029 in the archive", + "P01 DETAIL: found 000000080000000000000026 in the archive", "P00 INFO: archive-get-async command end: completed successfully", "", " [filtered 8 lines of output]", - "P02 DETAIL: unable to find 00000008000000000000002C in the archive", "P02 DETAIL: unable to find 00000008000000000000002D in the archive", - "P01 DETAIL: found 000000080000000000000026 in the archive", + "P02 DETAIL: unable to find 00000008000000000000002E in the archive", + "P01 DETAIL: found 000000080000000000000027 in the archive", "P00 INFO: archive-get-async command end: completed successfully" ] } @@ -5048,20 +5061,21 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:32:24\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000080000000000000028, lsn = 0/28000028", - "P00 INFO: wait for replay on the standby to reach 0/28000028", - "P00 INFO: replay on the standby reached 0/280000D0, checkpoint 0/28000060", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2608 (440KB, 19%) checksum d529490728bfd6044e453ade84bae8563d866ab1", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2673 (312KB, 32%) checksum ac0cccb77c5641dbc6d1e9dc341a2fea1ea35f22", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2674 (368KB, 48%) checksum 694ec887d5afd354ca8a6f0bc25bf72bbf7490fd", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2658 (112KB, 53%) checksum d6dc412ca41421084a657a4f80f5c4d0f4ed31e8", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/global/pg_control (8KB, 54%) checksum 301d240be6d5a6ff31dd72e6e5322f890d5aeaa1", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/1259 (88KB, 58%) checksum 06e67d09d0b1505b6895f425c3001fc80210f0e4", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/pg_logical/replorigin_checkpoint (8B, 58%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2659 (80KB, 61%) checksum bdeb9c730703557389a8166beb15339f6431b1e3", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/1249 (392KB, 78%) checksum 81e85815104dd697a2d4999b162f21285bc1a252", - " [filtered 34 lines of output]" + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:44:59\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000080000000000000029, lsn = 0/29000028", + "P00 INFO: wait for replay on the standby to reach 0/29000028", + "P00 INFO: replay on the standby reached 0/290000D0, checkpoint 0/29000060", + "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/1249 (392KB, 17%) checksum 5229851a411a6fb3ab0f338ff84ae6ca3518605a", + "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2673 (312KB, 30%) checksum a8fb8fa6e23bf0f150fafd75f4b9ea7ef8475bd8", + " [filtered 7 lines of output]", + "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2704 (40KB, 85%) checksum be04bbc2c012df3d98fba31a26c84670b8ebd31c", + "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2662 (32KB, 86%) checksum 76a8cc8da4b8a7e451db8c29f0bba1fae7ee75b7", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/global/pg_control (8KB, 87%) checksum 99f45e618d701bdfc2b1ead62631642f3121aee1", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/3455 (40KB, 88%) checksum 144caad61022968141bc1eda2785484f3abe6d07", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/pg_logical/replorigin_checkpoint (8B, 88%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", + "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2610 (32KB, 90%) checksum 2a358e15fefd628903916942d546450bf5e20194", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2608_fsm (24KB, 91%) checksum 6c7e8309a4d55ba9669c8df84923abfceec95e97", + " [filtered 27 lines of output]" ] } }, @@ -5337,7 +5351,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.16: --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/11/demo --pg2-path=/var/lib/postgresql/11/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.17: --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/11/demo --pg2-path=/var/lib/postgresql/11/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -5598,7 +5612,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.16" + "sudo mkdir -p /build/pgbackrest-release-2.17" ], "host" : "build", "load-env" : true, @@ -5611,7 +5625,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.16" + "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.17" ], "host" : "build", "load-env" : true, @@ -5624,7 +5638,20 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.16" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.17" + ], + "host" : "build", + "load-env" : true, + "output" : false, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo chown -R vagrant /build/pgbackrest-release-2.17" ], "host" : "build", "load-env" : true, @@ -5670,12 +5697,12 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "(cd /root/pgbackrest-release-2.16/src && ./configure)" + "cd /build/pgbackrest-release-2.17/src && ./configure" ], "host" : "build", "load-env" : true, "output" : false, - "run-as-user" : "root" + "run-as-user" : null }, "type" : "exe" }, @@ -5683,7 +5710,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.16/src" + "make -s -C /build/pgbackrest-release-2.17/src" ], "host" : "build", "load-env" : true, @@ -5710,7 +5737,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.16/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.17/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -5853,7 +5880,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.16 - General help", + "pgBackRest 2.17 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -5997,7 +6024,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.16 - 'backup' command - 'log-path' option help", + "pgBackRest 2.17 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -6235,7 +6262,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.16: --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.17: --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" ] } @@ -6261,8 +6288,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.16: --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 archived to '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-d60c5d3556c2683be329dbf2be3d2766e928cedc.gz'", + "P00 INFO: check command begin 2.17: --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 archived to '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-f12bb726256921029d3362e05ad583a37c3ca702.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -6289,14 +6316,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --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.17: --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-08-05 14:16:39\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:28:08\": 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/12216 (0B, 100%)", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (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]" @@ -6317,7 +6344,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-141639F" + "20190903-192808F" ] } }, @@ -6344,8 +6371,8 @@ "value" : { "output" : [ " [filtered 5 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (1010B, 97%) checksum 291705d5ea5a6c9f71c4e0705ede2413ec653402", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum 0185d9b0cda3247888e4686a82b43c482b6c2f1e", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (1010B, 97%) checksum e482bff18cb1d08cd149d3060f4a794abdd8332e", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum e04b63635a7d354dff9753b5cbdbadcbeb59d2ce", "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 = 000000010000000000000003, lsn = 0/30000F8", @@ -6381,18 +6408,18 @@ " db (current)", " wal archive min/max (9.5-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20190805-141639F", - " timestamp start/stop: 2019-08-05 14:16:39 / 2019-08-05 14:16:52", + " full backup: 20190903-192808F", + " timestamp start/stop: 2019-09-03 19:28:08 / 2019-09-03 19:28:20", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", - " database size: 20.5MB, backup size: 20.5MB", + " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190805-141639F_20190805-141653D", - " timestamp start/stop: 2019-08-05 14:16:53 / 2019-08-05 14:16:56", + " diff backup: 20190903-192808F_20190903-192822D", + " timestamp start/stop: 2019-09-03 19:28:22 / 2019-09-03 19:28:25", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 20.5MB, backup size: 9.2KB", + " database size: 20.6MB, backup size: 9.2KB", " repository size: 2.4MB, repository backup size: 768B", - " backup reference list: 20190805-141639F" + " backup reference list: 20190903-192808F" ] } }, @@ -6550,9 +6577,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --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 = 20190805-141639F_20190805-141653D, version = 2.16", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:17:16\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.17: --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 = 20190903-192808F_20190903-192822D, version = 2.17", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:28:46\": 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]" @@ -6611,11 +6638,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --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 = 20190805-141639F_20190805-141716I, version = 2.16", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:17:22\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.17: --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 = 20190903-192808F_20190903-192846I, version = 2.17", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:28:52\": 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, 78%) checksum e07b82087775d774035eecdf11b04252e2cd778b", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 79%) checksum 0237e5d9ebea3ecb25619bbdf18f72f623bcec9b", " [filtered 9 lines of output]" ] } @@ -6657,9 +6684,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:17:27\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:28:56\": 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/20190805-141639F_20190805-141727I': [13] Permission denied", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190903-192808F_20190903-192856I': [13] Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -6700,10 +6727,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --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 = 20190805-141639F_20190805-141722I, version = 2.16", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:17:31\": backup begins after the requested immediate checkpoint completes", - "P00 ERROR: [057]: unable to execute query '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-08-05 14:17:31', true) as lsn': ERROR: a backup is already in progress", + "P00 INFO: backup command begin 2.17: --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 = 20190903-192808F_20190903-192852I, version = 2.17", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:29:00\": backup begins after the requested immediate checkpoint completes", + "P00 ERROR: [057]: unable to execute query '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-09-03 19:29:00', true) as lsn': ERROR: a backup is already in progress", " HINT: Run pg_stop_backup() and try again.", "P00 INFO: backup command end: aborted with exception [057]" ] @@ -6762,13 +6789,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --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 = 20190805-141639F_20190805-141722I, version = 2.16", + "P00 INFO: backup command begin 2.17: --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 = 20190903-192808F_20190903-192852I, version = 2.17", "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-08-05 14:17:34\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:29:03\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000002000000000000000A, lsn = 0/A000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 74%) checksum 94b40d08af77d0fce99cce8a7d312c025f9c1d81", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 74%) checksum 58b2cd8ec2ba2ef61267b50d30a5f301e9015fd4", " [filtered 9 lines of output]" ] } @@ -6807,25 +6834,25 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 21502018,", + " \"delta\" : 21624898,", " \"repository\" : {", - " \"delta\" : 2530304,", - " \"size\" : 2530304", + " \"delta\" : 2531696,", + " \"size\" : 2531696", " },", - " \"size\" : 21502018", + " \"size\" : 21624898", " },", - " \"label\" : \"20190805-141639F\",", + " \"label\" : \"20190903-192808F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1565014599,", - " \"stop\" : 1565014612", + " \"start\" : 1567538888,", + " \"stop\" : 1567538900", " },", " \"type\" : \"full\"", " },", @@ -6836,7 +6863,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", @@ -6845,18 +6872,18 @@ " \"delta\" : 9438,", " \"repository\" : {", " \"delta\" : 768,", - " \"size\" : 2530304", + " \"size\" : 2531696", " },", - " \"size\" : 21502125", + " \"size\" : 21625005", " },", - " \"label\" : \"20190805-141639F_20190805-141653D\",", - " \"prior\" : \"20190805-141639F\",", + " \"label\" : \"20190903-192808F_20190903-192822D\",", + " \"prior\" : \"20190903-192808F\",", " \"reference\" : [", - " \"20190805-141639F\"", + " \"20190903-192808F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1565014613,", - " \"stop\" : 1565014616", + " \"start\" : 1567538902,", + " \"stop\" : 1567538905", " },", " \"type\" : \"diff\"", " },", @@ -6867,27 +6894,27 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 10284,", + " \"delta\" : 10177,", " \"repository\" : {", " \"delta\" : 928,", - " \"size\" : 2530464", + " \"size\" : 2531856", " },", - " \"size\" : 21502971", + " \"size\" : 21625744", " },", - " \"label\" : \"20190805-141639F_20190805-141716I\",", - " \"prior\" : \"20190805-141639F_20190805-141653D\",", + " \"label\" : \"20190903-192808F_20190903-192846I\",", + " \"prior\" : \"20190903-192808F_20190903-192822D\",", " \"reference\" : [", - " \"20190805-141639F\"", + " \"20190903-192808F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1565014636,", - " \"stop\" : 1565014640", + " \"start\" : 1567538926,", + " \"stop\" : 1567538930", " },", " \"type\" : \"incr\"", " },", @@ -6898,27 +6925,27 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 10391,", + " \"delta\" : 10284,", " \"repository\" : {", " \"delta\" : 928,", - " \"size\" : 2530464", + " \"size\" : 2531856", " },", - " \"size\" : 21503078", + " \"size\" : 21625851", " },", - " \"label\" : \"20190805-141639F_20190805-141722I\",", - " \"prior\" : \"20190805-141639F_20190805-141716I\",", + " \"label\" : \"20190903-192808F_20190903-192852I\",", + " \"prior\" : \"20190903-192808F_20190903-192846I\",", " \"reference\" : [", - " \"20190805-141639F\"", + " \"20190903-192808F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1565014642,", - " \"stop\" : 1565014646", + " \"start\" : 1567538932,", + " \"stop\" : 1567538935", " },", " \"type\" : \"incr\"", " },", @@ -6929,27 +6956,27 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 11137,", + " \"delta\" : 11030,", " \"repository\" : {", " \"delta\" : 1136,", - " \"size\" : 2530672", + " \"size\" : 2532064", " },", - " \"size\" : 21503824", + " \"size\" : 21626597", " },", - " \"label\" : \"20190805-141639F_20190805-141734I\",", - " \"prior\" : \"20190805-141639F_20190805-141722I\",", + " \"label\" : \"20190903-192808F_20190903-192903I\",", + " \"prior\" : \"20190903-192808F_20190903-192852I\",", " \"reference\" : [", - " \"20190805-141639F\"", + " \"20190903-192808F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1565014654,", - " \"stop\" : 1565014659", + " \"start\" : 1567538943,", + " \"stop\" : 1567538948", " },", " \"type\" : \"incr\"", " }", @@ -6958,7 +6985,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6721686411974537471,", + " \"system-id\" : 6732528144905826577,", " \"version\" : \"9.5\"", " }", " ],", @@ -7113,7 +7140,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-08-05 14:17:39+00 | 00000002000000000000000A", + " \"demo\" | 2019-09-03 19:29:08+00 | 00000002000000000000000A", "(1 row)" ] } @@ -7160,7 +7187,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190805-141639F|remove archive" + "archive retention on backup 20190903-192808F|remove archive" ] }, "host" : "pg-primary", @@ -7173,8 +7200,8 @@ "output" : [ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190805-141639F, archiveId = 9.5-1, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.17: --log-level-console=detail --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=full", + "P00 DETAIL: archive retention on backup 20190903-192808F, archiveId = 9.5-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.5-1", "P00 INFO: expire command end: completed successfully" ] @@ -7194,7 +7221,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-141746F" + "20190903-192914F" ] } }, @@ -7209,7 +7236,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190805-141639F|archive retention on backup 20190805-141746F|remove archive" + "expire full backup set\\: 20190903-192808F|archive retention on backup 20190903-192914F|remove archive" ] }, "host" : "pg-primary", @@ -7222,10 +7249,10 @@ "output" : [ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190805-141639F, 20190805-141639F_20190805-141653D, 20190805-141639F_20190805-141716I, 20190805-141639F_20190805-141722I, 20190805-141639F_20190805-141734I", - "P00 INFO: remove expired backup 20190805-141639F_20190805-141734I", - "P00 INFO: remove expired backup 20190805-141639F_20190805-141722I", + "P00 INFO: expire command begin 2.17: --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=full", + "P00 INFO: expire full backup set: 20190903-192808F, 20190903-192808F_20190903-192822D, 20190903-192808F_20190903-192846I, 20190903-192808F_20190903-192852I, 20190903-192808F_20190903-192903I", + "P00 INFO: remove expired backup 20190903-192808F_20190903-192903I", + "P00 INFO: remove expired backup 20190903-192808F_20190903-192852I", " [filtered 3 lines of output]" ] } @@ -7289,7 +7316,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-141800F_20190805-141817D" + "20190903-192929F_20190903-192945D" ] } }, @@ -7317,7 +7344,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190805-141800F_20190805-141817D" + "expire diff backup set: 20190903-192929F_20190903-192945D" ] }, "host" : "pg-primary", @@ -7330,10 +7357,10 @@ "output" : [ " [filtered 12 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190805-141800F_20190805-141817D, 20190805-141800F_20190805-141821I", - "P00 INFO: remove expired backup 20190805-141800F_20190805-141821I", - "P00 INFO: remove expired backup 20190805-141800F_20190805-141817D" + "P00 INFO: expire command begin 2.17: --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-diff=1 --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=diff", + "P00 INFO: expire diff backup set: 20190903-192929F_20190903-192945D, 20190903-192929F_20190903-192951I", + "P00 INFO: remove expired backup 20190903-192929F_20190903-192951I", + "P00 INFO: remove expired backup 20190903-192929F_20190903-192945D" ] } }, @@ -7383,7 +7410,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-141800F_20190805-141826D" + "20190903-192929F_20190903-192955D" ] } }, @@ -7426,10 +7453,10 @@ "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 = 000000020000000000000014, lsn = 0/140000F8", - "P00 INFO: new backup label = 20190805-141800F_20190805-141833D", + "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/130000F8", + "P00 INFO: new backup label = 20190903-192929F_20190903-193002D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin" + "P00 INFO: expire command begin 2.17: --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-diff=2 --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=diff" ] } }, @@ -7447,7 +7474,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-141800F_20190805-141833D" + "20190903-192929F_20190903-193002D" ] } }, @@ -7462,7 +7489,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190805-141800F_20190805-141826D|remove archive" + "archive retention on backup 20190903-192929F_20190903-192955D|remove archive" ] }, "host" : "pg-primary", @@ -7473,13 +7500,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.16: --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 20190805-141746F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20190805-141800F, archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: archive retention on backup 20190805-141800F_20190805-141826D, archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000011", - "P00 DETAIL: archive retention on backup 20190805-141800F_20190805-141833D, archiveId = 9.5-1, start = 000000020000000000000014", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000E, stop = 000000020000000000000010", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000012, stop = 000000020000000000000013", + "P00 INFO: expire command begin 2.17: --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 20190903-192914F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190903-192929F, archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", + "P00 DETAIL: archive retention on backup 20190903-192929F_20190903-192955D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", + "P00 DETAIL: archive retention on backup 20190903-192929F_20190903-193002D, archiveId = 9.5-1, start = 000000020000000000000013", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000E, stop = 00000002000000000000000F", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000012", "P00 INFO: expire command end: completed successfully" ] } @@ -7519,7 +7546,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 878 lines of output]", + " [filtered 877 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)", @@ -7902,7 +7929,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-08-05 14:19:22.0495+00" + "2019-09-03 19:30:52.416119+00" ] } }, @@ -7955,7 +7982,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-08-05 14:19:22.0495+00\" \\", + " --type=time \"--target=2019-09-03 19:30:52.416119+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -8000,7 +8027,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-08-05 14:19:22.0495+00'", + "recovery_target_time = '2019-09-03 19:30:52.416119+00'", "recovery_target_action = 'promote'" ] } @@ -8080,19 +8107,19 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-08-05 14:19:15 UTC", - "LOG: starting point-in-time recovery to 2019-08-05 14:19:22.0495+00", + "LOG: database system was interrupted; last known up at 2019-09-03 19:30:44 UTC", + "LOG: starting point-in-time recovery to 2019-09-03 19:30:52.416119+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: redo starts at 0/19000028", - "LOG: consistent recovery state reached at 0/190000F8", - "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-08-05 14:19:22.514378+00", - "LOG: redo done at 0/1A01C358", - "LOG: last completed transaction was at log time 2019-08-05 14:19:21.590632+00", + "LOG: recovery stopping before commit of transaction 630, time 2019-09-03 19:30:52.881298+00", + "LOG: redo done at 0/1901B758", + "LOG: last completed transaction was at log time 2019-09-03 19:30:51.951293+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", - " [filtered 5 lines of output]" + " [filtered 4 lines of output]" ] } }, @@ -8141,7 +8168,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-141800F_20190805-141913D" + "20190903-192929F_20190903-193043D" ] } }, @@ -8176,7 +8203,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-08-05 14:19:22.0495+00\" --target-action=promote restore" + " --type=time \"--target=2019-09-03 19:30:52.416119+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8273,14 +8300,14 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-08-05 14:19:35 UTC", - "LOG: starting point-in-time recovery to 2019-08-05 14:19:22.0495+00", + "LOG: database system was interrupted; last known up at 2019-09-03 19:31:06 UTC", + "LOG: starting point-in-time recovery to 2019-09-03 19:30:52.416119+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"00000005000000000000001B\" from archive", - "LOG: redo starts at 0/1B000028", - "LOG: consistent recovery state reached at 0/1B0000F8", - "LOG: redo done at 0/1B0000F8", - "LOG: restored log file \"00000005000000000000001B\" 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 8 lines of output]" ] } @@ -8295,7 +8322,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190805-141800F_20190805-141913D" + "20190903-192929F_20190903-193043D" ] }, "host" : "pg-primary", @@ -8311,47 +8338,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.5-1): 00000002000000000000000C/00000005000000000000001B", + " wal archive min/max (9.5-1): 00000002000000000000000C/00000005000000000000001A", "", - " full backup: 20190805-141746F", - " timestamp start/stop: 2019-08-05 14:17:46 / 2019-08-05 14:17:59", + " full backup: 20190903-192914F", + " timestamp start/stop: 2019-09-03 19:29:14 / 2019-09-03 19:29:28", " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", - " database size: 20.5MB, backup size: 20.5MB", + " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " full backup: 20190805-141800F", - " timestamp start/stop: 2019-08-05 14:18:00 / 2019-08-05 14:18:15", + " full backup: 20190903-192929F", + " timestamp start/stop: 2019-09-03 19:29:29 / 2019-09-03 19:29:43", " wal start/stop: 00000002000000000000000D / 00000002000000000000000D", - " database size: 20.5MB, backup size: 20.5MB", + " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190805-141800F_20190805-141833D", - " timestamp start/stop: 2019-08-05 14:18:33 / 2019-08-05 14:18:37", - " wal start/stop: 000000020000000000000014 / 000000020000000000000014", - " database size: 20.5MB, backup size: 116.5KB", + " diff backup: 20190903-192929F_20190903-193002D", + " timestamp start/stop: 2019-09-03 19:30:02 / 2019-09-03 19:30:06", + " wal start/stop: 000000020000000000000013 / 000000020000000000000013", + " database size: 20.6MB, backup size: 116.4KB", " repository size: 2.4MB, repository backup size: 12.7KB", - " backup reference list: 20190805-141800F", + " backup reference list: 20190903-192929F", "", - " incr backup: 20190805-141800F_20190805-141848I", - " timestamp start/stop: 2019-08-05 14:18:48 / 2019-08-05 14:18:59", - " wal start/stop: 000000030000000000000016 / 000000030000000000000016", - " database size: 33.9MB, backup size: 13.4MB", + " incr backup: 20190903-192929F_20190903-193018I", + " timestamp start/stop: 2019-09-03 19:30:18 / 2019-09-03 19:30:29", + " wal start/stop: 000000030000000000000015 / 000000030000000000000015", + " database size: 34MB, backup size: 13.5MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20190805-141800F, 20190805-141800F_20190805-141833D", + " backup reference list: 20190903-192929F, 20190903-192929F_20190903-193002D", "", - " diff backup: 20190805-141800F_20190805-141913D", - " timestamp start/stop: 2019-08-05 14:19:13 / 2019-08-05 14:19:20", - " wal start/stop: 000000040000000000000019 / 000000040000000000000019", - " database size: 27.2MB, backup size: 6.8MB", - " repository size: 3.2MB, repository backup size: 831.5KB", - " backup reference list: 20190805-141800F", + " diff backup: 20190903-192929F_20190903-193043D", + " timestamp start/stop: 2019-09-03 19:30:43 / 2019-09-03 19:30:51", + " wal start/stop: 000000040000000000000018 / 000000040000000000000018", + " database size: 27.4MB, backup size: 6.9MB", + " repository size: 3.2MB, repository backup size: 832.0KB", + " backup reference list: 20190903-192929F", "", - " incr backup: 20190805-141800F_20190805-141934I", - " timestamp start/stop: 2019-08-05 14:19:34 / 2019-08-05 14:19:39", - " wal start/stop: 00000005000000000000001B / 00000005000000000000001B", - " database size: 27.2MB, backup size: 2.0MB", - " repository size: 3.2MB, repository backup size: 209.7KB", - " backup reference list: 20190805-141800F, 20190805-141800F_20190805-141913D" + " incr backup: 20190903-192929F_20190903-193104I", + " timestamp start/stop: 2019-09-03 19:31:04 / 2019-09-03 19:31:09", + " wal start/stop: 00000005000000000000001A / 00000005000000000000001A", + " database size: 27.4MB, backup size: 2MB", + " repository size: 3.2MB, repository backup size: 210.2KB", + " backup reference list: 20190903-192929F, 20190903-192929F_20190903-193043D" ] } }, @@ -8373,8 +8400,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-08-05 14:19:22.0495+00\" \\", - " --set=20190805-141800F_20190805-141913D --target-action=promote restore" + " --type=time \"--target=2019-09-03 19:30:52.416119+00\" \\", + " --set=20190903-192929F_20190903-193043D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8471,16 +8498,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-08-05 14:19:15 UTC", - "LOG: starting point-in-time recovery to 2019-08-05 14:19:22.0495+00", + "LOG: database system was interrupted; last known up at 2019-09-03 19:30:44 UTC", + "LOG: starting point-in-time recovery to 2019-09-03 19:30:52.416119+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: redo starts at 0/19000028", - "LOG: consistent recovery state reached at 0/190000F8", - "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-08-05 14:19:22.514378+00", - "LOG: redo done at 0/1A01C358", - "LOG: last completed transaction was at log time 2019-08-05 14:19:21.590632+00", + "LOG: recovery stopping before commit of transaction 630, time 2019-09-03 19:30:52.881298+00", + "LOG: redo done at 0/1901B758", + "LOG: last completed transaction was at log time 2019-09-03 19:30:51.951293+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 6 lines of output]" @@ -8607,8 +8634,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.16: --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=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", - "P00 INFO: http statistics: objects 1, sessions 1, requests 16, retries 0, closes 0", + "P00 INFO: stanza-create command begin 2.17: --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=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: http statistics: objects 2, sessions 2, requests 12, retries 0, closes 0", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -8635,16 +8662,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "P00 INFO: backup command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --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-08-05 14:20:03\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000007000000000000001B, lsn = 0/1B000028", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:31:34\": 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/12211 (0B, 100%)", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12226 (0B, 100%)", - "P00 INFO: full backup size = 27.2MB", + "P04 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 = 27.3MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 00000007000000000000001B, lsn = 0/1B000130", + "P00 INFO: backup stop archive = 00000007000000000000001A, lsn = 0/1A000130", " [filtered 6 lines of output]" ] } @@ -8683,7 +8710,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -8709,8 +8736,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.16: --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=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", - "P00 INFO: http statistics: objects 1, sessions 1, requests 13, retries 0, closes 0", + "P00 INFO: stanza-delete command begin 2.17: --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=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: http statistics: objects 2, sessions 2, requests 15, retries 0, closes 0", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -8772,7 +8799,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.16/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.17/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -9357,18 +9384,18 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.5-1): 000000080000000000000021/000000080000000000000022", + " wal archive min/max (9.5-1): 000000080000000000000020/000000080000000000000021", "", - " full backup: 20190805-142120F", - " timestamp start/stop: 2019-08-05 14:21:20 / 2019-08-05 14:21:37", - " wal start/stop: 000000080000000000000021 / 000000080000000000000021", - " database size: 27.2MB, backup size: 27.2MB", + " full backup: 20190903-193256F", + " timestamp start/stop: 2019-09-03 19:32:56 / 2019-09-03 19:33:12", + " wal start/stop: 000000080000000000000020 / 000000080000000000000020", + " database size: 27.4MB, backup size: 27.4MB", " repository size: 3.2MB, repository backup size: 3.2MB", "", - " full backup: 20190805-142139F", - " timestamp start/stop: 2019-08-05 14:21:39 / 2019-08-05 14:21:48", - " wal start/stop: 000000080000000000000022 / 000000080000000000000022", - " database size: 27.2MB, backup size: 27.2MB", + " full backup: 20190903-193314F", + " timestamp start/stop: 2019-09-03 19:33:14 / 2019-09-03 19:33:23", + " wal start/stop: 000000080000000000000021 / 000000080000000000000021", + " database size: 27.4MB, backup size: 27.4MB", " repository size: 3.2MB, repository backup size: 3.2MB" ] } @@ -9513,7 +9540,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.16/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.17/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -9917,12 +9944,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-08-05 14:21:40 UTC", + "LOG: database system was interrupted; last known up at 2019-09-03 19:33:15 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000022\" from archive", - "LOG: redo starts at 0/22000028", - "LOG: consistent recovery state reached at 0/22000130", + "LOG: restored log file \"000000080000000000000021\" from archive", + "LOG: redo starts at 0/21000028", + "LOG: consistent recovery state reached at 0/21000130", "LOG: database system is ready to accept read only connections" ] } @@ -10002,9 +10029,9 @@ "type" : "exe", "value" : { "output" : [ - " pg_switch_xlog | now ", - "----------------+-------------------------------", - " 0/2301FD90 | 2019-08-05 14:22:32.040158+00", + " pg_switch_xlog | now ", + "----------------+------------------------------", + " 0/2201F1A0 | 2019-09-03 19:34:09.74483+00", "(1 row)" ] } @@ -10033,7 +10060,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-08-05 14:22:37.124113+00", + " Important Data | 2019-09-03 19:34:15.416807+00", "(1 row)" ] } @@ -10059,7 +10086,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.16: --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.17: --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 wal not performed because no primary was found", "P00 INFO: check command end: completed successfully" ] @@ -10297,8 +10324,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000023\" from archive", - "LOG: started streaming WAL from primary at 0/24000000 on timeline 8" + "LOG: restored log file \"000000080000000000000022\" from archive", + "LOG: started streaming WAL from primary at 0/23000000 on timeline 8" ] } }, @@ -10328,9 +10355,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+------------------------------", - " Important Data | 2019-08-05 14:22:55.71943+00", + " message | now ", + "----------------+-------------------------------", + " Important Data | 2019-09-03 19:34:34.733234+00", "(1 row)" ] } @@ -10359,7 +10386,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-08-05 14:22:56.491023+00", + " Important Data | 2019-09-03 19:34:35.209587+00", "(1 row)" ] } @@ -10591,8 +10618,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.16: --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 000000080000000000000029 successfully archived to 'archive/demo/9.5-1/0000000800000000/000000080000000000000029-fa9261a1a7deedb0e601f5aa9aee3be2b3c562af.gz'", + "P00 INFO: check command begin 2.17: --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 000000080000000000000028 successfully archived to 'archive/demo/9.5-1/0000000800000000/000000080000000000000028-b8d86e7ca9cdfee8e06732d60c85f93feea3a52e.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -10619,24 +10646,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.16: [/var/lib/pgsql/9.5/data/pg_xlog] --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: 000000080000000000000024", + "P00 INFO: archive-push-async command begin 2.17: [/var/lib/pgsql/9.5/data/pg_xlog] --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: 000000080000000000000023", + "P01 DETAIL: pushed WAL file '000000080000000000000023' to the archive", + "P00 INFO: archive-push-async command end: completed successfully", + "", + "-------------------PROCESS START-------------------", + "P00 INFO: archive-push-async command begin 2.17: [/var/lib/pgsql/9.5/data/pg_xlog] --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: 000000080000000000000024...000000080000000000000027", "P01 DETAIL: pushed WAL file '000000080000000000000024' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000025' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000026' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000027' to the archive", "P00 INFO: archive-push-async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.16: [/var/lib/pgsql/9.5/data/pg_xlog] --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", - "P01 DETAIL: pushed WAL file '000000080000000000000025' to the archive", - "P02 DETAIL: pushed WAL file '000000080000000000000026' to the archive", - "P01 DETAIL: pushed WAL file '000000080000000000000027' to the archive", - "P02 DETAIL: pushed WAL file '000000080000000000000028' to the archive", - "P00 INFO: archive-push-async command end: completed successfully", - "", - "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.16: [/var/lib/pgsql/9.5/data/pg_xlog] --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: 000000080000000000000029", - "P01 DETAIL: pushed WAL file '000000080000000000000029' to the archive", + "P00 INFO: archive-push-async command begin 2.17: [/var/lib/pgsql/9.5/data/pg_xlog] --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: 000000080000000000000028", + "P01 DETAIL: pushed WAL file '000000080000000000000028' to the archive", "P00 INFO: archive-push-async command end: completed successfully" ] } @@ -10676,29 +10703,29 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.16: [000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029] --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: 000000080000000000000022...000000080000000000000029", - "P01 DETAIL: found 000000080000000000000022 in the archive", - "P02 DETAIL: found 000000080000000000000023 in the archive", - "P01 DETAIL: unable to find 000000080000000000000024 in the archive", - "P02 DETAIL: unable to find 000000080000000000000025 in the archive", + "P00 INFO: archive-get-async command begin 2.17: [000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028] --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: 000000080000000000000021...000000080000000000000028", + "P01 DETAIL: found 000000080000000000000021 in the archive", + "P02 DETAIL: found 000000080000000000000022 in the archive", + "P02 DETAIL: unable to find 000000080000000000000024 in the archive", + "P01 DETAIL: unable to find 000000080000000000000023 in the archive", " [filtered 20 lines of output]", - "P00 INFO: archive-get-async command begin 2.16: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --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", + "P00 INFO: archive-get-async command begin 2.17: [000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A] --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", + "P02 DETAIL: found 000000080000000000000024 in the archive", + "P01 DETAIL: found 000000080000000000000023 in the archive", "P02 DETAIL: found 000000080000000000000025 in the archive", - "P01 DETAIL: found 000000080000000000000024 in the archive", - "P02 DETAIL: found 000000080000000000000026 in the archive", - "P01 DETAIL: found 000000080000000000000027 in the archive", + "P01 DETAIL: found 000000080000000000000026 in the archive", + "P02 DETAIL: unable to find 000000080000000000000028 in the archive", "P02 DETAIL: unable to find 000000080000000000000029 in the archive", "P02 DETAIL: unable to find 00000008000000000000002A in the archive", - "P02 DETAIL: unable to find 00000008000000000000002B in the archive", - "P01 DETAIL: found 000000080000000000000028 in the archive", + "P01 DETAIL: found 000000080000000000000027 in the archive", "P00 INFO: archive-get-async command end: completed successfully", "", " [filtered 8 lines of output]", + "P02 DETAIL: unable to find 00000008000000000000002E in the archive", "P02 DETAIL: unable to find 00000008000000000000002F in the archive", - "P02 DETAIL: unable to find 000000080000000000000030 in the archive", - "P01 DETAIL: found 000000080000000000000029 in the archive", + "P01 DETAIL: found 000000080000000000000028 in the archive", "P00 INFO: archive-get-async command end: completed successfully" ] } @@ -10781,23 +10808,20 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:23:19\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000008000000000000002B, lsn = 0/2B000028", - "P00 INFO: wait for replay on the standby to reach 0/2B000028", - "P00 INFO: replay on the standby reached 0/2B0000D0", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 92ee819b438e2517cb5c3a334e01850510e28e1f", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (7.6KB, 0%) checksum e62db239d109c880b62630e0a597a99533f4310e", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 20%) checksum c3aedd77e3b75d3d6e08d0b57e2833d5c71ac5b6", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 37%) checksum fb5f6c68c53aaacb60668c5b5e6c1f1010c2afa4", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (352KB, 54%) checksum 21e7a7a42b102a58611b29b71dbf06b6507c566d", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 54%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2673 (304KB, 68%) checksum 2c020bc20e46892a32dccf6b68f2bdefc329d751", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2658 (112KB, 73%) checksum 62b594b5ac435cc25118b67b6ffe202643cc847f", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1259 (104KB, 78%) checksum 489b52839e41d10b6b5fa06dd00292311d1a1393", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 78%) checksum 212c6df0075db596e4d28c0ed3343c6fc69a9dc3", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2659 (72KB, 82%) checksum 10f363d03df1929a29247a85547d9525fe60ee14", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1247 (72KB, 85%) checksum c817c4e116f6de188f13674d36b730138acde746", - " [filtered 30 lines of output]" + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:34:58\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000008000000000000002A, lsn = 0/2A000028", + "P00 INFO: wait for replay on the standby to reach 0/2A000028", + "P00 INFO: replay on the standby reached 0/2A0000D0", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 307dcdf82a7ada5d7b27f0cdcc648b957e04c935", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (7.8KB, 0%) checksum 5545d6693cf2596737546500d53157a31182d4cc", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (360KB, 17%) checksum 517c7bcf97862b1b710733f4d341ee343a80dc99", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 33%) checksum a4c320c609803e70bf3559df8f90a659af4acdbe", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 33%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 53%) checksum 7afb6122838290ec8588a410c01780bcb0f6103d", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 53%) checksum bcb18c08cd15e65f4ee339cb5458ae68af9bcffc", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1259 (104KB, 58%) checksum aef960312cc8bd3ee7016b0836697daead9b9482", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2673 (336KB, 73%) checksum 4a93d18e17c9ffabcd15ff5066af47b573d25b27", + " [filtered 33 lines of output]" ] } }, @@ -11060,7 +11084,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.16: --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.17: --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" ] } @@ -11097,7 +11121,7 @@ "type" : "exe", "value" : { "output" : [ - "postgresql-9.6 (pid 4854) is running..." + "postgresql-9.6 (pid 4870) is running..." ] } }, @@ -11324,7 +11348,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.16" + "sudo mkdir -p /build/pgbackrest-release-2.17" ], "host" : "build", "load-env" : true, @@ -11337,7 +11361,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.16" + "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.17" ], "host" : "build", "load-env" : true, @@ -11350,7 +11374,20 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.16" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.17" + ], + "host" : "build", + "load-env" : true, + "output" : false, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo chown -R vagrant /build/pgbackrest-release-2.17" ], "host" : "build", "load-env" : true, @@ -11396,12 +11433,12 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "(cd /root/pgbackrest-release-2.16/src && ./configure)" + "cd /build/pgbackrest-release-2.17/src && ./configure" ], "host" : "build", "load-env" : true, "output" : false, - "run-as-user" : "root" + "run-as-user" : null }, "type" : "exe" }, @@ -11409,7 +11446,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.16/src" + "make -s -C /build/pgbackrest-release-2.17/src" ], "host" : "build", "load-env" : true, @@ -11436,7 +11473,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.16/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.17/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -11578,7 +11615,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.16 - General help", + "pgBackRest 2.17 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -11722,7 +11759,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.16 - 'backup' command - 'log-path' option help", + "pgBackRest 2.17 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -11960,7 +11997,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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" ] } @@ -11986,8 +12023,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/9.6-1/0000000100000000/000000010000000000000001-c19a1d8218c5e157c43d9cbf5c50f8eecd96fd7f.gz'", + "P00 INFO: check command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/9.6-1/0000000100000000/000000010000000000000001-ab889df9fba74c3ca5df05ab74283d3f1cc502c2.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -12014,9 +12051,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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 non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:07:26\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:19:08\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 864 lines of output]", "P01 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12312 (0B, 100%)", @@ -12042,7 +12079,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-140726F" + "20190903-191908F" ] } }, @@ -12070,7 +12107,7 @@ "output" : [ " [filtered 3 lines of output]", "P00 INFO: backup start archive = 000000010000000000000003, lsn = 0/3000028", - "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum 12bb7a7b60f396ea462f396cb4296647e7281ced", + "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum 12fb80d93bc57ee4ade955a1296c45960c07a949", "P00 INFO: diff backup size = 8KB", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", @@ -12106,18 +12143,18 @@ " db (current)", " wal archive min/max (9.6-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20190805-140726F", - " timestamp start/stop: 2019-08-05 14:07:26 / 2019-08-05 14:07:40", + " full backup: 20190903-191908F", + " timestamp start/stop: 2019-09-03 19:19:08 / 2019-09-03 19:19:20", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 21.0MB, backup size: 21.0MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " diff backup: 20190805-140726F_20190805-140741D", - " timestamp start/stop: 2019-08-05 14:07:41 / 2019-08-05 14:07:45", + " diff backup: 20190903-191908F_20190903-191921D", + " timestamp start/stop: 2019-09-03 19:19:21 / 2019-09-03 19:19:25", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", " database size: 21.0MB, backup size: 8.2KB", " repository size: 2.5MB, repository backup size: 421B", - " backup reference list: 20190805-140726F" + " backup reference list: 20190903-191908F" ] } }, @@ -12183,12 +12220,12 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 11 lines of output]", - "Aug 05 14:07:47 pg-primary postmaster[878]: but could not open file \"/var/lib/pgsql/9.6/data/global/pg_control\": No such file or directory", - "Aug 05 14:07:47 pg-primary systemd[1]: postgresql-9.6.service: main process exited, code=exited, status=2/INVALIDARGUMENT", - "Aug 05 14:07:47 pg-primary systemd[1]: Failed to start PostgreSQL 9.6 database server.", - "Aug 05 14:07:47 pg-primary systemd[1]: Unit postgresql-9.6.service entered failed state.", - "Aug 05 14:07:47 pg-primary systemd[1]: postgresql-9.6.service failed." + " [filtered 8 lines of output]", + "Sep 03 19:19:28 pg-primary systemd[1]: Starting PostgreSQL 9.6 database server...", + "Sep 03 19:19:28 pg-primary systemd[1]: postgresql-9.6.service: main process exited, code=exited, status=2/INVALIDARGUMENT", + "Sep 03 19:19:28 pg-primary systemd[1]: Failed to start PostgreSQL 9.6 database server.", + "Sep 03 19:19:28 pg-primary systemd[1]: Unit postgresql-9.6.service entered failed state.", + "Sep 03 19:19:28 pg-primary systemd[1]: postgresql-9.6.service failed." ] } }, @@ -12266,10 +12303,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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 = 20190805-140726F_20190805-140741D, version = 2.16", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:08:01\": backup begins after the next regular checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", + "P00 INFO: backup command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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 = 20190903-191908F_20190903-191921D, version = 2.17", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:19:43\": 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 9 lines of output]" ] @@ -12327,11 +12364,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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 = 20190805-140726F_20190805-140801I, version = 2.16", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:08:06\": 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.6/data/global/pg_control (8KB, 100%) checksum 6b865105367facf3722e5c30eb5d9901be668061", + "P00 INFO: backup command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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 = 20190903-191908F_20190903-191943I, version = 2.17", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:19:49\": 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.6/data/global/pg_control (8KB, 100%) checksum 1b7b7f7fe95cc5c898e3f1b21e546d79ddd90323", " [filtered 7 lines of output]" ] } @@ -12358,7 +12395,7 @@ " \"id\" : 1", " },", " \"id\" : \"9.6-1\",", - " \"max\" : \"000000020000000000000007\",", + " \"max\" : \"000000020000000000000006\",", " \"min\" : \"000000010000000000000002\"", " }", " ],", @@ -12370,7 +12407,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12378,17 +12415,17 @@ " \"info\" : {", " \"delta\" : 21977556,", " \"repository\" : {", - " \"delta\" : 2583189,", - " \"size\" : 2583189", + " \"delta\" : 2581349,", + " \"size\" : 2581349", " },", " \"size\" : 21977556", " },", - " \"label\" : \"20190805-140726F\",", + " \"label\" : \"20190903-191908F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1565014046,", - " \"stop\" : 1565014060", + " \"start\" : 1567538348,", + " \"stop\" : 1567538360", " },", " \"type\" : \"full\"", " },", @@ -12399,7 +12436,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12408,60 +12445,60 @@ " \"delta\" : 8421,", " \"repository\" : {", " \"delta\" : 421,", - " \"size\" : 2583189", + " \"size\" : 2581333", " },", " \"size\" : 21977556", " },", - " \"label\" : \"20190805-140726F_20190805-140741D\",", - " \"prior\" : \"20190805-140726F\",", + " \"label\" : \"20190903-191908F_20190903-191921D\",", + " \"prior\" : \"20190903-191908F\",", " \"reference\" : [", - " \"20190805-140726F\"", + " \"20190903-191908F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1565014061,", - " \"stop\" : 1565014065", + " \"start\" : 1567538361,", + " \"stop\" : 1567538365", " },", " \"type\" : \"diff\"", " },", " {", " \"archive\" : {", + " \"start\" : \"000000020000000000000005\",", + " \"stop\" : \"000000020000000000000005\"", + " },", + " \"backrest\" : {", + " \"format\" : 5,", + " \"version\" : \"2.17\"", + " },", + " \"database\" : {", + " \"id\" : 1", + " },", + " \"info\" : {", + " \"delta\" : 9357,", + " \"repository\" : {", + " \"delta\" : 853,", + " \"size\" : 2581477", + " },", + " \"size\" : 21978124", + " },", + " \"label\" : \"20190903-191908F_20190903-191943I\",", + " \"prior\" : \"20190903-191908F_20190903-191921D\",", + " \"reference\" : [", + " \"20190903-191908F\"", + " ],", + " \"timestamp\" : {", + " \"start\" : 1567538383,", + " \"stop\" : 1567538387", + " },", + " \"type\" : \"incr\"", + " },", + " {", + " \"archive\" : {", " \"start\" : \"000000020000000000000006\",", " \"stop\" : \"000000020000000000000006\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.16\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 9421,", - " \"repository\" : {", - " \"delta\" : 869,", - " \"size\" : 2583349", - " },", - " \"size\" : 21978188", - " },", - " \"label\" : \"20190805-140726F_20190805-140801I\",", - " \"prior\" : \"20190805-140726F_20190805-140741D\",", - " \"reference\" : [", - " \"20190805-140726F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1565014081,", - " \"stop\" : 1565014084", - " },", - " \"type\" : \"incr\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000020000000000000007\",", - " \"stop\" : \"000000020000000000000007\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.16\"", + " \"version\" : \"2.17\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12470,19 +12507,19 @@ " \"delta\" : 8421,", " \"repository\" : {", " \"delta\" : 421,", - " \"size\" : 2583349", + " \"size\" : 2581477", " },", - " \"size\" : 21978188", + " \"size\" : 21978124", " },", - " \"label\" : \"20190805-140726F_20190805-140806I\",", - " \"prior\" : \"20190805-140726F_20190805-140801I\",", + " \"label\" : \"20190903-191908F_20190903-191949I\",", + " \"prior\" : \"20190903-191908F_20190903-191943I\",", " \"reference\" : [", - " \"20190805-140726F\",", - " \"20190805-140726F_20190805-140801I\"", + " \"20190903-191908F\",", + " \"20190903-191908F_20190903-191943I\"", " ],", " \"timestamp\" : {", - " \"start\" : 1565014086,", - " \"stop\" : 1565014090", + " \"start\" : 1567538389,", + " \"stop\" : 1567538392", " },", " \"type\" : \"incr\"", " }", @@ -12491,7 +12528,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6721684048843493692,", + " \"system-id\" : 6732525834969510212,", " \"version\" : \"9.6\"", " }", " ],", @@ -12646,7 +12683,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-08-05 14:08:10+00 | 000000020000000000000007", + " \"demo\" | 2019-09-03 19:19:52+00 | 000000020000000000000006", "(1 row)" ] } @@ -12692,7 +12729,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190805-140726F|remove archive" + "archive retention on backup 20190903-191908F|remove archive" ] }, "host" : "pg-primary", @@ -12705,8 +12742,8 @@ "output" : [ " [filtered 874 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190805-140726F, archiveId = 9.6-1, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.17: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=full", + "P00 DETAIL: archive retention on backup 20190903-191908F, archiveId = 9.6-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.6-1", "P00 INFO: expire command end: completed successfully" ] @@ -12726,7 +12763,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-140815F" + "20190903-191958F" ] } }, @@ -12741,7 +12778,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190805-140726F|archive retention on backup 20190805-140815F|remove archive" + "expire full backup set\\: 20190903-191908F|archive retention on backup 20190903-191958F|remove archive" ] }, "host" : "pg-primary", @@ -12754,10 +12791,10 @@ "output" : [ " [filtered 873 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190805-140726F, 20190805-140726F_20190805-140741D, 20190805-140726F_20190805-140801I, 20190805-140726F_20190805-140806I", - "P00 INFO: remove expired backup 20190805-140726F_20190805-140806I", - "P00 INFO: remove expired backup 20190805-140726F_20190805-140801I", + "P00 INFO: expire command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=full", + "P00 INFO: expire full backup set: 20190903-191908F, 20190903-191908F_20190903-191921D, 20190903-191908F_20190903-191943I, 20190903-191908F_20190903-191949I", + "P00 INFO: remove expired backup 20190903-191908F_20190903-191949I", + "P00 INFO: remove expired backup 20190903-191908F_20190903-191943I", " [filtered 2 lines of output]" ] } @@ -12820,7 +12857,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-140830F_20190805-140844D" + "20190903-192013F_20190903-192030D" ] } }, @@ -12848,7 +12885,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190805-140830F_20190805-140844D" + "expire diff backup set: 20190903-192013F_20190903-192030D" ] }, "host" : "pg-primary", @@ -12861,10 +12898,10 @@ "output" : [ " [filtered 9 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190805-140830F_20190805-140844D, 20190805-140830F_20190805-140849I", - "P00 INFO: remove expired backup 20190805-140830F_20190805-140849I", - "P00 INFO: remove expired backup 20190805-140830F_20190805-140844D" + "P00 INFO: expire command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo --start-fast --type=diff", + "P00 INFO: expire diff backup set: 20190903-192013F_20190903-192030D, 20190903-192013F_20190903-192034I", + "P00 INFO: remove expired backup 20190903-192013F_20190903-192034I", + "P00 INFO: remove expired backup 20190903-192013F_20190903-192030D" ] } }, @@ -12913,7 +12950,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-140830F_20190805-140854D" + "20190903-192013F_20190903-192039D" ] } }, @@ -12956,10 +12993,10 @@ "output" : [ " [filtered 8 lines of output]", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000012, lsn = 0/120000F8", - "P00 INFO: new backup label = 20190805-140830F_20190805-140900D", + "P00 INFO: backup stop archive = 00000002000000000000000F, lsn = 0/F0000F8", + "P00 INFO: new backup label = 20190903-192013F_20190903-192046D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin" + "P00 INFO: expire command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo --start-fast --type=diff" ] } }, @@ -12977,7 +13014,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-140830F_20190805-140900D" + "20190903-192013F_20190903-192046D" ] } }, @@ -12992,7 +13029,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190805-140830F_20190805-140854D|remove archive" + "archive retention on backup 20190903-192013F_20190903-192039D|remove archive" ] }, "host" : "pg-primary", @@ -13003,14 +13040,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.16: --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 20190805-140815F, archiveId = 9.6-1, start = 000000020000000000000009, stop = 000000020000000000000009", - "P00 DETAIL: archive retention on backup 20190805-140830F, archiveId = 9.6-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", - "P00 DETAIL: archive retention on backup 20190805-140830F_20190805-140854D, archiveId = 9.6-1, start = 00000002000000000000000F, stop = 00000002000000000000000F", - "P00 DETAIL: archive retention on backup 20190805-140830F_20190805-140900D, archiveId = 9.6-1, start = 000000020000000000000012", - "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", - "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000C, stop = 00000002000000000000000E", - "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 000000020000000000000010, stop = 000000020000000000000011", + "P00 INFO: expire command begin 2.17: --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 20190903-191958F, archiveId = 9.6-1, start = 000000020000000000000008, stop = 000000020000000000000008", + "P00 DETAIL: archive retention on backup 20190903-192013F, archiveId = 9.6-1, start = 000000020000000000000009, stop = 000000020000000000000009", + "P00 DETAIL: archive retention on backup 20190903-192013F_20190903-192039D, archiveId = 9.6-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190903-192013F_20190903-192046D, archiveId = 9.6-1, start = 00000002000000000000000F", + "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000A, stop = 00000002000000000000000B", + "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000D, stop = 00000002000000000000000E", "P00 INFO: expire command end: completed successfully" ] } @@ -13433,7 +13469,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-08-05 14:09:42.006892+00" + "2019-09-03 19:21:31.567913+00" ] } }, @@ -13486,7 +13522,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-08-05 14:09:42.006892+00\" \\", + " --type=time \"--target=2019-09-03 19:21:31.567913+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -13531,7 +13567,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-08-05 14:09:42.006892+00'", + "recovery_target_time = '2019-09-03 19:21:31.567913+00'", "recovery_target_action = 'promote'" ] } @@ -13611,16 +13647,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-08-05 14:09:34 UTC", - "LOG: starting point-in-time recovery to 2019-08-05 14:09:42.006892+00", + "LOG: database system was interrupted; last known up at 2019-09-03 19:21:23 UTC", + "LOG: starting point-in-time recovery to 2019-09-03 19:21:31.567913+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000017\" from archive", - "LOG: redo starts at 0/17000028", - "LOG: consistent recovery state reached at 0/170000F8", - "LOG: restored log file \"000000040000000000000018\" from archive", - "LOG: recovery stopping before commit of transaction 639, time 2019-08-05 14:09:42.458028+00", - "LOG: redo done at 0/18020D30", - "LOG: last completed transaction was at log time 2019-08-05 14:09:41.53546+00", + "LOG: restored log file \"000000040000000000000014\" from archive", + "LOG: redo starts at 0/14000028", + "LOG: consistent recovery state reached at 0/140000F8", + "LOG: restored log file \"000000040000000000000015\" from archive", + "LOG: recovery stopping before commit of transaction 639, time 2019-09-03 19:21:32.073406+00", + "LOG: redo done at 0/150203E8", + "LOG: last completed transaction was at log time 2019-09-03 19:21:31.072768+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -13672,7 +13708,7 @@ "type" : "exe", "value" : { "output" : [ - "20190805-140830F_20190805-140933D" + "20190903-192013F_20190903-192122D" ] } }, @@ -13707,7 +13743,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-08-05 14:09:42.006892+00\" --target-action=promote restore" + " --type=time \"--target=2019-09-03 19:21:31.567913+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -13804,14 +13840,14 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-08-05 14:09:52 UTC", - "LOG: starting point-in-time recovery to 2019-08-05 14:09:42.006892+00", + "LOG: database system was interrupted; last known up at 2019-09-03 19:21:43 UTC", + "LOG: starting point-in-time recovery to 2019-09-03 19:21:31.567913+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"000000050000000000000019\" from archive", - "LOG: redo starts at 0/19000028", - "LOG: consistent recovery state reached at 0/190000F8", - "LOG: redo done at 0/190000F8", - "LOG: restored log file \"000000050000000000000019\" from archive", + "LOG: restored log file \"000000050000000000000016\" from archive", + "LOG: redo starts at 0/16000028", + "LOG: consistent recovery state reached at 0/160000F8", + "LOG: redo done at 0/160000F8", + "LOG: restored log file \"000000050000000000000016\" from archive", " [filtered 7 lines of output]" ] } @@ -13826,7 +13862,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190805-140830F_20190805-140933D" + "20190903-192013F_20190903-192122D" ] }, "host" : "pg-primary", @@ -13842,47 +13878,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.6-1): 000000020000000000000009/000000050000000000000019", + " wal archive min/max (9.6-1): 000000020000000000000008/000000050000000000000016", "", - " full backup: 20190805-140815F", - " timestamp start/stop: 2019-08-05 14:08:15 / 2019-08-05 14:08:29", + " full backup: 20190903-191958F", + " timestamp start/stop: 2019-09-03 19:19:58 / 2019-09-03 19:20:12", + " wal start/stop: 000000020000000000000008 / 000000020000000000000008", + " database size: 21.0MB, backup size: 21.0MB", + " repository size: 2.5MB, repository backup size: 2.5MB", + "", + " full backup: 20190903-192013F", + " timestamp start/stop: 2019-09-03 19:20:13 / 2019-09-03 19:20:27", " wal start/stop: 000000020000000000000009 / 000000020000000000000009", " database size: 21.0MB, backup size: 21.0MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " full backup: 20190805-140830F", - " timestamp start/stop: 2019-08-05 14:08:30 / 2019-08-05 14:08:42", - " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", - " database size: 21.0MB, backup size: 21.0MB", - " repository size: 2.5MB, repository backup size: 2.5MB", - "", - " diff backup: 20190805-140830F_20190805-140900D", - " timestamp start/stop: 2019-08-05 14:09:00 / 2019-08-05 14:09:04", - " wal start/stop: 000000020000000000000012 / 000000020000000000000012", + " diff backup: 20190903-192013F_20190903-192046D", + " timestamp start/stop: 2019-09-03 19:20:46 / 2019-09-03 19:20:50", + " wal start/stop: 00000002000000000000000F / 00000002000000000000000F", " database size: 21.0MB, backup size: 97.6KB", " repository size: 2.5MB, repository backup size: 11.8KB", - " backup reference list: 20190805-140830F", + " backup reference list: 20190903-192013F", "", - " incr backup: 20190805-140830F_20190805-140913I", - " timestamp start/stop: 2019-08-05 14:09:13 / 2019-08-05 14:09:22", - " wal start/stop: 000000030000000000000014 / 000000030000000000000014", + " incr backup: 20190903-192013F_20190903-192059I", + " timestamp start/stop: 2019-09-03 19:20:59 / 2019-09-03 19:21:10", + " wal start/stop: 000000030000000000000011 / 000000030000000000000011", " database size: 34.6MB, backup size: 13.7MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20190805-140830F, 20190805-140830F_20190805-140900D", + " backup reference list: 20190903-192013F, 20190903-192013F_20190903-192046D", "", - " diff backup: 20190805-140830F_20190805-140933D", - " timestamp start/stop: 2019-08-05 14:09:33 / 2019-08-05 14:09:40", - " wal start/stop: 000000040000000000000017 / 000000040000000000000017", + " diff backup: 20190903-192013F_20190903-192122D", + " timestamp start/stop: 2019-09-03 19:21:22 / 2019-09-03 19:21:30", + " wal start/stop: 000000040000000000000014 / 000000040000000000000014", " database size: 27.8MB, backup size: 7.0MB", - " repository size: 3.3MB, repository backup size: 847.4KB", - " backup reference list: 20190805-140830F", + " repository size: 3.3MB, repository backup size: 846.8KB", + " backup reference list: 20190903-192013F", "", - " incr backup: 20190805-140830F_20190805-140951I", - " timestamp start/stop: 2019-08-05 14:09:51 / 2019-08-05 14:09:56", - " wal start/stop: 000000050000000000000019 / 000000050000000000000019", + " incr backup: 20190903-192013F_20190903-192141I", + " timestamp start/stop: 2019-09-03 19:21:41 / 2019-09-03 19:21:46", + " wal start/stop: 000000050000000000000016 / 000000050000000000000016", " database size: 27.8MB, backup size: 2MB", - " repository size: 3.3MB, repository backup size: 211.5KB", - " backup reference list: 20190805-140830F, 20190805-140830F_20190805-140933D" + " repository size: 3.3MB, repository backup size: 211KB", + " backup reference list: 20190903-192013F, 20190903-192013F_20190903-192122D" ] } }, @@ -13904,8 +13940,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-08-05 14:09:42.006892+00\" \\", - " --set=20190805-140830F_20190805-140933D --target-action=promote restore" + " --type=time \"--target=2019-09-03 19:21:31.567913+00\" \\", + " --set=20190903-192013F_20190903-192122D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -14002,16 +14038,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-08-05 14:09:34 UTC", - "LOG: starting point-in-time recovery to 2019-08-05 14:09:42.006892+00", + "LOG: database system was interrupted; last known up at 2019-09-03 19:21:23 UTC", + "LOG: starting point-in-time recovery to 2019-09-03 19:21:31.567913+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000017\" from archive", - "LOG: redo starts at 0/17000028", - "LOG: consistent recovery state reached at 0/170000F8", - "LOG: restored log file \"000000040000000000000018\" from archive", - "LOG: recovery stopping before commit of transaction 639, time 2019-08-05 14:09:42.458028+00", - "LOG: redo done at 0/18020D30", - "LOG: last completed transaction was at log time 2019-08-05 14:09:41.53546+00", + "LOG: restored log file \"000000040000000000000014\" from archive", + "LOG: redo starts at 0/14000028", + "LOG: consistent recovery state reached at 0/140000F8", + "LOG: restored log file \"000000040000000000000015\" from archive", + "LOG: recovery stopping before commit of transaction 639, time 2019-09-03 19:21:32.073406+00", + "LOG: redo done at 0/150203E8", + "LOG: last completed transaction was at log time 2019-09-03 19:21:31.072768+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -14137,8 +14173,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", - "P00 INFO: http statistics: objects 1, sessions 1, requests 16, retries 0, closes 0", + "P00 INFO: stanza-create command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: http statistics: objects 2, sessions 2, requests 12, retries 0, closes 0", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -14165,16 +14201,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=4 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=4 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo --start-fast", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:10:15\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000070000000000000019, lsn = 0/19000028", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:22:06\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000070000000000000016, lsn = 0/16000028", " [filtered 1136 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12322 (0B, 100%)", - "P02 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12307 (0B, 100%)", + "P02 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12312 (0B, 100%)", + "P03 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12307 (0B, 100%)", "P00 INFO: full backup size = 27.7MB", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000070000000000000019, lsn = 0/19000130", + "P00 INFO: backup stop archive = 000000070000000000000016, lsn = 0/160000F8", " [filtered 6 lines of output]" ] } @@ -14213,7 +14249,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -14239,8 +14275,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.16: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", - "P00 INFO: http statistics: objects 1, sessions 1, requests 13, retries 0, closes 0", + "P00 INFO: stanza-delete command begin 2.17: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.us-east-1.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: http statistics: objects 2, sessions 2, requests 15, retries 0, closes 0", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -14302,7 +14338,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.16/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.17/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -14886,19 +14922,19 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.6-1): 00000008000000000000001F/000000080000000000000020", + " wal archive min/max (9.6-1): 00000008000000000000001D/00000008000000000000001F", "", - " full backup: 20190805-141129F", - " timestamp start/stop: 2019-08-05 14:11:29 / 2019-08-05 14:11:46", + " full backup: 20190903-192324F", + " timestamp start/stop: 2019-09-03 19:23:24 / 2019-09-03 19:23:42", + " wal start/stop: 00000008000000000000001D / 00000008000000000000001D", + " database size: 27.8MB, backup size: 27.8MB", + " repository size: 3.2MB, repository backup size: 3.2MB", + "", + " full backup: 20190903-192344F", + " timestamp start/stop: 2019-09-03 19:23:44 / 2019-09-03 19:23:53", " wal start/stop: 00000008000000000000001F / 00000008000000000000001F", " database size: 27.8MB, backup size: 27.8MB", - " repository size: 3.3MB, repository backup size: 3.3MB", - "", - " full backup: 20190805-141149F", - " timestamp start/stop: 2019-08-05 14:11:49 / 2019-08-05 14:11:57", - " wal start/stop: 000000080000000000000020 / 000000080000000000000020", - " database size: 27.8MB, backup size: 27.8MB", - " repository size: 3.3MB, repository backup size: 3.3MB" + " repository size: 3.2MB, repository backup size: 3.2MB" ] } }, @@ -15042,7 +15078,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.16/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.17/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -15445,12 +15481,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-08-05 14:11:50 UTC", + "LOG: database system was interrupted; last known up at 2019-09-03 19:23:46 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000020\" from archive", - "LOG: redo starts at 0/20000028", - "LOG: consistent recovery state reached at 0/20000130", + "LOG: restored log file \"00000008000000000000001F\" from archive", + "LOG: redo starts at 0/1F000028", + "LOG: consistent recovery state reached at 0/1F0000F8", "LOG: database system is ready to accept read only connections" ] } @@ -15532,7 +15568,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/210222F0 | 2019-08-05 14:12:45.029361+00", + " 0/20021950 | 2019-09-03 19:24:41.886641+00", "(1 row)" ] } @@ -15559,9 +15595,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+------------------------------", - " Important Data | 2019-08-05 14:12:46.49054+00", + " message | now ", + "----------------+-------------------------------", + " Important Data | 2019-09-03 19:24:42.789537+00", "(1 row)" ] } @@ -15587,7 +15623,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.16: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.17: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --stanza=demo", "P00 INFO: switch wal not performed because no primary was found", "P00 INFO: check command end: completed successfully" ] @@ -15825,8 +15861,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000021\" from archive", - "LOG: started streaming WAL from primary at 0/22000000 on timeline 8" + "LOG: restored log file \"000000080000000000000020\" from archive", + "LOG: started streaming WAL from primary at 0/21000000 on timeline 8" ] } }, @@ -15858,7 +15894,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-08-05 14:13:02.899808+00", + " Important Data | 2019-09-03 19:25:00.811866+00", "(1 row)" ] } @@ -15887,7 +15923,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-08-05 14:13:03.690529+00", + " Important Data | 2019-09-03 19:25:02.127427+00", "(1 row)" ] } @@ -16119,8 +16155,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.16: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 000000080000000000000027 successfully archived to 'archive/demo/9.6-1/0000000800000000/000000080000000000000027-c578600c9060850d600c71b06bb20636491fbfcc.gz'", + "P00 INFO: check command begin 2.17: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 000000080000000000000026 successfully archived to 'archive/demo/9.6-1/0000000800000000/000000080000000000000026-e157f7b3a9cdbf92a2707e9cfe75f8c8467225e1.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -16147,24 +16183,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.16: [/var/lib/pgsql/9.6/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000022", + "P00 INFO: archive-push-async command begin 2.17: [/var/lib/pgsql/9.6/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000021", + "P01 DETAIL: pushed WAL file '000000080000000000000021' to the archive", + "P00 INFO: archive-push-async command end: completed successfully", + "", + "-------------------PROCESS START-------------------", + "P00 INFO: archive-push-async command begin 2.17: [/var/lib/pgsql/9.6/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000022...000000080000000000000025", "P01 DETAIL: pushed WAL file '000000080000000000000022' to the archive", - "P00 INFO: archive-push-async command end: completed successfully", - "", - "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.16: [/var/lib/pgsql/9.6/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000023...000000080000000000000026", - "P02 DETAIL: pushed WAL file '000000080000000000000024' to the archive", - "P01 DETAIL: pushed WAL file '000000080000000000000023' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000023' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000024' to the archive", "P02 DETAIL: pushed WAL file '000000080000000000000025' to the archive", - "P01 DETAIL: pushed WAL file '000000080000000000000026' to the archive", "P00 INFO: archive-push-async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.16: [/var/lib/pgsql/9.6/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000027", - "P01 DETAIL: pushed WAL file '000000080000000000000027' to the archive", + "P00 INFO: archive-push-async command begin 2.17: [/var/lib/pgsql/9.6/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000026", + "P01 DETAIL: pushed WAL file '000000080000000000000026' to the archive", "P00 INFO: archive-push-async command end: completed successfully" ] } @@ -16204,24 +16240,26 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.16: [000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000020...000000080000000000000027", - "P01 DETAIL: found 000000080000000000000020 in the archive", - "P02 DETAIL: found 000000080000000000000021 in the archive", - "P01 DETAIL: unable to find 000000080000000000000022 in the archive", - "P02 DETAIL: unable to find 000000080000000000000023 in the archive", - " [filtered 33 lines of output]", - "P00 INFO: archive-get-async command begin 2.16: [000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000022...000000080000000000000029", + "P00 INFO: archive-get-async command begin 2.17: [00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001F...000000080000000000000026", + "P01 DETAIL: found 00000008000000000000001F in the archive", + "P02 DETAIL: found 000000080000000000000020 in the archive", + "P01 DETAIL: unable to find 000000080000000000000021 in the archive", + "P02 DETAIL: unable to find 000000080000000000000022 in the archive", + " [filtered 20 lines of output]", + "P00 INFO: archive-get-async command begin 2.17: [000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000021...000000080000000000000028", + "P02 DETAIL: found 000000080000000000000022 in the archive", + "P01 DETAIL: found 000000080000000000000021 in the archive", "P02 DETAIL: found 000000080000000000000023 in the archive", - "P01 DETAIL: found 000000080000000000000022 in the archive", - "P01 DETAIL: found 000000080000000000000025 in the archive", - "P02 DETAIL: found 000000080000000000000024 in the archive", + "P01 DETAIL: found 000000080000000000000024 in the archive", "P01 DETAIL: found 000000080000000000000026 in the archive", - "P02 DETAIL: found 000000080000000000000027 in the archive", + "P01 DETAIL: unable to find 000000080000000000000027 in the archive", "P01 DETAIL: unable to find 000000080000000000000028 in the archive", - "P02 DETAIL: unable to find 000000080000000000000029 in the archive", - " [filtered 13 lines of output]" + "P02 DETAIL: found 000000080000000000000025 in the archive", + "P00 INFO: archive-get-async command end: completed successfully", + "", + " [filtered 11 lines of output]" ] } }, @@ -16303,15 +16341,15 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-08-05 14:13:25\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000080000000000000029, lsn = 0/29000028", - "P00 INFO: wait for replay on the standby to reach 0/29000028", - "P00 INFO: replay on the standby reached 0/290000D0, checkpoint 0/29000060", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/global/pg_control (8KB, 0%) checksum 3ee45700b5531a67b7dc6c12a57cc4ebc94d5be2", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_log/postgresql.log (5.6KB, 0%) checksum 085fa4c2f71708e4012814c373fd77614b58c760", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-09-03 19:25:24\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000080000000000000028, lsn = 0/28000028", + "P00 INFO: wait for replay on the standby to reach 0/28000028", + "P00 INFO: replay on the standby reached 0/280000D0, checkpoint 0/28000060", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/global/pg_control (8KB, 0%) checksum 3ec62c726140595e78ff16719540f0d4dfe18c5b", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_log/postgresql.log (5.6KB, 0%) checksum 87034478755d9fc52b419cce6a17bb1be992f0f4", "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_hba.conf (4.1KB, 0%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2608 (440KB, 21%) checksum 86006fafd6442c9dbdb4aa3eb13fceb08ea26747", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/1249 (360KB, 37%) checksum d4e1d662fafc3d76047af4c4af55d5ca0a2303c6", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2608 (440KB, 21%) checksum 9bb0325e9f0a4dacebf423dd0a3b95bf0243786f", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/1249 (360KB, 37%) checksum 4acf67d0a906c8d35b897af15e8100bce239fa43", " [filtered 38 lines of output]" ] } @@ -16575,7 +16613,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.16: --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/10/data --pg2-path=/var/lib/pgsql/10/data --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.17: --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/10/data --pg2-path=/var/lib/pgsql/10/data --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -16609,20 +16647,20 @@ "output" : [ "● postgresql-10.service - PostgreSQL 10 database server", " Loaded: loaded (/usr/lib/systemd/system/postgresql-10.service; disabled; vendor preset: disabled)", - " Active: active (running) since Mon 2019-08-05 14:13:46 UTC; 475ms ago", + " Active: active (running) since Tue 2019-09-03 19:25:45 UTC; 541ms ago", " Docs: https://www.postgresql.org/docs/10/static/", - " Process: 3961 ExecStartPre=/usr/pgsql-10/bin/postgresql-10-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", - " Main PID: 3966 (postmaster)", - " CGroup: /docker/b5e36150644171a56bf49ea64c1a200dd4fd60bdf713d737daa004709d2438a5/system.slice/postgresql-10.service", - " ├─3966 /usr/pgsql-10/bin/postmaster -D /var/lib/pgsql/10/data/", - " ├─3967 postgres: logger process ", - " ├─3969 postgres: checkpointer process ", - " ├─3970 postgres: writer process ", - " ├─3971 postgres: wal writer process ", - " ├─3972 postgres: autovacuum launcher process ", - " ├─3973 postgres: archiver process ", - " ├─3974 postgres: stats collector process ", - " └─3975 postgres: bgworker: logical replication launcher " + " Process: 3957 ExecStartPre=/usr/pgsql-10/bin/postgresql-10-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", + " Main PID: 3962 (postmaster)", + " CGroup: /docker/40ff0c985086a83f5bf272e3bba115c0d7c3b8e96ff8e9415c9114040ba6b8f4/system.slice/postgresql-10.service", + " ├─3962 /usr/pgsql-10/bin/postmaster -D /var/lib/pgsql/10/data/", + " ├─3963 postgres: logger process ", + " ├─3965 postgres: checkpointer process ", + " ├─3966 postgres: writer process ", + " ├─3967 postgres: wal writer process ", + " ├─3968 postgres: autovacuum launcher process ", + " ├─3969 postgres: archiver process ", + " ├─3970 postgres: stats collector process ", + " └─3971 postgres: bgworker: logical replication launcher " ] } }, diff --git a/doc/resource/git-history.cache b/doc/resource/git-history.cache index cbf3a7b35..565d6d559 100644 --- a/doc/resource/git-history.cache +++ b/doc/resource/git-history.cache @@ -1,4 +1,314 @@ [ + { + "commit": "0b5720c642c040e16373f72a9058df094d05ca10", + "date": "2019-09-03 14:34:49 -0400", + "subject": "Fix yum.p.o package being installed when custom package specified.", + "body": "The {[os-type-is-centos]} expression was missing parens which meant \"and\" expressions built on it would always evaluate true if the os-type was centos6." + }, + { + "commit": "7d8068f27b6b695f9616fd985517692236dda47d", + "date": "2019-09-03 12:30:45 -0400", + "subject": "Don't decode manifest data when it is generated on a remote.", + "body": "Decoding a manifest from the JSON provided by C to the hash required by Perl is an expensive process. If manifest() was called on a remote it was being decoded into a hash and then immediately re-encoded into JSON for transmission over the protocol layer.\n\nInstead, provide a function for the remote to get the raw JSON which can be transmitted as is and decoded in the calling process instead.\n\nThis makes remote manifest calls as fast as they were before 2.16, but local calls must still pay the decoding penalty and are therefore slower. This will continue to be true until the Perl storage interface is retired at the end of the C migration.\n\nNote that for reasonable numbers of tables there is no detectable difference. The case in question involved 250K tables with a 10 minute decode time (which was being doubled) on a fast workstation." + }, + { + "commit": "1e55b876206c73d0ce32424814d100ef82d8da05", + "date": "2019-09-03 07:49:04 -0400", + "subject": "Add more commonly-used buffer constants." + }, + { + "commit": "7ade3fc1c31f09425547d1869e82863582b1b137", + "date": "2019-09-02 21:09:43 -0400", + "subject": "Move constants from the infoManifest module to the infoBackup module.", + "body": "These constants should be kept separate because the implementation of any info file might change in the future and only the interface should be expected to remain consistent.\n\nIn any case, infoBackup requires Variant constants while infoManifest uses String constants so they are not shareable. Modern compilers should combine the underlying const char * constants." + }, + { + "commit": "3a28b68b8bde996252ad8941107744c74a062453", + "date": "2019-09-02 19:06:12 -0400", + "subject": "Disable S3 and encryption on u18 integration tests for mock/all/1.", + "body": "This test is commonly used for sanity checking but the combination of S3 and encryption makes it hard to use and encourages temporary changes to make it usable.\n\nAcknowledge this and disable S3 and encryption for this test and move them to mock/all/2." + }, + { + "commit": "05abab5e72e2e4d5d394b79533621dcf06d1f324", + "date": "2019-08-30 14:36:02 -0400", + "subject": "Add OBJECT_DEFINE_MOVE() macro.", + "body": "The object *Move() functions are very repetitive so replace them with a macro that works similarly to OBJECT_DEFINE_FREE()." + }, + { + "commit": "d1675b7e914a3e25a3d6cff2c73f36f69ec9f729", + "date": "2019-08-28 10:46:54 -0400", + "subject": "Add ioReadLineParam() to allow return on eof.", + "body": "ioReadLine() errors on eof because it has previously been used only for protocol reads.\n\nReturning on eof is handy for reading lines from files where eof is not considered an error." + }, + { + "commit": "a605117a2329965d65f985b4b8e991a5267416c2", + "date": "2019-08-28 10:36:21 -0400", + "subject": "Add required header.", + "body": "Apparently this header is already included everywhere convert.h is included." + }, + { + "commit": "8074ca6a2613f6b9310654b5e0f5c468ae7821e8", + "date": "2019-08-26 12:30:22 -0400", + "subject": "Fix typos in variable names." + }, + { + "commit": "4a88791a0af78ba6f5496ec4e4351e9726662546", + "date": "2019-08-26 12:29:43 -0400", + "subject": "Fix typos in the release notes." + }, + { + "commit": "545ccfa8786b631476c232a1d78791687e638432", + "date": "2019-08-26 12:26:00 -0400", + "subject": "Fix typos in the documentation." + }, + { + "commit": "08bac74d38b126515e2620cdf129cd4cbd53f6e8", + "date": "2019-08-26 12:20:51 -0400", + "subject": "Fix typo in stack trace message." + }, + { + "commit": "c2771e5469ecd94899243e86668a4bcc0d2c65f5", + "date": "2019-08-26 12:05:36 -0400", + "subject": "Fix comment typos.", + "body": "This includes some variable names in tests which don't seem important enough for their own commits." + }, + { + "commit": "22aa532be1be83c5b1df8db5fa85047e1255a789", + "date": "2019-08-26 11:37:21 -0400", + "subject": "Add storage tests for files beginning with dots.", + "body": "Prevent a regression of the issue fixed in f88012ce by adding some tests." + }, + { + "commit": "8c9df8c290f760b6a1f8a6a0acb6b4d9b8fa4056", + "date": "2019-08-26 11:35:35 -0400", + "subject": "Fix typo in httpClientReponseHeader() function name." + }, + { + "commit": "d1cc22f886a865d5b7e0c3e699e4fbe89c11aade", + "date": "2019-08-26 11:25:14 -0400", + "subject": "Fix typo in CFGDEFDATA_OPTION_OPTIONAL_COMMAND_OVERRIDE macro name." + }, + { + "commit": "01c2669b9764491ec3ca96ffd0de6676bef9e5dc", + "date": "2019-08-23 07:47:54 -0400", + "subject": "Fix exclusions for special files.", + "body": "Prior to 2.16 the Perl manifest code would skip any file that began with a dot. This was not intentional but it allowed PostgreSQL socket files to be located in the data directory. The new C code in 2.16 did not have this unintentional exclusion so socket files in the data directory caused errors.\n\nWorse, the file type error was being thrown before the exclusion check so there was really no way around the issue except to move the socket files out of the data directory.\n\nSpecial file types (e.g. socket, pipe) will now be automatically skipped and a warning logged to notify the user of the exclusion. The warning can be suppressed with an explicit --exclude." + }, + { + "commit": "2862f480cd1712ee9c188c28d79f2f9ed1bb9c6b", + "date": "2019-08-23 07:24:25 -0400", + "subject": "Add special file type to storageInfo().", + "body": "There's not much we can do with special files, but higher level logic can at least exclude them gracefully rather than throwing a hard error." + }, + { + "commit": "04e4fde5733bbe885ef94098f0114a3a160a88e5", + "date": "2019-08-22 10:28:08 -0400", + "subject": "Remove unneeded strFree() in storagePosixInfoListEntry().", + "body": "This strFree() was the primary culprit in the performance issue fixed in 9eaeb33c.\n\nSince the parent mem context is now freed regularly, this strFree() performs better, but still adds time so removing it seems best." + }, + { + "commit": "f88012cef3acc29fb5311c73ea1a84c1409d88ee", + "date": "2019-08-22 10:18:34 -0400", + "subject": "Fix regexp to ignore ./.. directories in the Posix driver.", + "body": "In versions <= 2.15 the old regexp caused any file or directory beginning with . to be ignored during a backup. This has caused behavioral differences in 2.16 because the new C code correctly excludes ./.. directories.\n\nThis Perl code is only used for testing now, but it should still match the output of the C functions." + }, + { + "commit": "c002a2ce2fb7a1bc4bbeaa5dee2f3e7d719ccc24", + "date": "2019-08-21 19:45:48 -0400", + "subject": "Move info file checksum to the end of the file.", + "body": "Putting the checksum at the beginning of the file made it impossible to stream the file out when saving. The entire file had to be held in memory while it was checksummed so the checksum could be written at the beginning.\n\nInstead place the checksum at the end. This does not break the existing Perl or C code since the read is not order dependent.\n\nThere are no plans to improve the Perl code to take advantage of this change, but it will make the C implementation more efficient." + }, + { + "commit": "c733319063bbc9d67ba99b96c178f1d9f863b8fe", + "date": "2019-08-21 16:26:28 -0400", + "subject": "The stanza-create/update/delete commands are implemented entirely in C." + }, + { + "commit": "53f27da3a6d770608de6aa6059c40526b83b31dd", + "date": "2019-08-21 15:41:52 -0400", + "subject": "Add checkDbConfig() to compare pgBackRest/PostgreSQL configs.", + "body": "Checking the PostgreSQL-reported path and version against the pgBackRest configuration helps ensure that pgBackRest is operating against the correct cluster.\n\nIn Perl this functionality was in the Db object, but check seems like a better place for it in C." + }, + { + "commit": "8b93fdf3493d96fcbbc127604b502d246928ec8e", + "date": "2019-08-21 15:26:52 -0400", + "subject": "Add storagePg*() variants to get storage for a specified host id.", + "body": "Previously the host id to use was pulled from the host-id option or defaulted to 1.\n\nThe stanza, check, and backup commands will all need the ability to address a specified pg host, so add functions to make that possible." + }, + { + "commit": "fa640f22add9af88c2ddd584812d8fde93c8f8c5", + "date": "2019-08-21 15:12:00 -0400", + "subject": "Allow Info* objects to be created from scratch in C.", + "body": "Previously, info files (e.g. archive.info, backup.info) were created in Perl and only loaded in C.\n\nThe upcoming stanza commands in C need to create these files so refactor the Info* objects to allow new, empty objects to be created. Also, add functions needed to initialize each Info* object to a valid state." + }, + { + "commit": "aa6f7eb862f71bf0b8f64d3c5e3d67903b048214", + "date": "2019-08-21 14:14:30 -0400", + "subject": "Fix comment indents." + }, + { + "commit": "71d96531f8b581d460ff24a229b676607fc8992b", + "date": "2019-08-21 12:10:09 -0400", + "subject": "Fix comment typo." + }, + { + "commit": "c4533765fb5cd4b72f9fcb27f53db2a30165b9b2", + "date": "2019-08-21 11:59:51 -0400", + "subject": "Add Db object getters missed in e4901d50.", + "body": "dbOpen() loaded the version and data directory but there was no way to get the data externally." + }, + { + "commit": "27e823581201374df831abc4cf299ce4da29b910", + "date": "2019-08-21 11:41:36 -0400", + "subject": "Add repoIsLocalVerify() to verify repository locality.", + "body": "Some commands can only be run on a host where the repository is local. This function centralizes the check and error." + }, + { + "commit": "6a09d9294d0ef13158fbc96c9d38a28ac7a6f150", + "date": "2019-08-21 11:29:30 -0400", + "subject": "Require storage when calling pgControlFromFile().", + "body": "Previously storageLocal() was being used internally but loading pg_control from remote storage is often required.\n\nAlso, storagePg() is more appropriate than storageLocal() for all current usage." + }, + { + "commit": "286a106ae4932ae8213d62528de934afa99c246e", + "date": "2019-08-20 09:46:29 -0400", + "subject": "Build pgBackRest as an unprivileged user.", + "body": "pgBackRest was being built by root in the documentation which is definitely not best practice.\n\nInstead build as the unprivileged default container user. Sudo privileges are still required to install." + }, + { + "commit": "6b5366a663f8c408e56bb2f8e5b27821898a91cc", + "date": "2019-08-19 21:57:14 -0400", + "subject": "Remove Perl info command invocation missed in 205525b6." + }, + { + "commit": "f6aef6e466ccba368fb53cc00450b501f35782fc", + "date": "2019-08-19 21:45:54 -0400", + "subject": "Properly reset conflicting pg-* options for the remote protocol.", + "body": "The pg1-socket-path and pg1-port options were not being reset when options from a higher index were being pushed down for processing by a remote. Since remotes only talk to one cluster they always use the options in index 1. This requires moving options from the original index to 1 before starting the remote. All options already set on index 1 must be removed if they are not being overwritten." + }, + { + "commit": "9eaeb33c882b79a1cade3ce65b5d1b51b6978b05", + "date": "2019-08-19 21:36:01 -0400", + "subject": "Improve slow manifest build for very large quantities of tables/segments.", + "body": "storagePosixInfoList() processed each directory in a single memory context. If the directory contained hundreds of thousands of files processing became very slow due to the number of allocations.\n\nInstead, reset the memory context every thousand files to minimize the number of allocations active at once, improving both speed and memory consumption." + }, + { + "commit": "d411321d28d2c94f3376b82984981624fe30e287", + "date": "2019-08-19 21:16:10 -0400", + "subject": "Add reset to temp memory contexts to save memory and processing time.", + "body": "Processing large datasets in a memory context can lead to high memory usage and long allocation times. Add a new MEM_CONTEXT_TEMP_RESET_BEGIN() macro that allows temp allocations to be automatically freed after N iterations." + }, + { + "commit": "7d97d49f41e961dcaa0d54b56538d3c5a0b8f6ce", + "date": "2019-08-18 20:46:34 -0400", + "subject": "Add MostCommonValue object.", + "body": "Calculate the most common value in a list of variants. If there is a tie then the first value passed to mcvUpdate() wins.\n\nmcvResult() can be called multiple times because it does not end processing, but there is a cost to calculating the result each time\nsince it is not stored." + }, + { + "commit": "8aa1e552b00cb3a9cf5665812e6de782f0805675", + "date": "2019-08-18 20:09:44 -0400", + "subject": "Add backup type conversion functions.", + "body": "Convert back and forth between the string and enum representations of backup types." + }, + { + "commit": "3df075bf4022e84f0238591b18bc5e866d6a2aa8", + "date": "2019-08-18 15:29:18 -0400", + "subject": "Fix test writing \"null\" into manifest files.", + "body": "\"null\" is not allowed in the manifest format (null values should be missing instead) but Perl was treating the invalid values written by this test as if they were missing.\n\nUpdate the test code to remove the values rather than setting them to \"null\"." + }, + { + "commit": "8edc57b5819a41d43524452de378ec409d05f4d9", + "date": "2019-08-18 15:19:10 -0400", + "subject": "Remove RHEL package patch merged to upstream." + }, + { + "commit": "0da3352d59c3d985d6fad7b08d28446900932857", + "date": "2019-08-17 17:52:00 -0400", + "subject": "Add cvtZToMode() replacement missed in 969e5817." + }, + { + "commit": "d0dee2e26027f866c282050457d61d6907f3263f", + "date": "2019-08-17 17:47:13 -0400", + "subject": "Add bool rendering to jsonFromVar()." + }, + { + "commit": "8fc1d3883b2d96d4f518ff2bfa810b082cc48b38", + "date": "2019-08-17 17:43:56 -0400", + "subject": "Fix expire not immediately writing into separate file after backup.", + "body": "Logging stayed in the backup log until the Perl code started. Fix this so it logs to the correct file and will still work after the Perl code is removed." + }, + { + "commit": "41b6795a374391d66dcfb2df0521f1d7acf84b3e", + "date": "2019-08-17 14:15:37 -0400", + "subject": "Create log directories/files with 0750/0640 mode.", + "body": "The log directories/files were being created with a mix of modes depending on whether they were created in C or Perl. In particular, the C code was creating log files with the execute bit set for the user and group which was just odd.\n\nStandardize on 750/640 for both code paths." + }, + { + "commit": "bc5385142c75f5fa390531a8ff1bd660dd1380ef", + "date": "2019-08-09 15:18:42 -0400", + "subject": "Change comment for searchability." + }, + { + "commit": "382ed9282504b2adced37275937d2414632bb968", + "date": "2019-08-09 15:17:18 -0400", + "subject": "The start/stop commands are implemented entirely in C.", + "body": "The Perl versions remain because they are still being used by the Perl stanza commands. Once the stanza commands are migrated they can be removed." + }, + { + "commit": "fe196cb0dffacb5d2d1488e3b592cc8ba3f39a5e", + "date": "2019-08-09 14:52:26 -0400", + "subject": "Update RHEL patch for upstream changes.", + "body": "This isn't correct, but we can't test anything else if the package doesn't build." + }, + { + "commit": "0e7134d114af1767addce36a3857ea3fd38abc5f", + "date": "2019-08-08 18:50:54 -0400", + "subject": "Constify some globals." + }, + { + "commit": "e9517dcec05c75a03fa73029250de4f5b21fdfd3", + "date": "2019-08-08 18:47:02 -0400", + "subject": "Add hash constants for zero-length data.", + "body": "No need to calculate a hash when the data length is known to be zero. Use one of these constants instead." + }, + { + "commit": "56c24b7669f1e636a8221106547469065eb7d161", + "date": "2019-08-08 16:20:51 -0400", + "subject": "Fix typo in parameter logging." + }, + { + "commit": "1076b142e38a4960af1157bd117fa2aacee7d8e6", + "date": "2019-08-08 16:15:42 -0400", + "subject": "Remove Debian package patch merged to upstream." + }, + { + "commit": "969e5817c5d29890cbe12fa95422cd8703abf8d9", + "date": "2019-08-08 11:59:39 -0400", + "subject": "Add cvtZToMode().", + "body": "The companion function to cvtModeToZ()." + }, + { + "commit": "1f93e147fa8563028db8b58621db4a1a12387c87", + "date": "2019-08-08 11:41:49 -0400", + "subject": "Add kvGetDefault() to KeyValue object.", + "body": "Return the default only if the key is not found, not when the value is NULL." + }, + { + "commit": "289b47902ba1f49a1baea9fdce53eec52d5358bb", + "date": "2019-08-08 10:50:25 -0400", + "subject": "Allow NULLs in strEq().", + "body": "Bring this function more in line with the way varEq() works. NULL == NULL but NULL != NOT NULL." + }, + { + "commit": "feec674b6ff88bdfa62b20dd706d724c79ca1bcd", + "date": "2019-08-08 06:48:25 -0400", + "subject": "Add constant for lock file extension." + }, + { + "commit": "efc62c90573bd7a0595d81bcf8a261f732fa1fa9", + "date": "2019-08-05 12:32:06 -0400", + "subject": "Begin v2.17 development." + }, { "commit": "9e730c1bd61b00fa506ea443cdd6161e88ed31ae", "date": "2019-08-05 12:03:04 -0400", diff --git a/doc/xml/auto/metric-coverage-report.auto.xml b/doc/xml/auto/metric-coverage-report.auto.xml index 5a58c41ee..b991b45c1 100644 --- a/doc/xml/auto/metric-coverage-report.auto.xml +++ b/doc/xml/auto/metric-coverage-report.auto.xml @@ -28,23 +28,23 @@ command/backup - 9/9 (100.0%) - 108/108 (100.0%) - 259/259 (100.0%) + 11/11 (100.0%) + 114/114 (100.0%) + 289/289 (100.0%) command/check - 1/1 (100.0%) - 4/4 (100.0%) - 20/20 (100.0%) + 2/2 (100.0%) + 8/8 (100.0%) + 34/34 (100.0%) command/control - 2/2 (100.0%) - 8/8 (100.0%) - 17/17 (100.0%) + 4/4 (100.0%) + 34/34 (100.0%) + 63/63 (100.0%) @@ -89,6 +89,13 @@ 80/80 (100.0%) + + command/stanza + 8/8 (100.0%) + 114/114 (100.0%) + 175/175 (100.0%) + + command/storage 2/2 (100.0%) @@ -99,8 +106,8 @@ common 129/129 (100.0%) - 444/444 (100.0%) - 1375/1375 (100.0%) + 442/442 (100.0%) + 1367/1367 (100.0%) @@ -126,23 +133,23 @@ common/io - 44/44 (100.0%) - 106/106 (100.0%) - 485/485 (100.0%) + 45/45 (100.0%) + 108/108 (100.0%) + 492/492 (100.0%) common/io/filter 41/41 (100.0%) - 88/88 (100.0%) - 419/419 (100.0%) + 86/86 (100.0%) + 411/411 (100.0%) common/io/http 36/36 (100.0%) - 162/162 (100.0%) - 463/463 (100.0%) + 158/158 (100.0%) + 447/447 (100.0%) @@ -154,30 +161,30 @@ common/type - 228/228 (100.0%) - 516/516 (100.0%) - 2730/2730 (100.0%) + 234/234 (100.0%) + 532/532 (100.0%) + 2770/2770 (100.0%) config 98/98 (100.0%) 538/538 (100.0%) - 1384/1384 (100.0%) + 1386/1386 (100.0%) db - 15/15 (100.0%) - 48/48 (100.0%) - 214/214 (100.0%) + 17/17 (100.0%) + 46/46 (100.0%) + 218/218 (100.0%) info - 34/34 (100.0%) - 98/98 (100.0%) - 496/496 (100.0%) + 47/47 (100.0%) + 118/118 (100.0%) + 640/640 (100.0%) @@ -190,22 +197,22 @@ postgres 26/26 (100.0%) - 110/110 (100.0%) - 343/343 (100.0%) + 108/108 (100.0%) + 337/337 (100.0%) protocol - 60/60 (100.0%) - 164/164 (100.0%) - 738/738 (100.0%) + 61/61 (100.0%) + 158/158 (100.0%) + 714/714 (100.0%) storage - 63/63 (100.0%) - 162/162 (100.0%) - 715/715 (100.0%) + 65/65 (100.0%) + 164/164 (100.0%) + 713/713 (100.0%) @@ -233,12 +240,12 @@ storage/s3 28/28 (100.0%) 120/120 (100.0%) - 595/595 (100.0%) + 593/593 (100.0%) TOTAL - 994/994 (100.0%) - 3857/3858 (99.97%) - 13820/13820 (100.0%) + 1032/1032 (100.0%) + 4029/4030 (99.98%) + 14216/14216 (100.0%) \ No newline at end of file diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 9e930d738..e2997c63a 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -12,7 +12,7 @@ - + @@ -20,7 +20,7 @@ -

Fix slow manifest build for very large quantities of tables/segments.

+

Improve slow manifest build for very large quantities of tables/segments.

diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index dde6d6ed5..4f41eeca7 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.17dev'; +use constant PROJECT_VERSION => '2.17'; push @EXPORT, qw(PROJECT_VERSION); # Repository Format Number diff --git a/src/configure b/src/configure index bafca2066..b56da698d 100755 --- a/src/configure +++ b/src/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for pgBackRest 2.17dev. +# Generated by GNU Autoconf 2.69 for pgBackRest 2.17. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='pgBackRest' PACKAGE_TARNAME='pgbackrest' -PACKAGE_VERSION='2.17dev' -PACKAGE_STRING='pgBackRest 2.17dev' +PACKAGE_VERSION='2.17' +PACKAGE_STRING='pgBackRest 2.17' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1199,7 +1199,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pgBackRest 2.17dev to adapt to many kinds of systems. +\`configure' configures pgBackRest 2.17 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1261,7 +1261,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pgBackRest 2.17dev:";; + short | recursive ) echo "Configuration of pgBackRest 2.17:";; esac cat <<\_ACEOF @@ -1348,7 +1348,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pgBackRest configure 2.17dev +pgBackRest configure 2.17 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1449,7 +1449,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pgBackRest $as_me 2.17dev, which was +It was created by pgBackRest $as_me 2.17, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3619,7 +3619,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pgBackRest $as_me 2.17dev, which was +This file was extended by pgBackRest $as_me 2.17, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3681,7 +3681,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pgBackRest config.status 2.17dev +pgBackRest config.status 2.17 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/src/configure.ac b/src/configure.ac index 91a8c4b7c..6a2fbe4ba 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -1,6 +1,6 @@ # Initialize configuration AC_PREREQ([2.69]) -AC_INIT([pgBackRest], [2.17dev]) +AC_INIT([pgBackRest], [2.17]) AC_CONFIG_SRCDIR([version.h]) # Check compiler diff --git a/src/perl/embed.auto.c b/src/perl/embed.auto.c index 31ac4f865..a1fd1cfc8 100644 --- a/src/perl/embed.auto.c +++ b/src/perl/embed.auto.c @@ -14929,7 +14929,7 @@ static const EmbeddedModule embeddedModule[] = "\n" "push @EXPORT, qw(projectBin projectBinSet);\n" "\n\n\n\n\n\n" - "use constant PROJECT_VERSION => '2.17dev';\n" + "use constant PROJECT_VERSION => '2.17';\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 7361948b9..036ed7c5d 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.17dev" +#define PROJECT_VERSION "2.17" #endif diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index faef12101..3ce9fc32a 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -339,10 +339,6 @@ lib/pgBackRest/RestoreFile.pm: class: core type: perl -lib/pgBackRest/Stanza.pm: - class: core - type: perl - lib/pgBackRest/Storage/Base.pm: class: core type: perl @@ -559,6 +555,14 @@ src/command/check/check.h: class: core type: c/h +src/command/check/common.c: + class: core + type: c + +src/command/check/common.h: + class: core + type: c/h + src/command/command.c: class: core type: c @@ -575,6 +579,22 @@ src/command/control/common.h: class: core type: c/h +src/command/control/start.c: + class: core + type: c + +src/command/control/start.h: + class: core + type: c/h + +src/command/control/stop.c: + class: core + type: c + +src/command/control/stop.h: + class: core + type: c/h + src/command/expire/expire.c: class: core type: c @@ -631,6 +651,38 @@ src/command/restore/protocol.h: class: core type: c/h +src/command/stanza/common.c: + class: core + type: c + +src/command/stanza/common.h: + class: core + type: c/h + +src/command/stanza/create.c: + class: core + type: c + +src/command/stanza/create.h: + class: core + type: c/h + +src/command/stanza/delete.c: + class: core + type: c + +src/command/stanza/delete.h: + class: core + type: c/h + +src/command/stanza/upgrade.c: + class: core + type: c + +src/command/stanza/upgrade.h: + class: core + type: c/h + src/command/storage/list.c: class: core type: c @@ -1019,6 +1071,14 @@ src/common/type/list.h: class: core type: c/h +src/common/type/mcv.c: + class: core + type: c + +src/common/type/mcv.h: + class: core + type: c/h + src/common/type/string.c: class: core type: c @@ -1191,10 +1251,6 @@ src/info/infoBackup.h: class: core type: c/h -src/info/infoManifest.c: - class: core - type: c - src/info/infoManifest.h: class: core type: c/h @@ -1727,10 +1783,6 @@ test/lib/pgBackRestTest/Module/Real/RealAllTest.pm: class: test/module type: perl -test/lib/pgBackRestTest/Module/Stanza/StanzaAllPerlTest.pm: - class: test/module - type: perl - test/lib/pgBackRestTest/Module/Storage/StorageHelperPerlTest.pm: class: test/module type: perl @@ -1851,6 +1903,10 @@ test/src/module/command/restoreTest.c: class: test/module type: c +test/src/module/command/stanzaTest.c: + class: test/module + type: c + test/src/module/command/storageTest.c: class: test/module type: c @@ -1963,6 +2019,10 @@ test/src/module/common/typeListTest.c: class: test/module type: c +test/src/module/common/typeMcvTest.c: + class: test/module + type: c + test/src/module/common/typeStringTest.c: class: test/module type: c diff --git a/test/lib/pgBackRestTest/Common/CodeCountTest.pm b/test/lib/pgBackRestTest/Common/CodeCountTest.pm index 4819e3cb1..d2ea57b3c 100644 --- a/test/lib/pgBackRestTest/Common/CodeCountTest.pm +++ b/test/lib/pgBackRestTest/Common/CodeCountTest.pm @@ -43,6 +43,8 @@ sub codeCountScan # Only exclude these directories/files entirely next if ($strFile =~ '^\.' || + $strFile =~ '\.DS_Store$' || + $strFile =~ '\.gitignore$' || $strFile =~ '\.md$' || $strFile =~ '\.log$' || $strFile eq 'LICENSE' || @@ -55,6 +57,7 @@ sub codeCountScan $strFile =~ '^doc/site/' || $strFile eq 'libc/typemap' || $strFile eq 'test/Vagrantfile' || + $strFile =~ '^test/\.vagrant/' || $strFile =~ '^test/certificate/' || $strFile =~ '^test/code-count/' || $strFile =~ '^test/coverage/' ||