From a89a3761191444ef28b22434f94bc42fd84b83ee Mon Sep 17 00:00:00 2001 From: David Steele Date: Wed, 30 Jan 2019 22:37:35 +0200 Subject: [PATCH] v2.09: Minor Improvements and Bug Fixes Bug Fixes: * Fix issue with multiple async status files causing a hard error. (Reported by Vidhya Gurumoorthi, Joe Ayers, Douglas J Hunley.) Improvements: * The info command is implemented entirely in C. * Simplify info command text message when no stanzas are present by replacing the repository path with "the repository". * Add _DARWIN_C_SOURCE flag to Makefile for MacOS builds. (Contributed by Douglas J Hunley.) * Update address lookup in C TLS client to use modern methods. (Suggested by Bruno Friedmann.) * Include Posix-compliant header for strcasecmp() and fd_set. (Suggested by ucando.) --- README.md | 2 +- doc/resource/exe.cache | 1653 +++++++++++++++++++------------------ doc/xml/release.xml | 2 +- lib/pgBackRest/Version.pm | 2 +- src/perl/embed.auto.c | 2 +- src/version.h | 2 +- 6 files changed, 837 insertions(+), 826 deletions(-) diff --git a/README.md b/README.md index 135445cdc..10d028dfc 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.08](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.08) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.09](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.09) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. Documentation for v1 can be found [here](http://www.pgbackrest.org/1). No further releases are planned for v1 because v2 is backward-compatible with v1 options and repositories. diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index f8466f205..74adbb5a4 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -20,7 +20,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.08" + "sudo mkdir /root/pgbackrest-release-2.09" ], "host" : "build", "load-env" : true, @@ -33,7 +33,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /backrest/libc /root/pgbackrest-release-2.08" + "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.09" ], "host" : "build", "load-env" : true, @@ -46,7 +46,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /backrest/src /root/pgbackrest-release-2.08" + "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.09" ], "host" : "build", "load-env" : true, @@ -104,7 +104,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.08/src" + "sudo make -s -C /root/pgbackrest-release-2.09/src" ], "host" : "build", "load-env" : true, @@ -144,7 +144,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.08/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -286,7 +286,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.08 - General help", + "pgBackRest 2.09 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -431,7 +431,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.08 - 'backup' command - 'log-path' option help", + "pgBackRest 2.09 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -668,7 +668,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -694,8 +694,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-8f55f94bac91716acfc144cb1ed3d1bcaf5742dd.gz'", + "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-c6e3b2e7829d38f22b19418af5069aa7368efb59.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -722,16 +722,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:44:53\": backup begins after the next regular checkpoint completes", - "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:21:41\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup start archive = 000000010000000000000003, lsn = 0/3000028", " [filtered 754 lines of output]", "P01 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11895 (0B, 100%)", "P01 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11885 (0B, 100%)", "P00 INFO: full backup size = 19.2MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000010000000000000002, lsn = 0/2000128", + "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F0", " [filtered 4 lines of output]" ] } @@ -750,7 +750,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-064453F" + "20190130-172141F" ] } }, @@ -777,11 +777,11 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum cd623c27096f68e44ce5d5e6da4a1ce64b803fc4", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 100%) checksum ea8d83192cc6c666aa24618dad8bf703c7771e2d", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum ed206ca108b1328980cce013927c7756dd2b5c62", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 100%) checksum 2565c87cf07ecbc4b759a027c9df54a39204174d", "P00 INFO: diff backup size = 8.2KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F0", + "P00 INFO: backup stop archive = 000000010000000000000004, lsn = 0/40000F0", " [filtered 4 lines of output]" ] } @@ -812,20 +812,20 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.4-1): 000000010000000000000002 / 000000010000000000000003", + " wal archive min/max (9.4-1): 000000010000000000000003/000000010000000000000004", "", - " full backup: 20190102-064453F", - " timestamp start/stop: 2019-01-02 06:44:53 / 2019-01-02 06:45:08", - " wal start/stop: 000000010000000000000002 / 000000010000000000000002", - " database size: 19.2MB, backup size: 19.2MB", - " repository size: 2.2MB, repository backup size: 2.2MB", - "", - " diff backup: 20190102-064453F_20190102-064509D", - " timestamp start/stop: 2019-01-02 06:45:09 / 2019-01-02 06:45:13", + " full backup: 20190130-172141F", + " timestamp start/stop: 2019-01-30 17:21:41 / 2019-01-30 17:21:52", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", + " database size: 19.2MB, backup size: 19.2MB", + " repository size: 2.3MB, repository backup size: 2.3MB", + "", + " diff backup: 20190130-172141F_20190130-172153D", + " timestamp start/stop: 2019-01-30 17:21:53 / 2019-01-30 17:21:57", + " wal start/stop: 000000010000000000000004 / 000000010000000000000004", " database size: 19.2MB, backup size: 8.2KB", - " repository size: 2.2MB, repository backup size: 400B", - " backup reference list: 20190102-064453F" + " repository size: 2.3MB, repository backup size: 400B", + " backup reference list: 20190130-172141F" ] } }, @@ -958,10 +958,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20190102-064453F_20190102-064509D, version = 2.08", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:45:35\": backup begins after the next regular checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000005, lsn = 0/5000028", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20190130-172141F_20190130-172153D, version = 2.09", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:11\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", "P00 WARN: a timeline switch has occurred since the last backup, enabling delta checksum", " [filtered 9 lines of output]" ] @@ -1019,11 +1019,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190102-064453F_20190102-064535I, version = 2.08", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:45:49\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 2ba75dfe45ba41bff94d0354bd4e62dc4eebdf3c", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190130-172141F_20190130-172211I, version = 2.09", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:19\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 92ffced3283aef5a9097fae1c533ff4f5df4c348", " [filtered 8 lines of output]" ] } @@ -1065,9 +1065,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:46:32\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000060", - "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190102-064453F_20190102-064632I': Permission denied", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:24\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190130-172141F_20190130-172224I': Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -1108,12 +1108,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190102-064453F_20190102-064549I, version = 2.08", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:46:46\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190130-172141F_20190130-172219I, version = 2.09", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:28\": backup begins after the requested immediate checkpoint completes", "P00 ERROR: [057]: ERROR: a backup is already in progress", " HINT: Run pg_stop_backup() and try again.:", - " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-01-02 06:46:46', true) as lsn" + " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-01-30 17:22:28', true) as lsn" ] } }, @@ -1170,13 +1170,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", - "P00 INFO: last backup label = 20190102-064453F_20190102-064549I, version = 2.08", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", + "P00 INFO: last backup label = 20190130-172141F_20190130-172219I, version = 2.09", "P00 WARN: the cluster is already in backup mode but no pgBackRest backup process is running. pg_stop_backup() will be called so a new backup can be started.", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:46:54\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:22:31\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000002000000000000000A, lsn = 0/A000028", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum c9afa2d3b11e3ce059b95c1a3ed255cdbbea5950", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum c33077b302cc625e641b16a96e3b6278ab9d6804", " [filtered 8 lines of output]" ] } @@ -1204,78 +1204,47 @@ " },", " \"id\" : \"9.4-1\",", " \"max\" : \"00000002000000000000000A\",", - " \"min\" : \"000000010000000000000002\"", + " \"min\" : \"000000010000000000000003\"", " }", " ],", " \"backup\" : [", " {", " \"archive\" : {", - " \"start\" : \"000000010000000000000002\",", - " \"stop\" : \"000000010000000000000002\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.08\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 20162900,", - " \"repository\" : {", - " \"delta\" : 2389024,", - " \"size\" : 2389024", - " },", - " \"size\" : 20162900", - " },", - " \"label\" : \"20190102-064453F\",", - " \"prior\" : null,", - " \"reference\" : null,", - " \"timestamp\" : {", - " \"start\" : 1546411493,", - " \"stop\" : 1546411508", - " },", - " \"type\" : \"full\"", - " },", - " {", - " \"archive\" : {", " \"start\" : \"000000010000000000000003\",", " \"stop\" : \"000000010000000000000003\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 8428,", + " \"delta\" : 20162900,", " \"repository\" : {", - " \"delta\" : 400,", - " \"size\" : 2389024", + " \"delta\" : 2389152,", + " \"size\" : 2389152", " },", " \"size\" : 20162900", " },", - " \"label\" : \"20190102-064453F_20190102-064509D\",", - " \"prior\" : \"20190102-064453F\",", - " \"reference\" : [", - " \"20190102-064453F\"", - " ],", + " \"label\" : \"20190130-172141F\",", + " \"prior\" : null,", + " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1546411509,", - " \"stop\" : 1546411513", + " \"start\" : 1548868901,", + " \"stop\" : 1548868912", " },", - " \"type\" : \"diff\"", + " \"type\" : \"full\"", " },", " {", " \"archive\" : {", - " \"start\" : \"000000020000000000000005\",", - " \"stop\" : \"000000020000000000000005\"", + " \"start\" : \"000000010000000000000004\",", + " \"stop\" : \"000000010000000000000004\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1284,20 +1253,20 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2389024", + " \"size\" : 2389152", " },", " \"size\" : 20162900", " },", - " \"label\" : \"20190102-064453F_20190102-064535I\",", - " \"prior\" : \"20190102-064453F_20190102-064509D\",", + " \"label\" : \"20190130-172141F_20190130-172153D\",", + " \"prior\" : \"20190130-172141F\",", " \"reference\" : [", - " \"20190102-064453F\"", + " \"20190130-172141F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546411535,", - " \"stop\" : 1546411544", + " \"start\" : 1548868913,", + " \"stop\" : 1548868917", " },", - " \"type\" : \"incr\"", + " \"type\" : \"diff\"", " },", " {", " \"archive\" : {", @@ -1306,7 +1275,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1315,18 +1284,49 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2389024", + " \"size\" : 2389152", " },", " \"size\" : 20162900", " },", - " \"label\" : \"20190102-064453F_20190102-064549I\",", - " \"prior\" : \"20190102-064453F_20190102-064535I\",", + " \"label\" : \"20190130-172141F_20190130-172211I\",", + " \"prior\" : \"20190130-172141F_20190130-172153D\",", " \"reference\" : [", - " \"20190102-064453F\"", + " \"20190130-172141F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546411549,", - " \"stop\" : 1546411573", + " \"start\" : 1548868931,", + " \"stop\" : 1548868938", + " },", + " \"type\" : \"incr\"", + " },", + " {", + " \"archive\" : {", + " \"start\" : \"000000020000000000000008\",", + " \"stop\" : \"000000020000000000000008\"", + " },", + " \"backrest\" : {", + " \"format\" : 5,", + " \"version\" : \"2.09\"", + " },", + " \"database\" : {", + " \"id\" : 1", + " },", + " \"info\" : {", + " \"delta\" : 8428,", + " \"repository\" : {", + " \"delta\" : 400,", + " \"size\" : 2389152", + " },", + " \"size\" : 20162900", + " },", + " \"label\" : \"20190130-172141F_20190130-172219I\",", + " \"prior\" : \"20190130-172141F_20190130-172211I\",", + " \"reference\" : [", + " \"20190130-172141F\"", + " ],", + " \"timestamp\" : {", + " \"start\" : 1548868939,", + " \"stop\" : 1548868943", " },", " \"type\" : \"incr\"", " },", @@ -1337,7 +1337,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1346,18 +1346,18 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2389024", + " \"size\" : 2389152", " },", " \"size\" : 20162900", " },", - " \"label\" : \"20190102-064453F_20190102-064654I\",", - " \"prior\" : \"20190102-064453F_20190102-064549I\",", + " \"label\" : \"20190130-172141F_20190130-172231I\",", + " \"prior\" : \"20190130-172141F_20190130-172219I\",", " \"reference\" : [", - " \"20190102-064453F\"", + " \"20190130-172141F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546411614,", - " \"stop\" : 1546411621", + " \"start\" : 1548868951,", + " \"stop\" : 1548868956", " },", " \"type\" : \"incr\"", " }", @@ -1366,7 +1366,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6641786569162842418,", + " \"system-id\" : 6652341140067545330,", " \"version\" : \"9.4\"", " }", " ],", @@ -1397,7 +1397,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cp -r /backrest/doc/example/* \\", + "sudo -u postgres cp -r /pgbackrest/doc/example/* \\", " /var/lib/postgresql/pgbackrest/doc/example" ], "host" : "pg-primary", @@ -1422,10 +1422,10 @@ "type" : "exe", "value" : { "output" : [ - "-- An example of monitoring pgBackRest from within PostgresSQL", + "-- An example of monitoring pgBackRest from within PostgreSQL", "--", "-- Use copy to export data from the pgBackRest info command into the jsonb", - "-- type so it can be queried directly by PostgresSQL.", + "-- type so it can be queried directly by PostgreSQL.", "", "-- Create monitor schema", "create schema monitor;", @@ -1521,7 +1521,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-01-02 06:47:01+00 | 00000002000000000000000A", + " \"demo\" | 2019-01-30 17:22:36+00 | 00000002000000000000000A", "(1 row)" ] } @@ -1555,7 +1555,7 @@ "type" : "exe", "value" : { "output" : [ - "1546411621" + "1548868956" ] } }, @@ -1574,7 +1574,7 @@ "type" : "exe", "value" : { "output" : [ - "\"00000002000000000000000A\"" + "null" ] } }, @@ -1620,7 +1620,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190102-064453F|remove archive" + "archive retention on backup 20190130-172141F|remove archive" ] }, "host" : "pg-primary", @@ -1634,7 +1634,7 @@ " [filtered 763 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190102-064453F, archiveId = 9.4-1, start = 000000010000000000000002", + "P00 DETAIL: archive retention on backup 20190130-172141F, archiveId = 9.4-1, start = 000000010000000000000003", "P00 DETAIL: no archive to remove, archiveId = 9.4-1", "P00 INFO: expire command end: completed successfully" ] @@ -1654,7 +1654,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-064736F" + "20190130-172245F" ] } }, @@ -1669,7 +1669,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190102-064453F|archive retention on backup 20190102-064736F|remove archive" + "expire full backup set\\: 20190130-172141F|archive retention on backup 20190130-172245F|remove archive" ] }, "host" : "pg-primary", @@ -1683,9 +1683,9 @@ " [filtered 763 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190102-064453F, 20190102-064453F_20190102-064509D, 20190102-064453F_20190102-064535I, 20190102-064453F_20190102-064549I, 20190102-064453F_20190102-064654I", - "P00 INFO: remove expired backup 20190102-064453F_20190102-064654I", - "P00 INFO: remove expired backup 20190102-064453F_20190102-064549I", + "P00 INFO: expire full backup set: 20190130-172141F, 20190130-172141F_20190130-172153D, 20190130-172141F_20190130-172211I, 20190130-172141F_20190130-172219I, 20190130-172141F_20190130-172231I", + "P00 INFO: remove expired backup 20190130-172141F_20190130-172231I", + "P00 INFO: remove expired backup 20190130-172141F_20190130-172219I", " [filtered 3 lines of output]" ] } @@ -1749,7 +1749,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-064758F_20190102-064818D" + "20190130-172255F_20190130-172307D" ] } }, @@ -1777,7 +1777,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190102-064758F_20190102-064818D" + "expire diff backup set: 20190130-172255F_20190130-172307D" ] }, "host" : "pg-primary", @@ -1788,12 +1788,12 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 10 lines of output]", + " [filtered 11 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190102-064758F_20190102-064818D, 20190102-064758F_20190102-064828I", - "P00 INFO: remove expired backup 20190102-064758F_20190102-064828I", - "P00 INFO: remove expired backup 20190102-064758F_20190102-064818D" + "P00 INFO: expire diff backup set: 20190130-172255F_20190130-172307D, 20190130-172255F_20190130-172312I", + "P00 INFO: remove expired backup 20190130-172255F_20190130-172312I", + "P00 INFO: remove expired backup 20190130-172255F_20190130-172307D" ] } }, @@ -1843,7 +1843,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-064758F_20190102-064839D" + "20190130-172255F_20190130-172317D" ] } }, @@ -1884,10 +1884,10 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 7 lines of output]", + " [filtered 8 lines of output]", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000014, lsn = 0/140000F0", - "P00 INFO: new backup label = 20190102-064758F_20190102-064855D", + "P00 INFO: backup stop archive = 000000020000000000000015, lsn = 0/150000F0", + "P00 INFO: new backup label = 20190130-172255F_20190130-172325D", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin" ] @@ -1907,7 +1907,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-064758F_20190102-064855D" + "20190130-172255F_20190130-172325D" ] } }, @@ -1922,7 +1922,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190102-064758F_20190102-064839D|remove archive" + "archive retention on backup 20190130-172255F_20190130-172317D|remove archive" ] }, "host" : "pg-primary", @@ -1933,13 +1933,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.08: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20190102-064736F, archiveId = 9.4-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20190102-064758F, archiveId = 9.4-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: archive retention on backup 20190102-064758F_20190102-064839D, archiveId = 9.4-1, start = 000000020000000000000010, stop = 000000020000000000000010", - "P00 DETAIL: archive retention on backup 20190102-064758F_20190102-064855D, archiveId = 9.4-1, start = 000000020000000000000014", - "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 00000002000000000000000E, stop = 00000002000000000000000F", - "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 000000020000000000000011, stop = 000000020000000000000013", + "P00 INFO: expire command begin 2.09: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20190130-172245F, archiveId = 9.4-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190130-172255F, archiveId = 9.4-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", + "P00 DETAIL: archive retention on backup 20190130-172255F_20190130-172317D, archiveId = 9.4-1, start = 000000020000000000000011, stop = 000000020000000000000011", + "P00 DETAIL: archive retention on backup 20190130-172255F_20190130-172325D, archiveId = 9.4-1, start = 000000020000000000000015", + "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 00000002000000000000000E, stop = 000000020000000000000010", + "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 000000020000000000000012, stop = 000000020000000000000014", "P00 INFO: expire command end: completed successfully" ] } @@ -1979,7 +1979,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 693 lines of output]", + " [filtered 692 lines of output]", "P01 DETAIL: restore file /var/lib/postgresql/9.4/demo/base/12134/PG_VERSION - exists and matches backup (4B, 99%) checksum 8dbabb96e032b8d9f1993c0e4b9141e71ade01a1", "P01 DETAIL: restore file /var/lib/postgresql/9.4/demo/base/1/PG_VERSION - exists and matches backup (4B, 99%) checksum 8dbabb96e032b8d9f1993c0e4b9141e71ade01a1", "P01 DETAIL: restore file /var/lib/postgresql/9.4/demo/PG_VERSION - exists and matches backup (4B, 100%) checksum 8dbabb96e032b8d9f1993c0e4b9141e71ade01a1", @@ -2138,7 +2138,7 @@ "type" : "exe", "value" : { "output" : [ - "6.5M\t/var/lib/postgresql/9.4/demo/base/24576" + "6.4M\t/var/lib/postgresql/9.4/demo/base/24576" ] } }, @@ -2368,7 +2368,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-01-02 06:50:44.892825+00" + "2019-01-30 17:24:16.731732+00" ] } }, @@ -2421,7 +2421,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-02 06:50:44.892825+00\" restore" + " --type=time \"--target=2019-01-30 17:24:16.731732+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -2465,7 +2465,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-01-02 06:50:44.892825+00'" + "recovery_target_time = '2019-01-30 17:24:16.731732+00'" ] } }, @@ -2544,16 +2544,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:50:35 UTC", - "LOG: starting point-in-time recovery to 2019-01-02 06:50:44.892825+00", + "LOG: database system was interrupted; last known up at 2019-01-30 17:24:09 UTC", + "LOG: starting point-in-time recovery to 2019-01-30 17:24:16.731732+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"00000004000000000000001A\" from archive", "LOG: redo starts at 0/1A000028", - "LOG: consistent recovery state reached at 0/1A000128", + "LOG: consistent recovery state reached at 0/1A0000F0", "LOG: restored log file \"00000004000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 689, time 2019-01-02 06:50:45.283203+00", + "LOG: recovery stopping before commit of transaction 689, time 2019-01-30 17:24:17.093744+00", "LOG: redo done at 0/1B016E58", - "LOG: last completed transaction was at log time 2019-01-02 06:50:44.421633+00", + "LOG: last completed transaction was at log time 2019-01-30 17:24:16.355536+00", "LOG: selected new timeline ID: 5", "LOG: restored log file \"00000004.history\" from archive", " [filtered 5 lines of output]" @@ -2605,7 +2605,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-064758F_20190102-065034D" + "20190130-172255F_20190130-172408D" ] } }, @@ -2640,7 +2640,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-02 06:50:44.892825+00\" restore" + " --type=time \"--target=2019-01-30 17:24:16.731732+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -2737,8 +2737,8 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:50:59 UTC", - "LOG: starting point-in-time recovery to 2019-01-02 06:50:44.892825+00", + "LOG: database system was interrupted; last known up at 2019-01-30 17:24:31 UTC", + "LOG: starting point-in-time recovery to 2019-01-30 17:24:16.731732+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000005000000000000001C\" from archive", "LOG: redo starts at 0/1C000028", @@ -2759,7 +2759,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190102-064758F_20190102-065034D" + "20190130-172255F_20190130-172408D" ] }, "host" : "pg-primary", @@ -2775,47 +2775,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.4-1): 00000002000000000000000C / 00000005000000000000001C", + " wal archive min/max (9.4-1): 00000002000000000000000C/00000005000000000000001C", "", - " full backup: 20190102-064736F", - " timestamp start/stop: 2019-01-02 06:47:36 / 2019-01-02 06:47:56", + " full backup: 20190130-172245F", + " timestamp start/stop: 2019-01-30 17:22:45 / 2019-01-30 17:22:54", " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", " database size: 19.2MB, backup size: 19.2MB", - " repository size: 2.2MB, repository backup size: 2.2MB", + " repository size: 2.3MB, repository backup size: 2.3MB", "", - " full backup: 20190102-064758F", - " timestamp start/stop: 2019-01-02 06:47:58 / 2019-01-02 06:48:13", + " full backup: 20190130-172255F", + " timestamp start/stop: 2019-01-30 17:22:55 / 2019-01-30 17:23:04", " wal start/stop: 00000002000000000000000D / 00000002000000000000000D", " database size: 19.2MB, backup size: 19.2MB", - " repository size: 2.2MB, repository backup size: 2.2MB", + " repository size: 2.3MB, repository backup size: 2.3MB", "", - " diff backup: 20190102-064758F_20190102-064855D", - " timestamp start/stop: 2019-01-02 06:48:55 / 2019-01-02 06:49:02", - " wal start/stop: 000000020000000000000014 / 000000020000000000000014", - " database size: 19.2MB, backup size: 8.2KB", - " repository size: 2.2MB, repository backup size: 400B", - " backup reference list: 20190102-064758F", + " diff backup: 20190130-172255F_20190130-172325D", + " timestamp start/stop: 2019-01-30 17:23:25 / 2019-01-30 17:23:29", + " wal start/stop: 000000020000000000000015 / 000000020000000000000015", + " database size: 19.2MB, backup size: 72.2KB", + " repository size: 2.3MB, repository backup size: 9.8KB", + " backup reference list: 20190130-172255F", "", - " incr backup: 20190102-064758F_20190102-064942I", - " timestamp start/stop: 2019-01-02 06:49:42 / 2019-01-02 06:50:06", + " incr backup: 20190130-172255F_20190130-172344I", + " timestamp start/stop: 2019-01-30 17:23:44 / 2019-01-30 17:23:53", " wal start/stop: 000000030000000000000017 / 000000030000000000000017", - " database size: 31.7MB, backup size: 12.5MB", - " repository size: 3.7MB, repository backup size: 1.5MB", - " backup reference list: 20190102-064758F", + " database size: 31.8MB, backup size: 12.6MB", + " repository size: 3.8MB, repository backup size: 1.5MB", + " backup reference list: 20190130-172255F, 20190130-172255F_20190130-172325D", "", - " diff backup: 20190102-064758F_20190102-065034D", - " timestamp start/stop: 2019-01-02 06:50:34 / 2019-01-02 06:50:43", + " diff backup: 20190130-172255F_20190130-172408D", + " timestamp start/stop: 2019-01-30 17:24:08 / 2019-01-30 17:24:15", " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", - " database size: 25.5MB, backup size: 6.3MB", - " repository size: 3MB, repository backup size: 771.5KB", - " backup reference list: 20190102-064758F", + " database size: 25.5MB, backup size: 6.4MB", + " repository size: 3MB, repository backup size: 781.0KB", + " backup reference list: 20190130-172255F", "", - " incr backup: 20190102-064758F_20190102-065058I", - " timestamp start/stop: 2019-01-02 06:50:58 / 2019-01-02 06:51:05", + " incr backup: 20190130-172255F_20190130-172430I", + " timestamp start/stop: 2019-01-30 17:24:30 / 2019-01-30 17:24:37", " wal start/stop: 00000005000000000000001C / 00000005000000000000001C", - " database size: 25.5MB, backup size: 1.7MB", - " repository size: 3MB, repository backup size: 201.4KB", - " backup reference list: 20190102-064758F, 20190102-064758F_20190102-065034D" + " database size: 25.5MB, backup size: 1.8MB", + " repository size: 3MB, repository backup size: 201.5KB", + " backup reference list: 20190130-172255F, 20190130-172255F_20190130-172408D" ] } }, @@ -2837,8 +2837,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-02 06:50:44.892825+00\" \\", - " --set=20190102-064758F_20190102-065034D restore" + " --type=time \"--target=2019-01-30 17:24:16.731732+00\" \\", + " --set=20190130-172255F_20190130-172408D restore" ], "host" : "pg-primary", "load-env" : true, @@ -2935,18 +2935,18 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:50:35 UTC", - "LOG: starting point-in-time recovery to 2019-01-02 06:50:44.892825+00", + "LOG: database system was interrupted; last known up at 2019-01-30 17:24:09 UTC", + "LOG: starting point-in-time recovery to 2019-01-30 17:24:16.731732+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"00000004000000000000001A\" from archive", "LOG: redo starts at 0/1A000028", - "LOG: consistent recovery state reached at 0/1A000128", + "LOG: consistent recovery state reached at 0/1A0000F0", "LOG: restored log file \"00000004000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 689, time 2019-01-02 06:50:45.283203+00", + "LOG: recovery stopping before commit of transaction 689, time 2019-01-30 17:24:17.093744+00", "LOG: redo done at 0/1B016E58", - "LOG: last completed transaction was at log time 2019-01-02 06:50:44.421633+00", + "LOG: last completed transaction was at log time 2019-01-30 17:24:16.355536+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"00000006.history\" from archive", + "LOG: incomplete startup packet", " [filtered 7 lines of output]" ] } @@ -3106,7 +3106,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -3133,9 +3133,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:51:46\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:25:14\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000007000000000000001C, lsn = 0/1C000028", " [filtered 995 lines of output]", "P02 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11895 (0B, 100%)", @@ -3181,7 +3181,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -3207,7 +3207,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-delete command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -3256,7 +3256,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.08/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -3840,17 +3840,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.4-1): 000000080000000000000024 / 000000080000000000000025", + " wal archive min/max (9.4-1): 000000080000000000000023/000000080000000000000024", "", - " full backup: 20190102-065355F", - " timestamp start/stop: 2019-01-02 06:53:55 / 2019-01-02 06:54:12", - " wal start/stop: 000000080000000000000024 / 000000080000000000000024", + " full backup: 20190130-172707F", + " timestamp start/stop: 2019-01-30 17:27:07 / 2019-01-30 17:27:22", + " wal start/stop: 000000080000000000000023 / 000000080000000000000023", " database size: 25.5MB, backup size: 25.5MB", " repository size: 3MB, repository backup size: 3MB", "", - " full backup: 20190102-065414F", - " timestamp start/stop: 2019-01-02 06:54:14 / 2019-01-02 06:54:26", - " wal start/stop: 000000080000000000000025 / 000000080000000000000025", + " full backup: 20190130-172723F", + " timestamp start/stop: 2019-01-30 17:27:23 / 2019-01-30 17:27:38", + " wal start/stop: 000000080000000000000024 / 000000080000000000000024", " database size: 25.5MB, backup size: 25.5MB", " repository size: 3MB, repository backup size: 3MB" ] @@ -3996,7 +3996,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.08/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -4401,13 +4401,13 @@ "output" : [ "LOG: could not bind IPv6 socket: Cannot assign requested address", "HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.", - "LOG: database system was interrupted; last known up at 2019-01-02 06:54:15 UTC", + "LOG: database system was interrupted; last known up at 2019-01-30 17:27:24 UTC", "LOG: entering standby mode", "LOG: incomplete startup packet", "LOG: restored log file \"00000008.history\" from archive", " [filtered 2 lines of output]", - "LOG: redo starts at 0/25000028", - "LOG: consistent recovery state reached at 0/250000F0", + "LOG: redo starts at 0/24000028", + "LOG: consistent recovery state reached at 0/24000128", "LOG: database system is ready to accept read only connections" ] } @@ -4489,7 +4489,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/26019A70 | 2019-01-02 06:55:34.082658+00", + " 0/25019A70 | 2019-01-30 17:28:17.993745+00", "(1 row)" ] } @@ -4518,7 +4518,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-02 06:55:39.138356+00", + " Important Data | 2019-01-30 17:28:24.318314+00", "(1 row)" ] } @@ -4544,7 +4544,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.08: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", "P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -4759,8 +4759,8 @@ "output" : [ " [filtered 10 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000026\" from archive", - "LOG: started streaming WAL from primary at 0/27000000 on timeline 8" + "LOG: restored log file \"000000080000000000000025\" from archive", + "LOG: started streaming WAL from primary at 0/26000000 on timeline 8" ] } }, @@ -4792,7 +4792,7 @@ "output" : [ " message | now ", "----------------+------------------------------", - " Important Data | 2019-01-02 06:55:57.19745+00", + " Important Data | 2019-01-30 17:28:40.90025+00", "(1 row)" ] } @@ -4821,7 +4821,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-02 06:55:57.664306+00", + " Important Data | 2019-01-30 17:28:41.568006+00", "(1 row)" ] } @@ -5053,8 +5053,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.08: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 00000008000000000000002C successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/00000008000000000000002C-55206cb0dca22ff15b90ec70d88ca335b8a42e79.gz'", + "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 00000008000000000000002B successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/00000008000000000000002B-5af19c728c50da2bdcb09c7e04042ec8cc415edc.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -5081,19 +5081,19 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.08: [pg_xlog/000000080000000000000027] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 5 WAL file(s) to archive: 000000080000000000000027...00000008000000000000002B", - "P01 DETAIL: pushed WAL file 000000080000000000000027 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000028 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000029 to archive", - "P02 DETAIL: pushed WAL file 00000008000000000000002A to archive", - "P01 DETAIL: pushed WAL file 00000008000000000000002B to archive", + "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000026] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 2 WAL file(s) to archive: 000000080000000000000026...000000080000000000000027", + "P02 DETAIL: pushed WAL file 000000080000000000000027 to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000026 to archive", "P00 INFO: archive-push command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.08: [pg_xlog/00000008000000000000002C] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000002C", - "P01 DETAIL: pushed WAL file 00000008000000000000002C to archive", + "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000028] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000028...00000008000000000000002B", + "P01 DETAIL: pushed WAL file 000000080000000000000028 to archive", + "P02 DETAIL: pushed WAL file 000000080000000000000029 to archive", + "P01 DETAIL: pushed WAL file 00000008000000000000002A to archive", + "P02 DETAIL: pushed WAL file 00000008000000000000002B to archive", "P00 INFO: archive-push command end: completed successfully" ] } @@ -5133,32 +5133,45 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get command begin 2.08: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000025...00000008000000000000002C", - "P01 DETAIL: got WAL file 000000080000000000000025 from archive", - "P02 DETAIL: got WAL file 000000080000000000000026 from archive", + "P00 INFO: archive-get command begin 2.09: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000024...00000008000000000000002B", + "P01 DETAIL: got WAL file 000000080000000000000024 from archive", + "P01 DETAIL: WAL file 000000080000000000000026 not found in archive", "P01 DETAIL: WAL file 000000080000000000000027 not found in archive", + "P01 DETAIL: WAL file 000000080000000000000028 not found in archive", + "P02 DETAIL: got WAL file 000000080000000000000025 from archive", + "P01 DETAIL: WAL file 000000080000000000000029 not found in archive", + "P02 DETAIL: WAL file 00000008000000000000002A not found in archive", + " [filtered 30 lines of output]", + "P00 INFO: archive-get command begin 2.09: [000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000026...00000008000000000000002D", + "P02 DETAIL: got WAL file 000000080000000000000027 from archive", + "P01 DETAIL: got WAL file 000000080000000000000026 from archive", "P02 DETAIL: WAL file 000000080000000000000028 not found in archive", - " [filtered 33 lines of output]", - "P00 INFO: archive-get command begin 2.08: [000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000027...00000008000000000000002E", - "P01 DETAIL: got WAL file 000000080000000000000027 from archive", - "P02 DETAIL: got WAL file 000000080000000000000028 from archive", - "P02 DETAIL: got WAL file 00000008000000000000002A from archive", - "P01 DETAIL: got WAL file 000000080000000000000029 from archive", + "P01 DETAIL: WAL file 000000080000000000000029 not found in archive", + " [filtered 20 lines of output]", + "P00 INFO: archive-get command begin 2.09: [000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000028...00000008000000000000002F", + "P01 DETAIL: got WAL file 000000080000000000000028 from archive", + "P01 DETAIL: WAL file 00000008000000000000002A not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002B not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002C not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002E not found in archive", + "P02 DETAIL: got WAL file 000000080000000000000029 from archive", + "P01 DETAIL: WAL file 00000008000000000000002F not found in archive", + "P00 INFO: archive-get command end: completed successfully", + " [filtered 2 lines of output]", + "P00 INFO: archive-get command begin 2.09: [00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030, 000000080000000000000031] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000002A...000000080000000000000031", + "P01 DETAIL: got WAL file 00000008000000000000002A from archive", "P01 DETAIL: WAL file 00000008000000000000002C not found in archive", "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", "P01 DETAIL: WAL file 00000008000000000000002E not found in archive", "P02 DETAIL: got WAL file 00000008000000000000002B from archive", - "P00 INFO: archive-get command end: completed successfully", - "", - " [filtered 5 lines of output]", - "P02 DETAIL: WAL file 00000008000000000000002F not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002F not found in archive", "P02 DETAIL: WAL file 000000080000000000000030 not found in archive", - "P01 DETAIL: got WAL file 00000008000000000000002C from archive", - "P00 INFO: archive-get command end: completed successfully", - "", - " [filtered 24 lines of output]" + " [filtered 26 lines of output]" ] } }, @@ -5240,23 +5253,15 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:56:22\": 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/2E0000C8", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/12007 (392KB, 20%) checksum c2daa57c2f174e372048c69d04c4f7cbaa6e23b0", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/12009 (240KB, 32%) checksum 89225f4bc52166bd18b0ac1f6081172a17067b46", - " [filtered 9 lines of output]", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11880 (32KB, 88%) checksum f9520d3d55206a085785aebae4f6c4aa1a8fdf00", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11879 (32KB, 90%) checksum 69bc55fdda5f5f8e5d95296aab559f71f0ddde81", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 90%) checksum d120b63246302deedc6730d22218ca159ae0a364", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11925 (24KB, 92%) checksum 8dc68ff7cd40bb13f381e94300567b0cbd58a4d0", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11900_fsm (24KB, 93%) checksum c526710668d4cb86fd1488df1151e66355f8e861", - "P04 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/global/11883 (16KB, 94%) checksum 67fceae5ba762d363ee233b324dda33f0dbf3b98", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/backup_label (238B, 94%) checksum 1496a368650fd934e7f59a652a8effcd1c2db746", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/global/11884 (16KB, 95%) checksum af5f1cd5ffbea42738c187fbfa843f7b862b16c8", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11928 (16KB, 95%) checksum 88f69a89fb06001330674e448044c7bc5f03b675", - " [filtered 19 lines of output]" + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:29:10\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000008000000000000002D, lsn = 0/2D000028", + "P00 INFO: wait for replay on the standby to reach 0/2D000028", + "P00 INFO: replay on the standby reached 0/2D000348", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 0%) checksum 71c70a3fd8b7ca5751133cf5453e5a535c8487c1", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/backup_label (238B, 0%) checksum f25d6397b7472cf3975c1d15706c2ca25f42831b", + "P04 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/12009 (240KB, 12%) checksum 49d099f8501e458cb02a7590821a3eac5222ea9a", + "P03 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11889 (344KB, 30%) checksum f3096eda0ae08abcd5685aafbe36918fc7fd3c2e", + " [filtered 35 lines of output]" ] } }, @@ -5532,7 +5537,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.08: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/postgresql/9.5/demo --pg2-path=/var/lib/postgresql/9.5/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.09: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/postgresql/9.5/demo --pg2-path=/var/lib/postgresql/9.5/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -5771,7 +5776,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.08" + "sudo mkdir /root/pgbackrest-release-2.09" ], "host" : "build", "load-env" : true, @@ -5784,7 +5789,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /backrest/libc /root/pgbackrest-release-2.08" + "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.09" ], "host" : "build", "load-env" : true, @@ -5797,7 +5802,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /backrest/src /root/pgbackrest-release-2.08" + "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.09" ], "host" : "build", "load-env" : true, @@ -5843,7 +5848,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.08/src" + "sudo make -s -C /root/pgbackrest-release-2.09/src" ], "host" : "build", "load-env" : true, @@ -5883,7 +5888,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.08/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -6026,7 +6031,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.08 - General help", + "pgBackRest 2.09 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -6170,7 +6175,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.08 - 'backup' command - 'log-path' option help", + "pgBackRest 2.09 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -6408,7 +6413,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -6434,8 +6439,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-d621b25bc1008520dc7287ce20702641d3cbf09f.gz'", + "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-c4825e299a9de2b0d470e7e158c1ae1f6fee16e3.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -6462,16 +6467,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:28:38\": backup begins after the next regular checkpoint completes", - "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:09:15\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup start archive = 000000010000000000000003, lsn = 0/3000028", " [filtered 851 lines of output]", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)", - "P00 INFO: full backup size = 20.5MB", + "P00 INFO: full backup size = 20.6MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000010000000000000002, lsn = 0/2000130", + "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", " [filtered 4 lines of output]" ] } @@ -6490,7 +6495,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-062838F" + "20190130-170915F" ] } }, @@ -6517,11 +6522,11 @@ "value" : { "output" : [ " [filtered 5 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (887B, 97%) checksum 4a69a63a232e6618be0d5d18c0fff4107789c1e4", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum ecc4144f2bf5e2436127d087b000b7f300a20799", - "P00 INFO: diff backup size = 9KB", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (1KB, 97%) checksum 4b286bb7eb2186bf481c32abfddf843bf8a10bcc", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum f8fb946f2778fe9361f80b7687bce7d17b38ae42", + "P00 INFO: diff backup size = 9.2KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", + "P00 INFO: backup stop archive = 000000010000000000000004, lsn = 0/4000130", " [filtered 4 lines of output]" ] } @@ -6552,20 +6557,20 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.5-1): 000000010000000000000002 / 000000010000000000000003", + " wal archive min/max (9.5-1): 000000010000000000000003/000000010000000000000004", "", - " full backup: 20190102-062838F", - " timestamp start/stop: 2019-01-02 06:28:38 / 2019-01-02 06:28:52", - " wal start/stop: 000000010000000000000002 / 000000010000000000000002", - " database size: 20.5MB, backup size: 20.5MB", + " full backup: 20190130-170915F", + " timestamp start/stop: 2019-01-30 17:09:15 / 2019-01-30 17:09:27", + " wal start/stop: 000000010000000000000003 / 000000010000000000000003", + " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190102-062838F_20190102-062853D", - " timestamp start/stop: 2019-01-02 06:28:53 / 2019-01-02 06:28:57", - " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 20.5MB, backup size: 9KB", + " diff backup: 20190130-170915F_20190130-170928D", + " timestamp start/stop: 2019-01-30 17:09:28 / 2019-01-30 17:09:33", + " wal start/stop: 000000010000000000000004 / 000000010000000000000004", + " database size: 20.6MB, backup size: 9.3KB", " repository size: 2.4MB, repository backup size: 752B", - " backup reference list: 20190102-062838F" + " backup reference list: 20190130-170915F" ] } }, @@ -6723,9 +6728,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20190102-062838F_20190102-062853D, version = 2.08", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:29:20\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20190130-170915F_20190130-170928D, version = 2.09", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:09:51\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", "P00 WARN: a timeline switch has occurred since the last backup, enabling delta checksum", " [filtered 10 lines of output]" @@ -6784,11 +6789,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190102-062838F_20190102-062920I, version = 2.08", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:29:26\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190130-170915F_20190130-170951I, version = 2.09", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:10:00\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 79%) checksum 7f6eb363dc2439be4169cee31b1000765559a6f1", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 79%) checksum dfb7c527f0f1eaed7a7b69e630e2472b303b1399", " [filtered 9 lines of output]" ] } @@ -6830,9 +6835,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:29:31\": 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/20190102-062838F_20190102-062931I': Permission denied", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:10:06\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190130-170915F_20190130-171006I': Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -6873,12 +6878,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190102-062838F_20190102-062926I, version = 2.08", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:29:35\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190130-170915F_20190130-171000I, version = 2.09", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:10:10\": backup begins after the requested immediate checkpoint completes", "P00 ERROR: [057]: ERROR: a backup is already in progress", " HINT: Run pg_stop_backup() and try again.:", - " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-01-02 06:29:35', true) as lsn" + " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-01-30 17:10:10', true) as lsn" ] } }, @@ -6935,13 +6940,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", - "P00 INFO: last backup label = 20190102-062838F_20190102-062926I, version = 2.08", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", + "P00 INFO: last backup label = 20190130-170915F_20190130-171000I, version = 2.09", "P00 WARN: the cluster is already in backup mode but no pgBackRest backup process is running. pg_stop_backup() will be called so a new backup can be started.", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:29:37\": 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, 75%) checksum fe25d63ee9a5939096e98d0a5303969ac1836ee0", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:10:13\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 74%) checksum a1f45a44f9608adcdb0bf8e3f002f92a589772c6", " [filtered 9 lines of output]" ] } @@ -6968,68 +6973,68 @@ " \"id\" : 1", " },", " \"id\" : \"9.5-1\",", - " \"max\" : \"00000002000000000000000A\",", - " \"min\" : \"000000010000000000000002\"", + " \"max\" : \"000000020000000000000009\",", + " \"min\" : \"000000010000000000000003\"", " }", " ],", " \"backup\" : [", " {", " \"archive\" : {", - " \"start\" : \"000000010000000000000002\",", - " \"stop\" : \"000000010000000000000002\"", - " },", - " \"backrest\" : {", - " \"format\" : 5,", - " \"version\" : \"2.08\"", - " },", - " \"database\" : {", - " \"id\" : 1", - " },", - " \"info\" : {", - " \"delta\" : 21575532,", - " \"repository\" : {", - " \"delta\" : 2529904,", - " \"size\" : 2529904", - " },", - " \"size\" : 21575532", - " },", - " \"label\" : \"20190102-062838F\",", - " \"prior\" : null,", - " \"reference\" : null,", - " \"timestamp\" : {", - " \"start\" : 1546410518,", - " \"stop\" : 1546410532", - " },", - " \"type\" : \"full\"", - " },", - " {", - " \"archive\" : {", " \"start\" : \"000000010000000000000003\",", " \"stop\" : \"000000010000000000000003\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 9315,", + " \"delta\" : 21624791,", + " \"repository\" : {", + " \"delta\" : 2531168,", + " \"size\" : 2531168", + " },", + " \"size\" : 21624791", + " },", + " \"label\" : \"20190130-170915F\",", + " \"prior\" : null,", + " \"reference\" : null,", + " \"timestamp\" : {", + " \"start\" : 1548868155,", + " \"stop\" : 1548868167", + " },", + " \"type\" : \"full\"", + " },", + " {", + " \"archive\" : {", + " \"start\" : \"000000010000000000000004\",", + " \"stop\" : \"000000010000000000000004\"", + " },", + " \"backrest\" : {", + " \"format\" : 5,", + " \"version\" : \"2.09\"", + " },", + " \"database\" : {", + " \"id\" : 1", + " },", + " \"info\" : {", + " \"delta\" : 9529,", " \"repository\" : {", " \"delta\" : 752,", - " \"size\" : 2529904", + " \"size\" : 2531168", " },", - " \"size\" : 21575639", + " \"size\" : 21625005", " },", - " \"label\" : \"20190102-062838F_20190102-062853D\",", - " \"prior\" : \"20190102-062838F\",", + " \"label\" : \"20190130-170915F_20190130-170928D\",", + " \"prior\" : \"20190130-170915F\",", " \"reference\" : [", - " \"20190102-062838F\"", + " \"20190130-170915F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546410533,", - " \"stop\" : 1546410537", + " \"start\" : 1548868168,", + " \"stop\" : 1548868173", " },", " \"type\" : \"diff\"", " },", @@ -7040,27 +7045,27 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 10161,", + " \"delta\" : 10204,", " \"repository\" : {", " \"delta\" : 912,", - " \"size\" : 2530064", + " \"size\" : 2531328", " },", - " \"size\" : 21576485", + " \"size\" : 21625680", " },", - " \"label\" : \"20190102-062838F_20190102-062920I\",", - " \"prior\" : \"20190102-062838F_20190102-062853D\",", + " \"label\" : \"20190130-170915F_20190130-170951I\",", + " \"prior\" : \"20190130-170915F_20190130-170928D\",", " \"reference\" : [", - " \"20190102-062838F\"", + " \"20190130-170915F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546410560,", - " \"stop\" : 1546410565", + " \"start\" : 1548868191,", + " \"stop\" : 1548868198", " },", " \"type\" : \"incr\"", " },", @@ -7071,58 +7076,58 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 10268,", + " \"delta\" : 10418,", " \"repository\" : {", " \"delta\" : 912,", - " \"size\" : 2530064", + " \"size\" : 2531328", " },", - " \"size\" : 21576592", + " \"size\" : 21625894", " },", - " \"label\" : \"20190102-062838F_20190102-062926I\",", - " \"prior\" : \"20190102-062838F_20190102-062920I\",", + " \"label\" : \"20190130-170915F_20190130-171000I\",", + " \"prior\" : \"20190130-170915F_20190130-170951I\",", " \"reference\" : [", - " \"20190102-062838F\"", + " \"20190130-170915F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546410566,", - " \"stop\" : 1546410570", + " \"start\" : 1548868200,", + " \"stop\" : 1548868205", " },", " \"type\" : \"incr\"", " },", " {", " \"archive\" : {", - " \"start\" : \"00000002000000000000000A\",", - " \"stop\" : \"00000002000000000000000A\"", + " \"start\" : \"000000020000000000000009\",", + " \"stop\" : \"000000020000000000000009\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 11014,", + " \"delta\" : 11164,", " \"repository\" : {", " \"delta\" : 1120,", - " \"size\" : 2530272", + " \"size\" : 2531536", " },", - " \"size\" : 21577338", + " \"size\" : 21626640", " },", - " \"label\" : \"20190102-062838F_20190102-062937I\",", - " \"prior\" : \"20190102-062838F_20190102-062926I\",", + " \"label\" : \"20190130-170915F_20190130-171013I\",", + " \"prior\" : \"20190130-170915F_20190130-171000I\",", " \"reference\" : [", - " \"20190102-062838F\"", + " \"20190130-170915F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546410577,", - " \"stop\" : 1546410582", + " \"start\" : 1548868213,", + " \"stop\" : 1548868219", " },", " \"type\" : \"incr\"", " }", @@ -7131,7 +7136,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6641782507979645253,", + " \"system-id\" : 6652337928691417338,", " \"version\" : \"9.5\"", " }", " ],", @@ -7162,7 +7167,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cp -r /backrest/doc/example/* \\", + "sudo -u postgres cp -r /pgbackrest/doc/example/* \\", " /var/lib/pgsql/pgbackrest/doc/example" ], "host" : "pg-primary", @@ -7187,10 +7192,10 @@ "type" : "exe", "value" : { "output" : [ - "-- An example of monitoring pgBackRest from within PostgresSQL", + "-- An example of monitoring pgBackRest from within PostgreSQL", "--", "-- Use copy to export data from the pgBackRest info command into the jsonb", - "-- type so it can be queried directly by PostgresSQL.", + "-- type so it can be queried directly by PostgreSQL.", "", "-- Create monitor schema", "create schema monitor;", @@ -7286,7 +7291,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-01-02 06:29:42+00 | 00000002000000000000000A", + " \"demo\" | 2019-01-30 17:10:19+00 | 000000020000000000000009", "(1 row)" ] } @@ -7333,7 +7338,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190102-062838F|remove archive" + "archive retention on backup 20190130-170915F|remove archive" ] }, "host" : "pg-primary", @@ -7347,7 +7352,7 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190102-062838F, archiveId = 9.5-1, start = 000000010000000000000002", + "P00 DETAIL: archive retention on backup 20190130-170915F, archiveId = 9.5-1, start = 000000010000000000000003", "P00 DETAIL: no archive to remove, archiveId = 9.5-1", "P00 INFO: expire command end: completed successfully" ] @@ -7367,7 +7372,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-062947F" + "20190130-171023F" ] } }, @@ -7382,7 +7387,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190102-062838F|archive retention on backup 20190102-062947F|remove archive" + "expire full backup set\\: 20190130-170915F|archive retention on backup 20190130-171023F|remove archive" ] }, "host" : "pg-primary", @@ -7396,9 +7401,9 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190102-062838F, 20190102-062838F_20190102-062853D, 20190102-062838F_20190102-062920I, 20190102-062838F_20190102-062926I, 20190102-062838F_20190102-062937I", - "P00 INFO: remove expired backup 20190102-062838F_20190102-062937I", - "P00 INFO: remove expired backup 20190102-062838F_20190102-062926I", + "P00 INFO: expire full backup set: 20190130-170915F, 20190130-170915F_20190130-170928D, 20190130-170915F_20190130-170951I, 20190130-170915F_20190130-171000I, 20190130-170915F_20190130-171013I", + "P00 INFO: remove expired backup 20190130-170915F_20190130-171013I", + "P00 INFO: remove expired backup 20190130-170915F_20190130-171000I", " [filtered 3 lines of output]" ] } @@ -7462,7 +7467,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-063001F_20190102-063016D" + "20190130-171035F_20190130-171047D" ] } }, @@ -7490,7 +7495,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190102-063001F_20190102-063016D" + "expire diff backup set: 20190130-171035F_20190130-171047D" ] }, "host" : "pg-primary", @@ -7504,9 +7509,9 @@ " [filtered 12 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190102-063001F_20190102-063016D, 20190102-063001F_20190102-063021I", - "P00 INFO: remove expired backup 20190102-063001F_20190102-063021I", - "P00 INFO: remove expired backup 20190102-063001F_20190102-063016D" + "P00 INFO: expire diff backup set: 20190130-171035F_20190130-171047D, 20190130-171035F_20190130-171052I", + "P00 INFO: remove expired backup 20190130-171035F_20190130-171052I", + "P00 INFO: remove expired backup 20190130-171035F_20190130-171047D" ] } }, @@ -7556,7 +7561,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-063001F_20190102-063026D" + "20190130-171035F_20190130-171058D" ] } }, @@ -7599,8 +7604,8 @@ "output" : [ " [filtered 9 lines of output]", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000015, lsn = 0/150000F8", - "P00 INFO: new backup label = 20190102-063001F_20190102-063033D", + "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/130000F8", + "P00 INFO: new backup label = 20190130-171035F_20190130-171107D", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin" ] @@ -7620,7 +7625,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-063001F_20190102-063033D" + "20190130-171035F_20190130-171107D" ] } }, @@ -7635,7 +7640,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190102-063001F_20190102-063026D|remove archive" + "archive retention on backup 20190130-171035F_20190130-171058D|remove archive" ] }, "host" : "pg-primary", @@ -7646,14 +7651,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.08: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20190102-062947F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20190102-063001F, archiveId = 9.5-1, start = 00000002000000000000000E, stop = 00000002000000000000000E", - "P00 DETAIL: archive retention on backup 20190102-063001F_20190102-063026D, archiveId = 9.5-1, start = 000000020000000000000012, stop = 000000020000000000000012", - "P00 DETAIL: archive retention on backup 20190102-063001F_20190102-063033D, archiveId = 9.5-1, start = 000000020000000000000015", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000F, stop = 000000020000000000000011", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000013, stop = 000000020000000000000014", + "P00 INFO: expire command begin 2.09: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20190130-171023F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 DETAIL: archive retention on backup 20190130-171035F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190130-171035F_20190130-171058D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", + "P00 DETAIL: archive retention on backup 20190130-171035F_20190130-171107D, archiveId = 9.5-1, start = 000000020000000000000013", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000F", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000012", "P00 INFO: expire command end: completed successfully" ] } @@ -8076,7 +8080,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-01-02 06:31:25.224189+00" + "2019-01-30 17:12:06.634444+00" ] } }, @@ -8129,7 +8133,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-02 06:31:25.224189+00\" restore" + " --type=time \"--target=2019-01-30 17:12:06.634444+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -8173,7 +8177,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-01-02 06:31:25.224189+00'" + "recovery_target_time = '2019-01-30 17:12:06.634444+00'" ] } }, @@ -8252,19 +8256,20 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:31:16 UTC", - "LOG: starting point-in-time recovery to 2019-01-02 06:31:25.224189+00", + "LOG: database system was interrupted; last known up at 2019-01-30 17:11:56 UTC", + "FATAL: the database system is starting up", + "LOG: starting point-in-time recovery to 2019-01-30 17:12:06.634444+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: redo starts at 0/1A000028", - "LOG: consistent recovery state reached at 0/1A0000F8", - "LOG: restored log file \"00000004000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-01-02 06:31:25.646121+00", - "LOG: redo done at 0/1B01BBB8", - "LOG: last completed transaction was at log time 2019-01-02 06:31:24.874336+00", + "LOG: restored log file \"000000040000000000000018\" from archive", + "LOG: redo starts at 0/18000028", + "LOG: consistent recovery state reached at 0/180000F8", + "LOG: restored log file \"000000040000000000000019\" from archive", + "LOG: recovery stopping before commit of transaction 630, time 2019-01-30 17:12:07.09233+00", + "LOG: redo done at 0/1901B930", + "LOG: last completed transaction was at log time 2019-01-30 17:12:06.062555+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", - " [filtered 4 lines of output]" + " [filtered 3 lines of output]" ] } }, @@ -8313,7 +8318,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-063001F_20190102-063115D" + "20190130-171035F_20190130-171155D" ] } }, @@ -8348,7 +8353,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-02 06:31:25.224189+00\" restore" + " --type=time \"--target=2019-01-30 17:12:06.634444+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -8445,15 +8450,15 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:31:39 UTC", - "LOG: starting point-in-time recovery to 2019-01-02 06:31:25.224189+00", + "LOG: database system was interrupted; last known up at 2019-01-30 17:12:23 UTC", + "LOG: starting point-in-time recovery to 2019-01-30 17:12:06.634444+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"00000005000000000000001C\" from archive", - "LOG: redo starts at 0/1C000028", - "LOG: consistent recovery state reached at 0/1C0000F8", - "LOG: redo done at 0/1C0000F8", - "LOG: restored log file \"00000005000000000000001C\" from archive", - " [filtered 8 lines of output]" + "LOG: restored log file \"00000005000000000000001A\" from archive", + "LOG: redo starts at 0/1A000028", + "LOG: consistent recovery state reached at 0/1A0000F8", + "LOG: redo done at 0/1A0000F8", + "LOG: restored log file \"00000005000000000000001A\" from archive", + " [filtered 9 lines of output]" ] } }, @@ -8467,7 +8472,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190102-063001F_20190102-063115D" + "20190130-171035F_20190130-171155D" ] }, "host" : "pg-primary", @@ -8483,47 +8488,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.5-1): 00000002000000000000000C / 00000005000000000000001C", + " wal archive min/max (9.5-1): 00000002000000000000000B/00000005000000000000001A", "", - " full backup: 20190102-062947F", - " timestamp start/stop: 2019-01-02 06:29:47 / 2019-01-02 06:30:00", + " full backup: 20190130-171023F", + " timestamp start/stop: 2019-01-30 17:10:23 / 2019-01-30 17:10:34", + " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", + " database size: 20.6MB, backup size: 20.6MB", + " repository size: 2.4MB, repository backup size: 2.4MB", + "", + " full backup: 20190130-171035F", + " timestamp start/stop: 2019-01-30 17:10:35 / 2019-01-30 17:10:45", " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", - " database size: 20.5MB, backup size: 20.5MB", + " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " full backup: 20190102-063001F", - " timestamp start/stop: 2019-01-02 06:30:01 / 2019-01-02 06:30:14", - " wal start/stop: 00000002000000000000000E / 00000002000000000000000E", - " database size: 20.5MB, backup size: 20.5MB", - " repository size: 2.4MB, repository backup size: 2.4MB", + " diff backup: 20190130-171035F_20190130-171107D", + " timestamp start/stop: 2019-01-30 17:11:07 / 2019-01-30 17:11:12", + " wal start/stop: 000000020000000000000013 / 000000020000000000000013", + " database size: 20.6MB, backup size: 116.4KB", + " repository size: 2.4MB, repository backup size: 12.7KB", + " backup reference list: 20190130-171035F", "", - " diff backup: 20190102-063001F_20190102-063033D", - " timestamp start/stop: 2019-01-02 06:30:33 / 2019-01-02 06:30:37", - " wal start/stop: 000000020000000000000015 / 000000020000000000000015", - " database size: 20.5MB, backup size: 116.2KB", - " repository size: 2.4MB, repository backup size: 12.6KB", - " backup reference list: 20190102-063001F", - "", - " incr backup: 20190102-063001F_20190102-063048I", - " timestamp start/stop: 2019-01-02 06:30:48 / 2019-01-02 06:31:00", - " wal start/stop: 000000030000000000000017 / 000000030000000000000017", - " database size: 33.9MB, backup size: 13.4MB", + " incr backup: 20190130-171035F_20190130-171126I", + " timestamp start/stop: 2019-01-30 17:11:26 / 2019-01-30 17:11:38", + " wal start/stop: 000000030000000000000015 / 000000030000000000000015", + " database size: 34MB, backup size: 13.5MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20190102-063001F, 20190102-063001F_20190102-063033D", + " backup reference list: 20190130-171035F, 20190130-171035F_20190130-171107D", "", - " diff backup: 20190102-063001F_20190102-063115D", - " timestamp start/stop: 2019-01-02 06:31:15 / 2019-01-02 06:31:24", - " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", - " database size: 27.2MB, backup size: 6.8MB", - " repository size: 3.2MB, repository backup size: 831.3KB", - " backup reference list: 20190102-063001F", + " diff backup: 20190130-171035F_20190130-171155D", + " timestamp start/stop: 2019-01-30 17:11:55 / 2019-01-30 17:12:04", + " wal start/stop: 000000040000000000000018 / 000000040000000000000018", + " database size: 27.4MB, backup size: 6.9MB", + " repository size: 3.2MB, repository backup size: 831.8KB", + " backup reference list: 20190130-171035F", "", - " incr backup: 20190102-063001F_20190102-063138I", - " timestamp start/stop: 2019-01-02 06:31:38 / 2019-01-02 06:31:44", - " wal start/stop: 00000005000000000000001C / 00000005000000000000001C", - " database size: 27.2MB, backup size: 1.9MB", - " repository size: 3.2MB, repository backup size: 209.6KB", - " backup reference list: 20190102-063001F, 20190102-063001F_20190102-063115D" + " incr backup: 20190130-171035F_20190130-171221I", + " timestamp start/stop: 2019-01-30 17:12:21 / 2019-01-30 17:12:29", + " wal start/stop: 00000005000000000000001A / 00000005000000000000001A", + " database size: 27.4MB, backup size: 2MB", + " repository size: 3.2MB, repository backup size: 210.0KB", + " backup reference list: 20190130-171035F, 20190130-171035F_20190130-171155D" ] } }, @@ -8545,8 +8550,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-02 06:31:25.224189+00\" \\", - " --set=20190102-063001F_20190102-063115D restore" + " --type=time \"--target=2019-01-30 17:12:06.634444+00\" \\", + " --set=20190130-171035F_20190130-171155D restore" ], "host" : "pg-primary", "load-env" : true, @@ -8643,19 +8648,19 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:31:16 UTC", - "LOG: starting point-in-time recovery to 2019-01-02 06:31:25.224189+00", + "LOG: database system was interrupted; last known up at 2019-01-30 17:11:56 UTC", + "LOG: starting point-in-time recovery to 2019-01-30 17:12:06.634444+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: redo starts at 0/1A000028", - "LOG: consistent recovery state reached at 0/1A0000F8", - "LOG: restored log file \"00000004000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-01-02 06:31:25.646121+00", - "LOG: redo done at 0/1B01BBB8", - "LOG: last completed transaction was at log time 2019-01-02 06:31:24.874336+00", + "LOG: restored log file \"000000040000000000000018\" from archive", + " [filtered 2 lines of output]", + "FATAL: the database system is starting up", + "LOG: restored log file \"000000040000000000000019\" from archive", + "LOG: recovery stopping before commit of transaction 630, time 2019-01-30 17:12:07.09233+00", + "LOG: redo done at 0/1901B930", + "LOG: last completed transaction was at log time 2019-01-30 17:12:06.062555+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", - " [filtered 6 lines of output]" + " [filtered 5 lines of output]" ] } }, @@ -8814,7 +8819,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -8841,16 +8846,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:32:23\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000007000000000000001C, lsn = 0/1C000028", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:13:09\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000007000000000000001A, lsn = 0/1A000028", " [filtered 1119 lines of output]", "P04 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", "P02 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)", "P00 INFO: full backup size = 27.3MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 00000007000000000000001C, lsn = 0/1C000130", + "P00 INFO: backup stop archive = 00000007000000000000001A, lsn = 0/1A000130", " [filtered 4 lines of output]" ] } @@ -8889,7 +8894,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -8915,7 +8920,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-delete command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -8977,7 +8982,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.08/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -9562,19 +9567,19 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.5-1): 000000080000000000000023 / 000000080000000000000025", + " wal archive min/max (9.5-1): 000000080000000000000022/000000080000000000000023", "", - " full backup: 20190102-063504F", - " timestamp start/stop: 2019-01-02 06:35:04 / 2019-01-02 06:35:22", + " full backup: 20190130-171506F", + " timestamp start/stop: 2019-01-30 17:15:06 / 2019-01-30 17:15:26", + " wal start/stop: 000000080000000000000022 / 000000080000000000000022", + " database size: 27.4MB, backup size: 27.4MB", + " repository size: 3.2MB, repository backup size: 3.2MB", + "", + " full backup: 20190130-171527F", + " timestamp start/stop: 2019-01-30 17:15:27 / 2019-01-30 17:15:45", " wal start/stop: 000000080000000000000023 / 000000080000000000000023", - " database size: 27.3MB, backup size: 27.3MB", - " repository size: 3.1MB, repository backup size: 3.1MB", - "", - " full backup: 20190102-063524F", - " timestamp start/stop: 2019-01-02 06:35:24 / 2019-01-02 06:35:38", - " wal start/stop: 000000080000000000000025 / 000000080000000000000025", - " database size: 27.3MB, backup size: 27.3MB", - " repository size: 3.1MB, repository backup size: 3.1MB" + " database size: 27.4MB, backup size: 27.4MB", + " repository size: 3.2MB, repository backup size: 3.2MB" ] } }, @@ -9718,7 +9723,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.08/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -10122,12 +10127,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:35:25 UTC", + "LOG: database system was interrupted; last known up at 2019-01-30 17:15:28 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000025\" from archive", - "LOG: redo starts at 0/25000028", - "LOG: consistent recovery state reached at 0/250000F8", + "LOG: restored log file \"000000080000000000000023\" from archive", + "LOG: redo starts at 0/23000028", + "LOG: consistent recovery state reached at 0/23000130", "LOG: database system is ready to accept read only connections" ] } @@ -10209,7 +10214,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/2601F5A8 | 2019-01-02 06:37:24.694566+00", + " 0/2401F328 | 2019-01-30 17:16:23.768498+00", "(1 row)" ] } @@ -10236,9 +10241,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+------------------------------", - " Important Data | 2019-01-02 06:37:26.59232+00", + " message | now ", + "----------------+-------------------------------", + " Important Data | 2019-01-30 17:16:26.873207+00", "(1 row)" ] } @@ -10264,7 +10269,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.08: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", "P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -10502,8 +10507,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000026\" from archive", - "LOG: started streaming WAL from primary at 0/27000000 on timeline 8" + "LOG: restored log file \"000000080000000000000024\" from archive", + "LOG: started streaming WAL from primary at 0/25000000 on timeline 8" ] } }, @@ -10535,7 +10540,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-02 06:37:44.101661+00", + " Important Data | 2019-01-30 17:16:44.732156+00", "(1 row)" ] } @@ -10564,7 +10569,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-02 06:37:44.634672+00", + " Important Data | 2019-01-30 17:16:45.299687+00", "(1 row)" ] } @@ -10796,8 +10801,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.08: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 00000008000000000000002C successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/00000008000000000000002C-12c383dbd8a4bcf248ae41aff45dd8245e41fc9b.gz'", + "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 00000008000000000000002A successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/00000008000000000000002A-aeeaab632d2f78ab043e815f1c06efa7abdd93c8.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -10824,19 +10829,19 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.08: [pg_xlog/000000080000000000000027] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000027...00000008000000000000002A", - "P02 DETAIL: pushed WAL file 000000080000000000000028 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000027 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000029 to archive", - "P01 DETAIL: pushed WAL file 00000008000000000000002A to archive", + "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000025] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000025...000000080000000000000028", + "P02 DETAIL: pushed WAL file 000000080000000000000026 to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000025 to archive", + "P02 DETAIL: pushed WAL file 000000080000000000000027 to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000028 to archive", "P00 INFO: archive-push command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.08: [pg_xlog/00000008000000000000002B] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 2 WAL file(s) to archive: 00000008000000000000002B...00000008000000000000002C", - "P01 DETAIL: pushed WAL file 00000008000000000000002B to archive", - "P02 DETAIL: pushed WAL file 00000008000000000000002C to archive", + "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000029] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 2 WAL file(s) to archive: 000000080000000000000029...00000008000000000000002A", + "P02 DETAIL: pushed WAL file 00000008000000000000002A to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000029 to archive", "P00 INFO: archive-push command end: completed successfully" ] } @@ -10876,26 +10881,32 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get command begin 2.08: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000025...00000008000000000000002C", - "P01 DETAIL: got WAL file 000000080000000000000025 from archive", - "P02 DETAIL: got WAL file 000000080000000000000026 from archive", + "P00 INFO: archive-get command begin 2.09: [000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000023...00000008000000000000002A", + "P01 DETAIL: got WAL file 000000080000000000000023 from archive", + "P01 DETAIL: WAL file 000000080000000000000025 not found in archive", + "P01 DETAIL: WAL file 000000080000000000000026 not found in archive", "P01 DETAIL: WAL file 000000080000000000000027 not found in archive", - "P02 DETAIL: WAL file 000000080000000000000028 not found in archive", - " [filtered 33 lines of output]", - "P00 INFO: archive-get command begin 2.08: [000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000027...00000008000000000000002E", - "P02 DETAIL: got WAL file 000000080000000000000028 from archive", - "P01 DETAIL: got WAL file 000000080000000000000027 from archive", - "P02 DETAIL: got WAL file 000000080000000000000029 from archive", - "P01 DETAIL: got WAL file 00000008000000000000002A from archive", - "P02 DETAIL: got WAL file 00000008000000000000002B from archive", - "P02 DETAIL: WAL file 00000008000000000000002D not found in archive", - "P02 DETAIL: WAL file 00000008000000000000002E not found in archive", - "P01 DETAIL: got WAL file 00000008000000000000002C from archive", - "P00 INFO: archive-get command end: completed successfully", - "", - " [filtered 20 lines of output]" + "P02 DETAIL: got WAL file 000000080000000000000024 from archive", + "P01 DETAIL: WAL file 000000080000000000000028 not found in archive", + "P02 DETAIL: WAL file 000000080000000000000029 not found in archive", + " [filtered 17 lines of output]", + "P00 INFO: archive-get command begin 2.09: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000025...00000008000000000000002C", + "P02 DETAIL: got WAL file 000000080000000000000026 from archive", + "P01 DETAIL: got WAL file 000000080000000000000025 from archive", + "P01 DETAIL: got WAL file 000000080000000000000028 from archive", + "P02 DETAIL: got WAL file 000000080000000000000027 from archive", + "P02 DETAIL: WAL file 00000008000000000000002A not found in archive", + "P01 DETAIL: WAL file 000000080000000000000029 not found in archive", + " [filtered 16 lines of output]", + "P00 INFO: archive-get command begin 2.09: [000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000029...000000080000000000000030", + "P01 DETAIL: got WAL file 000000080000000000000029 from archive", + "P02 DETAIL: got WAL file 00000008000000000000002A from archive", + "P01 DETAIL: WAL file 00000008000000000000002B not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", + " [filtered 30 lines of output]" ] } }, @@ -10977,22 +10988,17 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:38:06\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000008000000000000002E, lsn = 0/2E000028", - "P00 INFO: wait for replay on the standby to reach 0/2E000028", - "P00 INFO: replay on the standby reached 0/2E000350", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (9.5KB, 0%) checksum 10e54a279cb1aeb7bddbf48a61b913eafd57ed2c", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum ef1d9b5337dfeeda40df266e3f2c5dae6e51d49d", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (360KB, 17%) checksum feeb4dfd14b7074de7089e71eef01f1c9627e8d5", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 37%) checksum 3e09539fa7c8cc8a1e0094fb4bb49caa696884df", - "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/2673 (320KB, 52%) checksum f36fb2e91f3c411fbb300ff47de0448314b01fbc", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2658 (112KB, 57%) checksum 792300a98ebedd7af38defafa5cd5c8a017e1b6e", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 74%) checksum b2ffe1a69fb1ce37c1bef2b14c63bc1c61b5dd79", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 74%) checksum bc3d621c1040ad1d40cef7afda5394fda873531c", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1259 (104KB, 78%) checksum a6e9a6332c879bb297c087416f59dcec6d868adc", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1247 (72KB, 82%) checksum 7ce25768bd9aa69cd4853b976e6fd7643ad65a2e", - " [filtered 31 lines of output]" + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:17:09\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000008000000000000002C, lsn = 0/2C000028", + "P00 INFO: wait for replay on the standby to reach 0/2C000028", + "P00 INFO: replay on the standby reached 0/2C000350", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (8.8KB, 0%) checksum e1a86c3c4917fc15a613bc44811059f6ed6d8ba6", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 16065e511602b41406ce01ccd7c250a9ac1d7a4e", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 0%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 0%) checksum 12ba139a81892edb8a4b381ec2ace6581f55d880", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 20%) checksum 25cc8f46c0f1896a28c5d780c6c4ea764909faf9", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 37%) checksum ba5bc3089067b79fce987064c77f7c74d619c6d0", + " [filtered 36 lines of output]" ] } }, @@ -11255,7 +11261,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.08: --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.09: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/pgsql/9.6/data --pg2-path=/var/lib/pgsql/9.6/data --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -11292,7 +11298,7 @@ "type" : "exe", "value" : { "output" : [ - "postgresql-9.6 (pid 5357) is running..." + "postgresql-9.6 (pid 4767) is running..." ] } }, @@ -11497,7 +11503,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.08" + "sudo mkdir /root/pgbackrest-release-2.09" ], "host" : "build", "load-env" : true, @@ -11510,7 +11516,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /backrest/libc /root/pgbackrest-release-2.08" + "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.09" ], "host" : "build", "load-env" : true, @@ -11523,7 +11529,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /backrest/src /root/pgbackrest-release-2.08" + "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.09" ], "host" : "build", "load-env" : true, @@ -11569,7 +11575,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.08/src" + "sudo make -s -C /root/pgbackrest-release-2.09/src" ], "host" : "build", "load-env" : true, @@ -11609,7 +11615,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.08/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -11751,7 +11757,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.08 - General help", + "pgBackRest 2.09 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -11895,7 +11901,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.08 - 'backup' command - 'log-path' option help", + "pgBackRest 2.09 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -12133,7 +12139,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -12159,8 +12165,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-0712b49e5f69a552c6848bf460ea7b20ec93d88d.gz'", + "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-127cdad1688b33b0251b9bf40159419c7a6908cf.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -12187,14 +12193,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:09:10\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:58:59\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 851 lines of output]", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12280 (0B, 100%)", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12275 (0B, 100%)", - "P00 INFO: full backup size = 20.6MB", + "P00 INFO: full backup size = 20.5MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000002, lsn = 0/2000130", " [filtered 4 lines of output]" @@ -12215,7 +12221,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-060910F" + "20190130-165859F" ] } }, @@ -12242,8 +12248,8 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 095a0e372205150a876f1faaaac6dcee230358ed", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum d694ecdaacdf1516317f565bf3d6b2a6516df6d3", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 040c80d05ed2c5d1398f3f30e2f00c8afe1c27ff", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum 46dabe1ae8148b32975af70e7913b5026089a38e", "P00 INFO: diff backup size = 8.2KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", @@ -12277,20 +12283,20 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.5-1): 000000010000000000000002 / 000000010000000000000003", + " wal archive min/max (9.5-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20190102-060910F", - " timestamp start/stop: 2019-01-02 06:09:10 / 2019-01-02 06:09:24", + " full backup: 20190130-165859F", + " timestamp start/stop: 2019-01-30 16:58:59 / 2019-01-30 16:59:07", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190102-060910F_20190102-060925D", - " timestamp start/stop: 2019-01-02 06:09:25 / 2019-01-02 06:09:29", + " diff backup: 20190130-165859F_20190130-165908D", + " timestamp start/stop: 2019-01-30 16:59:08 / 2019-01-30 16:59:12", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", " database size: 20.6MB, backup size: 8.2KB", " repository size: 2.4MB, repository backup size: 400B", - " backup reference list: 20190102-060910F" + " backup reference list: 20190130-165859F" ] } }, @@ -12358,10 +12364,10 @@ "output" : [ " [filtered 6 lines of output]", "", - "Jan 02 06:09:32 pg-primary systemd[1]: Starting PostgreSQL 9.5 database server...", - "Jan 02 06:09:32 pg-primary pg_ctl[1050]: postgres: could not find the database system", - "Jan 02 06:09:32 pg-primary pg_ctl[1050]: Expected to find it in the directory \"/var/lib/pgsql/9.5/data\",", - "Jan 02 06:09:32 pg-primary pg_ctl[1050]: but could not open file \"/var/lib/pgsql/9.5/data/global/pg_control\": No such file or directory", + "Jan 30 16:59:14 pg-primary systemd[1]: Starting PostgreSQL 9.5 database server...", + "Jan 30 16:59:14 pg-primary pg_ctl[869]: postgres: could not find the database system", + "Jan 30 16:59:14 pg-primary pg_ctl[869]: Expected to find it in the directory \"/var/lib/pgsql/9.5/data\",", + "Jan 30 16:59:14 pg-primary pg_ctl[869]: but could not open file \"/var/lib/pgsql/9.5/data/global/pg_control\": No such file or directory", " [filtered 3 lines of output]" ] } @@ -12440,9 +12446,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20190102-060910F_20190102-060925D, version = 2.08", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:09:48\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20190130-165859F_20190130-165908D, version = 2.09", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:24\": backup begins after the next regular checkpoint completes", "P00 INFO: backup 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]" @@ -12501,11 +12507,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190102-060910F_20190102-060948I, version = 2.08", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:09:54\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190130-165859F_20190130-165924I, version = 2.09", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:31\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 76f4e9ad47ff9add13849de51ccdfb8139d66eaa", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 7fa2d0d2daa6e99415a7e550fb7c566f8e38dd1e", " [filtered 8 lines of output]" ] } @@ -12547,9 +12553,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:09:58\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", - "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190102-060910F_20190102-060958I': Permission denied", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:37\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20190130-165859F_20190130-165937I': Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -12590,12 +12596,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190102-060910F_20190102-060954I, version = 2.08", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:10:02\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190130-165859F_20190130-165931I, version = 2.09", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:41\": backup begins after the requested immediate checkpoint completes", "P00 ERROR: [057]: ERROR: a backup is already in progress", " HINT: Run pg_stop_backup() and try again.:", - " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-01-02 06:10:02', true) as lsn" + " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, (select setting::int8 from pg_settings where name = 'wal_segment_size') * (select setting::int8 from pg_settings where name = 'wal_block_size') from pg_start_backup('pgBackRest backup started at 2019-01-30 16:59:41', true) as lsn" ] } }, @@ -12652,13 +12658,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", - "P00 INFO: last backup label = 20190102-060910F_20190102-060954I, version = 2.08", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", + "P00 INFO: last backup label = 20190130-165859F_20190130-165931I, version = 2.09", "P00 WARN: the cluster is already in backup mode but no pgBackRest backup process is running. pg_stop_backup() will be called so a new backup can be started.", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:10:04\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 83%) checksum 673ff11ab62f3547d567713d4ed8ce7c22de17b4", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 16:59:43\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 83%) checksum 29570333c452a4383e39548cc86425c1a0e96ea0", " [filtered 9 lines of output]" ] } @@ -12685,7 +12691,7 @@ " \"id\" : 1", " },", " \"id\" : \"9.5-1\",", - " \"max\" : \"000000020000000000000008\",", + " \"max\" : \"000000020000000000000009\",", " \"min\" : \"000000010000000000000002\"", " }", " ],", @@ -12697,25 +12703,25 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 21697944,", + " \"delta\" : 21575064,", " \"repository\" : {", - " \"delta\" : 2543648,", - " \"size\" : 2543648", + " \"delta\" : 2542080,", + " \"size\" : 2542080", " },", - " \"size\" : 21697944", + " \"size\" : 21575064", " },", - " \"label\" : \"20190102-060910F\",", + " \"label\" : \"20190130-165859F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1546409350,", - " \"stop\" : 1546409364", + " \"start\" : 1548867539,", + " \"stop\" : 1548867547", " },", " \"type\" : \"full\"", " },", @@ -12726,7 +12732,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12735,18 +12741,18 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2543648", + " \"size\" : 2542080", " },", - " \"size\" : 21697944", + " \"size\" : 21575064", " },", - " \"label\" : \"20190102-060910F_20190102-060925D\",", - " \"prior\" : \"20190102-060910F\",", + " \"label\" : \"20190130-165859F_20190130-165908D\",", + " \"prior\" : \"20190130-165859F\",", " \"reference\" : [", - " \"20190102-060910F\"", + " \"20190130-165859F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546409365,", - " \"stop\" : 1546409369", + " \"start\" : 1548867548,", + " \"stop\" : 1548867552", " },", " \"type\" : \"diff\"", " },", @@ -12757,7 +12763,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12765,19 +12771,19 @@ " \"info\" : {", " \"delta\" : 9348,", " \"repository\" : {", - " \"delta\" : 832,", - " \"size\" : 2543808", + " \"delta\" : 816,", + " \"size\" : 2542224", " },", - " \"size\" : 21698512", + " \"size\" : 21575632", " },", - " \"label\" : \"20190102-060910F_20190102-060948I\",", - " \"prior\" : \"20190102-060910F_20190102-060925D\",", + " \"label\" : \"20190130-165859F_20190130-165924I\",", + " \"prior\" : \"20190130-165859F_20190130-165908D\",", " \"reference\" : [", - " \"20190102-060910F\"", + " \"20190130-165859F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546409388,", - " \"stop\" : 1546409392", + " \"start\" : 1548867564,", + " \"stop\" : 1548867570", " },", " \"type\" : \"incr\"", " },", @@ -12788,7 +12794,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12797,30 +12803,30 @@ " \"delta\" : 8428,", " \"repository\" : {", " \"delta\" : 400,", - " \"size\" : 2543808", + " \"size\" : 2542224", " },", - " \"size\" : 21698512", + " \"size\" : 21575632", " },", - " \"label\" : \"20190102-060910F_20190102-060954I\",", - " \"prior\" : \"20190102-060910F_20190102-060948I\",", + " \"label\" : \"20190130-165859F_20190130-165931I\",", + " \"prior\" : \"20190130-165859F_20190130-165924I\",", " \"reference\" : [", - " \"20190102-060910F\",", - " \"20190102-060910F_20190102-060948I\"", + " \"20190130-165859F\",", + " \"20190130-165859F_20190130-165924I\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546409394,", - " \"stop\" : 1546409397", + " \"start\" : 1548867571,", + " \"stop\" : 1548867575", " },", " \"type\" : \"incr\"", " },", " {", " \"archive\" : {", - " \"start\" : \"000000020000000000000008\",", - " \"stop\" : \"000000020000000000000008\"", + " \"start\" : \"000000020000000000000009\",", + " \"stop\" : \"000000020000000000000009\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.08\"", + " \"version\" : \"2.09\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12829,18 +12835,18 @@ " \"delta\" : 9773,", " \"repository\" : {", " \"delta\" : 1024,", - " \"size\" : 2544000", + " \"size\" : 2542432", " },", - " \"size\" : 21698937", + " \"size\" : 21576057", " },", - " \"label\" : \"20190102-060910F_20190102-061004I\",", - " \"prior\" : \"20190102-060910F_20190102-060954I\",", + " \"label\" : \"20190130-165859F_20190130-165943I\",", + " \"prior\" : \"20190130-165859F_20190130-165931I\",", " \"reference\" : [", - " \"20190102-060910F\"", + " \"20190130-165859F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1546409404,", - " \"stop\" : 1546409409", + " \"start\" : 1548867583,", + " \"stop\" : 1548867589", " },", " \"type\" : \"incr\"", " }", @@ -12849,7 +12855,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6641777499792298365,", + " \"system-id\" : 6652335307693424936,", " \"version\" : \"9.5\"", " }", " ],", @@ -12880,7 +12886,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cp -r /backrest/doc/example/* \\", + "sudo -u postgres cp -r /pgbackrest/doc/example/* \\", " /var/lib/pgsql/pgbackrest/doc/example" ], "host" : "pg-primary", @@ -12905,10 +12911,10 @@ "type" : "exe", "value" : { "output" : [ - "-- An example of monitoring pgBackRest from within PostgresSQL", + "-- An example of monitoring pgBackRest from within PostgreSQL", "--", "-- Use copy to export data from the pgBackRest info command into the jsonb", - "-- type so it can be queried directly by PostgresSQL.", + "-- type so it can be queried directly by PostgreSQL.", "", "-- Create monitor schema", "create schema monitor;", @@ -13004,7 +13010,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-01-02 06:10:09+00 | 000000020000000000000008", + " \"demo\" | 2019-01-30 16:59:49+00 | 000000020000000000000009", "(1 row)" ] } @@ -13051,7 +13057,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190102-060910F|remove archive" + "archive retention on backup 20190130-165859F|remove archive" ] }, "host" : "pg-primary", @@ -13065,7 +13071,7 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190102-060910F, archiveId = 9.5-1, start = 000000010000000000000002", + "P00 DETAIL: archive retention on backup 20190130-165859F, archiveId = 9.5-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.5-1", "P00 INFO: expire command end: completed successfully" ] @@ -13085,7 +13091,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-061014F" + "20190130-165952F" ] } }, @@ -13100,7 +13106,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190102-060910F|archive retention on backup 20190102-061014F|remove archive" + "expire full backup set\\: 20190130-165859F|archive retention on backup 20190130-165952F|remove archive" ] }, "host" : "pg-primary", @@ -13114,9 +13120,9 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190102-060910F, 20190102-060910F_20190102-060925D, 20190102-060910F_20190102-060948I, 20190102-060910F_20190102-060954I, 20190102-060910F_20190102-061004I", - "P00 INFO: remove expired backup 20190102-060910F_20190102-061004I", - "P00 INFO: remove expired backup 20190102-060910F_20190102-060954I", + "P00 INFO: expire full backup set: 20190130-165859F, 20190130-165859F_20190130-165908D, 20190130-165859F_20190130-165924I, 20190130-165859F_20190130-165931I, 20190130-165859F_20190130-165943I", + "P00 INFO: remove expired backup 20190130-165859F_20190130-165943I", + "P00 INFO: remove expired backup 20190130-165859F_20190130-165931I", " [filtered 3 lines of output]" ] } @@ -13180,7 +13186,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-061029F_20190102-061044D" + "20190130-170002F_20190130-170018D" ] } }, @@ -13208,7 +13214,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190102-061029F_20190102-061044D" + "expire diff backup set: 20190130-170002F_20190130-170018D" ] }, "host" : "pg-primary", @@ -13222,9 +13228,9 @@ " [filtered 11 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190102-061029F_20190102-061044D, 20190102-061029F_20190102-061049I", - "P00 INFO: remove expired backup 20190102-061029F_20190102-061049I", - "P00 INFO: remove expired backup 20190102-061029F_20190102-061044D" + "P00 INFO: expire diff backup set: 20190130-170002F_20190130-170018D, 20190130-170002F_20190130-170023I", + "P00 INFO: remove expired backup 20190130-170002F_20190130-170023I", + "P00 INFO: remove expired backup 20190130-170002F_20190130-170018D" ] } }, @@ -13274,7 +13280,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-061029F_20190102-061054D" + "20190130-170002F_20190130-170027D" ] } }, @@ -13317,8 +13323,8 @@ "output" : [ " [filtered 9 lines of output]", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/130000F8", - "P00 INFO: new backup label = 20190102-061029F_20190102-061101D", + "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/13000130", + "P00 INFO: new backup label = 20190130-170002F_20190130-170034D", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin" ] @@ -13338,7 +13344,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-061029F_20190102-061101D" + "20190130-170002F_20190130-170034D" ] } }, @@ -13353,7 +13359,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190102-061029F_20190102-061054D|remove archive" + "archive retention on backup 20190130-170002F_20190130-170027D|remove archive" ] }, "host" : "pg-primary", @@ -13364,12 +13370,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.08: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20190102-061014F, archiveId = 9.5-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", - "P00 DETAIL: archive retention on backup 20190102-061029F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20190102-061029F_20190102-061054D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", - "P00 DETAIL: archive retention on backup 20190102-061029F_20190102-061101D, archiveId = 9.5-1, start = 000000020000000000000013", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 INFO: expire command begin 2.09: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20190130-165952F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 DETAIL: archive retention on backup 20190130-170002F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190130-170002F_20190130-170027D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", + "P00 DETAIL: archive retention on backup 20190130-170002F_20190130-170034D, archiveId = 9.5-1, start = 000000020000000000000013", "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000F", "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000012", "P00 INFO: expire command end: completed successfully" @@ -13794,7 +13799,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-01-02 06:11:50.647181+00" + "2019-01-30 17:01:22.20917+00" ] } }, @@ -13847,7 +13852,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-02 06:11:50.647181+00\" restore" + " --type=time \"--target=2019-01-30 17:01:22.20917+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -13891,7 +13896,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-01-02 06:11:50.647181+00'" + "recovery_target_time = '2019-01-30 17:01:22.20917+00'" ] } }, @@ -13970,16 +13975,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:11:41 UTC", - "LOG: starting point-in-time recovery to 2019-01-02 06:11:50.647181+00", + "LOG: database system was interrupted; last known up at 2019-01-30 17:01:14 UTC", + "LOG: starting point-in-time recovery to 2019-01-30 17:01:22.20917+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000018\" from archive", "LOG: redo starts at 0/18000028", "LOG: consistent recovery state reached at 0/180000F8", "LOG: restored log file \"000000040000000000000019\" from archive", - "LOG: recovery stopping before commit of transaction 712, time 2019-01-02 06:11:50.958059+00", - "LOG: redo done at 0/1901BC40", - "LOG: last completed transaction was at log time 2019-01-02 06:11:50.314328+00", + "LOG: recovery stopping before commit of transaction 712, time 2019-01-30 17:01:22.54139+00", + "LOG: redo done at 0/1901BBB8", + "LOG: last completed transaction was at log time 2019-01-30 17:01:21.879499+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -14031,7 +14036,7 @@ "type" : "exe", "value" : { "output" : [ - "20190102-061029F_20190102-061140D" + "20190130-170002F_20190130-170113D" ] } }, @@ -14066,7 +14071,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-02 06:11:50.647181+00\" restore" + " --type=time \"--target=2019-01-30 17:01:22.20917+00\" restore" ], "host" : "pg-primary", "load-env" : true, @@ -14163,8 +14168,8 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:12:02 UTC", - "LOG: starting point-in-time recovery to 2019-01-02 06:11:50.647181+00", + "LOG: database system was interrupted; last known up at 2019-01-30 17:01:35 UTC", + "LOG: starting point-in-time recovery to 2019-01-30 17:01:22.20917+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000005000000000000001A\" from archive", "LOG: redo starts at 0/1A000028", @@ -14185,7 +14190,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190102-061029F_20190102-061140D" + "20190130-170002F_20190130-170113D" ] }, "host" : "pg-primary", @@ -14201,47 +14206,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.5-1): 00000002000000000000000A / 00000005000000000000001A", + " wal archive min/max (9.5-1): 00000002000000000000000B/00000005000000000000001A", "", - " full backup: 20190102-061014F", - " timestamp start/stop: 2019-01-02 06:10:14 / 2019-01-02 06:10:28", - " wal start/stop: 00000002000000000000000A / 00000002000000000000000A", - " database size: 20.7MB, backup size: 20.7MB", + " full backup: 20190130-165952F", + " timestamp start/stop: 2019-01-30 16:59:52 / 2019-01-30 17:00:00", + " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", + " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " full backup: 20190102-061029F", - " timestamp start/stop: 2019-01-02 06:10:29 / 2019-01-02 06:10:43", + " full backup: 20190130-170002F", + " timestamp start/stop: 2019-01-30 17:00:02 / 2019-01-30 17:00:16", " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", - " database size: 20.7MB, backup size: 20.7MB", + " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190102-061029F_20190102-061101D", - " timestamp start/stop: 2019-01-02 06:11:01 / 2019-01-02 06:11:04", + " diff backup: 20190130-170002F_20190130-170034D", + " timestamp start/stop: 2019-01-30 17:00:34 / 2019-01-30 17:00:39", " wal start/stop: 000000020000000000000013 / 000000020000000000000013", - " database size: 20.7MB, backup size: 113.9KB", + " database size: 20.6MB, backup size: 114.0KB", " repository size: 2.4MB, repository backup size: 12.6KB", - " backup reference list: 20190102-061029F", + " backup reference list: 20190130-170002F", "", - " incr backup: 20190102-061029F_20190102-061115I", - " timestamp start/stop: 2019-01-02 06:11:15 / 2019-01-02 06:11:27", + " incr backup: 20190130-170002F_20190130-170050I", + " timestamp start/stop: 2019-01-30 17:00:50 / 2019-01-30 17:00:58", " wal start/stop: 000000030000000000000015 / 000000030000000000000015", - " database size: 34.1MB, backup size: 13.5MB", + " database size: 34.0MB, backup size: 13.5MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20190102-061029F, 20190102-061029F_20190102-061101D", + " backup reference list: 20190130-170002F, 20190130-170002F_20190130-170034D", "", - " diff backup: 20190102-061029F_20190102-061140D", - " timestamp start/stop: 2019-01-02 06:11:40 / 2019-01-02 06:11:49", + " diff backup: 20190130-170002F_20190130-170113D", + " timestamp start/stop: 2019-01-30 17:01:13 / 2019-01-30 17:01:21", " wal start/stop: 000000040000000000000018 / 000000040000000000000018", - " database size: 27.4MB, backup size: 6.9MB", - " repository size: 3.2MB, repository backup size: 835.9KB", - " backup reference list: 20190102-061029F", + " database size: 27.3MB, backup size: 6.9MB", + " repository size: 3.2MB, repository backup size: 835.3KB", + " backup reference list: 20190130-170002F", "", - " incr backup: 20190102-061029F_20190102-061201I", - " timestamp start/stop: 2019-01-02 06:12:01 / 2019-01-02 06:12:07", + " incr backup: 20190130-170002F_20190130-170134I", + " timestamp start/stop: 2019-01-30 17:01:34 / 2019-01-30 17:01:41", " wal start/stop: 00000005000000000000001A / 00000005000000000000001A", - " database size: 27.4MB, backup size: 2MB", - " repository size: 3.2MB, repository backup size: 209.9KB", - " backup reference list: 20190102-061029F, 20190102-061029F_20190102-061140D" + " database size: 27.3MB, backup size: 2.0MB", + " repository size: 3.2MB, repository backup size: 209.5KB", + " backup reference list: 20190130-170002F, 20190130-170002F_20190130-170113D" ] } }, @@ -14263,8 +14268,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-01-02 06:11:50.647181+00\" \\", - " --set=20190102-061029F_20190102-061140D restore" + " --type=time \"--target=2019-01-30 17:01:22.20917+00\" \\", + " --set=20190130-170002F_20190130-170113D restore" ], "host" : "pg-primary", "load-env" : true, @@ -14361,16 +14366,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:11:41 UTC", - "LOG: starting point-in-time recovery to 2019-01-02 06:11:50.647181+00", + "LOG: database system was interrupted; last known up at 2019-01-30 17:01:14 UTC", + "LOG: starting point-in-time recovery to 2019-01-30 17:01:22.20917+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000018\" from archive", "LOG: redo starts at 0/18000028", "LOG: consistent recovery state reached at 0/180000F8", "LOG: restored log file \"000000040000000000000019\" from archive", - "LOG: recovery stopping before commit of transaction 712, time 2019-01-02 06:11:50.958059+00", - "LOG: redo done at 0/1901BC40", - "LOG: last completed transaction was at log time 2019-01-02 06:11:50.314328+00", + "LOG: recovery stopping before commit of transaction 712, time 2019-01-30 17:01:22.54139+00", + "LOG: redo done at 0/1901BBB8", + "LOG: last completed transaction was at log time 2019-01-30 17:01:21.879499+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -14532,7 +14537,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-create command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -14559,14 +14564,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "P00 INFO: backup command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:12:50\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:02:17\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000007000000000000001A, lsn = 0/1A000028", " [filtered 1119 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12280 (0B, 100%)", - "P02 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12275 (0B, 100%)", - "P00 INFO: full backup size = 27.4MB", + "P04 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12280 (0B, 100%)", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12275 (0B, 100%)", + "P00 INFO: full backup size = 27.3MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 00000007000000000000001A, lsn = 0/1A000130", " [filtered 4 lines of output]" @@ -14607,7 +14612,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -14633,7 +14638,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.08: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-delete command begin 2.09: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/demo-repo --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -14695,7 +14700,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.08/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -15279,18 +15284,18 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.5-1): 000000080000000000000022 / 000000080000000000000023", + " wal archive min/max (9.5-1): 000000080000000000000022/000000080000000000000024", "", - " full backup: 20190102-061534F", - " timestamp start/stop: 2019-01-02 06:15:34 / 2019-01-02 06:15:52", + " full backup: 20190130-170359F", + " timestamp start/stop: 2019-01-30 17:03:59 / 2019-01-30 17:04:16", " wal start/stop: 000000080000000000000022 / 000000080000000000000022", - " database size: 27.4MB, backup size: 27.4MB", + " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB", "", - " full backup: 20190102-061553F", - " timestamp start/stop: 2019-01-02 06:15:53 / 2019-01-02 06:16:05", - " wal start/stop: 000000080000000000000023 / 000000080000000000000023", - " database size: 27.4MB, backup size: 27.4MB", + " full backup: 20190130-170417F", + " timestamp start/stop: 2019-01-30 17:04:17 / 2019-01-30 17:04:34", + " wal start/stop: 000000080000000000000024 / 000000080000000000000024", + " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB" ] } @@ -15435,7 +15440,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.08/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.09/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -15838,13 +15843,13 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-01-02 06:15:54 UTC", + "LOG: database system was interrupted; last known up at 2019-01-30 17:04:19 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", "FATAL: the database system is starting up", - "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 \"000000080000000000000024\" from archive", + "LOG: redo starts at 0/24000028", + "LOG: consistent recovery state reached at 0/24000130", "LOG: database system is ready to accept read only connections" ] } @@ -15926,7 +15931,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/2401F630 | 2019-01-02 06:17:41.653652+00", + " 0/2501F5E0 | 2019-01-30 17:05:10.825038+00", "(1 row)" ] } @@ -15955,7 +15960,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-01-02 06:17:43.647592+00", + " Important Data | 2019-01-30 17:05:14.105255+00", "(1 row)" ] } @@ -15981,7 +15986,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.08: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", "P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -16219,8 +16224,8 @@ "output" : [ " [filtered 7 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 \"000000080000000000000025\" from archive", + "LOG: started streaming WAL from primary at 0/26000000 on timeline 8" ] } }, @@ -16250,9 +16255,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+-----------------------------", - " Important Data | 2019-01-02 06:18:00.2247+00", + " message | now ", + "----------------+-------------------------------", + " Important Data | 2019-01-30 17:05:32.260286+00", "(1 row)" ] } @@ -16281,7 +16286,7 @@ "output" : [ " message | now ", "----------------+------------------------------", - " Important Data | 2019-01-02 06:18:00.60708+00", + " Important Data | 2019-01-30 17:05:32.69031+00", "(1 row)" ] } @@ -16513,8 +16518,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.08: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 00000008000000000000002A successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/00000008000000000000002A-1f0e73ebe55f9d2b35c6631ae68502fb2c554f41.gz'", + "P00 INFO: check command begin 2.09: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 00000008000000000000002B successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/00000008000000000000002B-b4ad74365b79fd1405861576d41af48dae980899.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -16541,24 +16546,19 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.08: [pg_xlog/000000080000000000000025] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000025...000000080000000000000028", - "P01 DETAIL: pushed WAL file 000000080000000000000025 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000026 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000028 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000027 to archive", + "P00 INFO: archive-push command begin 2.09: [pg_xlog/000000080000000000000026] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000026...000000080000000000000029", + "P01 DETAIL: pushed WAL file 000000080000000000000026 to archive", + "P02 DETAIL: pushed WAL file 000000080000000000000027 to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000028 to archive", + "P02 DETAIL: pushed WAL file 000000080000000000000029 to archive", "P00 INFO: archive-push command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.08: [pg_xlog/000000080000000000000029] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000029", - "P01 DETAIL: pushed WAL file 000000080000000000000029 to archive", - "P00 INFO: archive-push command end: completed successfully", - "", - "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.08: [pg_xlog/00000008000000000000002A] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000002A", + "P00 INFO: archive-push command begin 2.09: [pg_xlog/00000008000000000000002A] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 2 WAL file(s) to archive: 00000008000000000000002A...00000008000000000000002B", "P01 DETAIL: pushed WAL file 00000008000000000000002A to archive", + "P02 DETAIL: pushed WAL file 00000008000000000000002B to archive", "P00 INFO: archive-push command end: completed successfully" ] } @@ -16598,32 +16598,43 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get command begin 2.08: [000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000023...00000008000000000000002A", - "P01 DETAIL: got WAL file 000000080000000000000023 from archive", - "P02 DETAIL: got WAL file 000000080000000000000024 from archive", - "P01 DETAIL: WAL file 000000080000000000000025 not found in archive", - "P02 DETAIL: WAL file 000000080000000000000026 not found in archive", - " [filtered 33 lines of output]", - "P00 INFO: archive-get command begin 2.08: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000025...00000008000000000000002C", - "P01 DETAIL: got WAL file 000000080000000000000025 from archive", - "P02 DETAIL: got WAL file 000000080000000000000026 from archive", - "P02 DETAIL: got WAL file 000000080000000000000028 from archive", - "P01 DETAIL: got WAL file 000000080000000000000027 from archive", + "P00 INFO: archive-get command begin 2.09: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000024...00000008000000000000002B", + "P01 DETAIL: got WAL file 000000080000000000000024 from archive", + "P01 DETAIL: WAL file 000000080000000000000026 not found in archive", + "P01 DETAIL: WAL file 000000080000000000000027 not found in archive", + "P01 DETAIL: WAL file 000000080000000000000028 not found in archive", + "P01 DETAIL: WAL file 000000080000000000000029 not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002A not found in archive", + "P02 DETAIL: got WAL file 000000080000000000000025 from archive", + "P01 DETAIL: WAL file 00000008000000000000002B not found in archive", + "P00 INFO: archive-get command end: completed successfully", + " [filtered 15 lines of output]", + "P00 INFO: archive-get command begin 2.09: [000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000026...00000008000000000000002D", + "P01 DETAIL: got WAL file 000000080000000000000026 from archive", + "P02 DETAIL: got WAL file 000000080000000000000027 from archive", + "P01 DETAIL: got WAL file 000000080000000000000028 from archive", "P01 DETAIL: WAL file 00000008000000000000002A not found in archive", "P01 DETAIL: WAL file 00000008000000000000002B not found in archive", "P01 DETAIL: WAL file 00000008000000000000002C not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", "P02 DETAIL: got WAL file 000000080000000000000029 from archive", "P00 INFO: archive-get command end: completed successfully", "", - " [filtered 8 lines of output]", - "P02 DETAIL: WAL file 000000080000000000000030 not found in archive", - "P02 DETAIL: WAL file 000000080000000000000031 not found in archive", + " [filtered 14 lines of output]", + "P00 INFO: archive-get command begin 2.09: [00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F, 000000080000000000000030, 000000080000000000000031] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000002A...000000080000000000000031", "P01 DETAIL: got WAL file 00000008000000000000002A from archive", + "P01 DETAIL: WAL file 00000008000000000000002C not found in archive", + "P01 DETAIL: WAL file 00000008000000000000002D not found in archive", + " [filtered 2 lines of output]", + "P01 DETAIL: WAL file 000000080000000000000030 not found in archive", + "P01 DETAIL: WAL file 000000080000000000000031 not found in archive", + "P02 DETAIL: got WAL file 00000008000000000000002B from archive", "P00 INFO: archive-get command end: completed successfully", "", - " [filtered 24 lines of output]" + " [filtered 15 lines of output]" ] } }, @@ -16705,16 +16716,16 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-02 06:18:25\": 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 9977e9f13c1bf19bc18467fd4b8295bf2fdc24a1", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (5.5KB, 0%) checksum f752f34a0f4c7f7747ddba1fb698e76c228e4651", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-01-30 17:05:58\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000008000000000000002D, lsn = 0/2D000028", + "P00 INFO: wait for replay on the standby to reach 0/2D000028", + "P00 INFO: replay on the standby reached 0/2D0000D0", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 3d7669d58090c8eb2d8e9017838dcd44a9c6111c", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (5.5KB, 0%) checksum 6b5788c4f01075b38ebe783a4528035b45d0eb4c", "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 0%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 0%) checksum 005edfae8617d0d9541ff6aee6b44a53b72aafe8", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12442/2608 (432KB, 20%) checksum 63f8727cb3a11a4859f37861097e37974b971d61", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12442/1249 (360KB, 37%) checksum af7b7f0bd4f4767f67425f29a1ff75b274b8299d", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 0%) checksum 58d09a5f4f456d658c613541cc9f21492b42bf3e", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12442/1249 (360KB, 17%) checksum 455f21a3349a7edd85c16acc65ec15e484f04e41", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12442/2673 (296KB, 31%) checksum 13f075e91a8e650970065df7cb3914541f07ec48", " [filtered 36 lines of output]" ] } @@ -16978,7 +16989,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.08: --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.09: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/pgsql/9.6/data --pg2-path=/var/lib/pgsql/9.6/data --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -17012,19 +17023,19 @@ "output" : [ "● postgresql-9.6.service - PostgreSQL 9.6 database server", " Loaded: loaded (/usr/lib/systemd/system/postgresql-9.6.service; disabled; vendor preset: disabled)", - " Active: active (running) since Wed 2019-01-02 06:18:54 UTC; 324ms ago", + " Active: active (running) since Wed 2019-01-30 17:06:31 UTC; 359ms ago", " Docs: https://www.postgresql.org/docs/9.6/static/", - " Process: 4631 ExecStartPre=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", - " Main PID: 4636 (postmaster)", - " CGroup: /docker/e94a6afb794c61b66362372ba78d6e30de52abf883e2cc641e24666604d00360/system.slice/postgresql-9.6.service", - " ├─4636 /usr/pgsql-9.6/bin/postmaster -D /var/lib/pgsql/9.6/data/", - " ├─4637 postgres: logger process ", - " ├─4639 postgres: checkpointer process ", - " ├─4640 postgres: writer process ", - " ├─4641 postgres: wal writer process ", - " ├─4642 postgres: autovacuum launcher process ", - " ├─4643 postgres: archiver process ", - " └─4644 postgres: stats collector process " + " Process: 4032 ExecStartPre=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", + " Main PID: 4037 (postmaster)", + " CGroup: /docker/a857ade5f5b54f9695c5eaaed24e7eebed732cc6937e3f7770f29fe3344f164f/system.slice/postgresql-9.6.service", + " ├─4037 /usr/pgsql-9.6/bin/postmaster -D /var/lib/pgsql/9.6/data/", + " ├─4038 postgres: logger process ", + " ├─4040 postgres: checkpointer process ", + " ├─4041 postgres: writer process ", + " ├─4042 postgres: wal writer process ", + " ├─4043 postgres: autovacuum launcher process ", + " ├─4044 postgres: archiver process ", + " └─4045 postgres: stats collector process " ] } }, diff --git a/doc/xml/release.xml b/doc/xml/release.xml index ebde8ea05..28cb97289 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -12,7 +12,7 @@ - + diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index 20ec599a6..515c36adb 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.09dev'; +use constant PROJECT_VERSION => '2.09'; push @EXPORT, qw(PROJECT_VERSION); # Repository Format Number diff --git a/src/perl/embed.auto.c b/src/perl/embed.auto.c index f88387ead..41bda94da 100644 --- a/src/perl/embed.auto.c +++ b/src/perl/embed.auto.c @@ -21022,7 +21022,7 @@ static const EmbeddedModule embeddedModule[] = "\n" "push @EXPORT, qw(projectBin projectBinSet);\n" "\n\n\n\n\n\n" - "use constant PROJECT_VERSION => '2.09dev';\n" + "use constant PROJECT_VERSION => '2.09';\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 c0f14ed4f..0e792dc31 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.09dev" +#define PROJECT_VERSION "2.09" #endif