From 39fc2b7ad68d97cf5f23757e8a341428935621f4 Mon Sep 17 00:00:00 2001 From: David Steele Date: Thu, 12 Dec 2019 08:20:21 -0500 Subject: [PATCH] v2.20: Bug Fixes Bug Fixes: * Fix archive-push/archive-get when PGDATA is symlinked. These commands tried to use cwd() as PGDATA but this would disagree with the path configured in pgBackRest if PGDATA was symlinked. If cwd() does not match the pgBackRest path then chdir() to the path and make sure the next cwd() matches the result from the first call. (Reported by Stephen Frost, Milosz Suchy.) * Fix reference list when backup.info is reconstructed in expire command. Since the backup command is still using the Perl version of reconstruct this issue will not express unless 1) there is a backup missing from backup.info and 2) the expire command is run directly instead of running after backup as usual. This unlikely combination of events means this is probably not a problem in the field. * Fix segfault on unexpected EOF in gzip decompression. (Reported by Stephen Frost.) --- README.md | 2 +- doc/RELEASE.md | 2 +- doc/resource/exe.cache | 1140 +++++++++--------- doc/resource/git-history.cache | 533 ++++++++ doc/xml/auto/metric-coverage-report.auto.xml | 82 +- doc/xml/release.xml | 2 +- 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 | 16 +- 12 files changed, 1169 insertions(+), 634 deletions(-) diff --git a/README.md b/README.md index f25ddc9c1..0fd27daa5 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.19](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.19) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.20](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.20) 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 9da078c78..03098a086 100644 --- a/doc/RELEASE.md +++ b/doc/RELEASE.md @@ -26,7 +26,7 @@ to: use constant PROJECT_VERSION => '2.14'; ``` -## Build release documentation. Be sure to install latex using the instructions from the Vagrantfile before running this step. The `u19` vm is also required. +## Build release documentation. Be sure to install latex using the instructions from the Vagrantfile before running this step. ``` doc/release.pl --build ``` diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index c4e5fb5c5..6654a1540 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -35,7 +35,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.19" + "sudo mkdir -p /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -48,7 +48,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.19" + "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -61,7 +61,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.19" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -74,7 +74,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.19" + "sudo chown -R vagrant /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -133,7 +133,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.19/src && ./configure" + "cd /build/pgbackrest-release-2.20/src && ./configure" ], "host" : "build", "load-env" : true, @@ -146,7 +146,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "make -s -C /build/pgbackrest-release-2.19/src" + "make -s -C /build/pgbackrest-release-2.20/src" ], "host" : "build", "load-env" : true, @@ -173,7 +173,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.20/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -315,7 +315,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.19 - General help", + "pgBackRest 2.20 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -460,7 +460,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.19 - 'backup' command - 'log-path' option help", + "pgBackRest 2.20 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -697,7 +697,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.19: --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.20: --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" ] } @@ -723,8 +723,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.19: --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-22f242b3e4e34a2c22135fe07a6d3e724d7ac570.gz'", + "P00 INFO: check command begin 2.20: --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-a24041768cbbc1ed3ed27b68e637911990d7fc3f.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -751,9 +751,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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.20: --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-11-12 20:05:45\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:56:36\": 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%)", @@ -779,7 +779,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-200545F" + "20191212-035636F" ] } }, @@ -806,7 +806,7 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum a6c8696abc97dea64ab3bc6d9ffbb508a92604c7", + "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum 6a6e36663a20e511a40fce5c40ad72e84ddd8ed0", "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", @@ -843,18 +843,18 @@ " db (current)", " wal archive min/max (10-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20191112-200545F", - " timestamp start/stop: 2019-11-12 20:05:45 / 2019-11-12 20:05:59", + " full backup: 20191212-035636F", + " timestamp start/stop: 2019-12-12 03:56:36 / 2019-12-12 03:56:49", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", - " database size: 22.5MB, backup size: 22.5MB", + " database size: 22.4MB, backup size: 22.4MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " diff backup: 20191112-200545F_20191112-200600D", - " timestamp start/stop: 2019-11-12 20:06:00 / 2019-11-12 20:06:03", + " diff backup: 20191212-035636F_20191212-035650D", + " timestamp start/stop: 2019-12-12 03:56:50 / 2019-12-12 03:56:53", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 22.5MB, backup size: 8.2KB", + " database size: 22.4MB, backup size: 8.2KB", " repository size: 2.7MB, repository backup size: 517B", - " backup reference list: 20191112-200545F" + " backup reference list: 20191212-035636F" ] } }, @@ -988,9 +988,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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 = 20191112-200545F_20191112-200600D, version = 2.19", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 20:06:22\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.20: --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 = 20191212-035636F_20191212-035650D, version = 2.20", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:57:10\": 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 8 lines of output]" @@ -1049,11 +1049,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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 = 20191112-200545F_20191112-200622I, version = 2.19", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 20:06:28\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.20: --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 = 20191212-035636F_20191212-035710I, version = 2.20", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:57:15\": 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 3687455e88965be5f91566b069bcafb16200e969", + "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum d13136a4af09774770a726fbb035dc44cf48e2b9", " [filtered 8 lines of output]" ] } @@ -1199,7 +1199,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-11-12 20:06:30+00 | 000000020000000000000006", + " \"demo\" | 2019-12-12 03:57:18+00 | 000000020000000000000006", "(1 row)" ] } @@ -1233,7 +1233,7 @@ "type" : "exe", "value" : { "output" : [ - "1573589190" + "1576123038" ] } }, @@ -1297,7 +1297,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191112-200545F|remove archive" + "archive retention on backup 20191212-035636F|remove archive" ] }, "host" : "pg-primary", @@ -1310,8 +1310,8 @@ "output" : [ " [filtered 951 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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 20191112-200545F, archiveId = 10-1, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.20: --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-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20191212-035636F, archiveId = 10-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 10-1", "P00 INFO: expire command end: completed successfully" ] @@ -1331,7 +1331,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-200639F" + "20191212-035726F" ] } }, @@ -1346,7 +1346,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20191112-200545F|archive retention on backup 20191112-200639F|remove archive" + "expire full backup set\\: 20191212-035636F|archive retention on backup 20191212-035726F|remove archive" ] }, "host" : "pg-primary", @@ -1359,10 +1359,10 @@ "output" : [ " [filtered 950 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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: 20191112-200545F, 20191112-200545F_20191112-200600D, 20191112-200545F_20191112-200622I, 20191112-200545F_20191112-200628I", - "P00 INFO: remove expired backup 20191112-200545F_20191112-200628I", - "P00 INFO: remove expired backup 20191112-200545F_20191112-200622I", + "P00 INFO: expire command begin 2.20: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire full backup set: 20191212-035636F, 20191212-035636F_20191212-035650D, 20191212-035636F_20191212-035710I, 20191212-035636F_20191212-035715I", + "P00 INFO: remove expired backup 20191212-035636F_20191212-035715I", + "P00 INFO: remove expired backup 20191212-035636F_20191212-035710I", " [filtered 2 lines of output]" ] } @@ -1425,7 +1425,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-200652F_20191112-200707D" + "20191212-035742F_20191212-035757D" ] } }, @@ -1453,7 +1453,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20191112-200652F_20191112-200707D" + "expire diff backup set: 20191212-035742F_20191212-035757D" ] }, "host" : "pg-primary", @@ -1466,10 +1466,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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: 20191112-200652F_20191112-200707D, 20191112-200652F_20191112-200711I", - "P00 INFO: remove expired backup 20191112-200652F_20191112-200711I", - "P00 INFO: remove expired backup 20191112-200652F_20191112-200707D" + "P00 INFO: expire command begin 2.20: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire diff backup set: 20191212-035742F_20191212-035757D, 20191212-035742F_20191212-035801I", + "P00 INFO: remove expired backup 20191212-035742F_20191212-035801I", + "P00 INFO: remove expired backup 20191212-035742F_20191212-035757D" ] } }, @@ -1518,7 +1518,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-200652F_20191112-200715D" + "20191212-035742F_20191212-035803D" ] } }, @@ -1562,9 +1562,9 @@ " [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 = 00000002000000000000000F, lsn = 0/F0000F8", - "P00 INFO: new backup label = 20191112-200652F_20191112-200720D", + "P00 INFO: new backup label = 20191212-035742F_20191212-035808D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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" + "P00 INFO: expire command begin 2.20: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo" ] } }, @@ -1582,7 +1582,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-200652F_20191112-200720D" + "20191212-035742F_20191212-035808D" ] } }, @@ -1597,7 +1597,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191112-200652F_20191112-200715D|remove archive" + "archive retention on backup 20191212-035742F_20191212-035803D|remove archive" ] }, "host" : "pg-primary", @@ -1608,11 +1608,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.19: --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 20191112-200639F, archiveId = 10-1, start = 000000020000000000000008, stop = 000000020000000000000008", - "P00 DETAIL: archive retention on backup 20191112-200652F, archiveId = 10-1, start = 000000020000000000000009, stop = 000000020000000000000009", - "P00 DETAIL: archive retention on backup 20191112-200652F_20191112-200715D, archiveId = 10-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20191112-200652F_20191112-200720D, archiveId = 10-1, start = 00000002000000000000000F", + "P00 INFO: expire command begin 2.20: --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 20191212-035726F, archiveId = 10-1, start = 000000020000000000000008, stop = 000000020000000000000008", + "P00 DETAIL: archive retention on backup 20191212-035742F, archiveId = 10-1, start = 000000020000000000000009, stop = 000000020000000000000009", + "P00 DETAIL: archive retention on backup 20191212-035742F_20191212-035803D, archiveId = 10-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20191212-035742F_20191212-035808D, archiveId = 10-1, start = 00000002000000000000000F", "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000A, stop = 00000002000000000000000B", "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000D, stop = 00000002000000000000000E", "P00 INFO: expire command end: completed successfully" @@ -1833,7 +1833,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-200652F_20191112-200732I" + "20191212-035742F_20191212-035819I" ] } }, @@ -1842,7 +1842,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20191112-200652F_20191112-200732I info" + " --set=20191212-035742F_20191212-035819I info" ], "highlight" : { "filter" : true, @@ -1861,7 +1861,7 @@ "output" : [ " [filtered 11 lines of output]", " repository size: 4.4MB, repository backup size: 1.8MB", - " backup reference list: 20191112-200652F, 20191112-200652F_20191112-200720D", + " backup reference list: 20191212-035742F, 20191212-035742F_20191212-035808D", " database list: postgres (12978), test1 (24576), test2 (24577)" ] } @@ -2092,7 +2092,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-11-12 20:08:06.239935+00" + "2019-12-12 03:58:49.528683+00" ] } }, @@ -2145,7 +2145,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-11-12 20:08:06.239935+00\" \\", + " --type=time \"--target=2019-12-12 03:58:49.528683+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2189,9 +2189,9 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-11-12 20:08:08", + "# Recovery settings generated by pgBackRest restore on 2019-12-12 03:58:51", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-11-12 20:08:06.239935+00'", + "recovery_target_time = '2019-12-12 03:58:49.528683+00'", "recovery_target_action = 'promote'" ] } @@ -2273,16 +2273,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-11-12 20:07:58 UTC", - "LOG: starting point-in-time recovery to 2019-11-12 20:08:06.239935+00", + "LOG: database system was interrupted; last known up at 2019-12-12 03:58:42 UTC", + "LOG: starting point-in-time recovery to 2019-12-12 03:58:49.528683+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000014\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", "LOG: restored log file \"000000040000000000000015\" from archive", - "LOG: recovery stopping before commit of transaction 564, time 2019-11-12 20:08:06.740211+00", - "LOG: redo done at 0/15020A48", - "LOG: last completed transaction was at log time 2019-11-12 20:08:05.772404+00", + "LOG: recovery stopping before commit of transaction 564, time 2019-12-12 03:58:49.875399+00", + "LOG: redo done at 0/15021298", + "LOG: last completed transaction was at log time 2019-12-12 03:58:49.155887+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -2334,7 +2334,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-200652F_20191112-200757D" + "20191212-035742F_20191212-035840D" ] } }, @@ -2369,7 +2369,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-11-12 20:08:06.239935+00\" --target-action=promote restore" + " --type=time \"--target=2019-12-12 03:58:49.528683+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2468,8 +2468,8 @@ "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-11-12 20:08:18 UTC", - "LOG: starting point-in-time recovery to 2019-11-12 20:08:06.239935+00", + "LOG: database system was interrupted; last known up at 2019-12-12 03:58:59 UTC", + "LOG: starting point-in-time recovery to 2019-12-12 03:58:49.528683+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"000000050000000000000016\" from archive", "LOG: redo starts at 0/16000028", @@ -2490,7 +2490,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20191112-200652F_20191112-200757D" + "20191212-035742F_20191212-035840D" ] }, "host" : "pg-primary", @@ -2508,45 +2508,45 @@ " db (current)", " wal archive min/max (10-1): 000000020000000000000008/000000050000000000000016", "", - " full backup: 20191112-200639F", - " timestamp start/stop: 2019-11-12 20:06:39 / 2019-11-12 20:06:51", + " full backup: 20191212-035726F", + " timestamp start/stop: 2019-12-12 03:57:26 / 2019-12-12 03:57:41", " wal start/stop: 000000020000000000000008 / 000000020000000000000008", - " database size: 22.5MB, backup size: 22.5MB", + " database size: 22.4MB, backup size: 22.4MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " full backup: 20191112-200652F", - " timestamp start/stop: 2019-11-12 20:06:52 / 2019-11-12 20:07:06", + " full backup: 20191212-035742F", + " timestamp start/stop: 2019-12-12 03:57:42 / 2019-12-12 03:57:56", " wal start/stop: 000000020000000000000009 / 000000020000000000000009", - " database size: 22.5MB, backup size: 22.5MB", + " database size: 22.4MB, backup size: 22.4MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " diff backup: 20191112-200652F_20191112-200720D", - " timestamp start/stop: 2019-11-12 20:07:20 / 2019-11-12 20:07:22", + " diff backup: 20191212-035742F_20191212-035808D", + " timestamp start/stop: 2019-12-12 03:58:08 / 2019-12-12 03:58:11", " wal start/stop: 00000002000000000000000F / 00000002000000000000000F", - " database size: 22.5MB, backup size: 96.2KB", + " database size: 22.4MB, backup size: 96.2KB", " repository size: 2.7MB, repository backup size: 11.9KB", - " backup reference list: 20191112-200652F", + " backup reference list: 20191212-035742F", "", - " incr backup: 20191112-200652F_20191112-200732I", - " timestamp start/stop: 2019-11-12 20:07:32 / 2019-11-12 20:07:42", + " incr backup: 20191212-035742F_20191212-035819I", + " timestamp start/stop: 2019-12-12 03:58:19 / 2019-12-12 03:58:30", " wal start/stop: 000000030000000000000011 / 000000030000000000000011", - " database size: 37MB, backup size: 15MB", + " database size: 37.0MB, backup size: 15.0MB", " repository size: 4.4MB, repository backup size: 1.8MB", - " backup reference list: 20191112-200652F, 20191112-200652F_20191112-200720D", + " backup reference list: 20191212-035742F, 20191212-035742F_20191212-035808D", "", - " diff backup: 20191112-200652F_20191112-200757D", - " timestamp start/stop: 2019-11-12 20:07:57 / 2019-11-12 20:08:05", + " diff backup: 20191212-035742F_20191212-035840D", + " timestamp start/stop: 2019-12-12 03:58:40 / 2019-12-12 03:58:48", " wal start/stop: 000000040000000000000014 / 000000040000000000000014", - " database size: 29.8MB, backup size: 7.8MB", - " repository size: 3.5MB, repository backup size: 949.2KB", - " backup reference list: 20191112-200652F", + " database size: 29.7MB, backup size: 7.8MB", + " repository size: 3.5MB, repository backup size: 948.9KB", + " backup reference list: 20191212-035742F", "", - " incr backup: 20191112-200652F_20191112-200817I", - " timestamp start/stop: 2019-11-12 20:08:17 / 2019-11-12 20:08:21", + " incr backup: 20191212-035742F_20191212-035858I", + " timestamp start/stop: 2019-12-12 03:58:58 / 2019-12-12 03:59:02", " wal start/stop: 000000050000000000000016 / 000000050000000000000016", - " database size: 29.8MB, backup size: 2.1MB", - " repository size: 3.5MB, repository backup size: 218.8KB", - " backup reference list: 20191112-200652F, 20191112-200652F_20191112-200757D" + " database size: 29.7MB, backup size: 2MB", + " repository size: 3.5MB, repository backup size: 218.5KB", + " backup reference list: 20191212-035742F, 20191212-035742F_20191212-035840D" ] } }, @@ -2568,8 +2568,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-11-12 20:08:06.239935+00\" \\", - " --set=20191112-200652F_20191112-200757D --target-action=promote restore" + " --type=time \"--target=2019-12-12 03:58:49.528683+00\" \\", + " --set=20191212-035742F_20191212-035840D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2668,16 +2668,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-11-12 20:07:58 UTC", - "LOG: starting point-in-time recovery to 2019-11-12 20:08:06.239935+00", + "LOG: database system was interrupted; last known up at 2019-12-12 03:58:42 UTC", + "LOG: starting point-in-time recovery to 2019-12-12 03:58:49.528683+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000014\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", "LOG: restored log file \"000000040000000000000015\" from archive", - "LOG: recovery stopping before commit of transaction 564, time 2019-11-12 20:08:06.740211+00", - "LOG: redo done at 0/15020A48", - "LOG: last completed transaction was at log time 2019-11-12 20:08:05.772404+00", + "LOG: recovery stopping before commit of transaction 564, time 2019-12-12 03:58:49.875399+00", + "LOG: redo done at 0/15021298", + "LOG: last completed transaction was at log time 2019-12-12 03:58:49.155887+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -2803,7 +2803,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.19: --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: stanza-create command begin 2.20: --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" ] @@ -2831,16 +2831,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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.20: --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-11-12 20:08:43\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:59:20\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000070000000000000016, lsn = 0/16000028", " [filtered 1238 lines of output]", - "P02 INFO: backup file /var/lib/postgresql/10/demo/base/1/12820 (0B, 100%)", - "P03 INFO: backup file /var/lib/postgresql/10/demo/base/1/12815 (0B, 100%)", + "P01 INFO: backup file /var/lib/postgresql/10/demo/base/1/12820 (0B, 100%)", + "P02 INFO: backup file /var/lib/postgresql/10/demo/base/1/12815 (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 = 000000070000000000000016, lsn = 0/16000130", + "P00 INFO: backup stop archive = 000000070000000000000016, lsn = 0/160000F8", " [filtered 6 lines of output]" ] } @@ -2879,7 +2879,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.19: --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.20: --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" ] } @@ -2905,7 +2905,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.19: --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: stanza-delete command begin 2.20: --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" ] @@ -2955,7 +2955,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.20/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -3539,18 +3539,18 @@ " cipher: none", "", " db (current)", - " wal archive min/max (10-1): 00000008000000000000001C/00000008000000000000001D", + " wal archive min/max (10-1): 00000008000000000000001C/00000008000000000000001E", "", - " full backup: 20191112-200958F", - " timestamp start/stop: 2019-11-12 20:09:58 / 2019-11-12 20:10:14", + " full backup: 20191212-040024F", + " timestamp start/stop: 2019-12-12 04:00:24 / 2019-12-12 04:00:43", " wal start/stop: 00000008000000000000001C / 00000008000000000000001C", - " database size: 29.8MB, backup size: 29.8MB", + " database size: 29.7MB, backup size: 29.7MB", " repository size: 3.5MB, repository backup size: 3.5MB", "", - " full backup: 20191112-201016F", - " timestamp start/stop: 2019-11-12 20:10:16 / 2019-11-12 20:10:25", - " wal start/stop: 00000008000000000000001D / 00000008000000000000001D", - " database size: 29.8MB, backup size: 29.8MB", + " full backup: 20191212-040044F", + " timestamp start/stop: 2019-12-12 04:00:44 / 2019-12-12 04:00:52", + " wal start/stop: 00000008000000000000001E / 00000008000000000000001E", + " database size: 29.7MB, backup size: 29.7MB", " repository size: 3.5MB, repository backup size: 3.5MB" ] } @@ -3695,7 +3695,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.20/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -3988,7 +3988,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-11-12 20:11:01", + "# Recovery settings generated by pgBackRest restore on 2019-12-12 04:01:20", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" ] @@ -4097,12 +4097,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-11-12 20:10:17 UTC", + "LOG: database system was interrupted; last known up at 2019-12-12 04:00:46 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"00000008000000000000001D\" from archive", - "LOG: redo starts at 0/1D000028", - "LOG: consistent recovery state reached at 0/1D000130", + "LOG: restored log file \"00000008000000000000001E\" from archive", + "LOG: redo starts at 0/1E000028", + "LOG: consistent recovery state reached at 0/1E0000F8", "LOG: database system is ready to accept read only connections", "LOG: incomplete startup packet" ] @@ -4185,7 +4185,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/1E02ABF8 | 2019-11-12 20:11:11.546715+00", + " 0/1F02B410 | 2019-12-12 04:01:29.752308+00", "(1 row)" ] } @@ -4214,7 +4214,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2019-11-12 20:11:16.197893+00", + " Important Data | 2019-12-12 04:01:35.100748+00", "(1 row)" ] } @@ -4240,7 +4240,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.19: --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.20: --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 this is a standby", "P00 INFO: check command end: completed successfully" ] @@ -4386,7 +4386,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-11-12 20:11:24", + "# Recovery settings generated by pgBackRest restore on 2019-12-12 04:01:40", "primary_conninfo = 'host=172.17.0.4 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" @@ -4454,9 +4454,9 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "LOG: restored log file \"00000008000000000000001E\" from archive", + "LOG: restored log file \"00000008000000000000001F\" from archive", "LOG: incomplete startup packet", - "LOG: started streaming WAL from primary at 0/1F000000 on timeline 8" + "LOG: started streaming WAL from primary at 0/20000000 on timeline 8" ] } }, @@ -4488,7 +4488,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2019-11-12 20:11:32.413273+00", + " Important Data | 2019-12-12 04:01:47.401329+00", "(1 row)" ] } @@ -4515,9 +4515,9 @@ "type" : "exe", "value" : { "output" : [ - " message | current_timestamp ", - "----------------+-------------------------------", - " Important Data | 2019-11-12 20:11:33.197828+00", + " message | current_timestamp ", + "----------------+------------------------------", + " Important Data | 2019-12-12 04:01:47.94884+00", "(1 row)" ] } @@ -4748,8 +4748,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.19: --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 000000080000000000000024 successfully archived to 'archive/demo/10-1/0000000800000000/000000080000000000000024-7463d204448ed42a7aab14844b0fc1a6c9cc160d.gz'", + "P00 INFO: check command begin 2.20: --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 000000080000000000000025 successfully archived to '/var/lib/pgbackrest/archive/demo/10-1/0000000800000000/000000080000000000000025-1b538948941b6a5d416143f7df224f50d595a678.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -4776,24 +4776,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.19: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000001F", - "P01 DETAIL: pushed WAL file '00000008000000000000001F' to the archive", + "P00 INFO: archive-push-async command begin 2.20: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000020", + "P01 DETAIL: pushed WAL file '000000080000000000000020' to the archive", "P00 INFO: archive-push-async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.19: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000020...000000080000000000000023", - "P01 DETAIL: pushed WAL file '000000080000000000000020' to the archive", + "P00 INFO: archive-push-async command begin 2.20: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000021...000000080000000000000024", "P01 DETAIL: pushed WAL file '000000080000000000000021' to the archive", "P01 DETAIL: pushed WAL file '000000080000000000000022' to the archive", "P01 DETAIL: pushed WAL file '000000080000000000000023' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000024' to the archive", "P00 INFO: archive-push-async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.19: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000024", - "P01 DETAIL: pushed WAL file '000000080000000000000024' to the archive", + "P00 INFO: archive-push-async command begin 2.20: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000025", + "P01 DETAIL: pushed WAL file '000000080000000000000025' to the archive", "P00 INFO: archive-push-async command end: completed successfully" ] } @@ -4833,23 +4833,23 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.19: [00000008000000000000001D, 00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001D...000000080000000000000024", - "P01 DETAIL: found 00000008000000000000001D in the archive", + "P00 INFO: archive-get-async command begin 2.20: [00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001E...000000080000000000000025", "P01 DETAIL: found 00000008000000000000001E in the archive", - "P01 DETAIL: unable to find 00000008000000000000001F in the archive", - "P01 DETAIL: unable to find 000000080000000000000020 in the archive", - " [filtered 20 lines of output]", - "P00 INFO: archive-get-async command begin 2.19: [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 --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", + "P01 DETAIL: unable to find 000000080000000000000020 in the archive", + "P01 DETAIL: unable to find 000000080000000000000021 in the archive", + " [filtered 20 lines of output]", + "P00 INFO: archive-get-async command begin 2.20: [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 --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", "P01 DETAIL: found 000000080000000000000021 in the archive", "P01 DETAIL: found 000000080000000000000022 in the archive", "P01 DETAIL: found 000000080000000000000023 in the archive", "P01 DETAIL: found 000000080000000000000024 in the archive", - "P01 DETAIL: unable to find 000000080000000000000025 in the archive", + "P01 DETAIL: found 000000080000000000000025 in the archive", "P01 DETAIL: unable to find 000000080000000000000026 in the archive", + "P01 DETAIL: unable to find 000000080000000000000027 in the archive", " [filtered 13 lines of output]" ] } @@ -4932,21 +4932,23 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 20:11:53\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000080000000000000026, lsn = 0/26000028", - "P00 INFO: wait for replay on the standby to reach 0/26000028", - "P00 INFO: replay on the standby reached 0/260000D0, checkpoint 0/26000060", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2674 (368KB, 15%) checksum 93d1d0c68a4c49a57b5048b1f4b5f36012b46d20", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2608 (440KB, 35%) checksum af911bba6587334cc3889421e104cedaa91fd5f1", - " [filtered 2 lines of output]", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2673 (328KB, 70%) checksum 7a6d7e976b0a66d414b9f1209974dd0058a550f7", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2658 (112KB, 74%) checksum 3454748cfa5dfd00655825ae26a203a1bccea012", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/global/pg_control (8KB, 75%) checksum 6f189cb40f310ce333b5c6c9a148418da0b310ff", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2659 (80KB, 78%) checksum 22e08db4a67e76eb607eb2da6f9c2f26171745f2", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/pg_logical/replorigin_checkpoint (8B, 78%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2663 (48KB, 80%) checksum 9d70c82a444e5711e54fdf5d9d5970677428cef9", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/1247 (72KB, 84%) checksum 587618dc8c34b857c2eda93ae5819d6734442634", - " [filtered 32 lines of output]" + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 04:02:06\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000080000000000000027, lsn = 0/27000028", + "P00 INFO: wait for replay on the standby to reach 0/27000028", + "P00 INFO: replay on the standby reached 0/270000D0, checkpoint 0/27000060", + "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2674 (368KB, 16%) checksum ec3fa8d8b32c54f0bb7c3cdf558e1e860d5ef8c4", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2608 (440KB, 35%) checksum 970df249ee84e1f96f807aaac470a6f5858db8de", + " [filtered 8 lines of output]", + "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2662 (32KB, 86%) checksum d4786fbe0f592ebff29fe091a3ebf9fd8e3be7fe", + "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2704 (40KB, 88%) checksum a4d276ca1a4d2678dac9165ab26c136fa4451dfb", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/global/pg_control (8KB, 88%) checksum 7747ad434babd83386a51fcaa4c00910302022df", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2610 (32KB, 90%) checksum b56f5ad2cff706d5cec9d8cd1c5ed92ff0790827", + "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2608_fsm (24KB, 91%) checksum 991ade308598277f2664e226662ac305924b7ea9", + "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2610_fsm (24KB, 92%) checksum 9dfc3898d2e06cf1bebb33c52ad4c7903829b9b4", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/pg_logical/replorigin_checkpoint (8B, 92%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/1249_fsm (24KB, 93%) checksum dafa382fd45dce90cbe7628c262ebf0723d14fdb", + "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/global/2676 (16KB, 94%) checksum 8c43b660f01c2f48cdf53176989f3c2376ee5e7a", + " [filtered 24 lines of output]" ] } }, @@ -5221,7 +5223,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.19: --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.20: --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" ] } @@ -5482,7 +5484,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.19" + "sudo mkdir -p /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -5495,7 +5497,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.19" + "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -5508,7 +5510,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.19" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -5521,7 +5523,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.19" + "sudo chown -R vagrant /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -5567,7 +5569,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.19/src && ./configure" + "cd /build/pgbackrest-release-2.20/src && ./configure" ], "host" : "build", "load-env" : true, @@ -5580,7 +5582,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "make -s -C /build/pgbackrest-release-2.19/src" + "make -s -C /build/pgbackrest-release-2.20/src" ], "host" : "build", "load-env" : true, @@ -5607,7 +5609,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.20/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -5750,7 +5752,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.19 - General help", + "pgBackRest 2.20 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -5894,7 +5896,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.19 - 'backup' command - 'log-path' option help", + "pgBackRest 2.20 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -6132,7 +6134,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.19: --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.20: --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" ] } @@ -6158,8 +6160,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.19: --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-8c6b1ea877120b2316ade01cbf2193aa1288a6de.gz'", + "P00 INFO: check command begin 2.20: --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-d2ba02c483c1a6ae227321978b6f44a67fef9a36.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -6186,9 +6188,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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.20: --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-11-12 19:54:34\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:39:05\": 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%)", @@ -6214,7 +6216,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-195434F" + "20191212-033905F" ] } }, @@ -6241,8 +6243,8 @@ "value" : { "output" : [ " [filtered 5 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (903B, 97%) checksum d843c10a77662e56e5cba67e98939628c36ee41a", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum 1157e916ba8478d226524c0a593b8b95a1d85998", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (1010B, 97%) checksum de1c97627d2e1ef89a4bf41aafedb351af87de3c", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum ddc30714dbd4618cf2df49256d6e92ff3df4f339", "P00 INFO: diff backup size = 9.1KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", @@ -6278,18 +6280,18 @@ " db (current)", " wal archive min/max (9.5-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20191112-195434F", - " timestamp start/stop: 2019-11-12 19:54:34 / 2019-11-12 19:54:46", + " full backup: 20191212-033905F", + " timestamp start/stop: 2019-12-12 03:39:05 / 2019-12-12 03:39:18", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20191112-195434F_20191112-195447D", - " timestamp start/stop: 2019-11-12 19:54:47 / 2019-11-12 19:54:50", + " diff backup: 20191212-033905F_20191212-033919D", + " timestamp start/stop: 2019-12-12 03:39:19 / 2019-12-12 03:39:23", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 20.6MB, backup size: 9.1KB", + " database size: 20.6MB, backup size: 9.2KB", " repository size: 2.4MB, repository backup size: 768B", - " backup reference list: 20191112-195434F" + " backup reference list: 20191212-033905F" ] } }, @@ -6447,9 +6449,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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 = 20191112-195434F_20191112-195447D, version = 2.19", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 19:55:09\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.20: --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 = 20191212-033905F_20191212-033919D, version = 2.20", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:39:42\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000005, lsn = 0/5000028", "P00 WARN: a timeline switch has occurred since the last backup, enabling delta checksum", " [filtered 10 lines of output]" @@ -6508,11 +6510,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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 = 20191112-195434F_20191112-195509I, version = 2.19", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 19:55:16\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.20: --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 = 20191212-033905F_20191212-033942I, version = 2.20", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:39:48\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 80%) checksum ed17212bd3f54fbb3e76a11928618ee69a11500e", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 80%) checksum df0b1d967bb028077072d33112996c3269b64f62", " [filtered 9 lines of output]" ] } @@ -6554,9 +6556,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 19:55:20\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:39:53\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", - "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20191112-195434F_20191112-195520I': [13] Permission denied", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20191212-033905F_20191212-033953I': [13] Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -6597,10 +6599,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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 = 20191112-195434F_20191112-195516I, version = 2.19", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 19:55:24\": 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-11-12 19:55:24', true) as lsn': ERROR: a backup is already in progress", + "P00 INFO: backup command begin 2.20: --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 = 20191212-033905F_20191212-033948I, version = 2.20", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:39:57\": 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-12-12 03:39:57', 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]" ] @@ -6659,13 +6661,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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 = 20191112-195434F_20191112-195516I, version = 2.19", + "P00 INFO: backup command begin 2.20: --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 = 20191212-033905F_20191212-033948I, version = 2.20", "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-11-12 19:55:27\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:40:00\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 75%) checksum 54e10bf65d556a6667f339feba71a608a6946290", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 74%) checksum 7b9fae92f1c84b069509cca540b0ec6906a31465", " [filtered 9 lines of output]" ] } @@ -6811,7 +6813,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-11-12 19:55:32+00 | 000000020000000000000009", + " \"demo\" | 2019-12-12 03:40:04+00 | 000000020000000000000009", "(1 row)" ] } @@ -6858,7 +6860,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191112-195434F|remove archive" + "archive retention on backup 20191212-033905F|remove archive" ] }, "host" : "pg-primary", @@ -6871,8 +6873,8 @@ "output" : [ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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 20191112-195434F, archiveId = 9.5-1, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.20: --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-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20191212-033905F, archiveId = 9.5-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.5-1", "P00 INFO: expire command end: completed successfully" ] @@ -6892,7 +6894,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-195537F" + "20191212-034008F" ] } }, @@ -6907,7 +6909,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20191112-195434F|archive retention on backup 20191112-195537F|remove archive" + "expire full backup set\\: 20191212-033905F|archive retention on backup 20191212-034008F|remove archive" ] }, "host" : "pg-primary", @@ -6920,10 +6922,10 @@ "output" : [ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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: 20191112-195434F, 20191112-195434F_20191112-195447D, 20191112-195434F_20191112-195509I, 20191112-195434F_20191112-195516I, 20191112-195434F_20191112-195527I", - "P00 INFO: remove expired backup 20191112-195434F_20191112-195527I", - "P00 INFO: remove expired backup 20191112-195434F_20191112-195516I", + "P00 INFO: expire command begin 2.20: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire full backup set: 20191212-033905F, 20191212-033905F_20191212-033919D, 20191212-033905F_20191212-033942I, 20191212-033905F_20191212-033948I, 20191212-033905F_20191212-034000I", + "P00 INFO: remove expired backup 20191212-033905F_20191212-034000I", + "P00 INFO: remove expired backup 20191212-033905F_20191212-033948I", " [filtered 3 lines of output]" ] } @@ -6987,7 +6989,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-195551F_20191112-195606D" + "20191212-034022F_20191212-034037D" ] } }, @@ -7015,7 +7017,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20191112-195551F_20191112-195606D" + "expire diff backup set: 20191212-034022F_20191212-034037D" ] }, "host" : "pg-primary", @@ -7028,10 +7030,10 @@ "output" : [ " [filtered 12 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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: 20191112-195551F_20191112-195606D, 20191112-195551F_20191112-195611I", - "P00 INFO: remove expired backup 20191112-195551F_20191112-195611I", - "P00 INFO: remove expired backup 20191112-195551F_20191112-195606D" + "P00 INFO: expire command begin 2.20: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire diff backup set: 20191212-034022F_20191212-034037D, 20191212-034022F_20191212-034042I", + "P00 INFO: remove expired backup 20191212-034022F_20191212-034042I", + "P00 INFO: remove expired backup 20191212-034022F_20191212-034037D" ] } }, @@ -7081,7 +7083,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-195551F_20191112-195616D" + "20191212-034022F_20191212-034047D" ] } }, @@ -7124,10 +7126,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 = 20191112-195551F_20191112-195623D", + "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/130000F8", + "P00 INFO: new backup label = 20191212-034022F_20191212-034054D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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" + "P00 INFO: expire command begin 2.20: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo" ] } }, @@ -7145,7 +7147,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-195551F_20191112-195623D" + "20191212-034022F_20191212-034054D" ] } }, @@ -7160,7 +7162,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191112-195551F_20191112-195616D|remove archive" + "archive retention on backup 20191212-034022F_20191212-034047D|remove archive" ] }, "host" : "pg-primary", @@ -7171,14 +7173,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.19: --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 20191112-195537F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", - "P00 DETAIL: archive retention on backup 20191112-195551F, archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: archive retention on backup 20191112-195551F_20191112-195616D, archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000011", - "P00 DETAIL: archive retention on backup 20191112-195551F_20191112-195623D, archiveId = 9.5-1, start = 000000020000000000000014", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "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.20: --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 20191212-034008F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 DETAIL: archive retention on backup 20191212-034022F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20191212-034022F_20191212-034047D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", + "P00 DETAIL: archive retention on backup 20191212-034022F_20191212-034054D, archiveId = 9.5-1, start = 000000020000000000000013", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000F", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000012", "P00 INFO: expire command end: completed successfully" ] } @@ -7391,7 +7392,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-195551F_20191112-195638I" + "20191212-034022F_20191212-034108I" ] } }, @@ -7400,7 +7401,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20191112-195551F_20191112-195638I info" + " --set=20191212-034022F_20191212-034108I info" ], "highlight" : { "filter" : true, @@ -7419,7 +7420,7 @@ "output" : [ " [filtered 11 lines of output]", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20191112-195551F, 20191112-195551F_20191112-195623D", + " backup reference list: 20191212-034022F, 20191212-034022F_20191212-034054D", " database list: postgres (12378), test1 (24576), test2 (24577)" ] } @@ -7650,7 +7651,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-11-12 19:57:09.423865+00" + "2019-12-12 03:41:39.8315+00" ] } }, @@ -7703,7 +7704,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-11-12 19:57:09.423865+00\" \\", + " --type=time \"--target=2019-12-12 03:41:39.8315+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -7747,9 +7748,9 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:57:12", + "# Recovery settings generated by pgBackRest restore on 2019-12-12 03:41:42", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-11-12 19:57:09.423865+00'", + "recovery_target_time = '2019-12-12 03:41:39.8315+00'", "recovery_target_action = 'promote'" ] } @@ -7829,16 +7830,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-11-12 19:57:02 UTC", - "LOG: starting point-in-time recovery to 2019-11-12 19:57:09.423865+00", + "LOG: database system was interrupted; last known up at 2019-12-12 03:41:33 UTC", + "LOG: starting point-in-time recovery to 2019-12-12 03:41:39.8315+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-11-12 19:57:09.875886+00", - "LOG: redo done at 0/1A01B9F8", - "LOG: last completed transaction was at log time 2019-11-12 19:57:09.026175+00", + "LOG: recovery stopping before commit of transaction 630, time 2019-12-12 03:41:40.136691+00", + "LOG: redo done at 0/1901BD00", + "LOG: last completed transaction was at log time 2019-12-12 03:41:39.41974+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 4 lines of output]" @@ -7890,7 +7891,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-195551F_20191112-195701D" + "20191212-034022F_20191212-034132D" ] } }, @@ -7925,7 +7926,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-11-12 19:57:09.423865+00\" --target-action=promote restore" + " --type=time \"--target=2019-12-12 03:41:39.8315+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8022,14 +8023,14 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-11-12 19:57:21 UTC", - "LOG: starting point-in-time recovery to 2019-11-12 19:57:09.423865+00", + "LOG: database system was interrupted; last known up at 2019-12-12 03:41:50 UTC", + "LOG: starting point-in-time recovery to 2019-12-12 03:41:39.8315+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]" ] } @@ -8044,7 +8045,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20191112-195551F_20191112-195701D" + "20191212-034022F_20191212-034132D" ] }, "host" : "pg-primary", @@ -8060,47 +8061,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.5-1): 00000002000000000000000B/00000005000000000000001B", + " wal archive min/max (9.5-1): 00000002000000000000000B/00000005000000000000001A", "", - " full backup: 20191112-195537F", - " timestamp start/stop: 2019-11-12 19:55:37 / 2019-11-12 19:55:50", + " full backup: 20191212-034008F", + " timestamp start/stop: 2019-12-12 03:40:08 / 2019-12-12 03:40:21", " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " full backup: 20191112-195551F", - " timestamp start/stop: 2019-11-12 19:55:51 / 2019-11-12 19:56:03", - " wal start/stop: 00000002000000000000000D / 00000002000000000000000D", + " full backup: 20191212-034022F", + " timestamp start/stop: 2019-12-12 03:40:22 / 2019-12-12 03:40:35", + " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20191112-195551F_20191112-195623D", - " timestamp start/stop: 2019-11-12 19:56:23 / 2019-11-12 19:56:27", - " wal start/stop: 000000020000000000000014 / 000000020000000000000014", - " database size: 20.6MB, backup size: 116.2KB", + " diff backup: 20191212-034022F_20191212-034054D", + " timestamp start/stop: 2019-12-12 03:40:54 / 2019-12-12 03:40:58", + " wal start/stop: 000000020000000000000013 / 000000020000000000000013", + " database size: 20.6MB, backup size: 116.3KB", " repository size: 2.4MB, repository backup size: 12.7KB", - " backup reference list: 20191112-195551F", + " backup reference list: 20191212-034022F", "", - " incr backup: 20191112-195551F_20191112-195638I", - " timestamp start/stop: 2019-11-12 19:56:38 / 2019-11-12 19:56:48", - " wal start/stop: 000000030000000000000016 / 000000030000000000000016", - " database size: 33.9MB, backup size: 13.4MB", + " incr backup: 20191212-034022F_20191212-034108I", + " timestamp start/stop: 2019-12-12 03:41:08 / 2019-12-12 03:41:19", + " wal start/stop: 000000030000000000000015 / 000000030000000000000015", + " database size: 34.0MB, backup size: 13.5MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20191112-195551F, 20191112-195551F_20191112-195623D", + " backup reference list: 20191212-034022F, 20191212-034022F_20191212-034054D", "", - " diff backup: 20191112-195551F_20191112-195701D", - " timestamp start/stop: 2019-11-12 19:57:01 / 2019-11-12 19:57:08", - " wal start/stop: 000000040000000000000019 / 000000040000000000000019", + " diff backup: 20191212-034022F_20191212-034132D", + " timestamp start/stop: 2019-12-12 03:41:32 / 2019-12-12 03:41:38", + " wal start/stop: 000000040000000000000018 / 000000040000000000000018", " database size: 27.3MB, backup size: 6.9MB", - " repository size: 3.2MB, repository backup size: 831.1KB", - " backup reference list: 20191112-195551F", + " repository size: 3.2MB, repository backup size: 831.5KB", + " backup reference list: 20191212-034022F", "", - " incr backup: 20191112-195551F_20191112-195720I", - " timestamp start/stop: 2019-11-12 19:57:20 / 2019-11-12 19:57:25", - " wal start/stop: 00000005000000000000001B / 00000005000000000000001B", + " incr backup: 20191212-034022F_20191212-034149I", + " timestamp start/stop: 2019-12-12 03:41:49 / 2019-12-12 03:41:54", + " wal start/stop: 00000005000000000000001A / 00000005000000000000001A", " database size: 27.3MB, backup size: 2.0MB", - " repository size: 3.2MB, repository backup size: 209.6KB", - " backup reference list: 20191112-195551F, 20191112-195551F_20191112-195701D" + " repository size: 3.2MB, repository backup size: 210KB", + " backup reference list: 20191212-034022F, 20191212-034022F_20191212-034132D" ] } }, @@ -8122,8 +8123,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-11-12 19:57:09.423865+00\" \\", - " --set=20191112-195551F_20191112-195701D --target-action=promote restore" + " --type=time \"--target=2019-12-12 03:41:39.8315+00\" \\", + " --set=20191212-034022F_20191212-034132D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8220,16 +8221,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-11-12 19:57:02 UTC", - "LOG: starting point-in-time recovery to 2019-11-12 19:57:09.423865+00", + "LOG: database system was interrupted; last known up at 2019-12-12 03:41:33 UTC", + "LOG: starting point-in-time recovery to 2019-12-12 03:41:39.8315+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-11-12 19:57:09.875886+00", - "LOG: redo done at 0/1A01B9F8", - "LOG: last completed transaction was at log time 2019-11-12 19:57:09.026175+00", + "LOG: recovery stopping before commit of transaction 630, time 2019-12-12 03:41:40.136691+00", + "LOG: redo done at 0/1901BD00", + "LOG: last completed transaction was at log time 2019-12-12 03:41:39.41974+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 6 lines of output]" @@ -8356,7 +8357,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.19: --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: stanza-create command begin 2.20: --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" ] @@ -8384,16 +8385,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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.20: --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-11-12 19:57:47\": 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-12-12 03:42:14\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000007000000000000001A, lsn = 0/1A000028", " [filtered 1119 lines of output]", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", "P02 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)", - "P00 INFO: full backup size = 27.2MB", + "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/1A0000F8", " [filtered 6 lines of output]" ] } @@ -8432,7 +8433,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.19: --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.20: --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" ] } @@ -8458,7 +8459,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.19: --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: stanza-delete command begin 2.20: --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" ] @@ -8521,7 +8522,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.20/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -9106,17 +9107,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.5-1): 000000080000000000000023/000000080000000000000025", + " wal archive min/max (9.5-1): 000000080000000000000021/000000080000000000000023", "", - " full backup: 20191112-195858F", - " timestamp start/stop: 2019-11-12 19:58:58 / 2019-11-12 19:59:16", - " wal start/stop: 000000080000000000000023 / 000000080000000000000023", + " full backup: 20191212-034413F", + " timestamp start/stop: 2019-12-12 03:44:13 / 2019-12-12 03:44:36", + " wal start/stop: 000000080000000000000021 / 000000080000000000000021", " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB", "", - " full backup: 20191112-195918F", - " timestamp start/stop: 2019-11-12 19:59:18 / 2019-11-12 19:59:26", - " wal start/stop: 000000080000000000000025 / 000000080000000000000025", + " full backup: 20191212-034437F", + " timestamp start/stop: 2019-12-12 03:44:37 / 2019-12-12 03:44:46", + " wal start/stop: 000000080000000000000023 / 000000080000000000000023", " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB" ] @@ -9262,7 +9263,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.20/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -9556,7 +9557,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:59:58", + "# Recovery settings generated by pgBackRest restore on 2019-12-12 03:46:04", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" ] @@ -9663,12 +9664,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-11-12 19:59:19 UTC", + "LOG: database system was interrupted; last known up at 2019-12-12 03:44:39 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000025\" from archive", - "LOG: redo starts at 0/25000028", - "LOG: consistent recovery state reached at 0/250000F8", + "LOG: restored log file \"000000080000000000000023\" from archive", + "LOG: redo starts at 0/23000028", + "LOG: consistent recovery state reached at 0/230000F8", "LOG: database system is ready to accept read only connections" ] } @@ -9750,7 +9751,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/2601F440 | 2019-11-12 20:00:07.953206+00", + " 0/2401F788 | 2019-12-12 03:46:12.976461+00", "(1 row)" ] } @@ -9777,9 +9778,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+------------------------------", - " Important Data | 2019-11-12 20:00:13.38865+00", + " message | now ", + "----------------+-------------------------------", + " Important Data | 2019-12-12 03:46:13.959339+00", "(1 row)" ] } @@ -9805,7 +9806,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.19: --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.20: --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 this is a standby", "P00 INFO: check command end: completed successfully" ] @@ -9951,7 +9952,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-11-12 20:00:21", + "# Recovery settings generated by pgBackRest restore on 2019-12-12 03:46:20", "primary_conninfo = 'host=172.17.0.4 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" @@ -10043,8 +10044,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000026\" from archive", - "LOG: started streaming WAL from primary at 0/27000000 on timeline 8" + "LOG: restored log file \"000000080000000000000024\" from archive", + "LOG: started streaming WAL from primary at 0/25000000 on timeline 8" ] } }, @@ -10076,7 +10077,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-11-12 20:00:29.433635+00", + " Important Data | 2019-12-12 03:46:27.758957+00", "(1 row)" ] } @@ -10105,7 +10106,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-11-12 20:00:30.142385+00", + " Important Data | 2019-12-12 03:46:28.279811+00", "(1 row)" ] } @@ -10336,8 +10337,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.19: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 00000008000000000000002C successfully archived to 'archive/demo/9.5-1/0000000800000000/00000008000000000000002C-094f12fb02c69d00989a9fd81d9efce72b7bfb58.gz'", + "P00 INFO: check command begin 2.20: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 00000008000000000000002A successfully archived to '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/00000008000000000000002A-acdb330e8eed0510e8b3236760eb562f05406206.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -10364,24 +10365,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.19: [/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 --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.20: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000025", + "P01 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.19: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000028...00000008000000000000002B", + "P00 INFO: archive-push-async command begin 2.20: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000026...000000080000000000000029", + "P01 DETAIL: pushed WAL file '000000080000000000000026' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000027' to the archive", "P01 DETAIL: pushed WAL file '000000080000000000000028' to the archive", "P01 DETAIL: pushed WAL file '000000080000000000000029' to the archive", - "P01 DETAIL: pushed WAL file '00000008000000000000002A' to the archive", - "P01 DETAIL: pushed WAL file '00000008000000000000002B' to the archive", "P00 INFO: archive-push-async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.19: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000002C", - "P01 DETAIL: pushed WAL file '00000008000000000000002C' to the archive", + "P00 INFO: archive-push-async command begin 2.20: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000002A", + "P01 DETAIL: pushed WAL file '00000008000000000000002A' to the archive", "P00 INFO: archive-push-async command end: completed successfully" ] } @@ -10421,23 +10422,23 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.19: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get-async command begin 2.20: [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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000023...00000008000000000000002A", + "P01 DETAIL: found 000000080000000000000023 in the archive", + "P01 DETAIL: found 000000080000000000000024 in the archive", + "P01 DETAIL: unable to find 000000080000000000000025 in the archive", + "P01 DETAIL: unable to find 000000080000000000000026 in the archive", + " [filtered 20 lines of output]", + "P00 INFO: archive-get-async command begin 2.20: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000025...00000008000000000000002C", "P01 DETAIL: found 000000080000000000000025 in the archive", "P01 DETAIL: found 000000080000000000000026 in the archive", - "P01 DETAIL: unable to find 000000080000000000000027 in the archive", - "P01 DETAIL: unable to find 000000080000000000000028 in the archive", - " [filtered 20 lines of output]", - "P00 INFO: archive-get-async command begin 2.19: [000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000027...00000008000000000000002E", "P01 DETAIL: found 000000080000000000000027 in the archive", "P01 DETAIL: found 000000080000000000000028 in the archive", "P01 DETAIL: found 000000080000000000000029 in the archive", "P01 DETAIL: found 00000008000000000000002A in the archive", - "P01 DETAIL: found 00000008000000000000002B in the archive", - "P01 DETAIL: found 00000008000000000000002C in the archive", - "P01 DETAIL: unable to find 00000008000000000000002D in the archive", - "P01 DETAIL: unable to find 00000008000000000000002E in the archive", + "P01 DETAIL: unable to find 00000008000000000000002B in the archive", + "P01 DETAIL: unable to find 00000008000000000000002C in the archive", " [filtered 13 lines of output]" ] } @@ -10520,22 +10521,24 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 20:00:51\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000008000000000000002E, lsn = 0/2E000028", - "P00 INFO: wait for replay on the standby to reach 0/2E000028", - "P00 INFO: replay on the standby reached 0/2E0000D0", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum d00ee3fc8bb8344bfd5e121873fb1fc9694ac990", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (7.5KB, 0%) checksum 846b56ff04654d250c753c3a098d7b529d085f10", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 20%) checksum 7868744cae0a3043273911590ef140e6fccb3908", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (360KB, 37%) checksum a7ba461321edb4f25f8db6f95c05febe5454eea4", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 37%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2658 (112KB, 42%) checksum b835dfd38d1e60b10c58c28cc8b700afd4e2c6aa", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2673 (312KB, 57%) checksum f930d402048529a1698f7b82dc34892b2deded6f", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 74%) checksum 0c4fe8293c84f27aa1272d51122f45ab623eb02a", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 74%) checksum 27765e2a6993031056684c42828e0670f5867015", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2659 (72KB, 77%) checksum b0d8b6899c6dd8002ac269d2fe430c5ce0032439", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1259 (104KB, 82%) checksum ef848d22a4fbb7100e22f6f90830223d29c96465", - " [filtered 31 lines of output]" + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:46:47\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000008000000000000002C, lsn = 0/2C000028", + "P00 INFO: wait for replay on the standby to reach 0/2C000028", + "P00 INFO: replay on the standby reached 0/2C000350", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (8.6KB, 0%) checksum 410f89678e79d3e8ce6607df8a9013c38c249b9e", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 887a1e11c6897407d468fd785cb80f21a89f65dd", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (360KB, 17%) checksum 2a1f10d237890054853ced03d367e7bea5ff9399", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 34%) checksum 3d7b48da25cb6ebfc9daf505cfbde20a5d7e2a7d", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 53%) checksum 6ba4e484e45e7469c7fc11a6b37dff70e90ef525", + "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/1259 (104KB, 58%) checksum 22e0b2ea6d4a05403bb5b461d6cba5d3464c43d0", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2673 (320KB, 73%) checksum 6fc73fd4ee4dd4d19ce1a983305f6af0e42d8c7b", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2658 (112KB, 78%) checksum 112bcfdb44b4b8c84d4c69669ec2d0e8da3c84b4", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2659 (72KB, 82%) checksum f0092ee8658eb9960a38cf398639b680a078d393", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 82%) checksum 9b581f04ad1063aab93c763a715a9c5514a4d727", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1247 (72KB, 85%) checksum d02620221ff2e019b8dc0bb68d76ea720faad8e1", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2704 (40KB, 87%) checksum 7cc6bd995a3e4bb28c868792d6e5f6decb1850c8", + " [filtered 29 lines of output]" ] } }, @@ -10797,7 +10800,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.19: --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.20: --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" ] } @@ -10834,7 +10837,7 @@ "type" : "exe", "value" : { "output" : [ - "postgresql-9.6 (pid 4872) is running..." + "postgresql-9.6 (pid 4876) is running..." ] } }, @@ -11061,7 +11064,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.19" + "sudo mkdir -p /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -11074,7 +11077,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.19" + "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -11087,7 +11090,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.19" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -11100,7 +11103,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.19" + "sudo chown -R vagrant /build/pgbackrest-release-2.20" ], "host" : "build", "load-env" : true, @@ -11146,7 +11149,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.19/src && ./configure" + "cd /build/pgbackrest-release-2.20/src && ./configure" ], "host" : "build", "load-env" : true, @@ -11159,7 +11162,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "make -s -C /build/pgbackrest-release-2.19/src" + "make -s -C /build/pgbackrest-release-2.20/src" ], "host" : "build", "load-env" : true, @@ -11186,7 +11189,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.20/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -11328,7 +11331,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.19 - General help", + "pgBackRest 2.20 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -11472,7 +11475,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.19 - 'backup' command - 'log-path' option help", + "pgBackRest 2.20 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -11710,7 +11713,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.19: --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.20: --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" ] } @@ -11736,8 +11739,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.19: --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-8b5ad4a9a4134f9e8b8ce5a580999d6b12cb0448.gz'", + "P00 INFO: check command begin 2.20: --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-b425fc2730fcb703cd031182f47e9856e2b311f1.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -11764,9 +11767,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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.20: --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-11-12 19:45:31\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:25:33\": 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%)", @@ -11792,7 +11795,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-194531F" + "20191212-032533F" ] } }, @@ -11820,7 +11823,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 9b34302ef1a6e99f5dd9267320c784f982ca32a0", + "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum 521a8e1cde54a6126b2e5b5a61ef78a0cbf87a95", "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", @@ -11856,18 +11859,18 @@ " db (current)", " wal archive min/max (9.6-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20191112-194531F", - " timestamp start/stop: 2019-11-12 19:45:31 / 2019-11-12 19:45:44", + " full backup: 20191212-032533F", + " timestamp start/stop: 2019-12-12 03:25:33 / 2019-12-12 03:25:47", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", - " database size: 21.0MB, backup size: 21.0MB", + " database size: 20.9MB, backup size: 20.9MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " diff backup: 20191112-194531F_20191112-194546D", - " timestamp start/stop: 2019-11-12 19:45:46 / 2019-11-12 19:45:49", + " diff backup: 20191212-032533F_20191212-032548D", + " timestamp start/stop: 2019-12-12 03:25:48 / 2019-12-12 03:25:52", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 21.0MB, backup size: 8.2KB", + " database size: 20.9MB, backup size: 8.2KB", " repository size: 2.5MB, repository backup size: 421B", - " backup reference list: 20191112-194531F" + " backup reference list: 20191212-032533F" ] } }, @@ -11934,11 +11937,11 @@ "value" : { "output" : [ " [filtered 8 lines of output]", - "Nov 12 19:45:51 pg-primary systemd[1]: Starting PostgreSQL 9.6 database server...", - "Nov 12 19:45:51 pg-primary systemd[1]: postgresql-9.6.service: main process exited, code=exited, status=2/INVALIDARGUMENT", - "Nov 12 19:45:51 pg-primary systemd[1]: Failed to start PostgreSQL 9.6 database server.", - "Nov 12 19:45:51 pg-primary systemd[1]: Unit postgresql-9.6.service entered failed state.", - "Nov 12 19:45:51 pg-primary systemd[1]: postgresql-9.6.service failed." + "Dec 12 03:25:54 pg-primary systemd[1]: Starting PostgreSQL 9.6 database server...", + "Dec 12 03:25:54 pg-primary systemd[1]: postgresql-9.6.service: main process exited, code=exited, status=2/INVALIDARGUMENT", + "Dec 12 03:25:54 pg-primary systemd[1]: Failed to start PostgreSQL 9.6 database server.", + "Dec 12 03:25:54 pg-primary systemd[1]: Unit postgresql-9.6.service entered failed state.", + "Dec 12 03:25:54 pg-primary systemd[1]: postgresql-9.6.service failed." ] } }, @@ -12016,9 +12019,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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 = 20191112-194531F_20191112-194546D, version = 2.19", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 19:46:04\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.20: --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 = 20191212-032533F_20191212-032548D, version = 2.20", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:26:05\": 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]" @@ -12077,11 +12080,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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 = 20191112-194531F_20191112-194604I, version = 2.19", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 19:46:10\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.20: --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 = 20191212-032533F_20191212-032605I, version = 2.20", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:26:11\": 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 4c43917bd6e26804a1e5e76af2f2ae097f3dc403", + "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum 1cc50b7aa4ddff7bc750d6caee556f7963696e85", " [filtered 7 lines of output]" ] } @@ -12227,7 +12230,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-11-12 19:46:13+00 | 000000020000000000000006", + " \"demo\" | 2019-12-12 03:26:15+00 | 000000020000000000000006", "(1 row)" ] } @@ -12273,7 +12276,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191112-194531F|remove archive" + "archive retention on backup 20191212-032533F|remove archive" ] }, "host" : "pg-primary", @@ -12286,8 +12289,8 @@ "output" : [ " [filtered 874 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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 20191112-194531F, archiveId = 9.6-1, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.20: --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-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20191212-032533F, archiveId = 9.6-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.6-1", "P00 INFO: expire command end: completed successfully" ] @@ -12307,7 +12310,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-194618F" + "20191212-032619F" ] } }, @@ -12322,7 +12325,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20191112-194531F|archive retention on backup 20191112-194618F|remove archive" + "expire full backup set\\: 20191212-032533F|archive retention on backup 20191212-032619F|remove archive" ] }, "host" : "pg-primary", @@ -12335,10 +12338,10 @@ "output" : [ " [filtered 873 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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: 20191112-194531F, 20191112-194531F_20191112-194546D, 20191112-194531F_20191112-194604I, 20191112-194531F_20191112-194610I", - "P00 INFO: remove expired backup 20191112-194531F_20191112-194610I", - "P00 INFO: remove expired backup 20191112-194531F_20191112-194604I", + "P00 INFO: expire command begin 2.20: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire full backup set: 20191212-032533F, 20191212-032533F_20191212-032548D, 20191212-032533F_20191212-032605I, 20191212-032533F_20191212-032611I", + "P00 INFO: remove expired backup 20191212-032533F_20191212-032611I", + "P00 INFO: remove expired backup 20191212-032533F_20191212-032605I", " [filtered 2 lines of output]" ] } @@ -12401,7 +12404,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-194631F_20191112-194648D" + "20191212-032635F_20191212-032650D" ] } }, @@ -12429,7 +12432,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20191112-194631F_20191112-194648D" + "expire diff backup set: 20191212-032635F_20191212-032650D" ] }, "host" : "pg-primary", @@ -12442,10 +12445,10 @@ "output" : [ " [filtered 9 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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: 20191112-194631F_20191112-194648D, 20191112-194631F_20191112-194652I", - "P00 INFO: remove expired backup 20191112-194631F_20191112-194652I", - "P00 INFO: remove expired backup 20191112-194631F_20191112-194648D" + "P00 INFO: expire command begin 2.20: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire diff backup set: 20191212-032635F_20191212-032650D, 20191212-032635F_20191212-032655I", + "P00 INFO: remove expired backup 20191212-032635F_20191212-032655I", + "P00 INFO: remove expired backup 20191212-032635F_20191212-032650D" ] } }, @@ -12494,7 +12497,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-194631F_20191112-194657D" + "20191212-032635F_20191212-032700D" ] } }, @@ -12538,9 +12541,9 @@ " [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 = 000000020000000000000011, lsn = 0/110000F8", - "P00 INFO: new backup label = 20191112-194631F_20191112-194703D", + "P00 INFO: new backup label = 20191212-032635F_20191212-032706D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.19: --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" + "P00 INFO: expire command begin 2.20: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo" ] } }, @@ -12558,7 +12561,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-194631F_20191112-194703D" + "20191212-032635F_20191212-032706D" ] } }, @@ -12573,7 +12576,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191112-194631F_20191112-194657D|remove archive" + "archive retention on backup 20191212-032635F_20191212-032700D|remove archive" ] }, "host" : "pg-primary", @@ -12584,11 +12587,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.19: --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 20191112-194618F, archiveId = 9.6-1, start = 000000020000000000000008, stop = 000000020000000000000008", - "P00 DETAIL: archive retention on backup 20191112-194631F, archiveId = 9.6-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", - "P00 DETAIL: archive retention on backup 20191112-194631F_20191112-194657D, archiveId = 9.6-1, start = 00000002000000000000000E, stop = 00000002000000000000000E", - "P00 DETAIL: archive retention on backup 20191112-194631F_20191112-194703D, archiveId = 9.6-1, start = 000000020000000000000011", + "P00 INFO: expire command begin 2.20: --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 20191212-032619F, archiveId = 9.6-1, start = 000000020000000000000008, stop = 000000020000000000000008", + "P00 DETAIL: archive retention on backup 20191212-032635F, archiveId = 9.6-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", + "P00 DETAIL: archive retention on backup 20191212-032635F_20191212-032700D, archiveId = 9.6-1, start = 00000002000000000000000E, stop = 00000002000000000000000E", + "P00 DETAIL: archive retention on backup 20191212-032635F_20191212-032706D, archiveId = 9.6-1, start = 000000020000000000000011", "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 000000020000000000000009, stop = 000000020000000000000009", "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000B, stop = 00000002000000000000000D", "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000F, stop = 000000020000000000000010", @@ -12804,7 +12807,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-194631F_20191112-194715I" + "20191212-032635F_20191212-032715I" ] } }, @@ -12813,7 +12816,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20191112-194631F_20191112-194715I info" + " --set=20191212-032635F_20191212-032715I info" ], "highlight" : { "filter" : true, @@ -12832,7 +12835,7 @@ "output" : [ " [filtered 11 lines of output]", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20191112-194631F, 20191112-194631F_20191112-194703D", + " backup reference list: 20191212-032635F, 20191212-032635F_20191212-032706D", " database list: postgres (12470), test1 (24576), test2 (24577)" ] } @@ -13063,7 +13066,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-11-12 19:47:44.545527+00" + "2019-12-12 03:27:44.205297+00" ] } }, @@ -13116,7 +13119,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-11-12 19:47:44.545527+00\" \\", + " --type=time \"--target=2019-12-12 03:27:44.205297+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -13160,9 +13163,9 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:47:46", + "# Recovery settings generated by pgBackRest restore on 2019-12-12 03:27:45", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-11-12 19:47:44.545527+00'", + "recovery_target_time = '2019-12-12 03:27:44.205297+00'", "recovery_target_action = 'promote'" ] } @@ -13242,16 +13245,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-11-12 19:47:37 UTC", - "LOG: starting point-in-time recovery to 2019-11-12 19:47:44.545527+00", + "LOG: database system was interrupted; last known up at 2019-12-12 03:27:36 UTC", + "LOG: starting point-in-time recovery to 2019-12-12 03:27:44.205297+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000016\" from archive", "LOG: redo starts at 0/16000028", "LOG: consistent recovery state reached at 0/160000F8", "LOG: restored log file \"000000040000000000000017\" from archive", - "LOG: recovery stopping before commit of transaction 639, time 2019-11-12 19:47:44.989745+00", - "LOG: redo done at 0/17020150", - "LOG: last completed transaction was at log time 2019-11-12 19:47:44.118045+00", + "LOG: recovery stopping before commit of transaction 639, time 2019-12-12 03:27:44.531902+00", + "LOG: redo done at 0/17020398", + "LOG: last completed transaction was at log time 2019-12-12 03:27:43.891184+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -13303,7 +13306,7 @@ "type" : "exe", "value" : { "output" : [ - "20191112-194631F_20191112-194736D" + "20191212-032635F_20191212-032735D" ] } }, @@ -13338,7 +13341,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-11-12 19:47:44.545527+00\" --target-action=promote restore" + " --type=time \"--target=2019-12-12 03:27:44.205297+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -13435,8 +13438,8 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-11-12 19:47:54 UTC", - "LOG: starting point-in-time recovery to 2019-11-12 19:47:44.545527+00", + "LOG: database system was interrupted; last known up at 2019-12-12 03:27:52 UTC", + "LOG: starting point-in-time recovery to 2019-12-12 03:27:44.205297+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"000000050000000000000018\" from archive", "LOG: redo starts at 0/18000028", @@ -13457,7 +13460,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20191112-194631F_20191112-194736D" + "20191212-032635F_20191212-032735D" ] }, "host" : "pg-primary", @@ -13475,45 +13478,45 @@ " db (current)", " wal archive min/max (9.6-1): 000000020000000000000008/000000050000000000000018", "", - " full backup: 20191112-194618F", - " timestamp start/stop: 2019-11-12 19:46:18 / 2019-11-12 19:46:30", + " full backup: 20191212-032619F", + " timestamp start/stop: 2019-12-12 03:26:19 / 2019-12-12 03:26:34", " wal start/stop: 000000020000000000000008 / 000000020000000000000008", - " database size: 21.0MB, backup size: 21.0MB", + " database size: 20.9MB, backup size: 20.9MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " full backup: 20191112-194631F", - " timestamp start/stop: 2019-11-12 19:46:31 / 2019-11-12 19:46:45", + " full backup: 20191212-032635F", + " timestamp start/stop: 2019-12-12 03:26:35 / 2019-12-12 03:26:48", " wal start/stop: 00000002000000000000000A / 00000002000000000000000A", - " database size: 21.0MB, backup size: 21.0MB", + " database size: 20.9MB, backup size: 20.9MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " diff backup: 20191112-194631F_20191112-194703D", - " timestamp start/stop: 2019-11-12 19:47:03 / 2019-11-12 19:47:07", + " diff backup: 20191212-032635F_20191212-032706D", + " timestamp start/stop: 2019-12-12 03:27:06 / 2019-12-12 03:27:09", " wal start/stop: 000000020000000000000011 / 000000020000000000000011", - " database size: 21.0MB, backup size: 97.6KB", + " database size: 20.9MB, backup size: 97.6KB", " repository size: 2.5MB, repository backup size: 11.8KB", - " backup reference list: 20191112-194631F", + " backup reference list: 20191212-032635F", "", - " incr backup: 20191112-194631F_20191112-194715I", - " timestamp start/stop: 2019-11-12 19:47:15 / 2019-11-12 19:47:25", + " incr backup: 20191212-032635F_20191212-032715I", + " timestamp start/stop: 2019-12-12 03:27:15 / 2019-12-12 03:27:26", " wal start/stop: 000000030000000000000013 / 000000030000000000000013", - " database size: 34.6MB, backup size: 13.7MB", + " database size: 34.5MB, backup size: 13.7MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20191112-194631F, 20191112-194631F_20191112-194703D", + " backup reference list: 20191212-032635F, 20191212-032635F_20191212-032706D", "", - " diff backup: 20191112-194631F_20191112-194736D", - " timestamp start/stop: 2019-11-12 19:47:36 / 2019-11-12 19:47:43", + " diff backup: 20191212-032635F_20191212-032735D", + " timestamp start/stop: 2019-12-12 03:27:35 / 2019-12-12 03:27:43", " wal start/stop: 000000040000000000000016 / 000000040000000000000016", " database size: 27.8MB, backup size: 7.0MB", - " repository size: 3.3MB, repository backup size: 846.3KB", - " backup reference list: 20191112-194631F", + " repository size: 3.3MB, repository backup size: 846.6KB", + " backup reference list: 20191212-032635F", "", - " incr backup: 20191112-194631F_20191112-194752I", - " timestamp start/stop: 2019-11-12 19:47:52 / 2019-11-12 19:47:57", + " incr backup: 20191212-032635F_20191212-032750I", + " timestamp start/stop: 2019-12-12 03:27:50 / 2019-12-12 03:27:55", " wal start/stop: 000000050000000000000018 / 000000050000000000000018", - " database size: 27.8MB, backup size: 2MB", - " repository size: 3.3MB, repository backup size: 210.8KB", - " backup reference list: 20191112-194631F, 20191112-194631F_20191112-194736D" + " database size: 27.7MB, backup size: 2MB", + " repository size: 3.3MB, repository backup size: 211.1KB", + " backup reference list: 20191212-032635F, 20191212-032635F_20191212-032735D" ] } }, @@ -13535,8 +13538,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-11-12 19:47:44.545527+00\" \\", - " --set=20191112-194631F_20191112-194736D --target-action=promote restore" + " --type=time \"--target=2019-12-12 03:27:44.205297+00\" \\", + " --set=20191212-032635F_20191212-032735D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -13633,16 +13636,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-11-12 19:47:37 UTC", - "LOG: starting point-in-time recovery to 2019-11-12 19:47:44.545527+00", + "LOG: database system was interrupted; last known up at 2019-12-12 03:27:36 UTC", + "LOG: starting point-in-time recovery to 2019-12-12 03:27:44.205297+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000016\" from archive", "LOG: redo starts at 0/16000028", "LOG: consistent recovery state reached at 0/160000F8", "LOG: restored log file \"000000040000000000000017\" from archive", - "LOG: recovery stopping before commit of transaction 639, time 2019-11-12 19:47:44.989745+00", - "LOG: redo done at 0/17020150", - "LOG: last completed transaction was at log time 2019-11-12 19:47:44.118045+00", + "LOG: recovery stopping before commit of transaction 639, time 2019-12-12 03:27:44.531902+00", + "LOG: redo done at 0/17020398", + "LOG: last completed transaction was at log time 2019-12-12 03:27:43.891184+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -13768,7 +13771,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.19: --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: stanza-create command begin 2.20: --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" ] @@ -13796,14 +13799,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.19: --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.20: --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-11-12 19:48:14\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:28:09\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000070000000000000018, lsn = 0/18000028", " [filtered 1136 lines of output]", "P04 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12312 (0B, 100%)", - "P02 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12307 (0B, 100%)", - "P00 INFO: full backup size = 27.8MB", + "P01 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 = 000000070000000000000018, lsn = 0/180000F8", " [filtered 6 lines of output]" @@ -13844,7 +13847,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.19: --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.20: --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" ] } @@ -13870,7 +13873,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.19: --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: stanza-delete command begin 2.20: --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" ] @@ -13933,7 +13936,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.20/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -14517,17 +14520,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.6-1): 000000080000000000000021/000000080000000000000023", + " wal archive min/max (9.6-1): 00000008000000000000001F/000000080000000000000020", "", - " full backup: 20191112-194922F", - " timestamp start/stop: 2019-11-12 19:49:22 / 2019-11-12 19:49:40", - " wal start/stop: 000000080000000000000021 / 000000080000000000000021", + " full backup: 20191212-032917F", + " timestamp start/stop: 2019-12-12 03:29:17 / 2019-12-12 03:29:35", + " wal start/stop: 00000008000000000000001F / 00000008000000000000001F", " database size: 27.8MB, backup size: 27.8MB", " repository size: 3.2MB, repository backup size: 3.2MB", "", - " full backup: 20191112-194942F", - " timestamp start/stop: 2019-11-12 19:49:42 / 2019-11-12 19:49:51", - " wal start/stop: 000000080000000000000023 / 000000080000000000000023", + " full backup: 20191212-032937F", + " timestamp start/stop: 2019-12-12 03:29:37 / 2019-12-12 03:29:46", + " wal start/stop: 000000080000000000000020 / 000000080000000000000020", " database size: 27.8MB, backup size: 27.8MB", " repository size: 3.2MB, repository backup size: 3.2MB" ] @@ -14673,7 +14676,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.20/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -14966,7 +14969,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:50:25", + "# Recovery settings generated by pgBackRest restore on 2019-12-12 03:30:21", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" ] @@ -15073,12 +15076,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-11-12 19:49:44 UTC", + "LOG: database system was interrupted; last known up at 2019-12-12 03:29:38 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000023\" from archive", - "LOG: redo starts at 0/23000028", - "LOG: consistent recovery state reached at 0/230000F8", + "LOG: restored log file \"000000080000000000000020\" from archive", + "LOG: redo starts at 0/20000028", + "LOG: consistent recovery state reached at 0/20000130", "LOG: database system is ready to accept read only connections" ] } @@ -15160,7 +15163,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/240216E8 | 2019-11-12 19:50:34.065348+00", + " 0/21021938 | 2019-12-12 03:30:28.240104+00", "(1 row)" ] } @@ -15189,7 +15192,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-11-12 19:50:35.439699+00", + " Important Data | 2019-12-12 03:30:30.370302+00", "(1 row)" ] } @@ -15215,7 +15218,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.19: --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.20: --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 this is a standby", "P00 INFO: check command end: completed successfully" ] @@ -15361,7 +15364,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:50:42", + "# Recovery settings generated by pgBackRest restore on 2019-12-12 03:30:35", "primary_conninfo = 'host=172.17.0.4 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" @@ -15453,8 +15456,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000024\" from archive", - "LOG: started streaming WAL from primary at 0/25000000 on timeline 8" + "LOG: restored log file \"000000080000000000000021\" from archive", + "LOG: started streaming WAL from primary at 0/22000000 on timeline 8" ] } }, @@ -15486,7 +15489,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-11-12 19:50:49.522622+00", + " Important Data | 2019-12-12 03:30:41.879877+00", "(1 row)" ] } @@ -15515,7 +15518,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-11-12 19:50:50.329649+00", + " Important Data | 2019-12-12 03:30:42.203236+00", "(1 row)" ] } @@ -15746,8 +15749,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.19: --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 00000008000000000000002A successfully archived to 'archive/demo/9.6-1/0000000800000000/00000008000000000000002A-4bef53ea0343ce885b6ad004a7410054dae5985e.gz'", + "P00 INFO: check command begin 2.20: --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 '/var/lib/pgbackrest/archive/demo/9.6-1/0000000800000000/000000080000000000000027-4a551974eb563e3dd61896508142fa8eae80468e.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -15774,24 +15777,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.19: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000025", + "P00 INFO: archive-push-async command begin 2.20: [/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 --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", + "P00 INFO: archive-push-async command end: completed successfully", + "", + "-------------------PROCESS START-------------------", + "P00 INFO: archive-push-async command begin 2.20: [/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 --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", + "P01 DETAIL: pushed WAL file '000000080000000000000024' to the archive", "P01 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.19: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000026...000000080000000000000029", "P01 DETAIL: pushed WAL file '000000080000000000000026' to the archive", - "P01 DETAIL: pushed WAL file '000000080000000000000027' to the archive", - "P01 DETAIL: pushed WAL file '000000080000000000000028' to the archive", - "P01 DETAIL: pushed WAL file '000000080000000000000029' to the archive", "P00 INFO: archive-push-async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.19: [/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 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000002A", - "P01 DETAIL: pushed WAL file '00000008000000000000002A' to the archive", + "P00 INFO: archive-push-async command begin 2.20: [/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 --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" ] } @@ -15831,24 +15834,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.19: [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.6/data --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000023...00000008000000000000002A", + "P00 INFO: archive-get-async command begin 2.20: [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 --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", + "P01 DETAIL: found 000000080000000000000021 in the archive", + "P01 DETAIL: unable to find 000000080000000000000022 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.20: [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 --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", "P01 DETAIL: found 000000080000000000000023 in the archive", "P01 DETAIL: found 000000080000000000000024 in the archive", - "P01 DETAIL: unable to find 000000080000000000000025 in the archive", - "P01 DETAIL: unable to find 000000080000000000000026 in the archive", - " [filtered 20 lines of output]", - "P00 INFO: archive-get-async command begin 2.19: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000025...00000008000000000000002C", "P01 DETAIL: found 000000080000000000000025 in the archive", "P01 DETAIL: found 000000080000000000000026 in the archive", "P01 DETAIL: found 000000080000000000000027 in the archive", - "P01 DETAIL: found 000000080000000000000028 in the archive", - "P01 DETAIL: found 000000080000000000000029 in the archive", - "P01 DETAIL: found 00000008000000000000002A in the archive", - "P01 DETAIL: unable to find 00000008000000000000002B in the archive", - "P01 DETAIL: unable to find 00000008000000000000002C in the archive", - " [filtered 4 lines of output]" + "P01 DETAIL: unable to find 000000080000000000000028 in the archive", + "P01 DETAIL: unable to find 000000080000000000000029 in the archive", + " [filtered 12 lines of output]" ] } }, @@ -15930,19 +15933,18 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 19:51:08\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000008000000000000002C, lsn = 0/2C000028", - "P00 INFO: wait for replay on the standby to reach 0/2C000028", - "P00 INFO: replay on the standby reached 0/2C0000D0, checkpoint 0/2C000060", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/global/pg_control (8KB, 0%) checksum 86dae53457142a065ab8f840d1a7e77ec5fd3412", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_log/postgresql.log (5.6KB, 0%) checksum 3477a344b25d5ed88131cba3f22663fd76e0d3c4", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2608 (440KB, 20%) checksum 48735669cf6c6773ca7c09c7c0b3fc3abecf8245", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/1249 (360KB, 37%) checksum 59fda395195a3c2245808a6bcef587adeed22b96", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2674 (344KB, 52%) checksum 6fcadfb42483fdb5a3727f341c4006f2dcb6fecd", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_hba.conf (4.1KB, 53%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2673 (320KB, 67%) checksum 4b4de639b6fc3476cea94f957c3baa10e294468d", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2658 (104KB, 72%) checksum 2ea4a8893b84ab81da3be24eb5a65745b8d8f3a2", - " [filtered 35 lines of output]" + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-12-12 03:31:00\": 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/290003C0, checkpoint 0/29000060", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/global/pg_control (8KB, 0%) checksum c296484bf45e692b07169e004f6988fac224357a", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_log/postgresql.log (5.6KB, 0%) checksum 9960ecc9a2e9e133b4b7271bb8f0670bb1a8e474", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/1249 (360KB, 17%) checksum 1e1386987e39a37fc37dd0d874a94c2f1af99387", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2674 (344KB, 33%) checksum 98f5089326d932f62ad6d695bbc2dc5401a81900", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_hba.conf (4.1KB, 33%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2673 (304KB, 47%) checksum 96a4953ae02127c208dc45a4ea2a998658911e6d", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2608 (440KB, 67%) checksum 7f38f711ed79db32fb96ebbda568c415e2a34d48", + " [filtered 36 lines of output]" ] } }, @@ -16204,7 +16206,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.19: --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.20: --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" ] } @@ -16238,20 +16240,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 Tue 2019-11-12 19:51:29 UTC; 471ms ago", + " Active: active (running) since Thu 2019-12-12 03:31:21 UTC; 343ms ago", " Docs: https://www.postgresql.org/docs/10/static/", - " Process: 3948 ExecStartPre=/usr/pgsql-10/bin/postgresql-10-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", - " Main PID: 3953 (postmaster)", - " CGroup: /docker/a4d6c66373998a2ed9825647f17e5e58330d236a3e56259351f473d4dda612d3/system.slice/postgresql-10.service", - " ├─3953 /usr/pgsql-10/bin/postmaster -D /var/lib/pgsql/10/data/", - " ├─3954 postgres: logger process ", - " ├─3956 postgres: checkpointer process ", - " ├─3957 postgres: writer process ", - " ├─3958 postgres: wal writer process ", - " ├─3959 postgres: autovacuum launcher process ", - " ├─3960 postgres: archiver process ", - " ├─3961 postgres: stats collector process ", - " └─3962 postgres: bgworker: logical replication launcher " + " Process: 3955 ExecStartPre=/usr/pgsql-10/bin/postgresql-10-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", + " Main PID: 3960 (postmaster)", + " CGroup: /docker/3531eca8ec724f0ddd828503bd413377232ee1919a6df8debd79d9634406212f/system.slice/postgresql-10.service", + " ├─3960 /usr/pgsql-10/bin/postmaster -D /var/lib/pgsql/10/data/", + " ├─3961 postgres: logger process ", + " ├─3963 postgres: checkpointer process ", + " ├─3964 postgres: writer process ", + " ├─3965 postgres: wal writer process ", + " ├─3966 postgres: autovacuum launcher process ", + " ├─3967 postgres: archiver process ", + " ├─3968 postgres: stats collector process ", + " └─3969 postgres: bgworker: logical replication launcher " ] } }, diff --git a/doc/resource/git-history.cache b/doc/resource/git-history.cache index 5695c7aeb..14f19d641 100644 --- a/doc/resource/git-history.cache +++ b/doc/resource/git-history.cache @@ -1,4 +1,537 @@ [ + { + "commit": "b031dbbcf8fa83ef60cfabc20fbf16046904f9aa", + "date": "2019-12-11 22:11:04 -0500", + "subject": "Allow timezones to be explicitly set for testing.", + "body": "The TZ environment variable was not reliably pushed down to the test processes.\n\nInstead pass TZ via a command line parameter and set explicitly in the test process." + }, + { + "commit": "db5175915a0dc09b7591d71886ee8ce3bf5a12c3", + "date": "2019-12-11 21:51:32 -0500", + "subject": "Use localtime() to format time_t in cvtTimeToZ().", + "body": "Using gmtime() produced output skewed by the local timezone.\n\nSince this function is currently only used for debug logging this is not a live bug in the field." + }, + { + "commit": "811ecd758d9e2ca12966995ec6cfc1e4ff8c0cfd", + "date": "2019-12-11 14:57:32 -0500", + "subject": "Make type in comment more specific." + }, + { + "commit": "0194a9867182435c7a181be6466ca2b91f05801d", + "date": "2019-12-11 14:36:39 -0500", + "subject": "Fix archive-push/archive-get when PGDATA is symlinked.", + "body": "Commit 7168e074 tried to use cwd() as PGDATA but this would disagree with the path configured in pgBackRest if PGDATA was symlinked.\n\nIf cwd() does not match the pgBackRest path then chdir() to the path and make sure the next cwd() matches the result from the first call." + }, + { + "commit": "8c840c28a65dae3cca581691e88e51839cd64bca", + "date": "2019-12-11 08:48:46 -0500", + "subject": "Fix segfault on unexpected EOF in gzip decompression.", + "body": "If the compressed stream terminated early then the decompression process would get a flush request (NULL input buffer) since the filter was not marked as done. This could happen on a zero-length or truncated (i.e. invalid) compressed file.\n\nChange the existing assertion to an error to catch this condition in production gracefully." + }, + { + "commit": "c933f12f9c39d7c076f84252c081c3430be72e55", + "date": "2019-12-10 13:28:15 -0500", + "subject": "Remove obsolete --perl-option option.", + "body": "This option was used when Perl was executed instead of being embedded.\n\nIt has been obsolete for a long time so remove it." + }, + { + "commit": "d0ba8ff58c46c15facb4dba19eab8db83835b07c", + "date": "2019-12-10 13:16:47 -0500", + "subject": "Remove test point infrastructure.", + "body": "82df7e6f and 9856fef5 updated tests that used test points in preparation for the feature not being available in the C code.\n\nSince tests points are no longer used remove the infrastructure.\n\nAlso remove one stray --test option in mock/all that was essentially a noop but no longer works now that the option has been removed." + }, + { + "commit": "d7d663c2b93fd6a3bdfb1c6a4bd1feae0cd8cc63", + "date": "2019-12-10 13:02:36 -0500", + "subject": "Make buildPutDiffers() work with empty files.", + "body": "If the file was empty the timestamp was updated. If the file is empty and there is no content then file should not be saved." + }, + { + "commit": "800d2972b00bb381c92cdadead9a1c04141853be", + "date": "2019-12-09 18:28:20 -0500", + "subject": "Remove stray uint type.", + "body": "This was probably copied from an example but some compilers don't like it." + }, + { + "commit": "471d54a738887dd5c99afced36420cf6fb5c631b", + "date": "2019-12-09 17:55:20 -0500", + "subject": "Add stringz module to define some commonly used strings.", + "body": "This module will eventually contain various useful zero-terminated string functions.\n\nFor now, using NULL_Z instead of strPtr(NULL_STR) avoids a strict aliasing warning on RHEL 6. This is likely a compiler issue, but adding these constants seems like a good idea anyway and we are not going to get a fix in a gcc that old." + }, + { + "commit": "ca33545630a073579ef763294d897dd06820f5a5", + "date": "2019-12-09 14:06:32 -0500", + "subject": "Remove redundant test and move another test." + }, + { + "commit": "61ad3a44c9e562a306064770428726a5664056e9", + "date": "2019-12-09 09:12:34 -0500", + "subject": "Note that next repo format should use UTC for backup labels." + }, + { + "commit": "d3132dae26ad40c2a47db62d4cc5f4502465d7c6", + "date": "2019-12-08 18:43:47 -0500", + "subject": "Add functions for building new manifests.", + "body": "New manifests are built before a backup is performed." + }, + { + "commit": "2cfde18755f305008af134ac833aca6989321ca7", + "date": "2019-12-08 14:19:47 -0500", + "subject": "Add pgLsnFromStr(), pgLsnToStr(), and pgLsnToWalSegment()." + }, + { + "commit": "f517b141fb065efd21878fc774f51b52c014d887", + "date": "2019-12-08 14:15:23 -0500", + "subject": "Update pq harness to play nicely with variable LSNs." + }, + { + "commit": "d2587250da82a90257534268e2175bfcfd3e15ac", + "date": "2019-12-07 18:44:06 -0500", + "subject": "Add backup functions to Db object.", + "body": "These functions implement the database backup functionality for all supported versions." + }, + { + "commit": "8766326da812f6aae00bdbfef4b1382805de8c3e", + "date": "2019-12-07 17:48:53 -0500", + "subject": "Add protocolRemoteFree() to shutdown a specific remote.", + "body": "Sometimes it is useful to shutdown remotes that are no longer needed instead of waiting for them to be shutdown at program exit." + }, + { + "commit": "5175d52e9466c339f5a4cd5c7d7e8724c3bbb2e3", + "date": "2019-12-07 17:42:42 -0500", + "subject": "Add constant for pg_tblspc path." + }, + { + "commit": "78b1e05b7e6f8d09a424a2e8864e317d63c474f3", + "date": "2019-12-07 17:39:25 -0500", + "subject": "Remove unused Perl module." + }, + { + "commit": "35a262951a1ed74431cdfa92c36ee2c9ae867c1a", + "date": "2019-12-07 17:33:34 -0500", + "subject": "Pq test harness usability and error reporting improvements.", + "body": "Pq script errors are now printed in test output in case they are being masked by a later error.\n\nOnce a script error occurs, the same error will be thrown forever rather than throwing a new error on the next item in the script.\n\nHRNPQ_MACRO_CLOSE() is not required in scripts unless harnessPqScriptStrictSet(true) is called. Most higher-level tests should not need to run in strict mode.\n\nThe command/check test seems to require strict mode but there's no apparent reason why it should. This would be a good thing to look into at some point." + }, + { + "commit": "d6479ddd0efda9bb442f4bbfe937daa0ab46ac72", + "date": "2019-12-07 17:15:20 -0500", + "subject": "Add log replacements to help test non-deterministic log output.", + "body": "Some log output (e.g. time) is hard to test because the values can change between tests.\n\nAdd expressions to replace substrings in the log with predictable values to simplify testing.\n\nThis is similar to the log replacement facility available for Perl expect log testing." + }, + { + "commit": "e4716ee036e8a4417f6dcb8d108c0d7b9e3f2b7d", + "date": "2019-12-07 17:02:41 -0500", + "subject": "Improve diff output in tests.", + "body": "Always compare expected vs actual (in that order) and give a hint in the error message to indicate what should be added and what removed." + }, + { + "commit": "8c47ee296a1f311682b46b3f1de98d4eb7dcaf6a", + "date": "2019-12-07 16:55:50 -0500", + "subject": "Improve storage harness test callback.", + "body": "Add ability to omit the root (i.e. dot) path and get real size of compressed files." + }, + { + "commit": "1b3770e248f4a5b59ba16f6a4c6cba7cf23de883", + "date": "2019-12-07 09:48:33 -0500", + "subject": "Recopy during backup when resumed file is missing or corrupt.", + "body": "A recopy would occur if the size or checksum was invalid but on error the backup would terminate.\n\nInstead, recopy the resumed file on any error. If the error is systemic (e.g. network failure) then it should show up again during the recopy." + }, + { + "commit": "d3f717c89208ef132e75b634ad2e91efbda25a04", + "date": "2019-12-07 09:26:51 -0500", + "subject": "Storage hardlink and symlink features require path feature.", + "body": "Since there is only one driver that supports (or is likely to support) links (Posix), require the path feature to make logic in the code simpler.\n\nThe checks are added just in case another driver supports links." + }, + { + "commit": "e632c605250438a9e06f133b55c88e578ea709cd", + "date": "2019-12-06 11:48:41 -0500", + "subject": "Fix backup labels in mock/all resume integration tests.", + "body": "These were not getting updated to match the directory name when the manifests were copied.\n\nThe Perl code didn't care but the C code expects labels to be set correctly." + }, + { + "commit": "5395aa0c92febadbf0c71f93799877cfe7268b6b", + "date": "2019-12-05 22:34:38 -0500", + "subject": "Allocate one extra process for backup from standby.", + "body": "The connection to the primary is process-max + 1 so make space for it." + }, + { + "commit": "b2d82bd2484dbe3dee12479efb6e9aceba5aac57", + "date": "2019-12-04 19:43:26 -0500", + "subject": "Add functions to get the substring found by regExpMatch().", + "body": "For now this is only used in testing but there are places where it could be useful in the core code.\n\nEven if that turns out not to be true, it doesn't seem worth implementing a new version in testing just to capture a few values that we already have." + }, + { + "commit": "053af2f54db0eaaaca3ac67cbdd68ba1b701048a", + "date": "2019-12-04 19:31:39 -0500", + "subject": "Add asserts to ensure hostId > 0.", + "body": "hostId is 1-based (e.g. pg1-*) so it should always be > 0." + }, + { + "commit": "d1f49825b11ba88ac2024734c4c8a1c961f05854", + "date": "2019-12-02 11:54:45 -0500", + "subject": "Add missing header." + }, + { + "commit": "8dfe0e48e25725978738ecb3fec24e5ce2e9076b", + "date": "2019-12-02 10:49:25 -0500", + "subject": "Use more general error code when tablespace linked into PGDATA.", + "body": "The specific error code was not that useful since we also test the error message which contains details of the link error." + }, + { + "commit": "33a63aae503adf8d7f3f4430ee6478b845d38e2c", + "date": "2019-12-02 07:39:42 -0500", + "subject": "Add flag to dbGet() to require a standby.", + "body": "This is needed from backup from standby functionality." + }, + { + "commit": "28116918ff3a00b133d74d524df452e29398082d", + "date": "2019-12-02 07:35:36 -0500", + "subject": "Error in remote command when stop file exists.", + "body": "This duplicates the Perl functionality." + }, + { + "commit": "fc291b6f28753329afdd7b65b115f90d31569df1", + "date": "2019-12-01 17:47:47 -0500", + "subject": "Reduce the scope of mock/all exclusion tests.", + "body": "Run exclusions only on the tests where they will have an effect to reduce churn in the expect logs when they change." + }, + { + "commit": "d15ed338217667f0bd7ffff3eb9f5e24052477fd", + "date": "2019-12-01 16:32:21 -0500", + "subject": "Make MCV return false when a boolean tie.", + "body": "This is to maintain compatibility with the older Perl code that returned the lowest sorted order item in a tie.\n\nFor other datatypes the C code returns the same value, often enough at least to not cause churn in the expect tests." + }, + { + "commit": "ab0974cc8ea0cff70a9f680ff8e1dc10b1ba3c48", + "date": "2019-12-01 16:30:44 -0500", + "subject": "Add PostgreSQL version where backup from standby is supported." + }, + { + "commit": "218698088f0e4d5a978b8f4c8df6b114980889b9", + "date": "2019-12-01 16:28:33 -0500", + "subject": "Add PostgreSQL file and path names used for building manifests." + }, + { + "commit": "56ee321a9565e7c1e076c58744e0cfc408801e28", + "date": "2019-12-01 15:49:34 -0500", + "subject": "Add pgLsnName() and pgXactPath()." + }, + { + "commit": "bc83354fb53a1ba8a86366478c5be871775dd04a", + "date": "2019-11-29 11:29:16 -0500", + "subject": "Add storage feature flags.", + "body": "Even though storagePathSync() is a noop when path sync is not supported, it is useful to know in advance if the function will do anything so add the storageFeaturePathSync flag.\n\nThe storageFeatureSymLink and storageFeatureHardLink flags are currently informational only since links are not yet implemented in the storage interface." + }, + { + "commit": "0933aeb1ad954f8c7b2ed6d4e160d7e132ada8b7", + "date": "2019-11-29 10:56:13 -0500", + "subject": "Remove unused reference to use pgBackRest::Backup::File." + }, + { + "commit": "50eb062e0e7a6aac326e411ed28e0c8aa397bf01", + "date": "2019-11-28 09:34:19 -0500", + "subject": "Fix reference list when backup.info is reconstructed in expire command.", + "body": "Adding a manifest to backup.info was migrated to C in 4e4d1f41 but deduplication of the references was missed leading to a reference for every file being added to backup.info.\n\nSince the backup command is still using the Perl version of reconstruct this issue will not express unless 1) there is a backup missing from backup.info and 2) the expire command is run directly instead of running after backup as usual.\n\nThis unlikely combination of events means this is probably not a problem in the field." + }, + { + "commit": "686b6f91da4cfdbc8708b0f08ced460c10e4326c", + "date": "2019-11-28 08:27:21 -0500", + "subject": "Set archive-check option in manifest correctly when offline.", + "body": "Archive check does not run when in offline backup mode but the option was set to true in the manifest. It's harmless since these options are informational only but it could cause confusion when debugging." + }, + { + "commit": "5506e5de27b1a61015f6e18d5582ca81f696e30f", + "date": "2019-11-27 15:09:07 -0500", + "subject": "Remove obsolete call to perlExec() for stand-alone expire command.", + "body": "This was missed in ecae5e34." + }, + { + "commit": "4683557c54d2f2511fd754ae7c0c5e34ac1e5ba4", + "date": "2019-11-26 17:22:30 -0500", + "subject": "Remove unused reference to pgBackRest::Db." + }, + { + "commit": "158e439689c8247ba2e53da4bfe65934e391b690", + "date": "2019-11-26 17:16:45 -0500", + "subject": "Remove obsolete Perl archive code.", + "body": "This should have been removed in a1c13a50 but was missed." + }, + { + "commit": "82df7e6f3bf53409b3c3a15eff7bbc33c13197f8", + "date": "2019-11-26 11:32:12 -0500", + "subject": "Update integration tests in real/all that use test points.", + "body": "Test points are not supported by the new C code so these will be replaced with unit tests.\n\nThe fact that the tests still pass even when the changes aren't made mid-backup (except application_name) shows how weak they were in the first place.\n\nEven so, this does represent a regression in (soon to be be removed) Perl coverage." + }, + { + "commit": "b145c72b5c27ad299ad1fa7dcd84f45fb0797e0f", + "date": "2019-11-25 08:51:28 -0500", + "subject": "Update missing manifest warning in BackupInfo.", + "body": "This brings the Perl message in line with C to reduce expect log churn." + }, + { + "commit": "8800f32ad9b6b9b1351afd4280cc8dfe1ada2d92", + "date": "2019-11-25 08:35:26 -0500", + "subject": "Remove exclusions once they have been tested in mock/all.", + "body": "The exclusions no longer have any effect after a restore and just add noise to the expect log." + }, + { + "commit": "9856fef5861fbf054007233f78582d3584c03565", + "date": "2019-11-25 07:48:52 -0500", + "subject": "Update integration tests in mock/all that use test points.", + "body": "Test points will not be available in the C code so update these tests as best as possible without using them.\n\nThis represents a loss of coverage for the Perl code (soon to be removed) which will be made up in the C code with unit tests." + }, + { + "commit": "3cd45a7411ce67630915c89cf5c69a37265d0e07", + "date": "2019-11-25 07:45:58 -0500", + "subject": "Remove start/stop --force integration tests in mock/all.", + "body": "These tests require test points which are not being implemented in the C code.\n\nThis functionality is fully tested in the command/control unit tests so integration tests are no longer required." + }, + { + "commit": "01aefc563dbabc7c7b1b7dbed27716692898597f", + "date": "2019-11-25 07:37:09 -0500", + "subject": "Update Perl page checksum expression.", + "body": "This expression determines which files contain page checksums but it was also including the directory above the relation directories. In a real PostgreSQL installation this not a problem because these directories don't contain any files.\n\nHowever, our tests place a file in `base` which the Perl code thought should have page checksums while the new C code says no.\n\nUpdate the expression to document the change and avoid churn in the expect logs later." + }, + { + "commit": "18e43c5955217838ad55e68e176b83a9187533ec", + "date": "2019-11-24 09:24:52 -0500", + "subject": "Fix comment typo." + }, + { + "commit": "cace54151f3dc9f686b99923f1dbd1c010ab84f4", + "date": "2019-11-23 10:32:57 -0500", + "subject": "Add hostId to protocolLocalGet().", + "body": "Previously this function was only creating locals that talked to the repository. Backup will need to be able to talk to multiple PostgreSQL hosts." + }, + { + "commit": "ab65ffdfacf47b6d182cbf6461d49a76c0cc8b00", + "date": "2019-11-23 10:22:11 -0500", + "subject": "Add protocolStorageType*() to manage protocol storage types.", + "body": "Abstract the string representation of storage types that are passed over the protocol layer." + }, + { + "commit": "a4b9440d354c3cf95f7ca3aa68dc691c10c65e21", + "date": "2019-11-22 19:25:49 -0500", + "subject": "Only install specific lcov version when required.", + "body": "Installing lcov 1.14 everywhere turned out to be a problem just as using 1.13 on Ubuntu 19.04 was.\n\nSince we primarily use Ubuntu 18.04 for coverage testing and reporting, we definitely want to make sure that works. So, revert to using the default packaged lcov except when specified otherwise in VmTest.pm.\n\nPostgreSQL minor version releases are also included since all containers have been rebuilt." + }, + { + "commit": "52a3ba6b6f25443b5ed456969b794f63a809a606", + "date": "2019-11-22 15:18:56 -0500", + "subject": "Revert \"Forbid % character in parameters.\"", + "body": "The issue \"fixed\" in f01aa586 was caused by treating all strings as format strings while logging, which was fixed in 0c05df45.\n\nRevert because there no longer seems a reason for the extra logic, and it was only partially applied, i.e. not to env vars, command-line options, or config options." + }, + { + "commit": "381aecae4eeb15c538318e95c3101fa07a6712d4", + "date": "2019-11-22 14:30:56 -0500", + "subject": "Fix walPath() when CWD is / and path is relative.", + "body": "The function would return a // prefix in this case, which works fine but looks odd while debugging." + }, + { + "commit": "0c05df458287c77df1188a68bbd74e145ed0f059", + "date": "2019-11-22 13:33:26 -0500", + "subject": "Add _FMT() logging macro variants.", + "body": "Using the same macros for formatted and unformatted logging had several disadvantages.\n\nFirst, the compiler was unable to verify the format string against the parameters.\n\nSecond, legitimate % characters in messages were being interpreted as format characters with garbage output ensuing.\n\nAdd _FMT() variants and update all call sites to use the correct variant." + }, + { + "commit": "99edcca55b3b8b1d144bdeb32c4d98c8ee13bf34", + "date": "2019-11-22 09:18:24 -0500", + "subject": "Add missing linefeeds." + }, + { + "commit": "29ab06cf133b6a3d18d7bc39507f92a45927b2e8", + "date": "2019-11-21 17:30:18 -0500", + "subject": "Add missing static keyword." + }, + { + "commit": "f01aa5861d341a19d85ddf3d7307c250994fecd4", + "date": "2019-11-21 17:28:03 -0500", + "subject": "Forbid % character in parameters.", + "body": "This character causes problems in C and in the shell if we try to output it in an error message.\n\nForbid it completely and spell it out in error messages to avoid strange effects.\n\nThere is likely a better way deal with the issue but this will do for now." + }, + { + "commit": "6be9c7b63a61464d60d15133662eb44776401b1d", + "date": "2019-11-21 17:20:42 -0500", + "subject": "Don't log secrets in cipherBlock module.", + "body": "In practice there are lots of ways secrets can be leaked (e.g. info load, protocol) but at least remove this instance." + }, + { + "commit": "c524ec4f95462bfbc1484e139d754280ec05e94c", + "date": "2019-11-21 16:06:27 -0500", + "subject": "Remove obsolete integration tests from mock/all.", + "body": "The protocol timeout tests have been superceded by unit tests.\n\nThe TEST_BACKUP_RESUME test point was incorrectly included into a number of tests, probably a copy pasto. It didn't hurt anything but it did add 200ms to each test where it appeared.\n\nCatalog and control version tests were redundant. The database version and system id tests covered the important code paths and the C code gets these values from a lookup table.\n\nFinally, fix an incomplete update to the backup.info file while munging for tests." + }, + { + "commit": "53cd530bbf3921c9500963d12393344425574d08", + "date": "2019-11-21 12:09:24 -0500", + "subject": "Safely initialize manifest object.", + "body": "Using a designated initializer is safer than zeroing the struct. It is also better for debugging because Valgrind should be able to detect access to areas that are not initialized due to alignment." + }, + { + "commit": "270f9496e432109b243e8db5d497805f72c56d91", + "date": "2019-11-21 12:08:32 -0500", + "subject": "Add manifestMove()." + }, + { + "commit": "c5a6631d2791ca5ae69a6178fac758b6c96f9781", + "date": "2019-11-21 11:44:40 -0500", + "subject": "Rearrange manifest module.", + "body": "Put functions with related functions, move getters above the helper functions, and rename manifestPgPath() to manifestPathPg()." + }, + { + "commit": "9f71a019c815af58bdd10ca2ceaaf6f1506fb560", + "date": "2019-11-21 10:55:03 -0500", + "subject": "Allow storageInfo() to operate outside the base storage path.", + "body": "It is occasionally useful to get information about a file outside of the base storage path. storageLocal() can be used in some cases but when the storage is remote is doesn't seem worth creating a separate storage object for adhoc info requests.\n\nstorageInfo() is a read-only operation so this seems pretty safe. The noPathEnforce parameter will make auditing exceptions easy." + }, + { + "commit": "d3b1897625c5b200724fb087cedd975fce07672f", + "date": "2019-11-21 10:34:32 -0500", + "subject": "Allow adhoc enforcement in storagePath().", + "body": "The ability to disable enforcement (i.e., the requested absolute path is within the storage path) globally will be removed after the Perl migration.\n\nThe feature will still be needed occasionally so allow it in an adhoc fashion." + }, + { + "commit": "e1dad720a126e2145718ccc78614727fa67cd619", + "date": "2019-11-21 10:21:35 -0500", + "subject": "Rename storagePath() to storageP() in places where it was missed.", + "body": "Correct this since it will be enforced in a subsequent patch." + }, + { + "commit": "cef9f0f37f33fe46ffcb229535a82479700b8de2", + "date": "2019-11-21 09:40:15 -0500", + "subject": "Process . in strPathAbsolute().", + "body": "A . in a link will always lead to an error since the destination will be inside PGDATA. However, it is accepted symlink syntax so it's better to resolve it and get the correct error message.\n\nAlso, we may have other uses for this function in the future." + }, + { + "commit": "a6fc0bf2ca778844448885192f11d17bf933b551", + "date": "2019-11-21 08:15:37 -0500", + "subject": "Add contributor." + }, + { + "commit": "3d2c0b0f3bcd4fbae0409a374f13d1aebb3bba81", + "date": "2019-11-20 14:24:58 -0500", + "subject": "Fix inverted page checksum load/save.", + "body": "This was not caught before because the on-disk format was correct even though the representation in memory was inverted." + }, + { + "commit": "63c4c148361c75ec53d2d6b53a3ec69389b925c3", + "date": "2019-11-19 20:52:01 -0500", + "subject": "Fix lcov build in Vagrantfile.", + "body": "-q was being instead of -s for silent mode which caused the build to fail." + }, + { + "commit": "5f034714453f28a04d8e48828e8ee53a61401c4e", + "date": "2019-11-19 15:56:13 -0500", + "subject": "Remove --force option from stanza-create documentation.", + "body": "This should have been removed when the support for the option was removed in c7333190.\n\nThe option cannot be removed entirely because we don't want to error in the case where --force was specified but the stanza is valid." + }, + { + "commit": "c5ee56a724fe6c49b7e3496090ff1bf6d73e33f8", + "date": "2019-11-19 10:34:14 -0500", + "subject": "Markdown update missed in 1db9e3b1." + }, + { + "commit": "20162ed3feec8d3de5de8e2cca7bb065a47bcc67", + "date": "2019-11-19 10:32:18 -0500", + "subject": "Fix typo." + }, + { + "commit": "74317f0ab6024d6c3a2f9635677f26489786e166", + "date": "2019-11-17 17:35:03 -0500", + "subject": "Use variable parameter macros to make the storage interface tidier.", + "body": "Many functions don't take optional parameters, so tacking the struct onto the end was pretty burdensome.\n\nAdd macros to get the interface under a variety of circumstances to make this practical." + }, + { + "commit": "1db9e3b144d886ec4159176312345d154b7178b8", + "date": "2019-11-17 15:10:40 -0500", + "subject": "Remove *MP() macros variants.", + "body": "Adding a dummy column which is always set by the P() macro allows a single macro to be used for parameters or no parameters without violating C's prohibition on the {} initializer.\n\n-Wmissing-field-initializers remains disabled because it still gives wildly different results between versions of gcc." + }, + { + "commit": "5c65d88f6254176c257f0bf58ca5c9f59bb99177", + "date": "2019-11-17 14:17:03 -0500", + "subject": "Use structs to pass optional parameters to storage drivers.", + "body": "New optional parameters can be added without breaking the interface and this reduces noise in the function prototypes." + }, + { + "commit": "09e129886e10a036e75493d55625f01c34e15d85", + "date": "2019-11-16 17:47:42 -0500", + "subject": "Add storageInfoList() support to remote storage driver." + }, + { + "commit": "26e1da82e7970ac03b8300da5f55ed7da1c2ab96", + "date": "2019-11-16 17:32:49 -0500", + "subject": "Allow zero-length substrings to be extracted from the end of a string.", + "body": "The previous assert was a bit overzealous and did not allow this case. It's not very common but still occasionally useful." + }, + { + "commit": "8a3de1e05a427bf40b7742ac476c01ef219f6b46", + "date": "2019-11-16 17:30:08 -0500", + "subject": "Add storageInfo() support to remote storage driver." + }, + { + "commit": "8d6a8c3bf0401705578d05902f8e7f871f3ab266", + "date": "2019-11-16 17:12:16 -0500", + "subject": "Store base path for remote storage locally.", + "body": "It wasn't practical for the main process to be ignorant of the remote path, and in any case knowing the path makes debugging easier.\n\nPull the remote path when connecting and pass the result of local storagePath() to the remote when making calls." + }, + { + "commit": "6827a13f3a4b1943769601acf34676bd1f689b4b", + "date": "2019-11-16 17:05:34 -0500", + "subject": "Add facility for reading and writing adhoc protocol output.", + "body": "Pushing output through a JSON blob is not practical if the output is extremely large, e.g. a backup manifest with 100K+ files.\n\nAdd read/write routines so that output can be returned in chunks but errors will still be detected." + }, + { + "commit": "90e19d99bab6b448484865cb6b46fb786352009c", + "date": "2019-11-16 09:38:42 -0500", + "subject": "Add mock module to CentOS6/7 Travis CI testing.", + "body": "This was dropped at some point but is important for integration coverage." + }, + { + "commit": "c8db11e65bed37ec18d83b527c895b8b86c9f11b", + "date": "2019-11-15 17:50:12 -0500", + "subject": "Add user-id/group-id to hrnReplaceKey()." + }, + { + "commit": "53a2d04ab0e0c6d3ef75afcef1663492d9db98e7", + "date": "2019-11-15 17:48:25 -0500", + "subject": "Allow \"null\" in jsonToStr()." + }, + { + "commit": "64ddc163c95b6bc87a7589462b1b16ca70cb08bc", + "date": "2019-11-15 10:50:17 -0500", + "subject": "Allow cipherPassSub() to be set in Info without the constructor.", + "body": "This value is not always known when the object is created so allow it to be set later." + }, + { + "commit": "48e8942e86b1471568116dc7fe604878ca9afd70", + "date": "2019-11-15 08:53:15 -0500", + "subject": "Allow trailing / for relative paths in strPathAbsolute().", + "body": "The trailing / does nothing but is nevertheless valid syntax." + }, + { + "commit": "83ab272171887092df85704e27ddfec22c9f335f", + "date": "2019-11-14 16:50:58 -0500", + "subject": "Update varNew*() calls to Variant constant macros.", + "body": "The constants created by the macros are faster and use less memory." + }, + { + "commit": "3b879c2cb3cfdbcd03dad1d6cc898052f8d8863d", + "date": "2019-11-14 16:48:41 -0500", + "subject": "Filter logged command options based on the command definition.", + "body": "Previously, options were being filtered based on what was currently valid. For chained commands (e.g. backup then expire) some options may be valid for the first command but not the second.\n\nFilter based on the command definition rather than what is currently valid to avoid logging options that are not valid for subsequent commands. This reduces the number of options logged and will hopefully help avoid confusion and expect log churn." + }, + { + "commit": "c5b76d213bc24d703e7b973df171a2b01595dabc", + "date": "2019-11-12 17:05:09 -0500", + "subject": "Modify InfoBackupData struct to use time_t for backup start/stop times.", + "body": "The uint64_t types worked but were not consistent with how timestamps are handled in other parts of the code." + }, + { + "commit": "6f65dde8d39436a31f90030e9b3cef5cf10d04e3", + "date": "2019-11-12 15:56:28 -0500", + "subject": "Begin v2.20 development." + }, { "commit": "2d10293d041cbbc72e4a2bac32401f6f384ecb1a", "date": "2019-11-12 15:51:28 -0500", diff --git a/doc/xml/auto/metric-coverage-report.auto.xml b/doc/xml/auto/metric-coverage-report.auto.xml index d5edb4dad..87b9cb230 100644 --- a/doc/xml/auto/metric-coverage-report.auto.xml +++ b/doc/xml/auto/metric-coverage-report.auto.xml @@ -2,21 +2,21 @@ command 3/3 (100.0%) 50/50 (100.0%) - 88/88 (100.0%) + 89/89 (100.0%) command/archive 10/10 (100.0%) - 62/62 (100.0%) - 176/176 (100.0%) + 68/68 (100.0%) + 186/186 (100.0%) command/archive/get 7/7 (100.0%) 86/86 (100.0%) - 222/222 (100.0%) + 223/223 (100.0%) @@ -30,7 +30,7 @@ command/backup 11/11 (100.0%) 114/114 (100.0%) - 289/289 (100.0%) + 292/292 (100.0%) @@ -44,14 +44,14 @@ command/control 4/4 (100.0%) 34/34 (100.0%) - 64/64 (100.0%) + 63/63 (100.0%) command/expire 8/8 (100.0%) - 130/130 (100.0%) - 242/242 (100.0%) + 134/134 (100.0%) + 243/243 (100.0%) @@ -79,7 +79,7 @@ command/remote 1/1 (100.0%) 6/6 (100.0%) - 28/28 (100.0%) + 29/29 (100.0%) @@ -105,16 +105,16 @@ common - 140/140 (100.0%) - 466/466 (100.0%) - 1447/1447 (100.0%) + 146/146 (100.0%) + 470/470 (100.0%) + 1517/1517 (100.0%) common/compress/gzip 16/16 (100.0%) - 22/22 (100.0%) - 167/167 (100.0%) + 24/24 (100.0%) + 168/168 (100.0%) @@ -149,7 +149,7 @@ common/io/http 36/36 (100.0%) 158/158 (100.0%) - 454/454 (100.0%) + 453/453 (100.0%) @@ -162,29 +162,29 @@ common/type 249/249 (100.0%) - 542/542 (100.0%) - 2894/2894 (100.0%) + 554/554 (100.0%) + 2900/2900 (100.0%) config 98/98 (100.0%) 546/546 (100.0%) - 1388/1388 (100.0%) + 1390/1390 (100.0%) db - 19/19 (100.0%) - 46/46 (100.0%) - 235/235 (100.0%) + 27/27 (100.0%) + 98/98 (100.0%) + 366/366 (100.0%) info - 106/106 (100.0%) - 480/480 (100.0%) - 1856/1856 (100.0%) + 116/116 (100.0%) + 696/696 (100.0%) + 2303/2303 (100.0%) @@ -196,23 +196,23 @@ postgres - 30/30 (100.0%) - 104/104 (100.0%) - 356/356 (100.0%) + 35/35 (100.0%) + 108/108 (100.0%) + 389/389 (100.0%) protocol - 60/60 (100.0%) - 156/156 (100.0%) - 712/712 (100.0%) + 66/66 (100.0%) + 168/168 (100.0%) + 791/791 (100.0%) storage 68/68 (100.0%) - 198/198 (100.0%) - 790/790 (100.0%) + 196/196 (100.0%) + 789/789 (100.0%) @@ -225,27 +225,27 @@ storage/posix 28/28 (100.0%) - 157/158 (99.37%) - 497/497 (100.0%) + 159/160 (99.38%) + 500/500 (100.0%) storage/remote - 23/23 (100.0%) - 90/90 (100.0%) - 493/493 (100.0%) + 29/29 (100.0%) + 108/108 (100.0%) + 624/624 (100.0%) storage/s3 28/28 (100.0%) 120/120 (100.0%) - 594/594 (100.0%) + 587/587 (100.0%) TOTAL - 1155/1155 (100.0%) - 4971/4972 (99.98%) - 16783/16783 (100.0%) + 1196/1196 (100.0%) + 5301/5302 (99.98%) + 17693/17693 (100.0%) \ No newline at end of file diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 4cd1a46d7..74a897d58 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -12,7 +12,7 @@ - + diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index 46c5aff7b..fcd488bd6 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.20dev'; +use constant PROJECT_VERSION => '2.20'; push @EXPORT, qw(PROJECT_VERSION); # Repository Format Number diff --git a/src/configure b/src/configure index c1f586719..be46a1df3 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.20dev. +# Generated by GNU Autoconf 2.69 for pgBackRest 2.20. # # # 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.20dev' -PACKAGE_STRING='pgBackRest 2.20dev' +PACKAGE_VERSION='2.20' +PACKAGE_STRING='pgBackRest 2.20' 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.20dev to adapt to many kinds of systems. +\`configure' configures pgBackRest 2.20 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.20dev:";; + short | recursive ) echo "Configuration of pgBackRest 2.20:";; 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.20dev +pgBackRest configure 2.20 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.20dev, which was +It was created by pgBackRest $as_me 2.20, 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.20dev, which was +This file was extended by pgBackRest $as_me 2.20, 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.20dev +pgBackRest config.status 2.20 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 f4fc63757..a7129698e 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -1,6 +1,6 @@ # Initialize configuration AC_PREREQ([2.69]) -AC_INIT([pgBackRest], [2.20dev]) +AC_INIT([pgBackRest], [2.20]) AC_CONFIG_SRCDIR([version.h]) # Check compiler diff --git a/src/perl/embed.auto.c b/src/perl/embed.auto.c index 1b4f720fc..439d06d80 100644 --- a/src/perl/embed.auto.c +++ b/src/perl/embed.auto.c @@ -13220,7 +13220,7 @@ static const EmbeddedModule embeddedModule[] = "\n" "push @EXPORT, qw(projectBin projectBinSet);\n" "\n\n\n\n\n\n" - "use constant PROJECT_VERSION => '2.20dev';\n" + "use constant PROJECT_VERSION => '2.20';\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 d7ee306b7..18acf9d21 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.20dev" +#define PROJECT_VERSION "2.20" #endif diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index 46013bfac..2cf3b5e8a 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -175,10 +175,6 @@ lib/pgBackRest/Archive/Common.pm: class: core type: perl -lib/pgBackRest/Archive/Get/File.pm: - class: core - type: perl - lib/pgBackRest/Archive/Info.pm: class: core type: perl @@ -1079,6 +1075,10 @@ src/common/type/mcv.h: class: core type: c/h +src/common/type/param.h: + class: core + type: c/h + src/common/type/string.c: class: core type: c @@ -1095,6 +1095,10 @@ src/common/type/stringList.h: class: core type: c/h +src/common/type/stringz.h: + class: core + type: c/h + src/common/type/variant.c: class: core type: c @@ -1719,10 +1723,6 @@ test/lib/pgBackRestTest/Module/Command/CommandArchiveCommonPerlTest.pm: class: test/module type: perl -test/lib/pgBackRestTest/Module/Command/CommandArchiveGetPerlTest.pm: - class: test/module - type: perl - test/lib/pgBackRestTest/Module/Common/CommonEncodePerlTest.pm: class: test/module type: perl