pgbackrest.git / summary / log / commit / refs

commit    2d10293d041cbbc72e4a2bac32401f6f384ecb1a
Author:   David Steele <david@pgmasters.net>
Date:     Tue Nov 12 20:51:28 2019 +0000

    v2.19: C Migrations and Bug Fixes
    
    Bug Fixes:
    
    * Fix remote timeout in delta restore. When performing a delta restore on a largely unchanged cluster the remote could timeout if no files were fetched from the repository within protocol-timeout. Add keep-alives to prevent remote timeout. (Reported by James Sewell, Jens Wilke.)
    * Fix handling of repeated HTTP headers. When HTTP headers are repeated they should be considered equivalent to a single comma-separated header rather than generating an error, which was the prior behavior. (Reported by donicrosby.)
    
    Improvements:
    
    * JSON output from the info command is no longer pretty-printed. Monitoring systems can more easily ingest the JSON without linefeeds. External tools such as jq can be used to pretty-print if desired. (Contributed by Cynthia Shang.)
    * The check command is implemented entirely in C. (Contributed by Cynthia Shang.)
    
    Documentation Improvements:
    
    * Document how to contribute to pgBackRest. (Contributed by Cynthia Shang.)
    * Document maximum version for auto-stop option. (Contributed by Brad Nicholson.)
    
    Test Suite Improvements:
    
    * Fix container test path being used when --vm=none. (Suggested by Stephen Frost.)
    * Fix mismatched timezone in expect test. (Suggested by Stephen Frost.)
    * Don't autogenerate embedded libc code by default. (Suggested by Stephen Frost.)


README.md | 2 +- doc/RELEASE.md | 2 +- doc/release.pl | 2 +- doc/resource/exe.cache | 1717 ++++++++--------------- doc/resource/git-history.cache | 323 +++++ doc/xml/auto/metric-coverage-report.auto.xml | 50 +- 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 | 66 +- test/lib/pgBackRestTest/Common/CodeCountTest.pm | 2 +- 14 files changed, 1006 insertions(+), 1186 deletions(-) diff --git a/README.md b/README.md index c41b21205..f25ddc9c1 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.18](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.18) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +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. 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 03098a086..9da078c78 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. +## Build release documentation. Be sure to install latex using the instructions from the Vagrantfile before running this step. The `u19` vm is also required. ``` doc/release.pl --build ``` diff --git a/doc/release.pl b/doc/release.pl index 8f9aa2768..1212c0cb5 100755 --- a/doc/release.pl +++ b/doc/release.pl @@ -215,7 +215,7 @@ eval # Generate coverage summary &log(INFO, "Generate Coverage Summary"); executeTest( - "${strTestExe} --no-package --no-valgrind --no-optimize --vm-max=3 --coverage-summary", + "${strTestExe} --vm=u19 --no-package --no-valgrind --no-optimize --vm-max=3 --coverage-summary", {bShowOutputAsync => true}); } diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index 3f6ce3d72..c4e5fb5c5 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -5,11 +5,11 @@ { "key" : { "id" : "s3", - "image" : "minio/minio:RELEASE.2019-06-04T01-15-58Z", + "image" : "minio/minio:RELEASE.2019-10-12T01-39-57Z", "name" : "s3-server", "option" : "-v {[host-repo-path]}/doc/resource/fake-cert/s3-server.crt:/root/.minio/certs/public.crt:ro -v {[host-repo-path]}/doc/resource/fake-cert/s3-server.key:/root/.minio/certs/private.key:ro -e MINIO_REGION=us-east-1 -e MINIO_DOMAIN=s3.us-east-1.amazonaws.com -e MINIO_BROWSER=off -e MINIO_ACCESS_KEY=accessKey1 -e MINIO_SECRET_KEY=verySecretKey1", "os" : "debian", - "param" : "server /data --address :443 --compat", + "param" : "server /data --address :443", "update-hosts" : false }, "type" : "host", @@ -35,7 +35,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.18" + "sudo mkdir -p /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -48,7 +48,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.18" + "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -61,7 +61,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.18" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -74,7 +74,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.18" + "sudo chown -R vagrant /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -133,7 +133,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.18/src && ./configure" + "cd /build/pgbackrest-release-2.19/src && ./configure" ], "host" : "build", "load-env" : true, @@ -146,7 +146,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "make -s -C /build/pgbackrest-release-2.18/src" + "make -s -C /build/pgbackrest-release-2.19/src" ], "host" : "build", "load-env" : true, @@ -173,7 +173,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.18/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -315,7 +315,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.18 - General help", + "pgBackRest 2.19 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -460,7 +460,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.18 - 'backup' command - 'log-path' option help", + "pgBackRest 2.19 - '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.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "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=<redacted> --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.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --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-447b63e200af269b0774a0a99c17206ef33340a3.gz'", + "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=<redacted> --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 end: completed successfully" ] } @@ -751,9 +751,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "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=<redacted> --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-10-01 15:22:05\": backup begins after the next regular checkpoint completes", + "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: 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" : [ - "20191001-152205F" + "20191112-200545F" ] } }, @@ -806,11 +806,11 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum 9170cdc9ff61f1f3a7b7ee3e72ea9b0560f9bb40", + "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/pg_logical/replorigin_checkpoint (8B, 100%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", "P00 INFO: diff backup size = 8KB", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/3000130", + "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", " [filtered 4 lines of output]" ] } @@ -843,18 +843,18 @@ " db (current)", " wal archive min/max (10-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20191001-152205F", - " timestamp start/stop: 2019-10-01 15:22:05 / 2019-10-01 15:22:18", + " full backup: 20191112-200545F", + " timestamp start/stop: 2019-11-12 20:05:45 / 2019-11-12 20:05:59", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 22.5MB, backup size: 22.5MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " diff backup: 20191001-152205F_20191001-152220D", - " timestamp start/stop: 2019-10-01 15:22:20 / 2019-10-01 15:22:22", + " diff backup: 20191112-200545F_20191112-200600D", + " timestamp start/stop: 2019-11-12 20:06:00 / 2019-11-12 20:06:03", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", " database size: 22.5MB, backup size: 8.2KB", " repository size: 2.7MB, repository backup size: 517B", - " backup reference list: 20191001-152205F" + " backup reference list: 20191112-200545F" ] } }, @@ -988,9 +988,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20191001-152205F_20191001-152220D, version = 2.18", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:22:40\": backup begins after the next regular checkpoint completes", + "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=<redacted> --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 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,184 +1049,15 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --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 = 20191001-152205F_20191001-152240I, version = 2.18", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:22:46\": backup begins after the requested immediate checkpoint completes", + "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=<redacted> --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 start archive = 000000020000000000000006, lsn = 0/6000028", - "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum df026ac431b6eeb9b5e2590ab7721e3459fd2cd3", + "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum 3687455e88965be5f91566b069bcafb16200e969", " [filtered 8 lines of output]" ] } }, - { - "key" : { - "bash-wrap" : true, - "cmd" : [ - "sudo -u postgres pgbackrest --output=json info" - ], - "host" : "pg-primary", - "load-env" : true, - "output" : true, - "run-as-user" : null - }, - "type" : "exe", - "value" : { - "output" : [ - "[", - " {", - " \"archive\" : [", - " {", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"id\" : \"10-1\",", - " \"max\" : \"000000020000000000000006\",", - " \"min\" : \"000000010000000000000002\"", - " }", - " ],", - " \"backup\" : [", - " {", - " \"archive\" : {", - " \"start\" : \"000000010000000000000002\",", - " \"stop\" : \"000000010000000000000002\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 23546193,", - " \"repository\" : {", - " \"delta\" : 2792037,", - " \"size\" : 2792037", - " },", - " \"size\" : 23546193", - " },", - " \"label\" : \"20191001-152205F\",", - " \"prior\" : null,", - " \"reference\" : null,", - " \"timestamp\" : {", - " \"start\" : 1569943325,", - " \"stop\" : 1569943338", - " },", - " \"type\" : \"full\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000010000000000000003\",", - " \"stop\" : \"000000010000000000000003\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 8429,", - " \"repository\" : {", - " \"delta\" : 517,", - " \"size\" : 2792037", - " },", - " \"size\" : 23546193", - " },", - " \"label\" : \"20191001-152205F_20191001-152220D\",", - " \"prior\" : \"20191001-152205F\",", - " \"reference\" : [", - " \"20191001-152205F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569943340,", - " \"stop\" : 1569943342", - " },", - " \"type\" : \"diff\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000020000000000000005\",", - " \"stop\" : \"000000020000000000000005\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 8421,", - " \"repository\" : {", - " \"delta\" : 469,", - " \"size\" : 2792037", - " },", - " \"size\" : 23546193", - " },", - " \"label\" : \"20191001-152205F_20191001-152240I\",", - " \"prior\" : \"20191001-152205F_20191001-152220D\",", - " \"reference\" : [", - " \"20191001-152205F\",", - " \"20191001-152205F_20191001-152220D\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569943360,", - " \"stop\" : 1569943364", - " },", - " \"type\" : \"incr\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000020000000000000006\",", - " \"stop\" : \"000000020000000000000006\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 8429,", - " \"repository\" : {", - " \"delta\" : 517,", - " \"size\" : 2792037", - " },", - " \"size\" : 23546193", - " },", - " \"label\" : \"20191001-152205F_20191001-152246I\",", - " \"prior\" : \"20191001-152205F_20191001-152240I\",", - " \"reference\" : [", - " \"20191001-152205F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569943366,", - " \"stop\" : 1569943368", - " },", - " \"type\" : \"incr\"", - " }", - " ],", - " \"cipher\" : \"aes-256-cbc\",", - " \"db\" : [", - " {", - " \"id\" : 1,", - " \"system-id\" : 6742855129530261735,", - " \"version\" : \"10\"", - " }", - " ],", - " \"name\" : \"demo\",", - " \"status\" : {", - " \"code\" : 0,", - " \"message\" : \"ok\"", - " }", - " }", - "]" - ] - } - }, { "key" : { "bash-wrap" : true, @@ -1286,10 +1117,10 @@ " -- Create a temp table to hold the JSON data", " create temp table temp_pgbackrest_data (data jsonb);", "", - " -- Copy data into the table directory from the pgBackRest into command", + " -- Copy data into the table directly from the pgBackRest info command", " copy temp_pgbackrest_data (data)", " from program", - " 'pgbackrest --output=json info | tr ''\\n'' '' ''' (format text);", + " 'pgbackrest --output=json info' (format text);", "", " select temp_pgbackrest_data.data", " into data", @@ -1368,7 +1199,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-10-01 15:22:48+00 | 000000020000000000000006", + " \"demo\" | 2019-11-12 20:06:30+00 | 000000020000000000000006", "(1 row)" ] } @@ -1402,7 +1233,7 @@ "type" : "exe", "value" : { "output" : [ - "1569943368" + "1573589190" ] } }, @@ -1466,7 +1297,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191001-152205F|remove archive" + "archive retention on backup 20191112-200545F|remove archive" ] }, "host" : "pg-primary", @@ -1479,8 +1310,8 @@ "output" : [ " [filtered 951 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --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 20191001-152205F, archiveId = 10-1, start = 000000010000000000000002", + "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=<redacted> --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 DETAIL: no archive to remove, archiveId = 10-1", "P00 INFO: expire command end: completed successfully" ] @@ -1500,7 +1331,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-152258F" + "20191112-200639F" ] } }, @@ -1515,7 +1346,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20191001-152205F|archive retention on backup 20191001-152258F|remove archive" + "expire full backup set\\: 20191112-200545F|archive retention on backup 20191112-200639F|remove archive" ] }, "host" : "pg-primary", @@ -1528,10 +1359,10 @@ "output" : [ " [filtered 950 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --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: 20191001-152205F, 20191001-152205F_20191001-152220D, 20191001-152205F_20191001-152240I, 20191001-152205F_20191001-152246I", - "P00 INFO: remove expired backup 20191001-152205F_20191001-152246I", - "P00 INFO: remove expired backup 20191001-152205F_20191001-152240I", + "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=<redacted> --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", " [filtered 2 lines of output]" ] } @@ -1594,7 +1425,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-152312F_20191001-152330D" + "20191112-200652F_20191112-200707D" ] } }, @@ -1622,7 +1453,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20191001-152312F_20191001-152330D" + "expire diff backup set: 20191112-200652F_20191112-200707D" ] }, "host" : "pg-primary", @@ -1633,12 +1464,12 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 11 lines of output]", + " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --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: 20191001-152312F_20191001-152330D, 20191001-152312F_20191001-152333I", - "P00 INFO: remove expired backup 20191001-152312F_20191001-152333I", - "P00 INFO: remove expired backup 20191001-152312F_20191001-152330D" + "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=<redacted> --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" ] } }, @@ -1687,7 +1518,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-152312F_20191001-152337D" + "20191112-200652F_20191112-200715D" ] } }, @@ -1731,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 = 20191001-152312F_20191001-152342D", + "P00 INFO: new backup label = 20191112-200652F_20191112-200720D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --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.19: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --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" ] } }, @@ -1751,7 +1582,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-152312F_20191001-152342D" + "20191112-200652F_20191112-200720D" ] } }, @@ -1766,7 +1597,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191001-152312F_20191001-152337D|remove archive" + "archive retention on backup 20191112-200652F_20191112-200715D|remove archive" ] }, "host" : "pg-primary", @@ -1777,11 +1608,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.18: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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 20191001-152258F, archiveId = 10-1, start = 000000020000000000000008, stop = 000000020000000000000008", - "P00 DETAIL: archive retention on backup 20191001-152312F, archiveId = 10-1, start = 000000020000000000000009, stop = 000000020000000000000009", - "P00 DETAIL: archive retention on backup 20191001-152312F_20191001-152337D, archiveId = 10-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20191001-152312F_20191001-152342D, archiveId = 10-1, start = 00000002000000000000000F", + "P00 INFO: expire command begin 2.19: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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 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" @@ -2002,7 +1833,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-152312F_20191001-152356I" + "20191112-200652F_20191112-200732I" ] } }, @@ -2011,7 +1842,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20191001-152312F_20191001-152356I info" + " --set=20191112-200652F_20191112-200732I info" ], "highlight" : { "filter" : true, @@ -2030,7 +1861,7 @@ "output" : [ " [filtered 11 lines of output]", " repository size: 4.4MB, repository backup size: 1.8MB", - " backup reference list: 20191001-152312F, 20191001-152312F_20191001-152342D", + " backup reference list: 20191112-200652F, 20191112-200652F_20191112-200720D", " database list: postgres (12978), test1 (24576), test2 (24577)" ] } @@ -2261,7 +2092,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-10-01 15:24:27.503516+00" + "2019-11-12 20:08:06.239935+00" ] } }, @@ -2314,7 +2145,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-10-01 15:24:27.503516+00\" \\", + " --type=time \"--target=2019-11-12 20:08:06.239935+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2358,9 +2189,9 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-10-01 15:24:29", + "# Recovery settings generated by pgBackRest restore on 2019-11-12 20:08:08", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-10-01 15:24:27.503516+00'", + "recovery_target_time = '2019-11-12 20:08:06.239935+00'", "recovery_target_action = 'promote'" ] } @@ -2442,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-10-01 15:24:20 UTC", - "LOG: starting point-in-time recovery to 2019-10-01 15:24:27.503516+00", + "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: 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-10-01 15:24:27.989165+00", - "LOG: redo done at 0/15021748", - "LOG: last completed transaction was at log time 2019-10-01 15:24:26.998943+00", + "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: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -2503,7 +2334,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-152312F_20191001-152419D" + "20191112-200652F_20191112-200757D" ] } }, @@ -2538,7 +2369,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-10-01 15:24:27.503516+00\" --target-action=promote restore" + " --type=time \"--target=2019-11-12 20:08:06.239935+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2637,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-10-01 15:24:40 UTC", - "LOG: starting point-in-time recovery to 2019-10-01 15:24:27.503516+00", + "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: restored log file \"00000005.history\" from archive", "LOG: restored log file \"000000050000000000000016\" from archive", "LOG: redo starts at 0/16000028", @@ -2659,7 +2490,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20191001-152312F_20191001-152419D" + "20191112-200652F_20191112-200757D" ] }, "host" : "pg-primary", @@ -2677,45 +2508,45 @@ " db (current)", " wal archive min/max (10-1): 000000020000000000000008/000000050000000000000016", "", - " full backup: 20191001-152258F", - " timestamp start/stop: 2019-10-01 15:22:58 / 2019-10-01 15:23:11", + " full backup: 20191112-200639F", + " timestamp start/stop: 2019-11-12 20:06:39 / 2019-11-12 20:06:51", " wal start/stop: 000000020000000000000008 / 000000020000000000000008", " database size: 22.5MB, backup size: 22.5MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " full backup: 20191001-152312F", - " timestamp start/stop: 2019-10-01 15:23:12 / 2019-10-01 15:23:27", + " full backup: 20191112-200652F", + " timestamp start/stop: 2019-11-12 20:06:52 / 2019-11-12 20:07:06", " wal start/stop: 000000020000000000000009 / 000000020000000000000009", " database size: 22.5MB, backup size: 22.5MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " diff backup: 20191001-152312F_20191001-152342D", - " timestamp start/stop: 2019-10-01 15:23:42 / 2019-10-01 15:23:45", + " diff backup: 20191112-200652F_20191112-200720D", + " timestamp start/stop: 2019-11-12 20:07:20 / 2019-11-12 20:07:22", " wal start/stop: 00000002000000000000000F / 00000002000000000000000F", " database size: 22.5MB, backup size: 96.2KB", " repository size: 2.7MB, repository backup size: 11.9KB", - " backup reference list: 20191001-152312F", + " backup reference list: 20191112-200652F", "", - " incr backup: 20191001-152312F_20191001-152356I", - " timestamp start/stop: 2019-10-01 15:23:56 / 2019-10-01 15:24:05", + " incr backup: 20191112-200652F_20191112-200732I", + " timestamp start/stop: 2019-11-12 20:07:32 / 2019-11-12 20:07:42", " wal start/stop: 000000030000000000000011 / 000000030000000000000011", " database size: 37MB, backup size: 15MB", " repository size: 4.4MB, repository backup size: 1.8MB", - " backup reference list: 20191001-152312F, 20191001-152312F_20191001-152342D", + " backup reference list: 20191112-200652F, 20191112-200652F_20191112-200720D", "", - " diff backup: 20191001-152312F_20191001-152419D", - " timestamp start/stop: 2019-10-01 15:24:19 / 2019-10-01 15:24:26", + " diff backup: 20191112-200652F_20191112-200757D", + " timestamp start/stop: 2019-11-12 20:07:57 / 2019-11-12 20:08:05", " wal start/stop: 000000040000000000000014 / 000000040000000000000014", " database size: 29.8MB, backup size: 7.8MB", - " repository size: 3.5MB, repository backup size: 949.3KB", - " backup reference list: 20191001-152312F", + " repository size: 3.5MB, repository backup size: 949.2KB", + " backup reference list: 20191112-200652F", "", - " incr backup: 20191001-152312F_20191001-152438I", - " timestamp start/stop: 2019-10-01 15:24:38 / 2019-10-01 15:24:42", + " incr backup: 20191112-200652F_20191112-200817I", + " timestamp start/stop: 2019-11-12 20:08:17 / 2019-11-12 20:08:21", " wal start/stop: 000000050000000000000016 / 000000050000000000000016", " database size: 29.8MB, backup size: 2.1MB", - " repository size: 3.5MB, repository backup size: 219.0KB", - " backup reference list: 20191001-152312F, 20191001-152312F_20191001-152419D" + " repository size: 3.5MB, repository backup size: 218.8KB", + " backup reference list: 20191112-200652F, 20191112-200652F_20191112-200757D" ] } }, @@ -2737,8 +2568,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-10-01 15:24:27.503516+00\" \\", - " --set=20191001-152312F_20191001-152419D --target-action=promote restore" + " --type=time \"--target=2019-11-12 20:08:06.239935+00\" \\", + " --set=20191112-200652F_20191112-200757D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2837,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-10-01 15:24:20 UTC", - "LOG: starting point-in-time recovery to 2019-10-01 15:24:27.503516+00", + "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: 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-10-01 15:24:27.989165+00", - "LOG: redo done at 0/15021748", - "LOG: last completed transaction was at log time 2019-10-01 15:24:26.998943+00", + "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: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -2972,7 +2803,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --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" ] @@ -3000,13 +2831,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=4 --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo --start-fast", + "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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --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-10-01 15:25:05\": backup begins after the requested immediate checkpoint completes", + "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: backup start archive = 000000070000000000000016, lsn = 0/16000028", " [filtered 1238 lines of output]", - "P04 INFO: backup file /var/lib/postgresql/10/demo/base/1/12815 (0B, 100%)", - "P03 INFO: backup file /var/lib/postgresql/10/demo/base/1/12825 (0B, 100%)", + "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%)", "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", @@ -3048,7 +2879,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.19: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -3074,7 +2905,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --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" ] @@ -3124,7 +2955,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.18/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -3708,17 +3539,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (10-1): 00000008000000000000001C/00000008000000000000001E", + " wal archive min/max (10-1): 00000008000000000000001C/00000008000000000000001D", "", - " full backup: 20191001-152625F", - " timestamp start/stop: 2019-10-01 15:26:25 / 2019-10-01 15:26:41", + " full backup: 20191112-200958F", + " timestamp start/stop: 2019-11-12 20:09:58 / 2019-11-12 20:10:14", " wal start/stop: 00000008000000000000001C / 00000008000000000000001C", " database size: 29.8MB, backup size: 29.8MB", " repository size: 3.5MB, repository backup size: 3.5MB", "", - " full backup: 20191001-152643F", - " timestamp start/stop: 2019-10-01 15:26:43 / 2019-10-01 15:26:51", - " wal start/stop: 00000008000000000000001E / 00000008000000000000001E", + " 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", " repository size: 3.5MB, repository backup size: 3.5MB" ] @@ -3864,7 +3695,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.18/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -4157,7 +3988,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-10-01 15:27:29", + "# Recovery settings generated by pgBackRest restore on 2019-11-12 20:11:01", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" ] @@ -4266,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-10-01 15:26:45 UTC", + "LOG: database system was interrupted; last known up at 2019-11-12 20:10:17 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"00000008000000000000001E\" from archive", - "LOG: redo starts at 0/1E000028", - "LOG: consistent recovery state reached at 0/1E0000F8", + "LOG: restored log file \"00000008000000000000001D\" from archive", + "LOG: redo starts at 0/1D000028", + "LOG: consistent recovery state reached at 0/1D000130", "LOG: database system is ready to accept read only connections", "LOG: incomplete startup packet" ] @@ -4354,7 +4185,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/1F02B8C8 | 2019-10-01 15:27:40.284977+00", + " 0/1E02ABF8 | 2019-11-12 20:11:11.546715+00", "(1 row)" ] } @@ -4383,7 +4214,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2019-10-01 15:27:44.789224+00", + " Important Data | 2019-11-12 20:11:16.197893+00", "(1 row)" ] } @@ -4398,7 +4229,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "because no primary was found" + "because this is a standby" ] }, "host" : "pg-standby", @@ -4409,8 +4240,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.18: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --stanza=demo", - "P00 INFO: switch wal not performed because no primary was found", + "P00 INFO: check command 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: switch wal not performed because this is a standby", "P00 INFO: check command end: completed successfully" ] } @@ -4555,7 +4386,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-10-01 15:27:53", + "# Recovery settings generated by pgBackRest restore on 2019-11-12 20:11:24", "primary_conninfo = 'host=172.17.0.4 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" @@ -4623,9 +4454,9 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "LOG: restored log file \"00000008000000000000001F\" from archive", + "LOG: restored log file \"00000008000000000000001E\" from archive", "LOG: incomplete startup packet", - "LOG: started streaming WAL from primary at 0/20000000 on timeline 8" + "LOG: started streaming WAL from primary at 0/1F000000 on timeline 8" ] } }, @@ -4657,7 +4488,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2019-10-01 15:28:01.679977+00", + " Important Data | 2019-11-12 20:11:32.413273+00", "(1 row)" ] } @@ -4686,7 +4517,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2019-10-01 15:28:02.578064+00", + " Important Data | 2019-11-12 20:11:33.197828+00", "(1 row)" ] } @@ -4917,8 +4748,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.18: --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 'archive/demo/10-1/0000000800000000/000000080000000000000025-ff3534a6838701a17bfc47e14c0a5969944ab961.gz'", + "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 end: completed successfully" ] } @@ -4945,24 +4776,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.18: [/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 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 end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.18: [/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", + "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", "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.18: [/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 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 end: completed successfully" ] } @@ -5002,15 +4833,16 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.18: [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", + "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", "P01 DETAIL: found 00000008000000000000001E in the archive", - "P01 DETAIL: found 00000008000000000000001F in the archive", + "P01 DETAIL: unable to find 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.18: [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", + "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: found 000000080000000000000020 in the archive", "P01 DETAIL: found 000000080000000000000021 in the archive", "P01 DETAIL: found 000000080000000000000022 in the archive", @@ -5018,13 +4850,7 @@ "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 4 lines of output]", - "P00 INFO: archive-get-async command begin 2.18: [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/postgresql/10/demo --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: unable to find 000000080000000000000026 in the archive", - "P01 DETAIL: unable to find 000000080000000000000027 in the archive", - " [filtered 5 lines of output]" + " [filtered 13 lines of output]" ] } }, @@ -5106,23 +4932,21 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:28:25\": 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", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/1249 (392KB, 17%) checksum 29326e6a8034864bc03be532b3d98620bc097450", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2608 (440KB, 36%) checksum eefc1d10eeed1de4fe9b1a35592b82866d6501ac", - " [filtered 6 lines of output]", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/3455 (40KB, 83%) checksum c538109dd0976a3021f960dabbc77d5dc858fb3a", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2663 (48KB, 85%) checksum b9f7d912e91f3e411e34af15dab95b9af5b52257", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/global/pg_control (8KB, 85%) checksum a38c041604a67845411956810973c0768adc49dc", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2704 (40KB, 87%) checksum 09843072e11ef9228e15719ecec9cd8e98444cab", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2662 (32KB, 88%) checksum d73429775c163223cea81262ee0ce0c4989dc3f8", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2610 (32KB, 90%) checksum 7a89f25cb3e67835e3f602ed470872065fd23d20", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/pg_logical/replorigin_checkpoint (8B, 90%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2610_fsm (24KB, 91%) checksum 3b603e1e59c53f97dfbb3ff4fe6bb35802e3c319", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/1249_fsm (24KB, 92%) checksum 73cb99421a6950457d4bb75ecd8d87b13820dbb2", - " [filtered 26 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]" ] } }, @@ -5397,7 +5221,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.18: --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.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 end: completed successfully" ] } @@ -5628,11 +5452,11 @@ { "key" : { "id" : "s3", - "image" : "minio/minio:RELEASE.2019-06-04T01-15-58Z", + "image" : "minio/minio:RELEASE.2019-10-12T01-39-57Z", "name" : "s3-server", "option" : "-v {[host-repo-path]}/doc/resource/fake-cert/s3-server.crt:/root/.minio/certs/public.crt:ro -v {[host-repo-path]}/doc/resource/fake-cert/s3-server.key:/root/.minio/certs/private.key:ro -e MINIO_REGION=us-east-1 -e MINIO_DOMAIN=s3.us-east-1.amazonaws.com -e MINIO_BROWSER=off -e MINIO_ACCESS_KEY=accessKey1 -e MINIO_SECRET_KEY=verySecretKey1", "os" : "centos6", - "param" : "server /data --address :443 --compat", + "param" : "server /data --address :443", "update-hosts" : false }, "type" : "host", @@ -5658,7 +5482,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.18" + "sudo mkdir -p /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -5671,7 +5495,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.18" + "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -5684,7 +5508,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.18" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -5697,7 +5521,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.18" + "sudo chown -R vagrant /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -5743,7 +5567,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.18/src && ./configure" + "cd /build/pgbackrest-release-2.19/src && ./configure" ], "host" : "build", "load-env" : true, @@ -5756,7 +5580,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "make -s -C /build/pgbackrest-release-2.18/src" + "make -s -C /build/pgbackrest-release-2.19/src" ], "host" : "build", "load-env" : true, @@ -5783,7 +5607,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.18/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -5926,7 +5750,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.18 - General help", + "pgBackRest 2.19 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -6070,7 +5894,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.18 - 'backup' command - 'log-path' option help", + "pgBackRest 2.19 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -6308,7 +6132,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "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=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -6334,8 +6158,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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-f35e96a92840adad7669c4aea71cfd79c27679c2.gz'", + "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=<redacted> --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 end: completed successfully" ] } @@ -6362,9 +6186,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "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=<redacted> --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-10-01 15:11:50\": backup begins after the next regular checkpoint completes", + "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: 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%)", @@ -6390,7 +6214,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-151150F" + "20191112-195434F" ] } }, @@ -6417,9 +6241,9 @@ "value" : { "output" : [ " [filtered 5 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (1010B, 97%) checksum ba5891982e79d0a88571bf56c2b2bf6c42f413a2", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum aa9a9130433b5d8297b632382384db2dbc175b7b", - "P00 INFO: diff backup size = 9.2KB", + "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", + "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", " [filtered 4 lines of output]" @@ -6454,18 +6278,18 @@ " db (current)", " wal archive min/max (9.5-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20191001-151150F", - " timestamp start/stop: 2019-10-01 15:11:50 / 2019-10-01 15:12:03", + " full backup: 20191112-195434F", + " timestamp start/stop: 2019-11-12 19:54:34 / 2019-11-12 19:54:46", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20191001-151150F_20191001-151204D", - " timestamp start/stop: 2019-10-01 15:12:04 / 2019-10-01 15:12:08", + " diff backup: 20191112-195434F_20191112-195447D", + " timestamp start/stop: 2019-11-12 19:54:47 / 2019-11-12 19:54:50", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 20.6MB, backup size: 9.2KB", + " database size: 20.6MB, backup size: 9.1KB", " repository size: 2.4MB, repository backup size: 768B", - " backup reference list: 20191001-151150F" + " backup reference list: 20191112-195434F" ] } }, @@ -6623,10 +6447,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20191001-151150F_20191001-151204D, version = 2.18", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:12:28\": backup begins after the next regular checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", + "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=<redacted> --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 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]" ] @@ -6684,11 +6508,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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 = 20191001-151150F_20191001-151228I, version = 2.18", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:12:35\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 78%) checksum f9e380129e4b55f89cc9ee715ffc675784f38889", + "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=<redacted> --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 start archive = 000000020000000000000006, lsn = 0/6000028", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 80%) checksum ed17212bd3f54fbb3e76a11928618ee69a11500e", " [filtered 9 lines of output]" ] } @@ -6730,9 +6554,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:12:39\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", - "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20191001-151150F_20191001-151239I': [13] Permission denied", + "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: 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 INFO: backup command end: aborted with exception [047]" ] } @@ -6773,10 +6597,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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 = 20191001-151150F_20191001-151235I, version = 2.18", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:12:43\": 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-10-01 15:12:43', true) as lsn': ERROR: a backup is already in progress", + "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=<redacted> --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", " HINT: Run pg_stop_backup() and try again.", "P00 INFO: backup command end: aborted with exception [057]" ] @@ -6835,216 +6659,17 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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 = 20191001-151150F_20191001-151235I, version = 2.18", + "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=<redacted> --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 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-10-01 15:12:46\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000002000000000000000A, lsn = 0/A000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 74%) checksum 96a02262d084b88739dc48b456cdf41124bb4b1a", + "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: backup start archive = 000000020000000000000009, lsn = 0/9000028", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 75%) checksum 54e10bf65d556a6667f339feba71a608a6946290", " [filtered 9 lines of output]" ] } }, - { - "key" : { - "bash-wrap" : true, - "cmd" : [ - "sudo -u postgres pgbackrest --output=json info" - ], - "host" : "pg-primary", - "load-env" : true, - "output" : true, - "run-as-user" : null - }, - "type" : "exe", - "value" : { - "output" : [ - "[", - " {", - " \"archive\" : [", - " {", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"id\" : \"9.5-1\",", - " \"max\" : \"00000002000000000000000A\",", - " \"min\" : \"000000010000000000000002\"", - " }", - " ],", - " \"backup\" : [", - " {", - " \"archive\" : {", - " \"start\" : \"000000010000000000000002\",", - " \"stop\" : \"000000010000000000000002\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 21551170,", - " \"repository\" : {", - " \"delta\" : 2532480,", - " \"size\" : 2532480", - " },", - " \"size\" : 21551170", - " },", - " \"label\" : \"20191001-151150F\",", - " \"prior\" : null,", - " \"reference\" : null,", - " \"timestamp\" : {", - " \"start\" : 1569942710,", - " \"stop\" : 1569942723", - " },", - " \"type\" : \"full\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000010000000000000003\",", - " \"stop\" : \"000000010000000000000003\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 9438,", - " \"repository\" : {", - " \"delta\" : 768,", - " \"size\" : 2532480", - " },", - " \"size\" : 21551277", - " },", - " \"label\" : \"20191001-151150F_20191001-151204D\",", - " \"prior\" : \"20191001-151150F\",", - " \"reference\" : [", - " \"20191001-151150F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569942724,", - " \"stop\" : 1569942728", - " },", - " \"type\" : \"diff\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000020000000000000006\",", - " \"stop\" : \"000000020000000000000006\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 10284,", - " \"repository\" : {", - " \"delta\" : 928,", - " \"size\" : 2532640", - " },", - " \"size\" : 21552123", - " },", - " \"label\" : \"20191001-151150F_20191001-151228I\",", - " \"prior\" : \"20191001-151150F_20191001-151204D\",", - " \"reference\" : [", - " \"20191001-151150F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569942748,", - " \"stop\" : 1569942752", - " },", - " \"type\" : \"incr\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000020000000000000007\",", - " \"stop\" : \"000000020000000000000007\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 10391,", - " \"repository\" : {", - " \"delta\" : 928,", - " \"size\" : 2532640", - " },", - " \"size\" : 21552230", - " },", - " \"label\" : \"20191001-151150F_20191001-151235I\",", - " \"prior\" : \"20191001-151150F_20191001-151228I\",", - " \"reference\" : [", - " \"20191001-151150F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569942755,", - " \"stop\" : 1569942758", - " },", - " \"type\" : \"incr\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"00000002000000000000000A\",", - " \"stop\" : \"00000002000000000000000A\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 11137,", - " \"repository\" : {", - " \"delta\" : 1120,", - " \"size\" : 2532832", - " },", - " \"size\" : 21552976", - " },", - " \"label\" : \"20191001-151150F_20191001-151246I\",", - " \"prior\" : \"20191001-151150F_20191001-151235I\",", - " \"reference\" : [", - " \"20191001-151150F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569942766,", - " \"stop\" : 1569942771", - " },", - " \"type\" : \"incr\"", - " }", - " ],", - " \"cipher\" : \"aes-256-cbc\",", - " \"db\" : [", - " {", - " \"id\" : 1,", - " \"system-id\" : 6742852492143456528,", - " \"version\" : \"9.5\"", - " }", - " ],", - " \"name\" : \"demo\",", - " \"status\" : {", - " \"code\" : 0,", - " \"message\" : \"ok\"", - " }", - " }", - "]" - ] - } - }, { "key" : { "bash-wrap" : true, @@ -7104,10 +6729,10 @@ " -- Create a temp table to hold the JSON data", " create temp table temp_pgbackrest_data (data jsonb);", "", - " -- Copy data into the table directory from the pgBackRest into command", + " -- Copy data into the table directly from the pgBackRest info command", " copy temp_pgbackrest_data (data)", " from program", - " 'pgbackrest --output=json info | tr ''\\n'' '' ''' (format text);", + " 'pgbackrest --output=json info' (format text);", "", " select temp_pgbackrest_data.data", " into data", @@ -7186,7 +6811,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-10-01 15:12:51+00 | 00000002000000000000000A", + " \"demo\" | 2019-11-12 19:55:32+00 | 000000020000000000000009", "(1 row)" ] } @@ -7233,7 +6858,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191001-151150F|remove archive" + "archive retention on backup 20191112-195434F|remove archive" ] }, "host" : "pg-primary", @@ -7246,8 +6871,8 @@ "output" : [ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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 20191001-151150F, archiveId = 9.5-1, start = 000000010000000000000002", + "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=<redacted> --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 DETAIL: no archive to remove, archiveId = 9.5-1", "P00 INFO: expire command end: completed successfully" ] @@ -7267,7 +6892,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-151257F" + "20191112-195537F" ] } }, @@ -7282,7 +6907,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20191001-151150F|archive retention on backup 20191001-151257F|remove archive" + "expire full backup set\\: 20191112-195434F|archive retention on backup 20191112-195537F|remove archive" ] }, "host" : "pg-primary", @@ -7295,10 +6920,10 @@ "output" : [ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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: 20191001-151150F, 20191001-151150F_20191001-151204D, 20191001-151150F_20191001-151228I, 20191001-151150F_20191001-151235I, 20191001-151150F_20191001-151246I", - "P00 INFO: remove expired backup 20191001-151150F_20191001-151246I", - "P00 INFO: remove expired backup 20191001-151150F_20191001-151235I", + "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=<redacted> --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", " [filtered 3 lines of output]" ] } @@ -7362,7 +6987,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-151312F_20191001-151327D" + "20191112-195551F_20191112-195606D" ] } }, @@ -7390,7 +7015,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20191001-151312F_20191001-151327D" + "expire diff backup set: 20191112-195551F_20191112-195606D" ] }, "host" : "pg-primary", @@ -7403,10 +7028,10 @@ "output" : [ " [filtered 12 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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: 20191001-151312F_20191001-151327D, 20191001-151312F_20191001-151332I", - "P00 INFO: remove expired backup 20191001-151312F_20191001-151332I", - "P00 INFO: remove expired backup 20191001-151312F_20191001-151327D" + "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=<redacted> --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" ] } }, @@ -7456,7 +7081,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-151312F_20191001-151337D" + "20191112-195551F_20191112-195616D" ] } }, @@ -7500,9 +7125,9 @@ " [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 = 20191001-151312F_20191001-151345D", + "P00 INFO: new backup label = 20191112-195551F_20191112-195623D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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.19: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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" ] } }, @@ -7520,7 +7145,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-151312F_20191001-151345D" + "20191112-195551F_20191112-195623D" ] } }, @@ -7535,7 +7160,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191001-151312F_20191001-151337D|remove archive" + "archive retention on backup 20191112-195551F_20191112-195616D|remove archive" ] }, "host" : "pg-primary", @@ -7546,11 +7171,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.18: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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 20191001-151257F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20191001-151312F, archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: archive retention on backup 20191001-151312F_20191001-151337D, archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000011", - "P00 DETAIL: archive retention on backup 20191001-151312F_20191001-151345D, archiveId = 9.5-1, start = 000000020000000000000014", + "P00 INFO: expire command begin 2.19: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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 end: completed successfully" @@ -7765,7 +7391,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-151312F_20191001-151359I" + "20191112-195551F_20191112-195638I" ] } }, @@ -7774,7 +7400,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20191001-151312F_20191001-151359I info" + " --set=20191112-195551F_20191112-195638I info" ], "highlight" : { "filter" : true, @@ -7793,7 +7419,7 @@ "output" : [ " [filtered 11 lines of output]", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20191001-151312F, 20191001-151312F_20191001-151345D", + " backup reference list: 20191112-195551F, 20191112-195551F_20191112-195623D", " database list: postgres (12378), test1 (24576), test2 (24577)" ] } @@ -8024,7 +7650,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-10-01 15:14:33.490581+00" + "2019-11-12 19:57:09.423865+00" ] } }, @@ -8077,7 +7703,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-10-01 15:14:33.490581+00\" \\", + " --type=time \"--target=2019-11-12 19:57:09.423865+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -8121,9 +7747,9 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-10-01 15:14:36", + "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:57:12", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-10-01 15:14:33.490581+00'", + "recovery_target_time = '2019-11-12 19:57:09.423865+00'", "recovery_target_action = 'promote'" ] } @@ -8203,16 +7829,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-10-01 15:14:26 UTC", - "LOG: starting point-in-time recovery to 2019-10-01 15:14:33.490581+00", + "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: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000019\" from archive", "LOG: redo starts at 0/19000028", "LOG: consistent recovery state reached at 0/190000F8", "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-10-01 15:14:33.960548+00", - "LOG: redo done at 0/1A01C148", - "LOG: last completed transaction was at log time 2019-10-01 15:14:33.008426+00", + "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: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 4 lines of output]" @@ -8264,7 +7890,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-151312F_20191001-151424D" + "20191112-195551F_20191112-195701D" ] } }, @@ -8299,7 +7925,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-10-01 15:14:33.490581+00\" --target-action=promote restore" + " --type=time \"--target=2019-11-12 19:57:09.423865+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8396,8 +8022,8 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-10-01 15:14:46 UTC", - "LOG: starting point-in-time recovery to 2019-10-01 15:14:33.490581+00", + "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: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000005000000000000001B\" from archive", "LOG: redo starts at 0/1B000028", @@ -8418,7 +8044,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20191001-151312F_20191001-151424D" + "20191112-195551F_20191112-195701D" ] }, "host" : "pg-primary", @@ -8434,47 +8060,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.5-1): 00000002000000000000000C/00000005000000000000001B", + " wal archive min/max (9.5-1): 00000002000000000000000B/00000005000000000000001B", "", - " full backup: 20191001-151257F", - " timestamp start/stop: 2019-10-01 15:12:57 / 2019-10-01 15:13:10", - " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", + " full backup: 20191112-195537F", + " timestamp start/stop: 2019-11-12 19:55:37 / 2019-11-12 19:55:50", + " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " full backup: 20191001-151312F", - " timestamp start/stop: 2019-10-01 15:13:12 / 2019-10-01 15:13:25", + " full backup: 20191112-195551F", + " timestamp start/stop: 2019-11-12 19:55:51 / 2019-11-12 19:56:03", " wal start/stop: 00000002000000000000000D / 00000002000000000000000D", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20191001-151312F_20191001-151345D", - " timestamp start/stop: 2019-10-01 15:13:45 / 2019-10-01 15:13:48", + " 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.5KB", + " database size: 20.6MB, backup size: 116.2KB", " repository size: 2.4MB, repository backup size: 12.7KB", - " backup reference list: 20191001-151312F", + " backup reference list: 20191112-195551F", "", - " incr backup: 20191001-151312F_20191001-151359I", - " timestamp start/stop: 2019-10-01 15:13:59 / 2019-10-01 15:14:10", + " 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", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20191001-151312F, 20191001-151312F_20191001-151345D", + " backup reference list: 20191112-195551F, 20191112-195551F_20191112-195623D", "", - " diff backup: 20191001-151312F_20191001-151424D", - " timestamp start/stop: 2019-10-01 15:14:24 / 2019-10-01 15:14:32", + " 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", " database size: 27.3MB, backup size: 6.9MB", - " repository size: 3.2MB, repository backup size: 832.0KB", - " backup reference list: 20191001-151312F", + " repository size: 3.2MB, repository backup size: 831.1KB", + " backup reference list: 20191112-195551F", "", - " incr backup: 20191001-151312F_20191001-151445I", - " timestamp start/stop: 2019-10-01 15:14:45 / 2019-10-01 15:14:49", + " 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", " database size: 27.3MB, backup size: 2.0MB", - " repository size: 3.2MB, repository backup size: 210.3KB", - " backup reference list: 20191001-151312F, 20191001-151312F_20191001-151424D" + " repository size: 3.2MB, repository backup size: 209.6KB", + " backup reference list: 20191112-195551F, 20191112-195551F_20191112-195701D" ] } }, @@ -8496,8 +8122,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-10-01 15:14:33.490581+00\" \\", - " --set=20191001-151312F_20191001-151424D --target-action=promote restore" + " --type=time \"--target=2019-11-12 19:57:09.423865+00\" \\", + " --set=20191112-195551F_20191112-195701D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8594,16 +8220,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-10-01 15:14:26 UTC", - "LOG: starting point-in-time recovery to 2019-10-01 15:14:33.490581+00", + "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: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000019\" from archive", "LOG: redo starts at 0/19000028", "LOG: consistent recovery state reached at 0/190000F8", "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-10-01 15:14:33.960548+00", - "LOG: redo done at 0/1A01C148", - "LOG: last completed transaction was at log time 2019-10-01 15:14:33.008426+00", + "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: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 6 lines of output]" @@ -8730,7 +8356,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --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" ] @@ -8758,13 +8384,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --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-10-01 15:15:13\": backup begins after the requested immediate checkpoint completes", + "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", " [filtered 1119 lines of output]", - "P04 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", - "P02 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12221 (0B, 100%)", + "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: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 00000007000000000000001B, lsn = 0/1B000130", @@ -8806,7 +8432,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.19: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -8832,7 +8458,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --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" ] @@ -8895,7 +8521,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.18/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -9480,17 +9106,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.5-1): 000000080000000000000021/000000080000000000000023", + " wal archive min/max (9.5-1): 000000080000000000000023/000000080000000000000025", "", - " full backup: 20191001-151636F", - " timestamp start/stop: 2019-10-01 15:16:36 / 2019-10-01 15:16:53", - " wal start/stop: 000000080000000000000021 / 000000080000000000000021", + " full backup: 20191112-195858F", + " timestamp start/stop: 2019-11-12 19:58:58 / 2019-11-12 19:59:16", + " wal start/stop: 000000080000000000000023 / 000000080000000000000023", " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB", "", - " full backup: 20191001-151655F", - " timestamp start/stop: 2019-10-01 15:16:55 / 2019-10-01 15:17:04", - " wal start/stop: 000000080000000000000023 / 000000080000000000000023", + " full backup: 20191112-195918F", + " timestamp start/stop: 2019-11-12 19:59:18 / 2019-11-12 19:59:26", + " wal start/stop: 000000080000000000000025 / 000000080000000000000025", " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB" ] @@ -9636,7 +9262,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.18/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -9930,7 +9556,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-10-01 15:17:45", + "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:59:58", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" ] @@ -10037,12 +9663,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-10-01 15:16:57 UTC", + "LOG: database system was interrupted; last known up at 2019-11-12 19:59:19 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 \"000000080000000000000025\" from archive", + "LOG: redo starts at 0/25000028", + "LOG: consistent recovery state reached at 0/250000F8", "LOG: database system is ready to accept read only connections" ] } @@ -10124,7 +9750,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/2401FB78 | 2019-10-01 15:17:56.154077+00", + " 0/2601F440 | 2019-11-12 20:00:07.953206+00", "(1 row)" ] } @@ -10151,9 +9777,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+-------------------------------", - " Important Data | 2019-10-01 15:18:01.201683+00", + " message | now ", + "----------------+------------------------------", + " Important Data | 2019-11-12 20:00:13.38865+00", "(1 row)" ] } @@ -10168,7 +9794,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "because no primary was found" + "because this is a standby" ] }, "host" : "pg-standby", @@ -10179,8 +9805,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.18: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", - "P00 INFO: switch wal not performed because no primary was found", + "P00 INFO: check command 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: switch wal not performed because this is a standby", "P00 INFO: check command end: completed successfully" ] } @@ -10325,7 +9951,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-10-01 15:18:10", + "# Recovery settings generated by pgBackRest restore on 2019-11-12 20:00:21", "primary_conninfo = 'host=172.17.0.4 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" @@ -10417,8 +10043,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000024\" from archive", - "LOG: started streaming WAL from primary at 0/25000000 on timeline 8" + "LOG: restored log file \"000000080000000000000026\" from archive", + "LOG: started streaming WAL from primary at 0/27000000 on timeline 8" ] } }, @@ -10450,7 +10076,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-10-01 15:18:19.736584+00", + " Important Data | 2019-11-12 20:00:29.433635+00", "(1 row)" ] } @@ -10479,7 +10105,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-10-01 15:18:20.655425+00", + " Important Data | 2019-11-12 20:00:30.142385+00", "(1 row)" ] } @@ -10710,8 +10336,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.18: --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 'archive/demo/9.5-1/0000000800000000/00000008000000000000002A-84b88242010d98fa5c3dbefa974282d5076e9b9d.gz'", + "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 end: completed successfully" ] } @@ -10738,24 +10364,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.18: [/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 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 end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.18: [/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", + "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", "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.18: [/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 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 end: completed successfully" ] } @@ -10795,29 +10421,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.18: [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.18: [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.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: 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: unable to find 00000008000000000000002A in the archive", - "P01 DETAIL: unable to find 00000008000000000000002B in the archive", - " [filtered 4 lines of output]", - "P00 INFO: archive-get-async command begin 2.18: [00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030, 000000080000000000000031] --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: 00000008000000000000002A...000000080000000000000031", "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 5 lines of output]" + "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", + " [filtered 13 lines of output]" ] } }, @@ -10899,19 +10520,22 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:18:44\": 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", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 249bc1e064d9b703ca81e6690656917d9820abed", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (7.7KB, 0%) checksum 435e75c0c6f5aff3bc5cd599903788cb2106e054", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 17%) checksum a3c60a4101e5bf5e94e2587bde89cdf327d37050", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 17%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 37%) checksum c40d1680963f1236d1cf4c86a8812ea2b447d272", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 37%) checksum 61c3215caf3ab96db583083aaefbfaf962c5ac13", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2658 (112KB, 42%) checksum 9d78b3a57afbc4be6fa8d5c69c75c9f13b0fe3bd", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2673 (320KB, 57%) checksum f4b0a61891f7ef84984be9e0c6ef44d2a63fe30f", - " [filtered 34 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]" ] } }, @@ -11173,7 +10797,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.18: --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.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 end: completed successfully" ] } @@ -11210,7 +10834,7 @@ "type" : "exe", "value" : { "output" : [ - "postgresql-9.6 (pid 4905) is running..." + "postgresql-9.6 (pid 4872) is running..." ] } }, @@ -11407,11 +11031,11 @@ { "key" : { "id" : "s3", - "image" : "minio/minio:RELEASE.2019-06-04T01-15-58Z", + "image" : "minio/minio:RELEASE.2019-10-12T01-39-57Z", "name" : "s3-server", "option" : "-v {[host-repo-path]}/doc/resource/fake-cert/s3-server.crt:/root/.minio/certs/public.crt:ro -v {[host-repo-path]}/doc/resource/fake-cert/s3-server.key:/root/.minio/certs/private.key:ro -e MINIO_REGION=us-east-1 -e MINIO_DOMAIN=s3.us-east-1.amazonaws.com -e MINIO_BROWSER=off -e MINIO_ACCESS_KEY=accessKey1 -e MINIO_SECRET_KEY=verySecretKey1", "os" : "centos7", - "param" : "server /data --address :443 --compat", + "param" : "server /data --address :443", "update-hosts" : false }, "type" : "host", @@ -11437,7 +11061,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.18" + "sudo mkdir -p /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -11450,7 +11074,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.18" + "sudo cp -r /pgbackrest/libc /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -11463,7 +11087,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.18" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -11476,7 +11100,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.18" + "sudo chown -R vagrant /build/pgbackrest-release-2.19" ], "host" : "build", "load-env" : true, @@ -11522,7 +11146,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.18/src && ./configure" + "cd /build/pgbackrest-release-2.19/src && ./configure" ], "host" : "build", "load-env" : true, @@ -11535,7 +11159,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "make -s -C /build/pgbackrest-release-2.18/src" + "make -s -C /build/pgbackrest-release-2.19/src" ], "host" : "build", "load-env" : true, @@ -11562,7 +11186,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.18/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -11704,7 +11328,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.18 - General help", + "pgBackRest 2.19 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -11848,7 +11472,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.18 - 'backup' command - 'log-path' option help", + "pgBackRest 2.19 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -12086,7 +11710,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "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=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -12112,8 +11736,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --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-ceb47f443685ca9fceb6c8e2f85857b2e11240a9.gz'", + "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=<redacted> --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 end: completed successfully" ] } @@ -12140,9 +11764,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "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=<redacted> --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-10-01 15:02:56\": backup begins after the next regular checkpoint completes", + "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: 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%)", @@ -12168,7 +11792,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-150256F" + "20191112-194531F" ] } }, @@ -12196,7 +11820,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 5e8f67260faeedc733597b09999734cf3ad93ef8", + "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum 9b34302ef1a6e99f5dd9267320c784f982ca32a0", "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", @@ -12232,18 +11856,18 @@ " db (current)", " wal archive min/max (9.6-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20191001-150256F", - " timestamp start/stop: 2019-10-01 15:02:56 / 2019-10-01 15:03:09", + " full backup: 20191112-194531F", + " timestamp start/stop: 2019-11-12 19:45:31 / 2019-11-12 19:45:44", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", - " database size: 20.9MB, backup size: 20.9MB", + " database size: 21.0MB, backup size: 21.0MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " diff backup: 20191001-150256F_20191001-150310D", - " timestamp start/stop: 2019-10-01 15:03:10 / 2019-10-01 15:03:14", + " diff backup: 20191112-194531F_20191112-194546D", + " timestamp start/stop: 2019-11-12 19:45:46 / 2019-11-12 19:45:49", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 20.9MB, backup size: 8.2KB", + " database size: 21.0MB, backup size: 8.2KB", " repository size: 2.5MB, repository backup size: 421B", - " backup reference list: 20191001-150256F" + " backup reference list: 20191112-194531F" ] } }, @@ -12309,12 +11933,12 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 11 lines of output]", - "Oct 01 15:03:17 pg-primary postmaster[889]: but could not open file \"/var/lib/pgsql/9.6/data/global/pg_control\": No such file or directory", - "Oct 01 15:03:17 pg-primary systemd[1]: postgresql-9.6.service: main process exited, code=exited, status=2/INVALIDARGUMENT", - "Oct 01 15:03:17 pg-primary systemd[1]: Failed to start PostgreSQL 9.6 database server.", - "Oct 01 15:03:17 pg-primary systemd[1]: Unit postgresql-9.6.service entered failed state.", - "Oct 01 15:03:17 pg-primary systemd[1]: postgresql-9.6.service failed." + " [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." ] } }, @@ -12392,10 +12016,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20191001-150256F_20191001-150310D, version = 2.18", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:03:32\": backup begins after the next regular checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", + "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=<redacted> --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 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]" ] @@ -12453,184 +12077,15 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --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 = 20191001-150256F_20191001-150332I, version = 2.18", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:03:38\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", - "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum c388ea032a89e9cfd75740ee398050e852daf2ee", + "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=<redacted> --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 start archive = 000000020000000000000006, lsn = 0/6000028", + "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum 4c43917bd6e26804a1e5e76af2f2ae097f3dc403", " [filtered 7 lines of output]" ] } }, - { - "key" : { - "bash-wrap" : true, - "cmd" : [ - "sudo -u postgres pgbackrest --output=json info" - ], - "host" : "pg-primary", - "load-env" : true, - "output" : true, - "run-as-user" : null - }, - "type" : "exe", - "value" : { - "output" : [ - "[", - " {", - " \"archive\" : [", - " {", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"id\" : \"9.6-1\",", - " \"max\" : \"000000020000000000000007\",", - " \"min\" : \"000000010000000000000002\"", - " }", - " ],", - " \"backup\" : [", - " {", - " \"archive\" : {", - " \"start\" : \"000000010000000000000002\",", - " \"stop\" : \"000000010000000000000002\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 21928404,", - " \"repository\" : {", - " \"delta\" : 2581605,", - " \"size\" : 2581605", - " },", - " \"size\" : 21928404", - " },", - " \"label\" : \"20191001-150256F\",", - " \"prior\" : null,", - " \"reference\" : null,", - " \"timestamp\" : {", - " \"start\" : 1569942176,", - " \"stop\" : 1569942189", - " },", - " \"type\" : \"full\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000010000000000000003\",", - " \"stop\" : \"000000010000000000000003\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 8421,", - " \"repository\" : {", - " \"delta\" : 421,", - " \"size\" : 2581605", - " },", - " \"size\" : 21928404", - " },", - " \"label\" : \"20191001-150256F_20191001-150310D\",", - " \"prior\" : \"20191001-150256F\",", - " \"reference\" : [", - " \"20191001-150256F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569942190,", - " \"stop\" : 1569942194", - " },", - " \"type\" : \"diff\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000020000000000000006\",", - " \"stop\" : \"000000020000000000000006\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 9421,", - " \"repository\" : {", - " \"delta\" : 869,", - " \"size\" : 2581765", - " },", - " \"size\" : 21929036", - " },", - " \"label\" : \"20191001-150256F_20191001-150332I\",", - " \"prior\" : \"20191001-150256F_20191001-150310D\",", - " \"reference\" : [", - " \"20191001-150256F\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569942212,", - " \"stop\" : 1569942215", - " },", - " \"type\" : \"incr\"", - " },", - " {", - " \"archive\" : {", - " \"start\" : \"000000020000000000000007\",", - " \"stop\" : \"000000020000000000000007\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.18\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 8421,", - " \"repository\" : {", - " \"delta\" : 421,", - " \"size\" : 2581765", - " },", - " \"size\" : 21929036", - " },", - " \"label\" : \"20191001-150256F_20191001-150338I\",", - " \"prior\" : \"20191001-150256F_20191001-150332I\",", - " \"reference\" : [", - " \"20191001-150256F\",", - " \"20191001-150256F_20191001-150332I\"", - " ],", - " \"timestamp\" : {", - " \"start\" : 1569942218,", - " \"stop\" : 1569942221", - " },", - " \"type\" : \"incr\"", - " }", - " ],", - " \"cipher\" : \"aes-256-cbc\",", - " \"db\" : [", - " {", - " \"id\" : 1,", - " \"system-id\" : 6742850204448383308,", - " \"version\" : \"9.6\"", - " }", - " ],", - " \"name\" : \"demo\",", - " \"status\" : {", - " \"code\" : 0,", - " \"message\" : \"ok\"", - " }", - " }", - "]" - ] - } - }, { "key" : { "bash-wrap" : true, @@ -12690,10 +12145,10 @@ " -- Create a temp table to hold the JSON data", " create temp table temp_pgbackrest_data (data jsonb);", "", - " -- Copy data into the table directory from the pgBackRest into command", + " -- Copy data into the table directly from the pgBackRest info command", " copy temp_pgbackrest_data (data)", " from program", - " 'pgbackrest --output=json info | tr ''\\n'' '' ''' (format text);", + " 'pgbackrest --output=json info' (format text);", "", " select temp_pgbackrest_data.data", " into data", @@ -12772,7 +12227,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-10-01 15:03:41+00 | 000000020000000000000007", + " \"demo\" | 2019-11-12 19:46:13+00 | 000000020000000000000006", "(1 row)" ] } @@ -12818,7 +12273,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191001-150256F|remove archive" + "archive retention on backup 20191112-194531F|remove archive" ] }, "host" : "pg-primary", @@ -12831,8 +12286,8 @@ "output" : [ " [filtered 874 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --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 20191001-150256F, archiveId = 9.6-1, start = 000000010000000000000002", + "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=<redacted> --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 DETAIL: no archive to remove, archiveId = 9.6-1", "P00 INFO: expire command end: completed successfully" ] @@ -12852,7 +12307,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-150346F" + "20191112-194618F" ] } }, @@ -12867,7 +12322,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20191001-150256F|archive retention on backup 20191001-150346F|remove archive" + "expire full backup set\\: 20191112-194531F|archive retention on backup 20191112-194618F|remove archive" ] }, "host" : "pg-primary", @@ -12880,10 +12335,10 @@ "output" : [ " [filtered 873 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --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: 20191001-150256F, 20191001-150256F_20191001-150310D, 20191001-150256F_20191001-150332I, 20191001-150256F_20191001-150338I", - "P00 INFO: remove expired backup 20191001-150256F_20191001-150338I", - "P00 INFO: remove expired backup 20191001-150256F_20191001-150332I", + "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=<redacted> --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", " [filtered 2 lines of output]" ] } @@ -12946,7 +12401,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-150400F_20191001-150417D" + "20191112-194631F_20191112-194648D" ] } }, @@ -12974,7 +12429,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20191001-150400F_20191001-150417D" + "expire diff backup set: 20191112-194631F_20191112-194648D" ] }, "host" : "pg-primary", @@ -12987,10 +12442,10 @@ "output" : [ " [filtered 9 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --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: 20191001-150400F_20191001-150417D, 20191001-150400F_20191001-150421I", - "P00 INFO: remove expired backup 20191001-150400F_20191001-150421I", - "P00 INFO: remove expired backup 20191001-150400F_20191001-150417D" + "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=<redacted> --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" ] } }, @@ -13039,7 +12494,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-150400F_20191001-150426D" + "20191112-194631F_20191112-194657D" ] } }, @@ -13082,10 +12537,10 @@ "output" : [ " [filtered 8 lines of output]", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000012, lsn = 0/120000F8", - "P00 INFO: new backup label = 20191001-150400F_20191001-150432D", + "P00 INFO: backup stop archive = 000000020000000000000011, lsn = 0/110000F8", + "P00 INFO: new backup label = 20191112-194631F_20191112-194703D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --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.19: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --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" ] } }, @@ -13103,7 +12558,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-150400F_20191001-150432D" + "20191112-194631F_20191112-194703D" ] } }, @@ -13118,7 +12573,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20191001-150400F_20191001-150426D|remove archive" + "archive retention on backup 20191112-194631F_20191112-194657D|remove archive" ] }, "host" : "pg-primary", @@ -13129,14 +12584,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.18: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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 20191001-150346F, archiveId = 9.6-1, start = 000000020000000000000009, stop = 000000020000000000000009", - "P00 DETAIL: archive retention on backup 20191001-150400F, archiveId = 9.6-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", - "P00 DETAIL: archive retention on backup 20191001-150400F_20191001-150426D, archiveId = 9.6-1, start = 00000002000000000000000F, stop = 00000002000000000000000F", - "P00 DETAIL: archive retention on backup 20191001-150400F_20191001-150432D, archiveId = 9.6-1, start = 000000020000000000000012", - "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", - "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000C, stop = 00000002000000000000000E", - "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 000000020000000000000010, stop = 000000020000000000000011", + "P00 INFO: expire command begin 2.19: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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 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", "P00 INFO: expire command end: completed successfully" ] } @@ -13349,7 +12804,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-150400F_20191001-150444I" + "20191112-194631F_20191112-194715I" ] } }, @@ -13358,7 +12813,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20191001-150400F_20191001-150444I info" + " --set=20191112-194631F_20191112-194715I info" ], "highlight" : { "filter" : true, @@ -13377,7 +12832,7 @@ "output" : [ " [filtered 11 lines of output]", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20191001-150400F, 20191001-150400F_20191001-150432D", + " backup reference list: 20191112-194631F, 20191112-194631F_20191112-194703D", " database list: postgres (12470), test1 (24576), test2 (24577)" ] } @@ -13608,7 +13063,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-10-01 15:05:16.213181+00" + "2019-11-12 19:47:44.545527+00" ] } }, @@ -13661,7 +13116,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-10-01 15:05:16.213181+00\" \\", + " --type=time \"--target=2019-11-12 19:47:44.545527+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -13705,9 +13160,9 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-10-01 15:05:18", + "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:47:46", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-10-01 15:05:16.213181+00'", + "recovery_target_time = '2019-11-12 19:47:44.545527+00'", "recovery_target_action = 'promote'" ] } @@ -13787,16 +13242,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-10-01 15:05:08 UTC", - "LOG: starting point-in-time recovery to 2019-10-01 15:05:16.213181+00", + "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: 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: redo starts at 0/17000028", - "LOG: consistent recovery state reached at 0/170000F8", - "LOG: restored log file \"000000040000000000000018\" from archive", - "LOG: recovery stopping before commit of transaction 639, time 2019-10-01 15:05:16.653536+00", - "LOG: redo done at 0/18020E10", - "LOG: last completed transaction was at log time 2019-10-01 15:05:15.72855+00", + "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: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -13848,7 +13303,7 @@ "type" : "exe", "value" : { "output" : [ - "20191001-150400F_20191001-150507D" + "20191112-194631F_20191112-194736D" ] } }, @@ -13883,7 +13338,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-10-01 15:05:16.213181+00\" --target-action=promote restore" + " --type=time \"--target=2019-11-12 19:47:44.545527+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -13980,14 +13435,14 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-10-01 15:05:26 UTC", - "LOG: starting point-in-time recovery to 2019-10-01 15:05:16.213181+00", + "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: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"000000050000000000000019\" from archive", - "LOG: redo starts at 0/19000028", - "LOG: consistent recovery state reached at 0/190000F8", - "LOG: redo done at 0/190000F8", - "LOG: restored log file \"000000050000000000000019\" from archive", + "LOG: restored log file \"000000050000000000000018\" from archive", + "LOG: redo starts at 0/18000028", + "LOG: consistent recovery state reached at 0/180000F8", + "LOG: redo done at 0/180000F8", + "LOG: restored log file \"000000050000000000000018\" from archive", " [filtered 7 lines of output]" ] } @@ -14002,7 +13457,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20191001-150400F_20191001-150507D" + "20191112-194631F_20191112-194736D" ] }, "host" : "pg-primary", @@ -14018,47 +13473,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.6-1): 000000020000000000000009/000000050000000000000019", + " wal archive min/max (9.6-1): 000000020000000000000008/000000050000000000000018", "", - " full backup: 20191001-150346F", - " timestamp start/stop: 2019-10-01 15:03:46 / 2019-10-01 15:03:59", - " wal start/stop: 000000020000000000000009 / 000000020000000000000009", - " database size: 20.9MB, backup size: 20.9MB", + " full backup: 20191112-194618F", + " timestamp start/stop: 2019-11-12 19:46:18 / 2019-11-12 19:46:30", + " wal start/stop: 000000020000000000000008 / 000000020000000000000008", + " database size: 21.0MB, backup size: 21.0MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " full backup: 20191001-150400F", - " timestamp start/stop: 2019-10-01 15:04:00 / 2019-10-01 15:04:15", - " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", - " database size: 20.9MB, backup size: 20.9MB", + " full backup: 20191112-194631F", + " timestamp start/stop: 2019-11-12 19:46:31 / 2019-11-12 19:46:45", + " wal start/stop: 00000002000000000000000A / 00000002000000000000000A", + " database size: 21.0MB, backup size: 21.0MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " diff backup: 20191001-150400F_20191001-150432D", - " timestamp start/stop: 2019-10-01 15:04:32 / 2019-10-01 15:04:36", - " wal start/stop: 000000020000000000000012 / 000000020000000000000012", - " database size: 20.9MB, backup size: 97.6KB", + " diff backup: 20191112-194631F_20191112-194703D", + " timestamp start/stop: 2019-11-12 19:47:03 / 2019-11-12 19:47:07", + " wal start/stop: 000000020000000000000011 / 000000020000000000000011", + " database size: 21.0MB, backup size: 97.6KB", " repository size: 2.5MB, repository backup size: 11.8KB", - " backup reference list: 20191001-150400F", + " backup reference list: 20191112-194631F", "", - " incr backup: 20191001-150400F_20191001-150444I", - " timestamp start/stop: 2019-10-01 15:04:44 / 2019-10-01 15:04:56", - " wal start/stop: 000000030000000000000014 / 000000030000000000000014", - " database size: 34.5MB, backup size: 13.7MB", + " incr backup: 20191112-194631F_20191112-194715I", + " timestamp start/stop: 2019-11-12 19:47:15 / 2019-11-12 19:47:25", + " wal start/stop: 000000030000000000000013 / 000000030000000000000013", + " database size: 34.6MB, backup size: 13.7MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20191001-150400F, 20191001-150400F_20191001-150432D", + " backup reference list: 20191112-194631F, 20191112-194631F_20191112-194703D", "", - " diff backup: 20191001-150400F_20191001-150507D", - " timestamp start/stop: 2019-10-01 15:05:07 / 2019-10-01 15:05:15", - " wal start/stop: 000000040000000000000017 / 000000040000000000000017", - " database size: 27.7MB, backup size: 6.9MB", - " repository size: 3.3MB, repository backup size: 846.7KB", - " backup reference list: 20191001-150400F", + " diff backup: 20191112-194631F_20191112-194736D", + " timestamp start/stop: 2019-11-12 19:47:36 / 2019-11-12 19:47: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", "", - " incr backup: 20191001-150400F_20191001-150524I", - " timestamp start/stop: 2019-10-01 15:05:24 / 2019-10-01 15:05:29", - " wal start/stop: 000000050000000000000019 / 000000050000000000000019", - " database size: 27.7MB, backup size: 2.0MB", - " repository size: 3.3MB, repository backup size: 211.1KB", - " backup reference list: 20191001-150400F, 20191001-150400F_20191001-150507D" + " incr backup: 20191112-194631F_20191112-194752I", + " timestamp start/stop: 2019-11-12 19:47:52 / 2019-11-12 19:47:57", + " 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" ] } }, @@ -14080,8 +13535,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-10-01 15:05:16.213181+00\" \\", - " --set=20191001-150400F_20191001-150507D --target-action=promote restore" + " --type=time \"--target=2019-11-12 19:47:44.545527+00\" \\", + " --set=20191112-194631F_20191112-194736D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -14178,16 +13633,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-10-01 15:05:08 UTC", - "LOG: starting point-in-time recovery to 2019-10-01 15:05:16.213181+00", + "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: 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: redo starts at 0/17000028", - "LOG: consistent recovery state reached at 0/170000F8", - "LOG: restored log file \"000000040000000000000018\" from archive", - "LOG: recovery stopping before commit of transaction 639, time 2019-10-01 15:05:16.653536+00", - "LOG: redo done at 0/18020E10", - "LOG: last completed transaction was at log time 2019-10-01 15:05:15.72855+00", + "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: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -14313,7 +13768,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --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" ] @@ -14341,16 +13796,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.18: --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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo --start-fast", + "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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --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-10-01 15:05:46\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000070000000000000019, lsn = 0/19000028", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-11-12 19:48:14\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000070000000000000018, lsn = 0/18000028", " [filtered 1136 lines of output]", - "P02 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12312 (0B, 100%)", - "P03 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12307 (0B, 100%)", - "P00 INFO: full backup size = 27.7MB", + "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", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000070000000000000019, lsn = 0/190000F8", + "P00 INFO: backup stop archive = 000000070000000000000018, lsn = 0/180000F8", " [filtered 6 lines of output]" ] } @@ -14389,7 +13844,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.19: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -14415,7 +13870,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.18: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --repo1-s3-region=us-east-1 --repo1-type=s3 --stanza=demo", + "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=<redacted> --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=<redacted> --repo1-s3-key-secret=<redacted> --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" ] @@ -14478,7 +13933,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.18/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -15062,18 +14517,18 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.6-1): 000000080000000000000020/000000080000000000000021", + " wal archive min/max (9.6-1): 000000080000000000000021/000000080000000000000023", "", - " full backup: 20191001-150700F", - " timestamp start/stop: 2019-10-01 15:07:00 / 2019-10-01 15:07:17", - " wal start/stop: 000000080000000000000020 / 000000080000000000000020", - " database size: 27.7MB, backup size: 27.7MB", + " full backup: 20191112-194922F", + " timestamp start/stop: 2019-11-12 19:49:22 / 2019-11-12 19:49:40", + " wal start/stop: 000000080000000000000021 / 000000080000000000000021", + " database size: 27.8MB, backup size: 27.8MB", " repository size: 3.2MB, repository backup size: 3.2MB", "", - " full backup: 20191001-150719F", - " timestamp start/stop: 2019-10-01 15:07:19 / 2019-10-01 15:07:28", - " wal start/stop: 000000080000000000000021 / 000000080000000000000021", - " database size: 27.7MB, backup size: 27.7MB", + " full backup: 20191112-194942F", + " timestamp start/stop: 2019-11-12 19:49:42 / 2019-11-12 19:49:51", + " wal start/stop: 000000080000000000000023 / 000000080000000000000023", + " database size: 27.8MB, backup size: 27.8MB", " repository size: 3.2MB, repository backup size: 3.2MB" ] } @@ -15218,7 +14673,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.18/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.19/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -15511,7 +14966,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-10-01 15:08:05", + "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:50:25", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" ] @@ -15618,12 +15073,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-10-01 15:07:21 UTC", + "LOG: database system was interrupted; last known up at 2019-11-12 19:49:44 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000021\" from archive", - "LOG: redo starts at 0/21000028", - "LOG: consistent recovery state reached at 0/21000130", + "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" ] } @@ -15705,7 +15160,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/220223D0 | 2019-10-01 15:08:14.421665+00", + " 0/240216E8 | 2019-11-12 19:50:34.065348+00", "(1 row)" ] } @@ -15734,7 +15189,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-10-01 15:08:15.959757+00", + " Important Data | 2019-11-12 19:50:35.439699+00", "(1 row)" ] } @@ -15749,7 +15204,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "because no primary was found" + "because this is a standby" ] }, "host" : "pg-standby", @@ -15760,8 +15215,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.18: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --stanza=demo", - "P00 INFO: switch wal not performed because no primary was found", + "P00 INFO: check command 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: switch wal not performed because this is a standby", "P00 INFO: check command end: completed successfully" ] } @@ -15906,7 +15361,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2019-10-01 15:08:24", + "# Recovery settings generated by pgBackRest restore on 2019-11-12 19:50:42", "primary_conninfo = 'host=172.17.0.4 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" @@ -15998,8 +15453,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000022\" from archive", - "LOG: started streaming WAL from primary at 0/23000000 on timeline 8" + "LOG: restored log file \"000000080000000000000024\" from archive", + "LOG: started streaming WAL from primary at 0/25000000 on timeline 8" ] } }, @@ -16031,7 +15486,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-10-01 15:08:32.158457+00", + " Important Data | 2019-11-12 19:50:49.522622+00", "(1 row)" ] } @@ -16060,7 +15515,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-10-01 15:08:32.637339+00", + " Important Data | 2019-11-12 19:50:50.329649+00", "(1 row)" ] } @@ -16291,8 +15746,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.18: --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 000000080000000000000028 successfully archived to 'archive/demo/9.6-1/0000000800000000/000000080000000000000028-a3c280237354bb49a25b408233c229c502d1d0e3.gz'", + "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 end: completed successfully" ] } @@ -16319,24 +15774,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push-async command begin 2.18: [/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: 000000080000000000000023", - "P01 DETAIL: pushed WAL file '000000080000000000000023' to the archive", + "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", + "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.18: [/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: 000000080000000000000024...000000080000000000000027", - "P01 DETAIL: pushed WAL file '000000080000000000000024' to the archive", - "P01 DETAIL: pushed WAL file '000000080000000000000025' to the archive", + "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.18: [/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: 000000080000000000000028", - "P01 DETAIL: pushed WAL file '000000080000000000000028' to the archive", + "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 end: completed successfully" ] } @@ -16376,24 +15831,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.18: [000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000021...000000080000000000000028", - "P01 DETAIL: found 000000080000000000000021 in the archive", - "P01 DETAIL: found 000000080000000000000022 in the archive", - "P01 DETAIL: unable to find 000000080000000000000023 in the archive", - "P01 DETAIL: unable to find 000000080000000000000024 in the archive", - " [filtered 20 lines of output]", - "P00 INFO: archive-get-async command begin 2.18: [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: 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", "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: unable to find 000000080000000000000029 in the archive", - "P01 DETAIL: unable to find 00000008000000000000002A in the archive", - " [filtered 13 lines of output]" + "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]" ] } }, @@ -16475,17 +15930,19 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-10-01 15:08:53\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000008000000000000002A, lsn = 0/2A000028", - "P00 INFO: wait for replay on the standby to reach 0/2A000028", - "P00 INFO: replay on the standby reached 0/2A0000D0, checkpoint 0/2A000060", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/global/pg_control (8KB, 0%) checksum 6b9e0dde3a3ffc712adabe871584d18237ba8572", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_log/postgresql.log (5.6KB, 0%) checksum 55fb3383a0f8d1796e744aa1c09f93b57b03e22e", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/1249 (360KB, 17%) checksum b931fa805060036355e7344e341954a72ed17618", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_hba.conf (4.1KB, 17%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2608 (440KB, 37%) checksum f7c58f2ac09a3758e973800302d86170a3fcaacb", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2673 (304KB, 51%) checksum d8fe221ad23500cbed95ded6ab21149d272330a3", - " [filtered 37 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]" ] } }, @@ -16747,7 +16204,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.18: --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.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 end: completed successfully" ] } @@ -16781,20 +16238,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-10-01 15:09:13 UTC; 477ms ago", + " Active: active (running) since Tue 2019-11-12 19:51:29 UTC; 471ms ago", " Docs: https://www.postgresql.org/docs/10/static/", - " Process: 3994 ExecStartPre=/usr/pgsql-10/bin/postgresql-10-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", - " Main PID: 3999 (postmaster)", - " CGroup: /docker/49ddd840c5d508c04d2ac793d9b50d00d6f3aee6f49af3421cd0c36a94057620/system.slice/postgresql-10.service", - " ├─3999 /usr/pgsql-10/bin/postmaster -D /var/lib/pgsql/10/data/", - " ├─4000 postgres: logger process ", - " ├─4002 postgres: checkpointer process ", - " ├─4003 postgres: writer process ", - " ├─4004 postgres: wal writer process ", - " ├─4005 postgres: autovacuum launcher process ", - " ├─4006 postgres: archiver process ", - " ├─4007 postgres: stats collector process ", - " └─4008 postgres: bgworker: logical replication launcher " + " 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 " ] } }, diff --git a/doc/resource/git-history.cache b/doc/resource/git-history.cache index 4cb723049..1e0cebe50 100644 --- a/doc/resource/git-history.cache +++ b/doc/resource/git-history.cache @@ -1,4 +1,327 @@ [ + { + "commit": "a44c5d0315e49c42eb908a4ed0605bee0c509f6d", + "date": "2019-11-12 13:12:07 -0500", + "subject": "Add Strings for STORAGE_REPO_ARCHIVE and STORAGE_REPO_BACKUP.", + "body": "These constants are used often enough that they deserve to have String constants rather than repeatedly calling STRDEF()." + }, + { + "commit": "10c8eeaf6c0413da265047aeb02a047209ef9d69", + "date": "2019-11-08 18:58:45 -0500", + "subject": "Fix handling of repeated HTTP headers.", + "body": "When HTTP headers are repeated they should be considered equivalent to a single comma-separated header rather than generating an error, which was the prior behavior." + }, + { + "commit": "43171786336733d8e1efe672b801236fd3e2d829", + "date": "2019-11-08 17:56:34 -0500", + "subject": "Update MinIO to newest release.", + "body": "We had some problems with newer versions so had held off on updating. Those problems appear to have been resolved.\n\nIn addition, the --compat flag is no longer required. Prior versions of MinIO required all parts of a multi-part upload (except the last) to be of equal size. The --compat flag was introduced to restore the default S3 behavior. Now --compat is only required when ETag is being used for MD5 verification, which we don't do." + }, + { + "commit": "edcc7306a39852ddff507d384555230001442bf4", + "date": "2019-11-08 09:46:00 -0500", + "subject": "Add TIME parameter debug type.", + "body": "Previously we were using int64_t to debug time_t but this may not be right depending on how the compiler represents time_t, e.g. it could be a float.\n\nSince a mismatch would have caused a compiler error we are not worried that this has actually happened, and anyway the worst case is that the debug log would be wonky.\n\nThe primary benefit, aside from correctness, is that it makes choosing a parameter debug type for time_t obvious." + }, + { + "commit": "eca00e0be00bcd692b10de1b89a700f6525d51a7", + "date": "2019-11-07 13:11:01 -0500", + "subject": "Add building a development environment to contributing documentation.", + "body": "This documentation shows how to build a development environment on Ubuntu 19.04 and should work for other Debian-based distros.\n\nNote that this document is not included in automated testing due to some unresolved issues with Docker in Docker on Travis CI. We'll address this in the future when we add contributing documentation to the website." + }, + { + "commit": "8b682b75d2ade2e52c75b417fad2eb61150616d1", + "date": "2019-11-02 10:35:48 +0100", + "subject": "Allow mock integration tests for all VM types.", + "body": "Previously the mock integration tests would be skipped for VMs other than the standard four used in CI. Now VMs outside the standard four will run the same tests as VM4 (currently U18)." + }, + { + "commit": "b3e5d88304860fbcb566059d08cbf85e2c3cd95a", + "date": "2019-11-02 09:59:39 +0100", + "subject": "Add markdown renderer for execute-list block." + }, + { + "commit": "7168e0744018d7d27668d59bfe9b6deafe923efa", + "date": "2019-10-30 14:55:25 +0100", + "subject": "Use getcwd() to construct path when WAL path is relative.", + "body": "Using pg1-path, as we were doing previously, could lead to WAL being copied to/from unexpected places. PostgreSQL sets the current working directory to PGDATA so we can use that to resolve relative paths." + }, + { + "commit": "e06db21e35f701b62c625b9f25436459b8fd5c26", + "date": "2019-10-17 14:00:18 +0200", + "subject": "Error when specified vm is invalid." + }, + { + "commit": "a52faf83a502427a7079ec2bae0593b318c2594c", + "date": "2019-10-17 11:56:45 +0200", + "subject": "Disable code generation on dry-run." + }, + { + "commit": "fa6a54bb4503efdc8e02a98089a935b6d52a3797", + "date": "2019-10-16 17:05:24 +0200", + "subject": "Update last tests that required sudo.", + "body": "All tests should now run in a sudo-less environment." + }, + { + "commit": "48bd9e22f124163aa61574027476af8b3737dc39", + "date": "2019-10-16 15:48:33 +0200", + "subject": "C test harness refactor.", + "body": "Consolidate setting configuration into hrnInit() and rename other functions for consistency.\n\nSplit out internal functions into a new header." + }, + { + "commit": "b4aeb217e665a166cb75577e07f80b01bc0345d1", + "date": "2019-10-15 17:19:42 +0200", + "subject": "Allow parameters to be passed to travis.pl.", + "body": "This makes configuring tests easier.\n\nAlso add a parameter for tests that require sudo. This should be retired at some point but some tests still require it." + }, + { + "commit": "f3b2189659a7f0e8e660c1be42175f0ff82cffb0", + "date": "2019-10-15 13:27:03 +0200", + "subject": "Remove package build sudo into the container.", + "body": "By running this in the container we no longer need sudo on the host system for package builds." + }, + { + "commit": "67dde73727d2b30ce3f329054398a1f516a65899", + "date": "2019-10-14 11:51:14 +0200", + "subject": "Run tests in tmpfs.", + "body": "This will likely improve performance, but it also makes the filesystem consistent between platforms.\n\nA number of tests were failing on shiftfs, which was the default for arm64 on Travis." + }, + { + "commit": "b1dc5a6d269b858960061e59f3885303d2417051", + "date": "2019-10-13 14:02:52 -0400", + "subject": "Add disk/mem info for Travis.", + "body": "This is helpful for determining the virtual machine resources." + }, + { + "commit": "64c6102a1536ba94f4957fe950038f31525748b5", + "date": "2019-10-12 14:47:01 -0400", + "subject": "Update packages required for Travis-CI builds.", + "body": "These packages are expected on the arm64 build even though we are using the same os image as amd64. It appears the arm64 image is slimmer." + }, + { + "commit": "35eef2b8676115036b9d68b14223629dd1e1b773", + "date": "2019-10-12 14:16:22 -0400", + "subject": "Use a lower user id for posix storage tests.", + "body": "arm64 was not happy with the old user id, so use something smaller." + }, + { + "commit": "827e95944a2f13301fa14af5a8f11324e17a1cd9", + "date": "2019-10-12 13:52:45 -0400", + "subject": "Use < 0 and > 0 for strCmp() tests.", + "body": "Using -1 and 1 was a bit sloppy since the spec only guarantees that the values will be < 0 and > 0.\n\nFound on arm64 where the values were -64 and 64." + }, + { + "commit": "a2fa1d04b0cbd6dbedaa2447273371c20bd46e56", + "date": "2019-10-12 11:26:13 -0400", + "subject": "Update container images to PostgreSQL 12 GA." + }, + { + "commit": "397a41e0f9f82987952912b8127a5e6929e29752", + "date": "2019-10-12 11:24:55 -0400", + "subject": "Add Ubuntu 19.04 container definition." + }, + { + "commit": "93656db186e6da286bd704dc65235fcc209bb19d", + "date": "2019-10-12 11:24:21 -0400", + "subject": "Update lcov to 1.14.", + "body": "1.13 is not compatible with gcc 8 which is what ships with newer distributions. Build from source to get a more recent version.\n\n1.13 is not compatible with gcc 9 so we'll need to address that at a later date." + }, + { + "commit": "11c7c8fabb1e3eb9dadce2231fbb9cb3d76d553f", + "date": "2019-10-12 09:45:18 -0400", + "subject": "Remove pgbackrest test user.", + "body": "This user was created before we tested in containers to ensure isolation between the pg and repo hosts which were then just directories. The downside is that this resulted in a lot of sudos to set the pgbackrest user and to remove files which did not belong to the main test user.\n\nContainers provide isolation without needing separate users so we can now safely remove the pgbackrest user. This allows us to remove most sudos, except where they are explicitly needed in tests.\n\nWhile we're at it, remove the code that installed the Perl C library (which also required sudo) and simply add the build path to @INC instead." + }, + { + "commit": "6f0e7f00af3e83d071713a671a6f155cd1fa3b88", + "date": "2019-10-12 09:26:19 -0400", + "subject": "Fix recovery test failing in PostgreSQL 12.0.", + "body": "This test was not creating recovery.signal when testing with --type=preserve. The preserve recovery type only keeps existing files and does not create any.\n\nRC1 was just ignoring recovery.signal and going right into recovery. Weirdly, 12.0 used restore_command to do crash recovery which made the problem harder to diagnose, but this has now been fixed in PostgreSQL and should be released in 12.1." + }, + { + "commit": "59a4a0c1b1726812126a13e57bee29689b0a8fdc", + "date": "2019-10-11 13:14:47 -0400", + "subject": "Add a warning about jq rounding numbers to the documentation." + }, + { + "commit": "db1dc4f275667903f560c140c2c61cce7f9b4020", + "date": "2019-10-11 13:03:52 -0400", + "subject": "Remove pretty-printing from jsonFromKv() and jsonFromVar().", + "body": "Now that pretty-printing has been removed from the info command it no longer has a purpose, so remove it." + }, + { + "commit": "d90b2724f883686afdae386c1350abfdcfb0d5fa", + "date": "2019-10-11 12:56:03 -0400", + "subject": "JSON output from the info command is no longer pretty-printed.", + "body": "Monitoring systems can more easily ingest the JSON without linefeeds.\n\nExternal tools such as jq can be used to pretty-print if desired." + }, + { + "commit": "29725805668656a920283401ef144a98cee2c5f9", + "date": "2019-10-11 12:38:03 -0400", + "subject": "Remove info expect tests from mock/all and mock/stanza.", + "body": "These tests are redundant now that we have full coverage in the unit tests are are not worth maintaining anymore." + }, + { + "commit": "e4408c7dd390b13bb022b29e8f0b151fa0526362", + "date": "2019-10-11 12:28:47 -0400", + "subject": "Refactor --pre option in documentation.", + "body": "Mark all pre commands as skip so they won't be run again after the container is built.\n\nEnsure that pre commands added to the container are run as the container user if they are not intended to run as root." + }, + { + "commit": "642ce003c8e8f59ec67d3bda4c18decb4aa21ae2", + "date": "2019-10-11 11:32:51 -0400", + "subject": "Don't autogenerate embedded libc code by default.", + "body": "This is only needed when new code is added to the Perl C library, which is becoming rare as the migration progresses.\n\nAlso, the code will vary slightly based on the Perl version used for generation so for normal users it is just noise." + }, + { + "commit": "bcd3e4953aa1c8e8ccfadd141f38473b2ecbaff6", + "date": "2019-10-10 22:10:20 -0400", + "subject": "Make perl/exec test container required.", + "body": "This test fails in some cases when --vm=none but it's not worth investigating since this code will be going away soon." + }, + { + "commit": "e3d87ebace36984728ae571a77ca1e11ae383d5b", + "date": "2019-10-10 19:43:42 -0400", + "subject": "Fix mismatched timezone in expect test.", + "body": "Also run the --vm-none tests in a non-UTC timezone to prevent regressions." + }, + { + "commit": "6db4e59a6631eb47758fd0dff772e2ca086e924b", + "date": "2019-10-10 16:13:43 -0400", + "subject": "Allow tests that use ports to run in parallel.", + "body": "Set the test index in the C unit test code so it can assign port numbers that won't conflict between tests." + }, + { + "commit": "13fcbb24e940084710acc13627515522215369dc", + "date": "2019-10-10 15:09:11 -0400", + "subject": "Fix container test path being used when --vm=none." + }, + { + "commit": "e732720d855cffa0e4bb80997529254323fd7767", + "date": "2019-10-10 11:28:37 -0400", + "subject": "Disable docker service for --vm=none test.", + "body": "Starting this service wastes time and this will help catch any regressions where containers are being built when they should not be." + }, + { + "commit": "9a3ba649e111f3529bb6fe09238d9fcb81454487", + "date": "2019-10-10 11:25:59 -0400", + "subject": "Remove code to generate .travis.yml.", + "body": "Most of the logic has been moved to test/travis.pl so there wasn't much purpose to this code anymore." + }, + { + "commit": "696e6a7c444ba0ec3a28f8762b6a7266751faa0f", + "date": "2019-10-10 11:21:09 -0400", + "subject": "Don't require sudo to run tests with --vm=none.", + "body": "Run these tests without sudo privileges on Travis to prevent regressions." + }, + { + "commit": "50d1d0a4e8f232842a27c4998cb6af3f1d906bf3", + "date": "2019-10-10 09:28:50 -0400", + "subject": "Move release note to correct section." + }, + { + "commit": "47e0ba2502e5c3e8eb088ffcbd774144741b599b", + "date": "2019-10-10 09:27:46 -0400", + "subject": "Fix remote timeout in delta restore.", + "body": "When performing a delta restore on a largely unchanged cluster the remote could timeout if no files were fetched from the repository within protocol-timeout.\n\nAdd keep-alives to prevent remote timeout." + }, + { + "commit": "82baf1e521e2a1ed7b27403478aa4a1dc4a6afcc", + "date": "2019-10-10 08:33:40 -0400", + "subject": "Fix typo." + }, + { + "commit": "7f369006b5c812d0d3e05f4735d03623c3873b45", + "date": "2019-10-09 15:03:03 -0400", + "subject": "Add gcc 9 support.", + "body": "A number of tests have been updated and Fedora 30 has been added to the test suite so the unit tests can run on gcc 9.\n\nStop running unit tests on co6/7 since we appear to have ample unit test coverage." + }, + { + "commit": "528f4c4347d89a0c05b0a9521e8ef91432616b0c", + "date": "2019-10-09 14:38:24 -0400", + "subject": "Remove dependency on aws cli for testing.", + "body": "This tool was only being used it a few places but was a pretty large dependency.\n\nRework the forceStorageMove() code using our storage layer and replace one aws cli cp with a storage put.\n\nAlso, remove the Dockerfile that was once used to build the Scality S3 test container." + }, + { + "commit": "ac870b42de5a51436a4a08c6ad405ac4f1dd0763", + "date": "2019-10-09 08:43:30 -0400", + "subject": "Refactor error logic to make sure Db object gets freed immediately.", + "body": "Because db can be reset to NULL on an error in the try block we need nested try blocks to ensure that db is non-NULL and can be freed on an error after being created.\n\nThis is not a production issue because the db will be freed when the temp mem context is freed, but it does affect reproducibility in the tests and is a bit tidier." + }, + { + "commit": "61c4f64895497da4cbe1e9225f274d255dd5133e", + "date": "2019-10-08 18:56:55 -0400", + "subject": "Be smarter about which packages are loaded for testing.", + "body": "Now that our tests are more diversified it makes sense to load only the packages that are needed for each test.\n\nMove the package loads from .travis.yaml to test/travis.pl where we have more control over what is loaded." + }, + { + "commit": "a1c13a50dd0886076a1f32e58901eec271d9ec9a", + "date": "2019-10-08 18:04:09 -0400", + "subject": "The check command is implemented entirely in C.", + "body": "Note that building the manifest on each host has been temporarily removed.\n\nThis feature will likely be brought back as a non-default option (after the manifest code has been fully migrated to C) since it can be fairly expensive." + }, + { + "commit": "ecae5e34e5063838bb55d55b1752c6b2eaaaa75b", + "date": "2019-10-08 17:30:33 -0400", + "subject": "Update expire command to use C backup.info reconstruct.", + "body": "This was still being done in Perl until the C Manifest object was available." + }, + { + "commit": "4e4d1f414a153232079f2e2e9ce203ffc5a2362c", + "date": "2019-10-08 16:04:27 -0400", + "subject": "Add infoBackupLoadFileReconstruct() to InfoBackup object.", + "body": "Check the backup.info file against the backup path. Add any backups that are missing and remove any backups that no longer exist.\n\nIt's important to run this before backup or expire to be sure we are using the most up-to-date list of backups." + }, + { + "commit": "b2825b82c7b8cf140969dd4e9fd04552e921bbfc", + "date": "2019-10-08 15:47:47 -0400", + "subject": "Add missing header file." + }, + { + "commit": "6d8d0eeba71fa7cd00af6e40c0adf74638a371bd", + "date": "2019-10-08 15:37:08 -0400", + "subject": "Add pgBackRest version to Info and Manifest objects.", + "body": "This was not being exposed previously because it is primarily informational, but now it is needed to reconstruct the backup.info file." + }, + { + "commit": "38b72eded4b0f295ed1f30f849f0a99f69e396d2", + "date": "2019-10-08 15:27:17 -0400", + "subject": "Document how to contribute to pgBackRest.", + "body": "There's a lot more to be done here, but this is a good start." + }, + { + "commit": "a4152a0ea1dc5c28515aedf9690cab22765076cb", + "date": "2019-10-08 12:29:42 -0400", + "subject": "Update release instructions with a reminder to install latex.", + "body": "Latex is no longer installed by default in the Vagrantfile." + }, + { + "commit": "45881c74aeff4bb25559ec0254fa7fc1960d9cab", + "date": "2019-10-08 12:06:30 -0400", + "subject": "Allow most unit tests to run outside of a container.", + "body": "Three major changes were required to get this working:\n\n1) Provide the path to pgbackrest in the build directory when running outside a container. Tests in a container will continue to install and run against /usr/bin/pgbackrest.\n\n1) Set a per-test lock path so tests don't conflict on the default /tmp/pgbackrest path. Also set a per-test log-path while we are at it.\n\n2) Use localhost instead of a custom host for TLS test connections. Tests in containers will continue to update /etc/hosts and use the custom host.\n\nAdd infrastructure and update harnessCfgLoad*() to get the correct exe and paths loaded for testing.\n\nSince new tests are required to verify that running outside a container works, also rework the tests in Travis CI to provide coverage within a reasonable amount of time. Mainly, break up to doc tests by VM and run an abbreviated unit test suite on co6 and co7." + }, + { + "commit": "77b0c6c993a0e6ff45a6a99f343c3709a016d152", + "date": "2019-10-08 10:35:47 -0400", + "subject": "Add missing spaces." + }, + { + "commit": "5394893e33a844991a913e3b3c8874b435ac88d1", + "date": "2019-10-03 11:14:22 -0400", + "subject": "Remove pgPath parameter from pgControlFromFile().", + "body": "In practice this function is always used with storagePg*() so pgPath is known." + }, + { + "commit": "887ec97e0743f758a0a2d2222cd1553b91f0908d", + "date": "2019-10-03 06:58:52 -0400", + "subject": "Document maximum version for auto-stop option." + }, + { + "commit": "008ec6b05c631adf08cba312d6bab972f02881ef", + "date": "2019-10-01 17:04:26 -0400", + "subject": "Begin v2.19 development." + }, { "commit": "4629237d6a308a250cd52fff49693cd0a1069253", "date": "2019-10-01 16:02:07 -0400", diff --git a/doc/xml/auto/metric-coverage-report.auto.xml b/doc/xml/auto/metric-coverage-report.auto.xml index f6b55eb58..d5edb4dad 100644 --- a/doc/xml/auto/metric-coverage-report.auto.xml +++ b/doc/xml/auto/metric-coverage-report.auto.xml @@ -8,15 +8,15 @@ <table-row> <table-cell>command/archive</table-cell> <table-cell>10/10 (100.0%)</table-cell> - <table-cell>64/64 (100.0%)</table-cell> - <table-cell>180/180 (100.0%)</table-cell> + <table-cell>62/62 (100.0%)</table-cell> + <table-cell>176/176 (100.0%)</table-cell> </table-row> <table-row> <table-cell>command/archive/get</table-cell> <table-cell>7/7 (100.0%)</table-cell> <table-cell>86/86 (100.0%)</table-cell> - <table-cell>223/223 (100.0%)</table-cell> + <table-cell>222/222 (100.0%)</table-cell> </table-row> <table-row> @@ -35,23 +35,23 @@ <table-row> <table-cell>command/check</table-cell> - <table-cell>2/2 (100.0%)</table-cell> <table-cell>8/8 (100.0%)</table-cell> - <table-cell>34/34 (100.0%)</table-cell> + <table-cell>56/56 (100.0%)</table-cell> + <table-cell>127/127 (100.0%)</table-cell> </table-row> <table-row> <table-cell>command/control</table-cell> <table-cell>4/4 (100.0%)</table-cell> <table-cell>34/34 (100.0%)</table-cell> - <table-cell>63/63 (100.0%)</table-cell> + <table-cell>64/64 (100.0%)</table-cell> </table-row> <table-row> <table-cell>command/expire</table-cell> <table-cell>8/8 (100.0%)</table-cell> <table-cell>130/130 (100.0%)</table-cell> - <table-cell>244/244 (100.0%)</table-cell> + <table-cell>242/242 (100.0%)</table-cell> </table-row> <table-row> @@ -91,9 +91,9 @@ <table-row> <table-cell>command/stanza</table-cell> - <table-cell>8/8 (100.0%)</table-cell> - <table-cell>114/114 (100.0%)</table-cell> - <table-cell>175/175 (100.0%)</table-cell> + <table-cell>7/7 (100.0%)</table-cell> + <table-cell>104/104 (100.0%)</table-cell> + <table-cell>155/155 (100.0%)</table-cell> </table-row> <table-row> @@ -149,7 +149,7 @@ <table-cell>common/io/http</table-cell> <table-cell>36/36 (100.0%)</table-cell> <table-cell>158/158 (100.0%)</table-cell> - <table-cell>447/447 (100.0%)</table-cell> + <table-cell>454/454 (100.0%)</table-cell> </table-row> <table-row> @@ -161,30 +161,30 @@ <table-row> <table-cell>common/type</table-cell> - <table-cell>248/248 (100.0%)</table-cell> - <table-cell>564/564 (100.0%)</table-cell> - <table-cell>2923/2923 (100.0%)</table-cell> + <table-cell>249/249 (100.0%)</table-cell> + <table-cell>542/542 (100.0%)</table-cell> + <table-cell>2894/2894 (100.0%)</table-cell> </table-row> <table-row> <table-cell>config</table-cell> <table-cell>98/98 (100.0%)</table-cell> <table-cell>546/546 (100.0%)</table-cell> - <table-cell>1390/1390 (100.0%)</table-cell> + <table-cell>1388/1388 (100.0%)</table-cell> </table-row> <table-row> <table-cell>db</table-cell> - <table-cell>17/17 (100.0%)</table-cell> + <table-cell>19/19 (100.0%)</table-cell> <table-cell>46/46 (100.0%)</table-cell> - <table-cell>218/218 (100.0%)</table-cell> + <table-cell>235/235 (100.0%)</table-cell> </table-row> <table-row> <table-cell>info</table-cell> - <table-cell>103/103 (100.0%)</table-cell> - <table-cell>440/440 (100.0%)</table-cell> - <table-cell>1751/1751 (100.0%)</table-cell> + <table-cell>106/106 (100.0%)</table-cell> + <table-cell>480/480 (100.0%)</table-cell> + <table-cell>1856/1856 (100.0%)</table-cell> </table-row> <table-row> @@ -198,14 +198,14 @@ <table-cell>postgres</table-cell> <table-cell>30/30 (100.0%)</table-cell> <table-cell>104/104 (100.0%)</table-cell> - <table-cell>358/358 (100.0%)</table-cell> + <table-cell>356/356 (100.0%)</table-cell> </table-row> <table-row> <table-cell>protocol</table-cell> <table-cell>60/60 (100.0%)</table-cell> <table-cell>156/156 (100.0%)</table-cell> - <table-cell>710/710 (100.0%)</table-cell> + <table-cell>712/712 (100.0%)</table-cell> </table-row> <table-row> @@ -245,7 +245,7 @@ <table-row> <table-cell>TOTAL</table-cell> - <table-cell>1144/1144 (100.0%)</table-cell> - <table-cell>4917/4918 (99.98%)</table-cell> - <table-cell>16618/16618 (100.0%)</table-cell> + <table-cell>1155/1155 (100.0%)</table-cell> + <table-cell>4971/4972 (99.98%)</table-cell> + <table-cell>16783/16783 (100.0%)</table-cell> </table-row> \ No newline at end of file diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 904626aaa..e38851309 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -12,7 +12,7 @@ </intro> <release-list> - <release date="XXXX-XX-XX" version="2.19dev" title="UNDER DEVELOPMENT"> + <release date="2019-11-12" version="2.19" title="C Migrations and Bug Fixes"> <release-core-list> <release-bug-list> <release-item> diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index 48665386a..72862c0df 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.19dev'; +use constant PROJECT_VERSION => '2.19'; push @EXPORT, qw(PROJECT_VERSION); # Repository Format Number diff --git a/src/configure b/src/configure index 29ac03077..36796e2ad 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.19dev. +# Generated by GNU Autoconf 2.69 for pgBackRest 2.19. # # # 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.19dev' -PACKAGE_STRING='pgBackRest 2.19dev' +PACKAGE_VERSION='2.19' +PACKAGE_STRING='pgBackRest 2.19' 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.19dev to adapt to many kinds of systems. +\`configure' configures pgBackRest 2.19 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.19dev:";; + short | recursive ) echo "Configuration of pgBackRest 2.19:";; 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.19dev +pgBackRest configure 2.19 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.19dev, which was +It was created by pgBackRest $as_me 2.19, 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.19dev, which was +This file was extended by pgBackRest $as_me 2.19, 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.19dev +pgBackRest config.status 2.19 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 3974c52af..695cf86c8 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -1,6 +1,6 @@ # Initialize configuration AC_PREREQ([2.69]) -AC_INIT([pgBackRest], [2.19dev]) +AC_INIT([pgBackRest], [2.19]) AC_CONFIG_SRCDIR([version.h]) # Check compiler diff --git a/src/perl/embed.auto.c b/src/perl/embed.auto.c index f7a64b3a6..904f6119f 100644 --- a/src/perl/embed.auto.c +++ b/src/perl/embed.auto.c @@ -13443,7 +13443,7 @@ static const EmbeddedModule embeddedModule[] = "\n" "push @EXPORT, qw(projectBin projectBinSet);\n" "\n\n\n\n\n\n" - "use constant PROJECT_VERSION => '2.19dev';\n" + "use constant PROJECT_VERSION => '2.19';\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 927bfe3a8..0fb0d1aa5 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.19dev" +#define PROJECT_VERSION "2.19" #endif diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index d5206d897..46013bfac 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -123,6 +123,10 @@ doc/xml/coding.xml: class: doc/source type: xml +doc/xml/contributing.xml: + class: doc/source + type: xml + doc/xml/documentation.xml: class: doc/source type: xml @@ -195,10 +199,6 @@ lib/pgBackRest/Backup/Info.pm: class: core type: perl -lib/pgBackRest/Check/Check.pm: - class: core - type: perl - lib/pgBackRest/Common/Cipher.pm: class: core type: perl @@ -331,14 +331,6 @@ lib/pgBackRest/Protocol/Storage/Remote.pm: class: core type: perl -lib/pgBackRest/Restore.pm: - class: core - type: perl - -lib/pgBackRest/RestoreFile.pm: - class: core - type: perl - lib/pgBackRest/Storage/Base.pm: class: core type: perl @@ -651,6 +643,14 @@ src/command/restore/protocol.h: class: core type: c/h +src/command/restore/restore.c: + class: core + type: c + +src/command/restore/restore.h: + class: core + type: c/h + src/command/stanza/common.c: class: core type: c @@ -1119,6 +1119,14 @@ src/common/type/xml.h: class: core type: c/h +src/common/user.c: + class: core + type: c + +src/common/user.h: + class: core + type: c/h + src/common/wait.c: class: core type: c @@ -1259,6 +1267,10 @@ src/info/infoPg.h: class: core type: c/h +src/info/manifest.c: + class: core + type: c + src/info/manifest.h: class: core type: c/h @@ -1351,6 +1363,10 @@ src/postgres/interface/v110.c: class: core type: c +src/postgres/interface/v120.c: + class: core + type: c + src/postgres/interface/version.auto.h: class: core/auto type: c/h @@ -1763,7 +1779,7 @@ test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm: class: test/module type: perl -test/lib/pgBackRestTest/Module/Performance/PerformanceArchiveTest.pm: +test/lib/pgBackRestTest/Module/Performance/PerformanceArchivePerlTest.pm: class: test/module type: perl @@ -1827,6 +1843,14 @@ test/src/common/harnessPq.h: class: test/harness type: c/h +test/src/common/harnessStorage.c: + class: test/harness + type: c + +test/src/common/harnessStorage.h: + class: test/harness + type: c/h + test/src/common/harnessTest.c: class: test/harness type: c @@ -1835,6 +1859,10 @@ test/src/common/harnessTest.h: class: test/harness type: c/h +test/src/common/harnessTest.intern.h: + class: test/harness + type: c/h + test/src/common/harnessTls.c: class: test/harness type: c @@ -2035,6 +2063,10 @@ test/src/module/common/typecTest.c: class: test/module type: c +test/src/module/common/userTest.c: + class: test/module + type: c + test/src/module/common/waitTest.c: class: test/module type: c @@ -2083,6 +2115,14 @@ test/src/module/info/infoTest.c: class: test/module type: c +test/src/module/info/manifestTest.c: + class: test/module + type: c + +test/src/module/performance/typeTest.c: + class: test/module + type: c + test/src/module/perl/configTest.c: class: test/module type: c diff --git a/test/lib/pgBackRestTest/Common/CodeCountTest.pm b/test/lib/pgBackRestTest/Common/CodeCountTest.pm index d2ea57b3c..f4d452d8a 100644 --- a/test/lib/pgBackRestTest/Common/CodeCountTest.pm +++ b/test/lib/pgBackRestTest/Common/CodeCountTest.pm @@ -168,7 +168,7 @@ sub codeCountScan my $strYaml = executeTest( "cloc --yaml ${strBasePath}/${strFile}" . " --read-lang-def=${strBasePath}/test/code-count/code.def" . - " --force-lang='${strForceLang}'"); + " --force-lang='${strForceLang}'", {bSuppressStdErr => true}); # Error if the file was ignored if ($strYaml =~ '1 file ignored') [parent: a44c5d0315e4]