diff --git a/README.md b/README.md index e90dd4bd2..3d426607c 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.11](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.11) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.12](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.12) 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. @@ -74,9 +74,9 @@ Tablespaces are fully supported and on restore tablespaces can be remapped to an File and directory links are supported for any file or directory in the PostgreSQL cluster. When restoring it is possible to restore all links to their original locations, remap some or all links, or restore some or all links as normal files or directories within the cluster directory. -### Amazon S3 Support +### S3-Compatible Object Store Support -pgBackRest repositories can be stored on Amazon S3 to allow for virtually unlimited capacity and retention. +pgBackRest repositories can be located in S3-Compatible object stores to allow for virtually unlimited capacity and retention. ### Encryption diff --git a/doc/RELEASE.md b/doc/RELEASE.md index 758c09e28..83a97983d 100644 --- a/doc/RELEASE.md +++ b/doc/RELEASE.md @@ -73,6 +73,7 @@ with: - Switch to prior dir and copy coverage: ``` -cd ../prior/X.XX +cd prior/X.XX +rm -rf coverage cp -r ../../coverage . ``` diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index 63c2fb051..935bae1f8 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.11" + "sudo mkdir /root/pgbackrest-release-2.12" ], "host" : "build", "load-env" : true, @@ -33,7 +33,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.11" + "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.12" ], "host" : "build", "load-env" : true, @@ -46,7 +46,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.11" + "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.12" ], "host" : "build", "load-env" : true, @@ -104,7 +104,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.11/src" + "sudo make -s -C /root/pgbackrest-release-2.12/src" ], "host" : "build", "load-env" : true, @@ -144,7 +144,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.11/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.12/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -286,7 +286,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.11 - General help", + "pgBackRest 2.12 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -431,7 +431,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.11 - 'backup' command - 'log-path' option help", + "pgBackRest 2.12 - '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.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -694,8 +694,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/10-1/0000000100000000/000000010000000000000001-f11824666a888d45ae82cd7086d253f91f660e23.gz'", + "P00 INFO: check command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/10-1/0000000100000000/000000010000000000000001-d96fce168d21d64580ec5811f7e24fbf93ad1684.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -722,9 +722,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:11:48\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:36:23\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 941 lines of output]", "P01 INFO: backup file /var/lib/postgresql/10/demo/base/1/12820 (0B, 100%)", @@ -750,7 +750,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-121148F" + "20190411-013623F" ] } }, @@ -777,7 +777,7 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum 40b1b49d010202c2752f6a39eb72e695d0025077", + "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum 82a268d575439c0f1e32bb31ba907d7d8cf3b3b3", "P01 INFO: backup file /var/lib/postgresql/10/demo/pg_logical/replorigin_checkpoint (8B, 100%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", "P00 INFO: diff backup size = 8KB", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", @@ -814,18 +814,18 @@ " db (current)", " wal archive min/max (10-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20190310-121148F", - " timestamp start/stop: 2019-03-10 12:11:48 / 2019-03-10 12:11:55", + " full backup: 20190411-013623F", + " timestamp start/stop: 2019-04-11 01:36:23 / 2019-04-11 01:36:36", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 22.4MB, backup size: 22.4MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " diff backup: 20190310-121148F_20190310-121156D", - " timestamp start/stop: 2019-03-10 12:11:56 / 2019-03-10 12:12:00", + " diff backup: 20190411-013623F_20190411-013637D", + " timestamp start/stop: 2019-04-11 01:36:37 / 2019-04-11 01:36:39", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", " database size: 22.4MB, backup size: 8.2KB", " repository size: 2.7MB, repository backup size: 517B", - " backup reference list: 20190310-121148F" + " backup reference list: 20190411-013623F" ] } }, @@ -959,9 +959,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20190310-121148F_20190310-121156D, version = 2.11", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:12:11\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20190411-013623F_20190411-013637D, version = 2.12", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:36:56\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000005, lsn = 0/5000028", "P00 WARN: a timeline switch has occurred since the last backup, enabling delta checksum", " [filtered 8 lines of output]" @@ -1020,11 +1020,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190310-121148F_20190310-121211I, version = 2.11", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:12:18\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190411-013623F_20190411-013656I, version = 2.12", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:37:00\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", - "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum b77df9e069b4e1854a865fdf0631e443edf09e3a", + "P01 INFO: backup file /var/lib/postgresql/10/demo/global/pg_control (8KB, 99%) checksum b521cabfc1b0dcad038f057ebe2f676b2dadb9ba", " [filtered 8 lines of output]" ] } @@ -1063,7 +1063,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1071,17 +1071,17 @@ " \"info\" : {", " \"delta\" : 23521617,", " \"repository\" : {", - " \"delta\" : 2790309,", - " \"size\" : 2790309", + " \"delta\" : 2789541,", + " \"size\" : 2789541", " },", " \"size\" : 23521617", " },", - " \"label\" : \"20190310-121148F\",", + " \"label\" : \"20190411-013623F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1552219908,", - " \"stop\" : 1552219915", + " \"start\" : 1554946583,", + " \"stop\" : 1554946596", " },", " \"type\" : \"full\"", " },", @@ -1092,7 +1092,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1101,18 +1101,18 @@ " \"delta\" : 8429,", " \"repository\" : {", " \"delta\" : 517,", - " \"size\" : 2790309", + " \"size\" : 2789541", " },", " \"size\" : 23521617", " },", - " \"label\" : \"20190310-121148F_20190310-121156D\",", - " \"prior\" : \"20190310-121148F\",", + " \"label\" : \"20190411-013623F_20190411-013637D\",", + " \"prior\" : \"20190411-013623F\",", " \"reference\" : [", - " \"20190310-121148F\"", + " \"20190411-013623F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552219916,", - " \"stop\" : 1552219920", + " \"start\" : 1554946597,", + " \"stop\" : 1554946599", " },", " \"type\" : \"diff\"", " },", @@ -1123,7 +1123,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1132,19 +1132,19 @@ " \"delta\" : 8421,", " \"repository\" : {", " \"delta\" : 469,", - " \"size\" : 2790309", + " \"size\" : 2789541", " },", " \"size\" : 23521617", " },", - " \"label\" : \"20190310-121148F_20190310-121211I\",", - " \"prior\" : \"20190310-121148F_20190310-121156D\",", + " \"label\" : \"20190411-013623F_20190411-013656I\",", + " \"prior\" : \"20190411-013623F_20190411-013637D\",", " \"reference\" : [", - " \"20190310-121148F\",", - " \"20190310-121148F_20190310-121156D\"", + " \"20190411-013623F\",", + " \"20190411-013623F_20190411-013637D\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552219931,", - " \"stop\" : 1552219936", + " \"start\" : 1554946616,", + " \"stop\" : 1554946619", " },", " \"type\" : \"incr\"", " },", @@ -1155,7 +1155,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -1164,18 +1164,18 @@ " \"delta\" : 8429,", " \"repository\" : {", " \"delta\" : 517,", - " \"size\" : 2790309", + " \"size\" : 2789541", " },", " \"size\" : 23521617", " },", - " \"label\" : \"20190310-121148F_20190310-121218I\",", - " \"prior\" : \"20190310-121148F_20190310-121211I\",", + " \"label\" : \"20190411-013623F_20190411-013700I\",", + " \"prior\" : \"20190411-013623F_20190411-013656I\",", " \"reference\" : [", - " \"20190310-121148F\"", + " \"20190411-013623F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552219938,", - " \"stop\" : 1552219941", + " \"start\" : 1554946620,", + " \"stop\" : 1554946622", " },", " \"type\" : \"incr\"", " }", @@ -1184,7 +1184,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6666733617317675250,", + " \"system-id\" : 6678444649081696509,", " \"version\" : \"10\"", " }", " ],", @@ -1339,7 +1339,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-03-10 12:12:21+00 | 000000020000000000000006", + " \"demo\" | 2019-04-11 01:37:02+00 | 000000020000000000000006", "(1 row)" ] } @@ -1373,7 +1373,7 @@ "type" : "exe", "value" : { "output" : [ - "1552219941" + "1554946622" ] } }, @@ -1437,7 +1437,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190310-121148F|remove archive" + "archive retention on backup 20190411-013623F|remove archive" ] }, "host" : "pg-primary", @@ -1451,7 +1451,7 @@ " [filtered 951 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190310-121148F, archiveId = 10-1, start = 000000010000000000000002", + "P00 DETAIL: archive retention on backup 20190411-013623F, archiveId = 10-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 10-1", "P00 INFO: expire command end: completed successfully" ] @@ -1471,7 +1471,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-121228F" + "20190411-013708F" ] } }, @@ -1486,7 +1486,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190310-121148F|archive retention on backup 20190310-121228F|remove archive" + "expire full backup set\\: 20190411-013623F|archive retention on backup 20190411-013708F|remove archive" ] }, "host" : "pg-primary", @@ -1500,9 +1500,9 @@ " [filtered 950 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190310-121148F, 20190310-121148F_20190310-121156D, 20190310-121148F_20190310-121211I, 20190310-121148F_20190310-121218I", - "P00 INFO: remove expired backup 20190310-121148F_20190310-121218I", - "P00 INFO: remove expired backup 20190310-121148F_20190310-121211I", + "P00 INFO: expire full backup set: 20190411-013623F, 20190411-013623F_20190411-013637D, 20190411-013623F_20190411-013656I, 20190411-013623F_20190411-013700I", + "P00 INFO: remove expired backup 20190411-013623F_20190411-013700I", + "P00 INFO: remove expired backup 20190411-013623F_20190411-013656I", " [filtered 2 lines of output]" ] } @@ -1565,7 +1565,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-121237F_20190310-121245D" + "20190411-013722F_20190411-013737D" ] } }, @@ -1593,7 +1593,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190310-121237F_20190310-121245D" + "expire diff backup set: 20190411-013722F_20190411-013737D" ] }, "host" : "pg-primary", @@ -1607,9 +1607,9 @@ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190310-121237F_20190310-121245D, 20190310-121237F_20190310-121250I", - "P00 INFO: remove expired backup 20190310-121237F_20190310-121250I", - "P00 INFO: remove expired backup 20190310-121237F_20190310-121245D" + "P00 INFO: expire diff backup set: 20190411-013722F_20190411-013737D, 20190411-013722F_20190411-013741I", + "P00 INFO: remove expired backup 20190411-013722F_20190411-013741I", + "P00 INFO: remove expired backup 20190411-013722F_20190411-013737D" ] } }, @@ -1658,7 +1658,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-121237F_20190310-121253D" + "20190411-013722F_20190411-013743D" ] } }, @@ -1701,8 +1701,8 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000010, lsn = 0/100000F8", - "P00 INFO: new backup label = 20190310-121237F_20190310-121259D", + "P00 INFO: backup stop archive = 000000020000000000000011, lsn = 0/110000F8", + "P00 INFO: new backup label = 20190411-013722F_20190411-013748D", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin" ] @@ -1722,7 +1722,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-121237F_20190310-121259D" + "20190411-013722F_20190411-013748D" ] } }, @@ -1737,7 +1737,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190310-121237F_20190310-121253D|remove archive" + "archive retention on backup 20190411-013722F_20190411-013743D|remove archive" ] }, "host" : "pg-primary", @@ -1748,14 +1748,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.11: --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 20190310-121228F, archiveId = 10-1, start = 000000020000000000000008, stop = 000000020000000000000008", - "P00 DETAIL: archive retention on backup 20190310-121237F, archiveId = 10-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", - "P00 DETAIL: archive retention on backup 20190310-121237F_20190310-121253D, archiveId = 10-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: archive retention on backup 20190310-121237F_20190310-121259D, archiveId = 10-1, start = 000000020000000000000010", + "P00 INFO: expire command begin 2.12: --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 20190411-013708F, archiveId = 10-1, start = 000000020000000000000008, stop = 000000020000000000000008", + "P00 DETAIL: archive retention on backup 20190411-013722F, archiveId = 10-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", + "P00 DETAIL: archive retention on backup 20190411-013722F_20190411-013743D, archiveId = 10-1, start = 00000002000000000000000E, stop = 00000002000000000000000E", + "P00 DETAIL: archive retention on backup 20190411-013722F_20190411-013748D, archiveId = 10-1, start = 000000020000000000000011", "P00 DETAIL: remove archive: archiveId = 10-1, start = 000000020000000000000009, stop = 000000020000000000000009", - "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000B, stop = 00000002000000000000000C", - "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000E, stop = 00000002000000000000000F", + "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000B, stop = 00000002000000000000000D", + "P00 DETAIL: remove archive: archiveId = 10-1, start = 00000002000000000000000F, stop = 000000020000000000000010", "P00 INFO: expire command end: completed successfully" ] } @@ -2184,7 +2184,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-03-10 12:13:43.83879+00" + "2019-04-11 01:38:28.129464+00" ] } }, @@ -2237,7 +2237,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-03-10 12:13:43.83879+00\" \\", + " --type=time \"--target=2019-04-11 01:38:28.129464+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2282,7 +2282,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-03-10 12:13:43.83879+00'", + "recovery_target_time = '2019-04-11 01:38:28.129464+00'", "recovery_target_action = 'promote'" ] } @@ -2364,16 +2364,16 @@ "output" : [ " [filtered 2 lines of output]", "LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"", - "LOG: database system was interrupted; last known up at 2019-03-10 12:13:37 UTC", - "LOG: starting point-in-time recovery to 2019-03-10 12:13:43.83879+00", + "LOG: database system was interrupted; last known up at 2019-04-11 01:38:21 UTC", + "LOG: starting point-in-time recovery to 2019-04-11 01:38:28.129464+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000015\" from archive", + "LOG: restored log file \"000000040000000000000016\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000040000000000000016\" from archive", - "LOG: recovery stopping before commit of transaction 564, time 2019-03-10 12:13:44.188755+00", - "LOG: redo done at 0/160207B0", - "LOG: last completed transaction was at log time 2019-03-10 12:13:43.488976+00", + "LOG: restored log file \"000000040000000000000017\" from archive", + "LOG: recovery stopping before commit of transaction 564, time 2019-04-11 01:38:28.401674+00", + "LOG: redo done at 0/17020870", + "LOG: last completed transaction was at log time 2019-04-11 01:38:27.874768+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -2425,7 +2425,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-121237F_20190310-121336D" + "20190411-013722F_20190411-013820D" ] } }, @@ -2460,7 +2460,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-03-10 12:13:43.83879+00\" --target-action=promote restore" + " --type=time \"--target=2019-04-11 01:38:28.129464+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2559,14 +2559,14 @@ "output" : [ " [filtered 2 lines of output]", "LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"", - "LOG: database system was interrupted; last known up at 2019-03-10 12:13:57 UTC", - "LOG: starting point-in-time recovery to 2019-03-10 12:13:43.83879+00", + "LOG: database system was interrupted; last known up at 2019-04-11 01:38:38 UTC", + "LOG: starting point-in-time recovery to 2019-04-11 01:38:28.129464+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"000000050000000000000017\" from archive", - "LOG: redo starts at 0/17000028", - "LOG: consistent recovery state reached at 0/170000F8", + "LOG: restored log file \"000000050000000000000018\" from archive", + "LOG: redo starts at 0/18000028", + "LOG: consistent recovery state reached at 0/180000F8", "LOG: database system is ready to accept read only connections", - "LOG: redo done at 0/170000F8", + "LOG: redo done at 0/180000F8", " [filtered 8 lines of output]" ] } @@ -2581,7 +2581,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190310-121237F_20190310-121336D" + "20190411-013722F_20190411-013820D" ] }, "host" : "pg-primary", @@ -2597,47 +2597,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (10-1): 000000020000000000000008/000000050000000000000017", + " wal archive min/max (10-1): 000000020000000000000008/000000050000000000000018", "", - " full backup: 20190310-121228F", - " timestamp start/stop: 2019-03-10 12:12:28 / 2019-03-10 12:12:36", + " full backup: 20190411-013708F", + " timestamp start/stop: 2019-04-11 01:37:08 / 2019-04-11 01:37:22", " wal start/stop: 000000020000000000000008 / 000000020000000000000008", " database size: 22.4MB, backup size: 22.4MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " full backup: 20190310-121237F", - " timestamp start/stop: 2019-03-10 12:12:37 / 2019-03-10 12:12:44", + " full backup: 20190411-013722F", + " timestamp start/stop: 2019-04-11 01:37:22 / 2019-04-11 01:37:36", " wal start/stop: 00000002000000000000000A / 00000002000000000000000A", " database size: 22.4MB, backup size: 22.4MB", " repository size: 2.7MB, repository backup size: 2.7MB", "", - " diff backup: 20190310-121237F_20190310-121259D", - " timestamp start/stop: 2019-03-10 12:12:59 / 2019-03-10 12:13:03", - " wal start/stop: 000000020000000000000010 / 000000020000000000000010", + " diff backup: 20190411-013722F_20190411-013748D", + " timestamp start/stop: 2019-04-11 01:37:48 / 2019-04-11 01:37:50", + " wal start/stop: 000000020000000000000011 / 000000020000000000000011", " database size: 22.4MB, backup size: 8.2KB", " repository size: 2.7MB, repository backup size: 519B", - " backup reference list: 20190310-121237F", + " backup reference list: 20190411-013722F", "", - " incr backup: 20190310-121237F_20190310-121314I", - " timestamp start/stop: 2019-03-10 12:13:14 / 2019-03-10 12:13:22", - " wal start/stop: 000000030000000000000012 / 000000030000000000000012", + " incr backup: 20190411-013722F_20190411-013759I", + " timestamp start/stop: 2019-04-11 01:37:59 / 2019-04-11 01:38:09", + " wal start/stop: 000000030000000000000013 / 000000030000000000000013", " database size: 37MB, backup size: 15MB", " repository size: 4.4MB, repository backup size: 1.8MB", - " backup reference list: 20190310-121237F, 20190310-121237F_20190310-121259D", + " backup reference list: 20190411-013722F, 20190411-013722F_20190411-013748D", "", - " diff backup: 20190310-121237F_20190310-121336D", - " timestamp start/stop: 2019-03-10 12:13:36 / 2019-03-10 12:13:42", - " wal start/stop: 000000040000000000000015 / 000000040000000000000015", + " diff backup: 20190411-013722F_20190411-013820D", + " timestamp start/stop: 2019-04-11 01:38:20 / 2019-04-11 01:38:27", + " wal start/stop: 000000040000000000000016 / 000000040000000000000016", " database size: 29.7MB, backup size: 7.8MB", - " repository size: 3.5MB, repository backup size: 948.7KB", - " backup reference list: 20190310-121237F", + " repository size: 3.5MB, repository backup size: 948.5KB", + " backup reference list: 20190411-013722F", "", - " incr backup: 20190310-121237F_20190310-121356I", - " timestamp start/stop: 2019-03-10 12:13:56 / 2019-03-10 12:14:02", - " wal start/stop: 000000050000000000000017 / 000000050000000000000017", + " incr backup: 20190411-013722F_20190411-013837I", + " timestamp start/stop: 2019-04-11 01:38:37 / 2019-04-11 01:38:41", + " wal start/stop: 000000050000000000000018 / 000000050000000000000018", " database size: 29.7MB, backup size: 2MB", - " repository size: 3.5MB, repository backup size: 218.3KB", - " backup reference list: 20190310-121237F, 20190310-121237F_20190310-121336D" + " repository size: 3.5MB, repository backup size: 218.2KB", + " backup reference list: 20190411-013722F, 20190411-013722F_20190411-013820D" ] } }, @@ -2659,8 +2659,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-03-10 12:13:43.83879+00\" \\", - " --set=20190310-121237F_20190310-121336D --target-action=promote restore" + " --type=time \"--target=2019-04-11 01:38:28.129464+00\" \\", + " --set=20190411-013722F_20190411-013820D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2759,16 +2759,16 @@ "output" : [ " [filtered 2 lines of output]", "LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"", - "LOG: database system was interrupted; last known up at 2019-03-10 12:13:37 UTC", - "LOG: starting point-in-time recovery to 2019-03-10 12:13:43.83879+00", + "LOG: database system was interrupted; last known up at 2019-04-11 01:38:21 UTC", + "LOG: starting point-in-time recovery to 2019-04-11 01:38:28.129464+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000015\" from archive", + "LOG: restored log file \"000000040000000000000016\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000040000000000000016\" from archive", - "LOG: recovery stopping before commit of transaction 564, time 2019-03-10 12:13:44.188755+00", - "LOG: redo done at 0/160207B0", - "LOG: last completed transaction was at log time 2019-03-10 12:13:43.488976+00", + "LOG: restored log file \"000000040000000000000017\" from archive", + "LOG: recovery stopping before commit of transaction 564, time 2019-04-11 01:38:28.401674+00", + "LOG: redo done at 0/17020870", + "LOG: last completed transaction was at log time 2019-04-11 01:38:27.874768+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -2928,7 +2928,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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" ] } @@ -2955,16 +2955,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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", + "P00 INFO: backup command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:14:34\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000070000000000000017, lsn = 0/17000028", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:39:09\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000070000000000000018, lsn = 0/18000028", " [filtered 1238 lines of output]", "P02 INFO: backup file /var/lib/postgresql/10/demo/base/1/12820 (0B, 100%)", - "P04 INFO: backup file /var/lib/postgresql/10/demo/base/1/12815 (0B, 100%)", + "P01 INFO: backup file /var/lib/postgresql/10/demo/base/1/12815 (0B, 100%)", "P00 INFO: full backup size = 29.7MB", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000070000000000000017, lsn = 0/17000130", + "P00 INFO: backup stop archive = 000000070000000000000018, lsn = 0/18000130", " [filtered 4 lines of output]" ] } @@ -3003,7 +3003,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.11: --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.12: --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" ] } @@ -3029,7 +3029,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/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" ] } @@ -3078,7 +3078,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.11/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.12/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -3662,17 +3662,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (10-1): 000000080000000000000020/000000080000000000000022", + " wal archive min/max (10-1): 00000008000000000000001E/000000080000000000000020", "", - " full backup: 20190310-121613F", - " timestamp start/stop: 2019-03-10 12:16:13 / 2019-03-10 12:16:27", - " wal start/stop: 000000080000000000000020 / 000000080000000000000020", + " full backup: 20190411-014036F", + " timestamp start/stop: 2019-04-11 01:40:36 / 2019-04-11 01:40:55", + " wal start/stop: 00000008000000000000001E / 00000008000000000000001E", " database size: 29.8MB, backup size: 29.8MB", " repository size: 3.5MB, repository backup size: 3.5MB", "", - " full backup: 20190310-121629F", - " timestamp start/stop: 2019-03-10 12:16:29 / 2019-03-10 12:16:43", - " wal start/stop: 000000080000000000000022 / 000000080000000000000022", + " full backup: 20190411-014056F", + " timestamp start/stop: 2019-04-11 01:40:56 / 2019-04-11 01:41:04", + " wal start/stop: 000000080000000000000020 / 000000080000000000000020", " database size: 29.8MB, backup size: 29.8MB", " repository size: 3.5MB, repository backup size: 3.5MB" ] @@ -3818,7 +3818,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.11/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.12/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -4223,12 +4223,12 @@ "output" : [ " [filtered 3 lines of output]", "LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"", - "LOG: database system was interrupted; last known up at 2019-03-10 12:16:30 UTC", + "LOG: database system was interrupted; last known up at 2019-04-11 01:40:57 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000022\" from archive", - "LOG: redo starts at 0/22000028", - "LOG: consistent recovery state reached at 0/220000F8", + "LOG: restored log file \"000000080000000000000020\" from archive", + "LOG: redo starts at 0/20000028", + "LOG: consistent recovery state reached at 0/200000F8", "LOG: database system is ready to accept read only connections", "LOG: incomplete startup packet" ] @@ -4311,7 +4311,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/2302A958 | 2019-03-10 12:17:22.344397+00", + " 0/2102AA18 | 2019-04-11 01:41:40.758965+00", "(1 row)" ] } @@ -4338,9 +4338,9 @@ "type" : "exe", "value" : { "output" : [ - " message | current_timestamp ", - "----------------+------------------------------", - " Important Data | 2019-03-10 12:17:27.56201+00", + " message | current_timestamp ", + "----------------+-------------------------------", + " Important Data | 2019-04-11 01:41:46.261944+00", "(1 row)" ] } @@ -4366,7 +4366,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.11: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.12: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --stanza=demo", "P00 INFO: switch wal cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -4580,9 +4580,9 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "LOG: restored log file \"000000080000000000000023\" from archive", + "LOG: restored log file \"000000080000000000000021\" from archive", "LOG: incomplete startup packet", - "LOG: started streaming WAL from primary at 0/24000000 on timeline 8" + "LOG: started streaming WAL from primary at 0/22000000 on timeline 8" ] } }, @@ -4614,7 +4614,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2019-03-10 12:17:42.903932+00", + " Important Data | 2019-04-11 01:41:59.005606+00", "(1 row)" ] } @@ -4643,7 +4643,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2019-03-10 12:17:43.488868+00", + " Important Data | 2019-04-11 01:41:59.407743+00", "(1 row)" ] } @@ -4875,8 +4875,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.11: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 000000080000000000000029 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/10-1/0000000800000000/000000080000000000000029-dbd7a9c8545e22f8df39a1b2b9b54f9748720c19.gz'", + "P00 INFO: check command begin 2.12: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 000000080000000000000027 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/10-1/0000000800000000/000000080000000000000027-72ca0d340c8cc3fb1e83442393f6194ad04fbc8c.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -4891,7 +4891,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - " WAL file\\(s\\) to archive|pushed WAL file 0000000" + " WAL file\\(s\\) to archive|pushed WAL file \\'0000000" ] }, "host" : "pg-primary", @@ -4903,20 +4903,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.11: [pg_wal/000000080000000000000024] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 2 WAL file(s) to archive: 000000080000000000000024...000000080000000000000025", - "P01 DETAIL: pushed WAL file 000000080000000000000024 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000025 to archive", - "P00 INFO: archive-push command end: completed successfully", + "P00 INFO: archive-push-async command begin 2.12: [/var/lib/postgresql/10/demo/pg_wal] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000022", + "P01 DETAIL: pushed WAL file '000000080000000000000022' to the archive", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.11: [pg_wal/000000080000000000000026] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000026...000000080000000000000029", - "P02 DETAIL: pushed WAL file 000000080000000000000027 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000026 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000028 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000029 to archive", - "P00 INFO: archive-push command end: completed successfully" + "P00 INFO: archive-push-async command begin 2.12: [/var/lib/postgresql/10/demo/pg_wal] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000023...000000080000000000000026", + "P00 INFO: archive-push-async command end: completed successfully", + "P02 DETAIL: pushed WAL file '000000080000000000000024' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000023' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000025' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000026' to the archive", + "P00 INFO: archive-push-async command end: completed successfully", + "", + "-------------------PROCESS START-------------------", + "P00 INFO: archive-push-async command begin 2.12: [/var/lib/postgresql/10/demo/pg_wal] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000027", + "P01 DETAIL: pushed WAL file '000000080000000000000027' to the archive" ] } }, @@ -4955,33 +4959,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.11: [000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get-async command begin 2.12: [000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000020...000000080000000000000027", + "P01 DETAIL: found 000000080000000000000020 in the archive", + "P02 DETAIL: found 000000080000000000000021 in the archive", + "P01 DETAIL: unable to find 000000080000000000000022 in the archive", + "P02 DETAIL: unable to find 000000080000000000000023 in the archive", + " [filtered 33 lines of output]", + "P00 INFO: archive-get-async command begin 2.12: [000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000022...000000080000000000000029", - "P00 DETAIL: found 000000080000000000000023 in the archive", - "P00 DETAIL: unable to find 000000080000000000000024 in the archive", - "P00 DETAIL: found 000000080000000000000022 in the archive", - "P00 DETAIL: unable to find 000000080000000000000025 in the archive", - "P00 DETAIL: unable to find 000000080000000000000026 in the archive", - " [filtered 45 lines of output]", - "P00 INFO: archive-get-async command begin 2.11: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/10/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000024...00000008000000000000002B", - "P00 DETAIL: found 000000080000000000000025 in the archive", - "P00 DETAIL: found 000000080000000000000024 in the archive", - "P00 DETAIL: found 000000080000000000000027 in the archive", - "P00 DETAIL: found 000000080000000000000026 in the archive", - "P00 DETAIL: unable to find 000000080000000000000029 in the archive", - "P00 DETAIL: unable to find 00000008000000000000002A in the archive", - "P00 DETAIL: unable to find 00000008000000000000002B in the archive", - "P00 DETAIL: found 000000080000000000000028 in the archive", - "", - "-------------------PROCESS START-------------------", - " [filtered 5 lines of output]", - "P00 DETAIL: unable to find 00000008000000000000002C in the archive", - "P00 DETAIL: unable to find 00000008000000000000002D in the archive", - "P00 DETAIL: found 000000080000000000000029 in the archive", - "", - "-------------------PROCESS START-------------------", - " [filtered 24 lines of output]" + "P02 DETAIL: found 000000080000000000000023 in the archive", + "P01 DETAIL: found 000000080000000000000022 in the archive", + "P01 DETAIL: found 000000080000000000000025 in the archive", + "P02 DETAIL: found 000000080000000000000024 in the archive", + "P01 DETAIL: found 000000080000000000000026 in the archive", + "P02 DETAIL: found 000000080000000000000027 in the archive", + "P01 DETAIL: unable to find 000000080000000000000028 in the archive", + "P02 DETAIL: unable to find 000000080000000000000029 in the archive", + " [filtered 23 lines of output]" ] } }, @@ -5063,14 +5058,14 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:18:07\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000008000000000000002B, lsn = 0/2B000028", - "P00 INFO: wait for replay on the standby to reach 0/2B000028", - "P00 INFO: replay on the standby reached 0/2B0000D0, checkpoint 0/2B000060", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/global/pg_control (8KB, 0%) checksum 6faf2545f769bd65fb89293f8c3f8673bb60e78a", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:42:16\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000080000000000000029, lsn = 0/29000028", + "P00 INFO: wait for replay on the standby to reach 0/29000028", + "P00 INFO: replay on the standby reached 0/290000D0, checkpoint 0/29000060", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/global/pg_control (8KB, 0%) checksum 95ed333befa4e90a5b10c06069fc5600049b780e", "P01 INFO: backup file pg-primary:/var/lib/postgresql/10/demo/pg_logical/replorigin_checkpoint (8B, 0%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2608 (440KB, 19%) checksum 729d02a898cc893fbee91feaa4d43831ac30a5af", - "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2673 (320KB, 33%) checksum 7ba44db585de5f0a74b287a59ed4361ece8ab457", + "P04 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2674 (376KB, 16%) checksum 5748ce9c4cc2a2763e094453b6bcfbc3398c5b4c", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/10/demo/base/12978/2608 (440KB, 35%) checksum 06f3b8bd8e8c42a4a2ac1af59c122eb6d7874fb7", " [filtered 39 lines of output]" ] } @@ -5347,7 +5342,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.11: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/postgresql/11/demo --pg2-path=/var/lib/postgresql/11/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.12: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/postgresql/11/demo --pg2-path=/var/lib/postgresql/11/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -5586,7 +5581,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.11" + "sudo mkdir /root/pgbackrest-release-2.12" ], "host" : "build", "load-env" : true, @@ -5599,7 +5594,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.11" + "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.12" ], "host" : "build", "load-env" : true, @@ -5612,7 +5607,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.11" + "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.12" ], "host" : "build", "load-env" : true, @@ -5658,7 +5653,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.11/src" + "sudo make -s -C /root/pgbackrest-release-2.12/src" ], "host" : "build", "load-env" : true, @@ -5698,7 +5693,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.11/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.12/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -5841,7 +5836,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.11 - General help", + "pgBackRest 2.12 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -5985,7 +5980,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.11 - 'backup' command - 'log-path' option help", + "pgBackRest 2.12 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -6223,7 +6218,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.11: --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.12: --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" ] } @@ -6249,8 +6244,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.11: --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-c8b8c59ee68128ff62cb32a9af3e6fc22deda49d.gz'", + "P00 INFO: check command begin 2.12: --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-2f5dfa3918205237c58171189b624050f3c6298b.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -6277,9 +6272,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --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.12: --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-03-10 12:00:29\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:27:17\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 851 lines of output]", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", @@ -6305,7 +6300,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-120029F" + "20190411-012717F" ] } }, @@ -6332,8 +6327,8 @@ "value" : { "output" : [ " [filtered 5 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (780B, 97%) checksum 8877cbf69c396539f8b58cf8b9f30ede64b1988d", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum f4e298fc4c9b1e15558c27d0b2dba56f1f915918", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_log/postgresql.log (887B, 97%) checksum 1f535debd8fd296af9b0efd82518810f699eba8c", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum e4ad8ef37761f1e8c54c961f579d1dbdd2096d1b", "P00 INFO: diff backup size = 8.9KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", @@ -6369,18 +6364,18 @@ " db (current)", " wal archive min/max (9.5-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20190310-120029F", - " timestamp start/stop: 2019-03-10 12:00:29 / 2019-03-10 12:00:37", + " full backup: 20190411-012717F", + " timestamp start/stop: 2019-04-11 01:27:17 / 2019-04-11 01:27:29", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190310-120029F_20190310-120038D", - " timestamp start/stop: 2019-03-10 12:00:38 / 2019-03-10 12:00:41", + " diff backup: 20190411-012717F_20190411-012730D", + " timestamp start/stop: 2019-04-11 01:27:30 / 2019-04-11 01:27:33", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 20.6MB, backup size: 9.0KB", + " database size: 20.6MB, backup size: 9KB", " repository size: 2.4MB, repository backup size: 752B", - " backup reference list: 20190310-120029F" + " backup reference list: 20190411-012717F" ] } }, @@ -6538,9 +6533,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --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 = 20190310-120029F_20190310-120038D, version = 2.11", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:00:57\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.12: --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 = 20190411-012717F_20190411-012730D, version = 2.12", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:27:52\": 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]" @@ -6599,11 +6594,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --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 = 20190310-120029F_20190310-120057I, version = 2.11", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:01:05\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.12: --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 = 20190411-012717F_20190411-012752I, version = 2.12", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:27:57\": 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, 82%) checksum 5170e087c5312701c0eda47b53ee00178d37c9a1", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 81%) checksum a5e0c9e8515e842f3f6df77c103aed4b3673060a", " [filtered 9 lines of output]" ] } @@ -6645,9 +6640,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:01:11\": 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/20190310-120029F_20190310-120111I': Permission denied", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:28:02\": 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/20190411-012717F_20190411-012802I': Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -6688,12 +6683,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --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 = 20190310-120029F_20190310-120105I, version = 2.11", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:01:14\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.12: --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 = 20190411-012717F_20190411-012757I, version = 2.12", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:28:04\": 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-03-10 12:01:14', 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-04-11 01:28:04', true) as lsn" ] } }, @@ -6750,13 +6745,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --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 = 20190310-120029F_20190310-120105I, version = 2.11", + "P00 INFO: backup command begin 2.12: --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 = 20190411-012717F_20190411-012757I, version = 2.12", "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-03-10 12:01:16\": 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, 76%) checksum fceb2e3f0602ea53e9bf0598e76f66741dded6ef", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:28:06\": 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, 76%) checksum 04c5a710cc08fccef34f2eecd8afd4a18b902fb7", " [filtered 9 lines of output]" ] } @@ -6783,7 +6778,7 @@ " \"id\" : 1", " },", " \"id\" : \"9.5-1\",", - " \"max\" : \"000000020000000000000008\",", + " \"max\" : \"000000020000000000000009\",", " \"min\" : \"000000010000000000000002\"", " }", " ],", @@ -6795,25 +6790,25 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 21550849,", + " \"delta\" : 21550916,", " \"repository\" : {", - " \"delta\" : 2531072,", - " \"size\" : 2531072", + " \"delta\" : 2530992,", + " \"size\" : 2530992", " },", - " \"size\" : 21550849", + " \"size\" : 21550916", " },", - " \"label\" : \"20190310-120029F\",", + " \"label\" : \"20190411-012717F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1552219229,", - " \"stop\" : 1552219237", + " \"start\" : 1554946037,", + " \"stop\" : 1554946049", " },", " \"type\" : \"full\"", " },", @@ -6824,27 +6819,27 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 9208,", + " \"delta\" : 9315,", " \"repository\" : {", " \"delta\" : 752,", - " \"size\" : 2531072", + " \"size\" : 2530992", " },", - " \"size\" : 21550956", + " \"size\" : 21551130", " },", - " \"label\" : \"20190310-120029F_20190310-120038D\",", - " \"prior\" : \"20190310-120029F\",", + " \"label\" : \"20190411-012717F_20190411-012730D\",", + " \"prior\" : \"20190411-012717F\",", " \"reference\" : [", - " \"20190310-120029F\"", + " \"20190411-012717F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552219238,", - " \"stop\" : 1552219241", + " \"start\" : 1554946050,", + " \"stop\" : 1554946053", " },", " \"type\" : \"diff\"", " },", @@ -6855,7 +6850,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -6864,18 +6859,18 @@ " \"delta\" : 9990,", " \"repository\" : {", " \"delta\" : 896,", - " \"size\" : 2531216", + " \"size\" : 2531136", " },", - " \"size\" : 21551738", + " \"size\" : 21551805", " },", - " \"label\" : \"20190310-120029F_20190310-120057I\",", - " \"prior\" : \"20190310-120029F_20190310-120038D\",", + " \"label\" : \"20190411-012717F_20190411-012752I\",", + " \"prior\" : \"20190411-012717F_20190411-012730D\",", " \"reference\" : [", - " \"20190310-120029F\"", + " \"20190411-012717F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552219257,", - " \"stop\" : 1552219264", + " \"start\" : 1554946072,", + " \"stop\" : 1554946076", " },", " \"type\" : \"incr\"", " },", @@ -6886,7 +6881,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -6895,29 +6890,29 @@ " \"delta\" : 10097,", " \"repository\" : {", " \"delta\" : 896,", - " \"size\" : 2531216", + " \"size\" : 2531136", " },", - " \"size\" : 21551845", + " \"size\" : 21551912", " },", - " \"label\" : \"20190310-120029F_20190310-120105I\",", - " \"prior\" : \"20190310-120029F_20190310-120057I\",", + " \"label\" : \"20190411-012717F_20190411-012757I\",", + " \"prior\" : \"20190411-012717F_20190411-012752I\",", " \"reference\" : [", - " \"20190310-120029F\"", + " \"20190411-012717F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552219265,", - " \"stop\" : 1552219270", + " \"start\" : 1554946077,", + " \"stop\" : 1554946081", " },", " \"type\" : \"incr\"", " },", " {", " \"archive\" : {", - " \"start\" : \"000000020000000000000008\",", - " \"stop\" : \"000000020000000000000008\"", + " \"start\" : \"000000020000000000000009\",", + " \"stop\" : \"000000020000000000000009\"", " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -6926,18 +6921,18 @@ " \"delta\" : 10736,", " \"repository\" : {", " \"delta\" : 1104,", - " \"size\" : 2531424", + " \"size\" : 2531344", " },", - " \"size\" : 21552484", + " \"size\" : 21552551", " },", - " \"label\" : \"20190310-120029F_20190310-120116I\",", - " \"prior\" : \"20190310-120029F_20190310-120105I\",", + " \"label\" : \"20190411-012717F_20190411-012806I\",", + " \"prior\" : \"20190411-012717F_20190411-012757I\",", " \"reference\" : [", - " \"20190310-120029F\"", + " \"20190411-012717F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552219276,", - " \"stop\" : 1552219282", + " \"start\" : 1554946086,", + " \"stop\" : 1554946091", " },", " \"type\" : \"incr\"", " }", @@ -6946,7 +6941,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6666730698176532751,", + " \"system-id\" : 6678442299641348353,", " \"version\" : \"9.5\"", " }", " ],", @@ -7101,7 +7096,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-03-10 12:01:22+00 | 000000020000000000000008", + " \"demo\" | 2019-04-11 01:28:11+00 | 000000020000000000000009", "(1 row)" ] } @@ -7148,7 +7143,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190310-120029F|remove archive" + "archive retention on backup 20190411-012717F|remove archive" ] }, "host" : "pg-primary", @@ -7162,7 +7157,7 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190310-120029F, archiveId = 9.5-1, start = 000000010000000000000002", + "P00 DETAIL: archive retention on backup 20190411-012717F, archiveId = 9.5-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.5-1", "P00 INFO: expire command end: completed successfully" ] @@ -7182,7 +7177,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-120126F" + "20190411-012814F" ] } }, @@ -7197,7 +7192,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190310-120029F|archive retention on backup 20190310-120126F|remove archive" + "expire full backup set\\: 20190411-012717F|archive retention on backup 20190411-012814F|remove archive" ] }, "host" : "pg-primary", @@ -7211,9 +7206,9 @@ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190310-120029F, 20190310-120029F_20190310-120038D, 20190310-120029F_20190310-120057I, 20190310-120029F_20190310-120105I, 20190310-120029F_20190310-120116I", - "P00 INFO: remove expired backup 20190310-120029F_20190310-120116I", - "P00 INFO: remove expired backup 20190310-120029F_20190310-120105I", + "P00 INFO: expire full backup set: 20190411-012717F, 20190411-012717F_20190411-012730D, 20190411-012717F_20190411-012752I, 20190411-012717F_20190411-012757I, 20190411-012717F_20190411-012806I", + "P00 INFO: remove expired backup 20190411-012717F_20190411-012806I", + "P00 INFO: remove expired backup 20190411-012717F_20190411-012757I", " [filtered 3 lines of output]" ] } @@ -7277,7 +7272,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-120137F_20190310-120148D" + "20190411-012828F_20190411-012843D" ] } }, @@ -7305,7 +7300,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190310-120137F_20190310-120148D" + "expire diff backup set: 20190411-012828F_20190411-012843D" ] }, "host" : "pg-primary", @@ -7319,9 +7314,9 @@ " [filtered 12 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190310-120137F_20190310-120148D, 20190310-120137F_20190310-120153I", - "P00 INFO: remove expired backup 20190310-120137F_20190310-120153I", - "P00 INFO: remove expired backup 20190310-120137F_20190310-120148D" + "P00 INFO: expire diff backup set: 20190411-012828F_20190411-012843D, 20190411-012828F_20190411-012848I", + "P00 INFO: remove expired backup 20190411-012828F_20190411-012848I", + "P00 INFO: remove expired backup 20190411-012828F_20190411-012843D" ] } }, @@ -7371,7 +7366,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-120137F_20190310-120158D" + "20190411-012828F_20190411-012852D" ] } }, @@ -7414,8 +7409,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 = 000000020000000000000012, lsn = 0/12000130", - "P00 INFO: new backup label = 20190310-120137F_20190310-120205D", + "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/130000F8", + "P00 INFO: new backup label = 20190411-012828F_20190411-012857D", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin" ] @@ -7435,7 +7430,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-120137F_20190310-120205D" + "20190411-012828F_20190411-012857D" ] } }, @@ -7450,7 +7445,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190310-120137F_20190310-120158D|remove archive" + "archive retention on backup 20190411-012828F_20190411-012852D|remove archive" ] }, "host" : "pg-primary", @@ -7461,13 +7456,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.11: --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 20190310-120126F, archiveId = 9.5-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", - "P00 DETAIL: archive retention on backup 20190310-120137F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", - "P00 DETAIL: archive retention on backup 20190310-120137F_20190310-120158D, archiveId = 9.5-1, start = 00000002000000000000000F, stop = 00000002000000000000000F", - "P00 DETAIL: archive retention on backup 20190310-120137F_20190310-120205D, archiveId = 9.5-1, start = 000000020000000000000012", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000E", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000011", + "P00 INFO: expire command begin 2.12: --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 20190411-012814F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 DETAIL: archive retention on backup 20190411-012828F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190411-012828F_20190411-012852D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", + "P00 DETAIL: archive retention on backup 20190411-012828F_20190411-012857D, 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" ] } @@ -7890,7 +7885,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-03-10 12:02:57.164371+00" + "2019-04-11 01:29:43.154405+00" ] } }, @@ -7943,7 +7938,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-03-10 12:02:57.164371+00\" \\", + " --type=time \"--target=2019-04-11 01:29:43.154405+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -7988,7 +7983,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-03-10 12:02:57.164371+00'", + "recovery_target_time = '2019-04-11 01:29:43.154405+00'", "recovery_target_action = 'promote'" ] } @@ -8068,16 +8063,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-03-10 12:02:49 UTC", - "LOG: starting point-in-time recovery to 2019-03-10 12:02:57.164371+00", + "LOG: database system was interrupted; last known up at 2019-04-11 01:29:35 UTC", + "LOG: starting point-in-time recovery to 2019-04-11 01:29:43.154405+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000017\" from archive", - "LOG: redo starts at 0/17000028", - "LOG: consistent recovery state reached at 0/170000F8", "LOG: restored log file \"000000040000000000000018\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-03-10 12:02:57.617045+00", - "LOG: redo done at 0/1801C9E8", - "LOG: last completed transaction was at log time 2019-03-10 12:02:56.766223+00", + "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-04-11 01:29:43.39997+00", + "LOG: redo done at 0/1901C080", + "LOG: last completed transaction was at log time 2019-04-11 01:29:42.898319+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 4 lines of output]" @@ -8129,7 +8124,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-120137F_20190310-120248D" + "20190411-012828F_20190411-012934D" ] } }, @@ -8164,7 +8159,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-03-10 12:02:57.164371+00\" --target-action=promote restore" + " --type=time \"--target=2019-04-11 01:29:43.154405+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8261,14 +8256,14 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-03-10 12:03:12 UTC", - "LOG: starting point-in-time recovery to 2019-03-10 12:02:57.164371+00", + "LOG: database system was interrupted; last known up at 2019-04-11 01:29:54 UTC", + "LOG: starting point-in-time recovery to 2019-04-11 01:29:43.154405+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"000000050000000000000019\" from archive", - "LOG: redo starts at 0/19000028", - "LOG: consistent recovery state reached at 0/190000F8", - "LOG: redo done at 0/190000F8", - "LOG: restored log file \"000000050000000000000019\" from archive", + "LOG: restored log file \"00000005000000000000001A\" from archive", + "LOG: redo starts at 0/1A000028", + "LOG: consistent recovery state reached at 0/1A0000F8", + "LOG: redo done at 0/1A0000F8", + "LOG: restored log file \"00000005000000000000001A\" from archive", " [filtered 8 lines of output]" ] } @@ -8283,7 +8278,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190310-120137F_20190310-120248D" + "20190411-012828F_20190411-012934D" ] }, "host" : "pg-primary", @@ -8299,47 +8294,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.5-1): 00000002000000000000000A/000000050000000000000019", + " wal archive min/max (9.5-1): 00000002000000000000000B/00000005000000000000001A", "", - " full backup: 20190310-120126F", - " timestamp start/stop: 2019-03-10 12:01:26 / 2019-03-10 12:01:36", - " wal start/stop: 00000002000000000000000A / 00000002000000000000000A", - " database size: 20.6MB, backup size: 20.6MB", - " repository size: 2.4MB, repository backup size: 2.4MB", - "", - " full backup: 20190310-120137F", - " timestamp start/stop: 2019-03-10 12:01:37 / 2019-03-10 12:01:46", + " full backup: 20190411-012814F", + " timestamp start/stop: 2019-04-11 01:28:14 / 2019-04-11 01:28:28", " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", " database size: 20.6MB, backup size: 20.6MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20190310-120137F_20190310-120205D", - " timestamp start/stop: 2019-03-10 12:02:05 / 2019-03-10 12:02:10", - " wal start/stop: 000000020000000000000012 / 000000020000000000000012", - " database size: 20.6MB, backup size: 116.0KB", - " repository size: 2.4MB, repository backup size: 12.7KB", - " backup reference list: 20190310-120137F", + " full backup: 20190411-012828F", + " timestamp start/stop: 2019-04-11 01:28:28 / 2019-04-11 01:28:42", + " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", + " database size: 20.6MB, backup size: 20.6MB", + " repository size: 2.4MB, repository backup size: 2.4MB", "", - " incr backup: 20190310-120137F_20190310-120223I", - " timestamp start/stop: 2019-03-10 12:02:23 / 2019-03-10 12:02:33", - " wal start/stop: 000000030000000000000014 / 000000030000000000000014", + " diff backup: 20190411-012828F_20190411-012857D", + " timestamp start/stop: 2019-04-11 01:28:57 / 2019-04-11 01:29:01", + " wal start/stop: 000000020000000000000013 / 000000020000000000000013", + " database size: 20.6MB, backup size: 116.0KB", + " repository size: 2.4MB, repository backup size: 12.6KB", + " backup reference list: 20190411-012828F", + "", + " incr backup: 20190411-012828F_20190411-012911I", + " timestamp start/stop: 2019-04-11 01:29:11 / 2019-04-11 01:29:22", + " wal start/stop: 000000030000000000000015 / 000000030000000000000015", " database size: 33.9MB, backup size: 13.4MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20190310-120137F, 20190310-120137F_20190310-120205D", + " backup reference list: 20190411-012828F, 20190411-012828F_20190411-012857D", "", - " diff backup: 20190310-120137F_20190310-120248D", - " timestamp start/stop: 2019-03-10 12:02:48 / 2019-03-10 12:02:56", - " wal start/stop: 000000040000000000000017 / 000000040000000000000017", + " diff backup: 20190411-012828F_20190411-012934D", + " timestamp start/stop: 2019-04-11 01:29:34 / 2019-04-11 01:29:42", + " wal start/stop: 000000040000000000000018 / 000000040000000000000018", " database size: 27.3MB, backup size: 6.9MB", - " repository size: 3.2MB, repository backup size: 831.8KB", - " backup reference list: 20190310-120137F", + " repository size: 3.2MB, repository backup size: 831.7KB", + " backup reference list: 20190411-012828F", "", - " incr backup: 20190310-120137F_20190310-120311I", - " timestamp start/stop: 2019-03-10 12:03:11 / 2019-03-10 12:03:18", - " wal start/stop: 000000050000000000000019 / 000000050000000000000019", + " incr backup: 20190411-012828F_20190411-012953I", + " timestamp start/stop: 2019-04-11 01:29:53 / 2019-04-11 01:29:57", + " wal start/stop: 00000005000000000000001A / 00000005000000000000001A", " database size: 27.3MB, backup size: 2.0MB", - " repository size: 3.2MB, repository backup size: 210KB", - " backup reference list: 20190310-120137F, 20190310-120137F_20190310-120248D" + " repository size: 3.2MB, repository backup size: 209.9KB", + " backup reference list: 20190411-012828F, 20190411-012828F_20190411-012934D" ] } }, @@ -8361,8 +8356,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-03-10 12:02:57.164371+00\" \\", - " --set=20190310-120137F_20190310-120248D --target-action=promote restore" + " --type=time \"--target=2019-04-11 01:29:43.154405+00\" \\", + " --set=20190411-012828F_20190411-012934D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8459,16 +8454,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-03-10 12:02:49 UTC", - "LOG: starting point-in-time recovery to 2019-03-10 12:02:57.164371+00", + "LOG: database system was interrupted; last known up at 2019-04-11 01:29:35 UTC", + "LOG: starting point-in-time recovery to 2019-04-11 01:29:43.154405+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000017\" from archive", - "LOG: redo starts at 0/17000028", - "LOG: consistent recovery state reached at 0/170000F8", "LOG: restored log file \"000000040000000000000018\" from archive", - "LOG: recovery stopping before commit of transaction 630, time 2019-03-10 12:02:57.617045+00", - "LOG: redo done at 0/1801C9E8", - "LOG: last completed transaction was at log time 2019-03-10 12:02:56.766223+00", + "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-04-11 01:29:43.39997+00", + "LOG: redo done at 0/1901C080", + "LOG: last completed transaction was at log time 2019-04-11 01:29:42.898319+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 6 lines of output]" @@ -8630,7 +8625,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.11: --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.12: --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" ] } @@ -8657,16 +8652,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --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.12: --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-03-10 12:03:53\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000070000000000000019, lsn = 0/19000028", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:30:22\": 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%)", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)", + "P03 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)", "P00 INFO: full backup size = 27.2MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000070000000000000019, lsn = 0/19000130", + "P00 INFO: backup stop archive = 00000007000000000000001A, lsn = 0/1A000130", " [filtered 4 lines of output]" ] } @@ -8705,7 +8700,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.11: --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.12: --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" ] } @@ -8731,7 +8726,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.11: --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.12: --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" ] } @@ -8793,7 +8788,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.11/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.12/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -9380,14 +9375,14 @@ " db (current)", " wal archive min/max (9.5-1): 000000080000000000000021/000000080000000000000022", "", - " full backup: 20190310-120541F", - " timestamp start/stop: 2019-03-10 12:05:41 / 2019-03-10 12:05:54", + " full backup: 20190411-013158F", + " timestamp start/stop: 2019-04-11 01:31:58 / 2019-04-11 01:32:13", " wal start/stop: 000000080000000000000021 / 000000080000000000000021", " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB", "", - " full backup: 20190310-120556F", - " timestamp start/stop: 2019-03-10 12:05:56 / 2019-03-10 12:06:11", + " full backup: 20190411-013214F", + " timestamp start/stop: 2019-04-11 01:32:14 / 2019-04-11 01:32:23", " wal start/stop: 000000080000000000000022 / 000000080000000000000022", " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.2MB, repository backup size: 3.2MB" @@ -9534,7 +9529,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.11/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.12/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -9938,7 +9933,7 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-03-10 12:05:57 UTC", + "LOG: database system was interrupted; last known up at 2019-04-11 01:32:15 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", "LOG: restored log file \"000000080000000000000022\" from archive", @@ -10023,9 +10018,9 @@ "type" : "exe", "value" : { "output" : [ - " pg_switch_xlog | now ", - "----------------+------------------------------", - " 0/230203E0 | 2019-03-10 12:06:48.79124+00", + " pg_switch_xlog | now ", + "----------------+-------------------------------", + " 0/2301FA98 | 2019-04-11 01:33:05.901418+00", "(1 row)" ] } @@ -10054,7 +10049,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-03-10 12:06:55.038606+00", + " Important Data | 2019-04-11 01:33:07.301692+00", "(1 row)" ] } @@ -10080,7 +10075,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.11: --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.12: --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" ] @@ -10351,7 +10346,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-03-10 12:07:12.072164+00", + " Important Data | 2019-04-11 01:33:21.211772+00", "(1 row)" ] } @@ -10380,7 +10375,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-03-10 12:07:12.618665+00", + " Important Data | 2019-04-11 01:33:21.615773+00", "(1 row)" ] } @@ -10612,8 +10607,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.11: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 000000080000000000000029 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/000000080000000000000029-2eed72775e8ccd13dfa8bd68b664d0aeee6f1905.gz'", + "P00 INFO: check command begin 2.12: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 000000080000000000000029 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/000000080000000000000029-b11bff2691e7c18513acd01efdc217a4cd1ba945.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -10628,7 +10623,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - " WAL file\\(s\\) to archive|pushed WAL file 0000000" + " WAL file\\(s\\) to archive|pushed WAL file \\'0000000" ] }, "host" : "pg-primary", @@ -10640,25 +10635,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.11: [pg_xlog/000000080000000000000024] --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: 000000080000000000000024...000000080000000000000025", - "P01 DETAIL: pushed WAL file 000000080000000000000024 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000025 to archive", - "P00 INFO: archive-push command end: completed successfully", + "P00 INFO: archive-push-async command begin 2.12: [/var/lib/pgsql/9.5/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000024", + "P01 DETAIL: pushed WAL file '000000080000000000000024' to the archive", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.11: [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 3 WAL file(s) to archive: 000000080000000000000026...000000080000000000000028", - "P01 DETAIL: pushed WAL file 000000080000000000000026 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", + "P00 INFO: archive-push-async command begin 2.12: [/var/lib/pgsql/9.5/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000025...000000080000000000000028", + "P00 INFO: archive-push-async command end: completed successfully", + "P01 DETAIL: pushed WAL file '000000080000000000000025' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000026' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000027' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000028' to the archive", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.11: [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: archive-push-async command begin 2.12: [/var/lib/pgsql/9.5/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000029", - "P01 DETAIL: pushed WAL file 000000080000000000000029 to archive", - "P00 INFO: archive-push command end: completed successfully" + "P00 INFO: archive-push-async command end: completed successfully", + "P01 DETAIL: pushed WAL file '000000080000000000000029' to the archive" ] } }, @@ -10697,30 +10691,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.11: [000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get-async command begin 2.12: [000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000022...000000080000000000000029", - "P00 DETAIL: found 000000080000000000000023 in the archive", - "P00 DETAIL: found 000000080000000000000022 in the archive", - "P00 DETAIL: unable to find 000000080000000000000024 in the archive", - "P00 DETAIL: unable to find 000000080000000000000025 in the archive", + "P01 DETAIL: found 000000080000000000000022 in the archive", + "P02 DETAIL: found 000000080000000000000023 in the archive", + "P01 DETAIL: unable to find 000000080000000000000024 in the archive", + "P02 DETAIL: unable to find 000000080000000000000025 in the archive", " [filtered 33 lines of output]", - "P00 INFO: archive-get-async command begin 2.11: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get-async command begin 2.12: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000024...00000008000000000000002B", - "P00 DETAIL: found 000000080000000000000025 in the archive", - "P00 DETAIL: found 000000080000000000000024 in the archive", - "P00 DETAIL: unable to find 000000080000000000000026 in the archive", - "P00 DETAIL: unable to find 000000080000000000000027 in the archive", - " [filtered 20 lines of output]", - "P00 INFO: archive-get-async command begin 2.11: [000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D] --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", - "P00 DETAIL: found 000000080000000000000026 in the archive", - "P00 DETAIL: found 000000080000000000000027 in the archive", - "P00 DETAIL: found 000000080000000000000028 in the archive", - "P00 DETAIL: unable to find 00000008000000000000002A in the archive", - "P00 DETAIL: found 000000080000000000000029 in the archive", - "P00 DETAIL: unable to find 00000008000000000000002B in the archive", - "P00 DETAIL: unable to find 00000008000000000000002C in the archive", - " [filtered 13 lines of output]" + "P01 DETAIL: found 000000080000000000000024 in the archive", + "P02 DETAIL: found 000000080000000000000025 in the archive", + "P01 DETAIL: found 000000080000000000000026 in the archive", + "P02 DETAIL: found 000000080000000000000027 in the archive", + "P01 DETAIL: found 000000080000000000000028 in the archive", + "P02 DETAIL: found 000000080000000000000029 in the archive", + "P02 DETAIL: unable to find 00000008000000000000002B in the archive", + "P01 DETAIL: unable to find 00000008000000000000002A in the archive", + " [filtered 9 lines of output]" ] } }, @@ -10802,17 +10790,20 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 12:07:35\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:33:38\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000008000000000000002B, lsn = 0/2B000028", "P00 INFO: wait for replay on the standby to reach 0/2B000028", - "P00 INFO: replay on the standby reached 0/2B000350", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (8.4KB, 0%) checksum 574ac960c170638131f2061feaf3182824effcbd", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum 1934d65fd57fcf02284a64b9f3dfdc3ed2617165", - "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 fd32b9d1f0202ff9876424cbcfe799bca70a1c7e", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 17%) checksum 9c51ce0678240a3e0ce6bbd2cb5ce411078022fb", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (352KB, 33%) checksum d4620f9b388821fe7710ced68f578eeb1a452c57", - " [filtered 36 lines of output]" + "P00 INFO: replay on the standby reached 0/2B0000D0", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum cb4407cd6e1de60dcaca6cf25bf77a15b71fd374", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (7.6KB, 0%) checksum b2f5f9a101fa0678393858ba88a89f5c471ad1ef", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 20%) checksum ad7d02db2454d921a5e4a678665d191d8200051b", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 37%) checksum 26efc477b494df95f73247f928de9e68692557d0", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (352KB, 53%) checksum 0cfa5b1a311bc578f00a7ba3ad5c0530e117beaf", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 53%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 53%) checksum c202e06175da8498b60e1de7b43e936521f49309", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2673 (320KB, 68%) checksum 6b1b857333398005d61ecf647ccc17148eb29645", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2658 (112KB, 74%) checksum d6de0eb1e6f52d11e30c7b1895a2d39cfaf32214", + " [filtered 33 lines of output]" ] } }, @@ -11075,7 +11066,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.11: --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.12: --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" ] } @@ -11112,7 +11103,7 @@ "type" : "exe", "value" : { "output" : [ - "postgresql-9.6 (pid 4785) is running..." + "postgresql-9.6 (pid 4842) is running..." ] } }, @@ -11317,7 +11308,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.11" + "sudo mkdir /root/pgbackrest-release-2.12" ], "host" : "build", "load-env" : true, @@ -11330,7 +11321,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.11" + "sudo cp -r /pgbackrest/libc /root/pgbackrest-release-2.12" ], "host" : "build", "load-env" : true, @@ -11343,7 +11334,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.11" + "sudo cp -r /pgbackrest/src /root/pgbackrest-release-2.12" ], "host" : "build", "load-env" : true, @@ -11389,7 +11380,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo make -s -C /root/pgbackrest-release-2.11/src" + "sudo make -s -C /root/pgbackrest-release-2.12/src" ], "host" : "build", "load-env" : true, @@ -11429,7 +11420,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.11/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.12/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -11571,7 +11562,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.11 - General help", + "pgBackRest 2.12 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -11715,7 +11706,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.11 - 'backup' command - 'log-path' option help", + "pgBackRest 2.12 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -11953,7 +11944,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -11979,8 +11970,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.6-1/0000000100000000/000000010000000000000001-248f7485709bfd5d2ea41f473a50974380360f41.gz'", + "P00 INFO: check command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.6-1/0000000100000000/000000010000000000000001-5e51f49953a842c5471511fd60941f468e201eaa.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -12007,9 +11998,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 11:51:08\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:19:04\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 864 lines of output]", "P01 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12312 (0B, 100%)", @@ -12035,7 +12026,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-115108F" + "20190411-011904F" ] } }, @@ -12063,7 +12054,7 @@ "output" : [ " [filtered 3 lines of output]", "P00 INFO: backup start archive = 000000010000000000000003, lsn = 0/3000028", - "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum abc92ddf422fa1c77eb5000c1e4904a8284d667e", + "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum 3698081a2e0dc3830d6dcc300144731e7b5ea325", "P00 INFO: diff backup size = 8KB", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F8", @@ -12099,18 +12090,18 @@ " db (current)", " wal archive min/max (9.6-1): 000000010000000000000002/000000010000000000000003", "", - " full backup: 20190310-115108F", - " timestamp start/stop: 2019-03-10 11:51:08 / 2019-03-10 11:51:17", + " full backup: 20190411-011904F", + " timestamp start/stop: 2019-04-11 01:19:04 / 2019-04-11 01:19:17", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", - " database size: 20.9MB, backup size: 20.9MB", + " database size: 21.0MB, backup size: 21.0MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " diff backup: 20190310-115108F_20190310-115118D", - " timestamp start/stop: 2019-03-10 11:51:18 / 2019-03-10 11:51:22", + " diff backup: 20190411-011904F_20190411-011918D", + " timestamp start/stop: 2019-04-11 01:19:18 / 2019-04-11 01:19:21", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", - " database size: 20.9MB, backup size: 8.2KB", + " database size: 21.0MB, backup size: 8.2KB", " repository size: 2.5MB, repository backup size: 421B", - " backup reference list: 20190310-115108F" + " backup reference list: 20190411-011904F" ] } }, @@ -12176,13 +12167,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 7 lines of output]", - "", - "Mar 10 11:51:23 pg-primary systemd[1]: Starting PostgreSQL 9.6 database server...", - "Mar 10 11:51:23 pg-primary postmaster[837]: postmaster: could not find the database system", - "Mar 10 11:51:23 pg-primary postmaster[837]: Expected to find it in the directory \"/var/lib/pgsql/9.6/data\",", - "Mar 10 11:51:23 pg-primary postmaster[837]: but could not open file \"/var/lib/pgsql/9.6/data/global/pg_control\": No such file or directory", - " [filtered 3 lines of output]" + " [filtered 12 lines of output]" ] } }, @@ -12260,9 +12245,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20190310-115108F_20190310-115118D, version = 2.11", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 11:51:32\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20190411-011904F_20190411-011918D, version = 2.12", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:19:36\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000005, lsn = 0/5000028", "P00 WARN: a timeline switch has occurred since the last backup, enabling delta checksum", " [filtered 9 lines of output]" @@ -12321,11 +12306,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20190310-115108F_20190310-115132I, version = 2.11", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 11:51:39\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20190411-011904F_20190411-011936I, version = 2.12", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:19:41\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", - "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum f530fce45839ee06877ea12e544c71bc5c6950f2", + "P01 INFO: backup file /var/lib/pgsql/9.6/data/global/pg_control (8KB, 100%) checksum 7307995a020b7d9be31acb7eae7b61b5a498f3ab", " [filtered 7 lines of output]" ] } @@ -12364,25 +12349,25 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", " },", " \"info\" : {", - " \"delta\" : 21952944,", + " \"delta\" : 22002096,", " \"repository\" : {", - " \"delta\" : 2581285,", - " \"size\" : 2581285", + " \"delta\" : 2582357,", + " \"size\" : 2582357", " },", - " \"size\" : 21952944", + " \"size\" : 22002096", " },", - " \"label\" : \"20190310-115108F\",", + " \"label\" : \"20190411-011904F\",", " \"prior\" : null,", " \"reference\" : null,", " \"timestamp\" : {", - " \"start\" : 1552218668,", - " \"stop\" : 1552218677", + " \"start\" : 1554945544,", + " \"stop\" : 1554945557", " },", " \"type\" : \"full\"", " },", @@ -12393,7 +12378,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12402,18 +12387,18 @@ " \"delta\" : 8421,", " \"repository\" : {", " \"delta\" : 421,", - " \"size\" : 2581269", + " \"size\" : 2582357", " },", - " \"size\" : 21952944", + " \"size\" : 22002096", " },", - " \"label\" : \"20190310-115108F_20190310-115118D\",", - " \"prior\" : \"20190310-115108F\",", + " \"label\" : \"20190411-011904F_20190411-011918D\",", + " \"prior\" : \"20190411-011904F\",", " \"reference\" : [", - " \"20190310-115108F\"", + " \"20190411-011904F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552218678,", - " \"stop\" : 1552218682", + " \"start\" : 1554945558,", + " \"stop\" : 1554945561", " },", " \"type\" : \"diff\"", " },", @@ -12424,7 +12409,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12433,18 +12418,18 @@ " \"delta\" : 9341,", " \"repository\" : {", " \"delta\" : 837,", - " \"size\" : 2581413", + " \"size\" : 2582501", " },", - " \"size\" : 21953512", + " \"size\" : 22002664", " },", - " \"label\" : \"20190310-115108F_20190310-115132I\",", - " \"prior\" : \"20190310-115108F_20190310-115118D\",", + " \"label\" : \"20190411-011904F_20190411-011936I\",", + " \"prior\" : \"20190411-011904F_20190411-011918D\",", " \"reference\" : [", - " \"20190310-115108F\"", + " \"20190411-011904F\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552218692,", - " \"stop\" : 1552218697", + " \"start\" : 1554945576,", + " \"stop\" : 1554945580", " },", " \"type\" : \"incr\"", " },", @@ -12455,7 +12440,7 @@ " },", " \"backrest\" : {", " \"format\" : 5,", - " \"version\" : \"2.11\"", + " \"version\" : \"2.12\"", " },", " \"database\" : {", " \"id\" : 1", @@ -12464,19 +12449,19 @@ " \"delta\" : 8421,", " \"repository\" : {", " \"delta\" : 421,", - " \"size\" : 2581413", + " \"size\" : 2582501", " },", - " \"size\" : 21953512", + " \"size\" : 22002664", " },", - " \"label\" : \"20190310-115108F_20190310-115139I\",", - " \"prior\" : \"20190310-115108F_20190310-115132I\",", + " \"label\" : \"20190411-011904F_20190411-011941I\",", + " \"prior\" : \"20190411-011904F_20190411-011936I\",", " \"reference\" : [", - " \"20190310-115108F\",", - " \"20190310-115108F_20190310-115132I\"", + " \"20190411-011904F\",", + " \"20190411-011904F_20190411-011936I\"", " ],", " \"timestamp\" : {", - " \"start\" : 1552218699,", - " \"stop\" : 1552218703", + " \"start\" : 1554945581,", + " \"stop\" : 1554945585", " },", " \"type\" : \"incr\"", " }", @@ -12485,7 +12470,7 @@ " \"db\" : [", " {", " \"id\" : 1,", - " \"system-id\" : 6666728292068995366,", + " \"system-id\" : 6678440192589881654,", " \"version\" : \"9.6\"", " }", " ],", @@ -12640,7 +12625,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2019-03-10 11:51:43+00 | 000000020000000000000006", + " \"demo\" | 2019-04-11 01:19:45+00 | 000000020000000000000006", "(1 row)" ] } @@ -12686,7 +12671,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190310-115108F|remove archive" + "archive retention on backup 20190411-011904F|remove archive" ] }, "host" : "pg-primary", @@ -12700,7 +12685,7 @@ " [filtered 874 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 DETAIL: archive retention on backup 20190310-115108F, archiveId = 9.6-1, start = 000000010000000000000002", + "P00 DETAIL: archive retention on backup 20190411-011904F, archiveId = 9.6-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.6-1", "P00 INFO: expire command end: completed successfully" ] @@ -12720,7 +12705,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-115146F" + "20190411-011948F" ] } }, @@ -12735,7 +12720,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20190310-115108F|archive retention on backup 20190310-115146F|remove archive" + "expire full backup set\\: 20190411-011904F|archive retention on backup 20190411-011948F|remove archive" ] }, "host" : "pg-primary", @@ -12749,9 +12734,9 @@ " [filtered 873 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire full backup set: 20190310-115108F, 20190310-115108F_20190310-115118D, 20190310-115108F_20190310-115132I, 20190310-115108F_20190310-115139I", - "P00 INFO: remove expired backup 20190310-115108F_20190310-115139I", - "P00 INFO: remove expired backup 20190310-115108F_20190310-115132I", + "P00 INFO: expire full backup set: 20190411-011904F, 20190411-011904F_20190411-011918D, 20190411-011904F_20190411-011936I, 20190411-011904F_20190411-011941I", + "P00 INFO: remove expired backup 20190411-011904F_20190411-011941I", + "P00 INFO: remove expired backup 20190411-011904F_20190411-011936I", " [filtered 2 lines of output]" ] } @@ -12814,7 +12799,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-115155F_20190310-115205D" + "20190411-012002F_20190411-012017D" ] } }, @@ -12842,7 +12827,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20190310-115155F_20190310-115205D" + "expire diff backup set: 20190411-012002F_20190411-012017D" ] }, "host" : "pg-primary", @@ -12856,9 +12841,9 @@ " [filtered 9 lines of output]", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin", - "P00 INFO: expire diff backup set: 20190310-115155F_20190310-115205D, 20190310-115155F_20190310-115211I", - "P00 INFO: remove expired backup 20190310-115155F_20190310-115211I", - "P00 INFO: remove expired backup 20190310-115155F_20190310-115205D" + "P00 INFO: expire diff backup set: 20190411-012002F_20190411-012017D, 20190411-012002F_20190411-012022I", + "P00 INFO: remove expired backup 20190411-012002F_20190411-012022I", + "P00 INFO: remove expired backup 20190411-012002F_20190411-012017D" ] } }, @@ -12907,7 +12892,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-115155F_20190310-115215D" + "20190411-012002F_20190411-012026D" ] } }, @@ -12950,8 +12935,8 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000010, lsn = 0/100000F8", - "P00 INFO: new backup label = 20190310-115155F_20190310-115222D", + "P00 INFO: backup stop archive = 00000002000000000000000F, lsn = 0/F000688", + "P00 INFO: new backup label = 20190411-012002F_20190411-012031D", "P00 INFO: backup command end: completed successfully", "P00 INFO: expire command begin" ] @@ -12971,7 +12956,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-115155F_20190310-115222D" + "20190411-012002F_20190411-012031D" ] } }, @@ -12986,7 +12971,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20190310-115155F_20190310-115215D|remove archive" + "archive retention on backup 20190411-012002F_20190411-012026D|remove archive" ] }, "host" : "pg-primary", @@ -12997,13 +12982,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.11: --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 20190310-115146F, archiveId = 9.6-1, start = 000000020000000000000008, stop = 000000020000000000000008", - "P00 DETAIL: archive retention on backup 20190310-115155F, archiveId = 9.6-1, start = 000000020000000000000009, stop = 000000020000000000000009", - "P00 DETAIL: archive retention on backup 20190310-115155F_20190310-115215D, archiveId = 9.6-1, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: archive retention on backup 20190310-115155F_20190310-115222D, archiveId = 9.6-1, start = 000000020000000000000010", - "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000A, stop = 00000002000000000000000C", - "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000E, stop = 00000002000000000000000F", + "P00 INFO: expire command begin 2.12: --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 20190411-011948F, archiveId = 9.6-1, start = 000000020000000000000008, stop = 000000020000000000000008", + "P00 DETAIL: archive retention on backup 20190411-012002F, archiveId = 9.6-1, start = 000000020000000000000009, stop = 000000020000000000000009", + "P00 DETAIL: archive retention on backup 20190411-012002F_20190411-012026D, archiveId = 9.6-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20190411-012002F_20190411-012031D, archiveId = 9.6-1, start = 00000002000000000000000F", + "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000A, stop = 00000002000000000000000B", + "P00 DETAIL: remove archive: archiveId = 9.6-1, start = 00000002000000000000000D, stop = 00000002000000000000000E", "P00 INFO: expire command end: completed successfully" ] } @@ -13043,7 +13028,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 892 lines of output]", + " [filtered 891 lines of output]", "P01 DETAIL: restore file /var/lib/pgsql/9.6/data/base/1/12307 - exists and is zero size (0B, 100%)", "P00 INFO: write /var/lib/pgsql/9.6/data/recovery.conf", "P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)", @@ -13426,7 +13411,7 @@ "type" : "exe", "value" : { "output" : [ - "2019-03-10 11:53:04.682668+00" + "2019-04-11 01:21:10.202029+00" ] } }, @@ -13479,7 +13464,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-03-10 11:53:04.682668+00\" \\", + " --type=time \"--target=2019-04-11 01:21:10.202029+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -13524,7 +13509,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2019-03-10 11:53:04.682668+00'", + "recovery_target_time = '2019-04-11 01:21:10.202029+00'", "recovery_target_action = 'promote'" ] } @@ -13604,16 +13589,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-03-10 11:52:58 UTC", - "LOG: starting point-in-time recovery to 2019-03-10 11:53:04.682668+00", + "LOG: database system was interrupted; last known up at 2019-04-11 01:21:02 UTC", + "LOG: starting point-in-time recovery to 2019-04-11 01:21:10.202029+00", "LOG: restored log file \"00000004.history\" from archive", + "LOG: restored log file \"000000040000000000000014\" from archive", + "LOG: redo starts at 0/14000028", + "LOG: consistent recovery state reached at 0/140000F8", "LOG: restored log file \"000000040000000000000015\" from archive", - "LOG: redo starts at 0/15000028", - "LOG: consistent recovery state reached at 0/150000F8", - "LOG: restored log file \"000000040000000000000016\" from archive", - "LOG: recovery stopping before commit of transaction 639, time 2019-03-10 11:53:05.026503+00", - "LOG: redo done at 0/16021028", - "LOG: last completed transaction was at log time 2019-03-10 11:53:04.345308+00", + "LOG: recovery stopping before commit of transaction 639, time 2019-04-11 01:21:10.459273+00", + "LOG: redo done at 0/15020DA0", + "LOG: last completed transaction was at log time 2019-04-11 01:21:09.9397+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 3 lines of output]" @@ -13665,7 +13650,7 @@ "type" : "exe", "value" : { "output" : [ - "20190310-115155F_20190310-115257D" + "20190411-012002F_20190411-012101D" ] } }, @@ -13700,7 +13685,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-03-10 11:53:04.682668+00\" --target-action=promote restore" + " --type=time \"--target=2019-04-11 01:21:10.202029+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -13797,14 +13782,14 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-03-10 11:53:17 UTC", - "LOG: starting point-in-time recovery to 2019-03-10 11:53:04.682668+00", + "LOG: database system was interrupted; last known up at 2019-04-11 01:21:18 UTC", + "LOG: starting point-in-time recovery to 2019-04-11 01:21:10.202029+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"000000050000000000000017\" from archive", - "LOG: redo starts at 0/17000028", - "LOG: consistent recovery state reached at 0/170000F8", - "LOG: redo done at 0/170000F8", - "LOG: restored log file \"000000050000000000000017\" from archive", + "LOG: restored log file \"000000050000000000000016\" from archive", + "LOG: redo starts at 0/16000028", + "LOG: consistent recovery state reached at 0/160000F8", + "LOG: redo done at 0/160000F8", + "LOG: restored log file \"000000050000000000000016\" from archive", " [filtered 7 lines of output]" ] } @@ -13819,7 +13804,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20190310-115155F_20190310-115257D" + "20190411-012002F_20190411-012101D" ] }, "host" : "pg-primary", @@ -13835,47 +13820,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (9.6-1): 000000020000000000000008/000000050000000000000017", + " wal archive min/max (9.6-1): 000000020000000000000008/000000050000000000000016", "", - " full backup: 20190310-115146F", - " timestamp start/stop: 2019-03-10 11:51:46 / 2019-03-10 11:51:54", + " full backup: 20190411-011948F", + " timestamp start/stop: 2019-04-11 01:19:48 / 2019-04-11 01:20:02", " wal start/stop: 000000020000000000000008 / 000000020000000000000008", - " database size: 20.9MB, backup size: 20.9MB", + " database size: 21.0MB, backup size: 21.0MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " full backup: 20190310-115155F", - " timestamp start/stop: 2019-03-10 11:51:55 / 2019-03-10 11:52:04", + " full backup: 20190411-012002F", + " timestamp start/stop: 2019-04-11 01:20:02 / 2019-04-11 01:20:16", " wal start/stop: 000000020000000000000009 / 000000020000000000000009", - " database size: 20.9MB, backup size: 20.9MB", + " database size: 21.0MB, backup size: 21.0MB", " repository size: 2.5MB, repository backup size: 2.5MB", "", - " diff backup: 20190310-115155F_20190310-115222D", - " timestamp start/stop: 2019-03-10 11:52:22 / 2019-03-10 11:52:26", - " wal start/stop: 000000020000000000000010 / 000000020000000000000010", - " database size: 20.9MB, backup size: 9.6KB", - " repository size: 2.5MB, repository backup size: 887B", - " backup reference list: 20190310-115155F", + " diff backup: 20190411-012002F_20190411-012031D", + " timestamp start/stop: 2019-04-11 01:20:31 / 2019-04-11 01:20:35", + " wal start/stop: 00000002000000000000000F / 00000002000000000000000F", + " database size: 21.0MB, backup size: 9.6KB", + " repository size: 2.5MB, repository backup size: 901B", + " backup reference list: 20190411-012002F", "", - " incr backup: 20190310-115155F_20190310-115235I", - " timestamp start/stop: 2019-03-10 11:52:35 / 2019-03-10 11:52:44", - " wal start/stop: 000000030000000000000012 / 000000030000000000000012", + " incr backup: 20190411-012002F_20190411-012042I", + " timestamp start/stop: 2019-04-11 01:20:42 / 2019-04-11 01:20:52", + " wal start/stop: 000000030000000000000011 / 000000030000000000000011", " database size: 34.6MB, backup size: 13.8MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20190310-115155F", + " backup reference list: 20190411-012002F", "", - " diff backup: 20190310-115155F_20190310-115257D", - " timestamp start/stop: 2019-03-10 11:52:57 / 2019-03-10 11:53:03", - " wal start/stop: 000000040000000000000015 / 000000040000000000000015", + " diff backup: 20190411-012002F_20190411-012101D", + " timestamp start/stop: 2019-04-11 01:21:01 / 2019-04-11 01:21:09", + " wal start/stop: 000000040000000000000014 / 000000040000000000000014", " database size: 27.8MB, backup size: 7.0MB", - " repository size: 3.3MB, repository backup size: 846.8KB", - " backup reference list: 20190310-115155F", + " repository size: 3.3MB, repository backup size: 846.3KB", + " backup reference list: 20190411-012002F", "", - " incr backup: 20190310-115155F_20190310-115315I", - " timestamp start/stop: 2019-03-10 11:53:15 / 2019-03-10 11:53:22", - " wal start/stop: 000000050000000000000017 / 000000050000000000000017", - " database size: 27.7MB, backup size: 2MB", - " repository size: 3.3MB, repository backup size: 211KB", - " backup reference list: 20190310-115155F, 20190310-115155F_20190310-115257D" + " incr backup: 20190411-012002F_20190411-012117I", + " timestamp start/stop: 2019-04-11 01:21:17 / 2019-04-11 01:21:22", + " wal start/stop: 000000050000000000000016 / 000000050000000000000016", + " database size: 27.8MB, backup size: 2MB", + " repository size: 3.3MB, repository backup size: 211.3KB", + " backup reference list: 20190411-012002F, 20190411-012002F_20190411-012101D" ] } }, @@ -13897,8 +13882,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2019-03-10 11:53:04.682668+00\" \\", - " --set=20190310-115155F_20190310-115257D --target-action=promote restore" + " --type=time \"--target=2019-04-11 01:21:10.202029+00\" \\", + " --set=20190411-012002F_20190411-012101D --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -13995,16 +13980,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-03-10 11:52:58 UTC", - "LOG: starting point-in-time recovery to 2019-03-10 11:53:04.682668+00", + "LOG: database system was interrupted; last known up at 2019-04-11 01:21:02 UTC", + "LOG: starting point-in-time recovery to 2019-04-11 01:21:10.202029+00", "LOG: restored log file \"00000004.history\" from archive", + "LOG: restored log file \"000000040000000000000014\" from archive", + "LOG: redo starts at 0/14000028", + "LOG: consistent recovery state reached at 0/140000F8", "LOG: restored log file \"000000040000000000000015\" from archive", - "LOG: redo starts at 0/15000028", - "LOG: consistent recovery state reached at 0/150000F8", - "LOG: restored log file \"000000040000000000000016\" from archive", - "LOG: recovery stopping before commit of transaction 639, time 2019-03-10 11:53:05.026503+00", - "LOG: redo done at 0/16021028", - "LOG: last completed transaction was at log time 2019-03-10 11:53:04.345308+00", + "LOG: recovery stopping before commit of transaction 639, time 2019-04-11 01:21:10.459273+00", + "LOG: redo done at 0/15020DA0", + "LOG: last completed transaction was at log time 2019-04-11 01:21:09.9397+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -14164,7 +14149,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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" ] } @@ -14191,16 +14176,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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", + "P00 INFO: backup command begin 2.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 11:53:53\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000070000000000000017, lsn = 0/17000028", + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:21:45\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000070000000000000016, lsn = 0/16000028", " [filtered 1136 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12312 (0B, 100%)", - "P03 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12307 (0B, 100%)", - "P00 INFO: full backup size = 27.7MB", + "P02 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12312 (0B, 100%)", + "P04 INFO: backup file /var/lib/pgsql/9.6/data/base/1/12307 (0B, 100%)", + "P00 INFO: full backup size = 27.8MB", "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000070000000000000017, lsn = 0/17000130", + "P00 INFO: backup stop archive = 000000070000000000000016, lsn = 0/16000130", " [filtered 4 lines of output]" ] } @@ -14239,7 +14224,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.11: --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.12: --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" ] } @@ -14265,7 +14250,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.11: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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.12: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/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" ] } @@ -14327,7 +14312,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.11/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.12/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -14911,19 +14896,19 @@ " cipher: none", "", " db (current)", - " wal archive min/max (9.6-1): 00000008000000000000001E/00000008000000000000001F", + " wal archive min/max (9.6-1): 00000008000000000000001D/00000008000000000000001E", "", - " full backup: 20190310-115531F", - " timestamp start/stop: 2019-03-10 11:55:31 / 2019-03-10 11:55:45", + " full backup: 20190411-012312F", + " timestamp start/stop: 2019-04-11 01:23:12 / 2019-04-11 01:23:30", + " wal start/stop: 00000008000000000000001D / 00000008000000000000001D", + " database size: 27.8MB, backup size: 27.8MB", + " repository size: 3.3MB, repository backup size: 3.3MB", + "", + " full backup: 20190411-012331F", + " timestamp start/stop: 2019-04-11 01:23:31 / 2019-04-11 01:23:40", " wal start/stop: 00000008000000000000001E / 00000008000000000000001E", " database size: 27.8MB, backup size: 27.8MB", - " repository size: 3.2MB, repository backup size: 3.2MB", - "", - " full backup: 20190310-115547F", - " timestamp start/stop: 2019-03-10 11:55:47 / 2019-03-10 11:56:01", - " wal start/stop: 00000008000000000000001F / 00000008000000000000001F", - " database size: 27.8MB, backup size: 27.8MB", - " repository size: 3.2MB, repository backup size: 3.2MB" + " repository size: 3.3MB, repository backup size: 3.3MB" ] } }, @@ -15067,7 +15052,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/root/pgbackrest-release-2.11/src/pgbackrest /usr/bin" + "sudo scp build:/root/pgbackrest-release-2.12/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -15470,12 +15455,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2019-03-10 11:55:48 UTC", + "LOG: database system was interrupted; last known up at 2019-04-11 01:23:32 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"00000008000000000000001F\" from archive", - "LOG: redo starts at 0/1F000028", - "LOG: consistent recovery state reached at 0/1F000130", + "LOG: restored log file \"00000008000000000000001E\" from archive", + "LOG: redo starts at 0/1E000028", + "LOG: consistent recovery state reached at 0/1E000130", "LOG: database system is ready to accept read only connections" ] } @@ -15555,9 +15540,9 @@ "type" : "exe", "value" : { "output" : [ - " pg_switch_xlog | now ", - "----------------+-------------------------------", - " 0/200225E0 | 2019-03-10 11:56:37.060136+00", + " pg_switch_xlog | now ", + "----------------+------------------------------", + " 0/1F022360 | 2019-04-11 01:24:21.13998+00", "(1 row)" ] } @@ -15584,9 +15569,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+-------------------------------", - " Important Data | 2019-03-10 11:56:39.475785+00", + " message | now ", + "----------------+------------------------------", + " Important Data | 2019-04-11 01:24:23.68834+00", "(1 row)" ] } @@ -15612,7 +15597,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.11: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.12: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --stanza=demo", "P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -15850,8 +15835,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000020\" from archive", - "LOG: started streaming WAL from primary at 0/21000000 on timeline 8" + "LOG: restored log file \"00000008000000000000001F\" from archive", + "LOG: started streaming WAL from primary at 0/20000000 on timeline 8" ] } }, @@ -15883,7 +15868,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-03-10 11:56:54.871359+00", + " Important Data | 2019-04-11 01:24:35.495799+00", "(1 row)" ] } @@ -15912,7 +15897,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2019-03-10 11:56:55.610141+00", + " Important Data | 2019-04-11 01:24:35.879669+00", "(1 row)" ] } @@ -16144,8 +16129,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.11: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 000000080000000000000026 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.6-1/0000000800000000/000000080000000000000026-6e445d13ae1a7d2040a073d720ed27e895856ded.gz'", + "P00 INFO: check command begin 2.12: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 000000080000000000000025 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.6-1/0000000800000000/000000080000000000000025-3e48e624e04dc4a7352721da24a1a88362a29ebe.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -16160,7 +16145,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - " WAL file\\(s\\) to archive|pushed WAL file 0000000" + " WAL file\\(s\\) to archive|pushed WAL file \\'0000000" ] }, "host" : "pg-primary", @@ -16172,25 +16157,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.11: [pg_xlog/000000080000000000000021] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 2 WAL file(s) to archive: 000000080000000000000021...000000080000000000000022", - "P01 DETAIL: pushed WAL file 000000080000000000000021 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000022 to archive", - "P00 INFO: archive-push command end: completed successfully", + "P00 INFO: archive-push-async command begin 2.12: [/var/lib/pgsql/9.6/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000020", + "P01 DETAIL: pushed WAL file '000000080000000000000020' to the archive", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.11: [pg_xlog/000000080000000000000023] --archive-async --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 3 WAL file(s) to archive: 000000080000000000000023...000000080000000000000025", - "P01 DETAIL: pushed WAL file 000000080000000000000023 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000024 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000025 to archive", - "P00 INFO: archive-push command end: completed successfully", + "P00 INFO: archive-push-async command begin 2.12: [/var/lib/pgsql/9.6/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000021...000000080000000000000024", + "P00 INFO: archive-push-async command end: completed successfully", + "P01 DETAIL: pushed WAL file '000000080000000000000021' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000022' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000023' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000024' to the archive", + "P00 INFO: archive-push-async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.11: [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.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000026", - "P01 DETAIL: pushed WAL file 000000080000000000000026 to archive", - "P00 INFO: archive-push command end: completed successfully" + "P00 INFO: archive-push-async command begin 2.12: [/var/lib/pgsql/9.6/data/pg_xlog] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000025", + "P01 DETAIL: pushed WAL file '000000080000000000000025' to the archive" ] } }, @@ -16229,29 +16213,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get-async command begin 2.11: [00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001F...000000080000000000000026", - "P00 DETAIL: found 00000008000000000000001F in the archive", - "P00 DETAIL: found 000000080000000000000020 in the archive", - "P00 DETAIL: unable to find 000000080000000000000021 in the archive", - "P00 DETAIL: unable to find 000000080000000000000022 in the archive", + "P00 INFO: archive-get-async command begin 2.12: [00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001E...000000080000000000000025", + "P01 DETAIL: found 00000008000000000000001E in the archive", + "P02 DETAIL: found 00000008000000000000001F in the archive", + "P01 DETAIL: unable to find 000000080000000000000020 in the archive", + "P02 DETAIL: unable to find 000000080000000000000021 in the archive", " [filtered 33 lines of output]", - "P00 INFO: archive-get-async command begin 2.11: [000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000021...000000080000000000000028", - "P00 DETAIL: found 000000080000000000000021 in the archive", - "P00 DETAIL: found 000000080000000000000022 in the archive", - "P00 DETAIL: unable to find 000000080000000000000023 in the archive", - "P00 DETAIL: unable to find 000000080000000000000024 in the archive", - " [filtered 20 lines of output]", - "P00 INFO: archive-get-async command begin 2.11: [000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000023...00000008000000000000002A", - "P00 DETAIL: found 000000080000000000000024 in the archive", - "P00 DETAIL: found 000000080000000000000023 in the archive", - "P00 DETAIL: found 000000080000000000000025 in the archive", - "P00 DETAIL: found 000000080000000000000026 in the archive", - "P00 DETAIL: unable to find 000000080000000000000027 in the archive", - "P00 DETAIL: unable to find 000000080000000000000028 in the archive", - " [filtered 14 lines of output]" + "P00 INFO: archive-get-async command begin 2.12: [000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027] --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.6/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000020...000000080000000000000027", + "P01 DETAIL: found 000000080000000000000020 in the archive", + "P02 DETAIL: found 000000080000000000000021 in the archive", + "P01 DETAIL: found 000000080000000000000022 in the archive", + "P02 DETAIL: found 000000080000000000000023 in the archive", + "P02 DETAIL: found 000000080000000000000025 in the archive", + "P01 DETAIL: found 000000080000000000000024 in the archive", + "P02 DETAIL: unable to find 000000080000000000000026 in the archive", + "P01 DETAIL: unable to find 000000080000000000000027 in the archive", + " [filtered 9 lines of output]" ] } }, @@ -16333,16 +16312,19 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-03-10 11:57:18\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000080000000000000028, lsn = 0/28000028", - "P00 INFO: wait for replay on the standby to reach 0/28000028", - "P00 INFO: replay on the standby reached 0/280003F8, checkpoint 0/28000060", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/global/pg_control (8KB, 0%) checksum 57d7932056e886239a322a972412096b289f9589", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_log/postgresql.log (5.8KB, 0%) checksum 3d22a87534692743eae26fc62f5da5b177b04bd6", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_hba.conf (4.1KB, 0%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/1249 (360KB, 17%) checksum 56d51943365c971da2496f77b25966626529ef97", - "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2674 (336KB, 32%) checksum 188f8e3b445d03a7c2fa0b70457294f9f77367e0", - " [filtered 38 lines of output]" + "P00 INFO: execute non-exclusive pg_start_backup() with label \"pgBackRest backup started at 2019-04-11 01:24:51\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000080000000000000027, lsn = 0/27000028", + "P00 INFO: wait for replay on the standby to reach 0/27000028", + "P00 INFO: replay on the standby reached 0/270000D0, checkpoint 0/27000060", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/global/pg_control (8KB, 0%) checksum 0d1236a3cb67ea15ac00c9d29d8924fd282e4c01", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/1249 (360KB, 16%) checksum ab2f434f3815b19f77a0c34ff80cd2a95b747b8a", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2608 (440KB, 36%) checksum cd7eb761d8afb9ea928208dc24de6bbbfffd2664", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_log/postgresql.log (5.3KB, 37%) checksum 7ee75bad689fee49150ef2aa5e68b7deb60d6add", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2673 (328KB, 52%) checksum 9bd2fd27ac437f6f34d768642926f8a8dab651e1", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.6/data/pg_hba.conf (4.1KB, 52%) checksum 1c0bca2f7f44d354aaaefb2c21fd1290b7379690", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2674 (336KB, 67%) checksum 5c1d131c0b7aba74a87f0251a4c7c3079482ebb4", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.6/data/base/12470/2658 (104KB, 72%) checksum 953383d4c9e565a115d6b00077f0f4bef3768611", + " [filtered 35 lines of output]" ] } }, @@ -16605,7 +16587,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.11: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/pgsql/10/data --pg2-path=/var/lib/pgsql/10/data --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.12: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-path=/var/lib/pgsql/10/data --pg2-path=/var/lib/pgsql/10/data --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -16639,20 +16621,20 @@ "output" : [ "● postgresql-10.service - PostgreSQL 10 database server", " Loaded: loaded (/usr/lib/systemd/system/postgresql-10.service; disabled; vendor preset: disabled)", - " Active: active (running) since Sun 2019-03-10 11:57:44 UTC; 366ms ago", + " Active: active (running) since Thu 2019-04-11 01:25:08 UTC; 229ms ago", " Docs: https://www.postgresql.org/docs/10/static/", - " Process: 3849 ExecStartPre=/usr/pgsql-10/bin/postgresql-10-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", - " Main PID: 3854 (postmaster)", - " CGroup: /docker/e44e3bb7e288f111985701123c38ee0151c7f3870ac3f41aa76cfb64767dac04/system.slice/postgresql-10.service", - " ├─3854 /usr/pgsql-10/bin/postmaster -D /var/lib/pgsql/10/data/", - " ├─3855 postgres: logger process ", - " ├─3857 postgres: checkpointer process ", - " ├─3858 postgres: writer process ", - " ├─3859 postgres: wal writer process ", - " ├─3860 postgres: autovacuum launcher process ", - " ├─3861 postgres: archiver process ", - " ├─3862 postgres: stats collector process ", - " └─3863 postgres: bgworker: logical replication launcher " + " Process: 3943 ExecStartPre=/usr/pgsql-10/bin/postgresql-10-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", + " Main PID: 3948 (postmaster)", + " CGroup: /docker/9503ccf81a4a2a94c3dcedb4b72e3ed1cdd9559d3fb53fb449276f6de168c709/system.slice/postgresql-10.service", + " ├─3948 /usr/pgsql-10/bin/postmaster -D /var/lib/pgsql/10/data/", + " ├─3949 postgres: logger process ", + " ├─3951 postgres: checkpointer process ", + " ├─3952 postgres: writer process ", + " ├─3953 postgres: wal writer process ", + " ├─3954 postgres: autovacuum launcher process ", + " ├─3955 postgres: archiver process ", + " ├─3956 postgres: stats collector process ", + " └─3957 postgres: bgworker: logical replication launcher " ] } }, diff --git a/doc/xml/index.xml b/doc/xml/index.xml index 95a91bfd0..32c61b6f0 100644 --- a/doc/xml/index.xml +++ b/doc/xml/index.xml @@ -128,7 +128,7 @@
S3-Compatible Object Store Support -

repositories can be located in S3-Compatible object stores to allow for virtually unlimited capacity and retention.

+

repositories can be located in S3-compatible object stores to allow for virtually unlimited capacity and retention.

diff --git a/doc/xml/release.xml b/doc/xml/release.xml index cb23333cc..7cddca53a 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -12,7 +12,7 @@ - +

IMPORTANT NOTE: The new TLS/SSL implementation forbids dots in S3 bucket names per RFC-2818. This security fix is required for compliant hostname verification.

@@ -30,7 +30,7 @@ -

Fix issue setting log-level-file=off for the archive-get command.

+

Fix issues when log-level-file=off is set for the archive-get command.

@@ -106,7 +106,7 @@ -

Logging improvements. Allow three-digits process IDs in logging. Allow process id in C logging.

+

Logging improvements. Allow three-digit process IDs in logging. Allow process id in C logging.

diff --git a/doc/xml/user-guide.xml b/doc/xml/user-guide.xml index ec00aa0d3..d6a3ac8be 100644 --- a/doc/xml/user-guide.xml +++ b/doc/xml/user-guide.xml @@ -1959,7 +1959,7 @@ S3-Compatible Object Store Support - Install packages required for S3-Compatible object store support + Install packages required for S3-compatible object store support apt-get install libio-socket-ssl-perl libxml-libxml-perl @@ -2957,7 +2957,7 @@ cat /var/log/pgbackrest/demo-archive-push-async.log - WAL file\(s\) to archive|pushed WAL file 0000000 + WAL file\(s\) to archive|pushed WAL file \'0000000
diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index 968604017..3cee0c4c8 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.12dev'; +use constant PROJECT_VERSION => '2.12'; push @EXPORT, qw(PROJECT_VERSION); # Repository Format Number diff --git a/src/perl/embed.auto.c b/src/perl/embed.auto.c index 46f146812..9ef3dc9d8 100644 --- a/src/perl/embed.auto.c +++ b/src/perl/embed.auto.c @@ -19902,7 +19902,7 @@ static const EmbeddedModule embeddedModule[] = "\n" "push @EXPORT, qw(projectBin projectBinSet);\n" "\n\n\n\n\n\n" - "use constant PROJECT_VERSION => '2.12dev';\n" + "use constant PROJECT_VERSION => '2.12';\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 3398d89d0..22a3f9e6f 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.12dev" +#define PROJECT_VERSION "2.12" #endif diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index 51610057d..8f52b08db 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -151,10 +151,6 @@ doc/xml/user-guide.xml: class: doc/source type: xml -lib/pgBackRest/Archive/Base.pm: - class: core - type: perl - lib/pgBackRest/Archive/Common.pm: class: core type: perl @@ -167,18 +163,6 @@ lib/pgBackRest/Archive/Info.pm: class: core type: perl -lib/pgBackRest/Archive/Push/Async.pm: - class: core - type: perl - -lib/pgBackRest/Archive/Push/File.pm: - class: core - type: perl - -lib/pgBackRest/Archive/Push/Push.pm: - class: core - type: perl - lib/pgBackRest/Backup/Backup.pm: class: core type: perl @@ -539,6 +523,22 @@ src/command/archive/get/protocol.h: class: core type: c/h +src/command/archive/push/file.c: + class: core + type: c + +src/command/archive/push/file.h: + class: core + type: c/h + +src/command/archive/push/protocol.c: + class: core + type: c + +src/command/archive/push/protocol.h: + class: core + type: c/h + src/command/archive/push/push.c: class: core type: c @@ -1259,6 +1259,14 @@ src/protocol/server.h: class: core type: c/h +src/storage/driver/cifs/storage.c: + class: core + type: c + +src/storage/driver/cifs/storage.h: + class: core + type: c/h + src/storage/driver/posix/common.c: class: core type: c @@ -1299,6 +1307,14 @@ src/storage/driver/remote/fileRead.h: class: core type: c/h +src/storage/driver/remote/fileWrite.c: + class: core + type: c + +src/storage/driver/remote/fileWrite.h: + class: core + type: c/h + src/storage/driver/remote/protocol.c: class: core type: c @@ -1323,6 +1339,14 @@ src/storage/driver/s3/fileRead.h: class: core type: c/h +src/storage/driver/s3/fileWrite.c: + class: core + type: c + +src/storage/driver/s3/fileWrite.h: + class: core + type: c/h + src/storage/driver/s3/storage.c: class: core type: c @@ -1507,10 +1531,6 @@ test/lib/pgBackRestTest/Module/Command/CommandArchiveGetPerlTest.pm: class: test/module type: perl -test/lib/pgBackRestTest/Module/Command/CommandArchivePushPerlTest.pm: - class: test/module - type: perl - test/lib/pgBackRestTest/Module/Common/CommonEncodePerlTest.pm: class: test/module type: perl @@ -1895,6 +1915,10 @@ test/src/module/protocol/protocolTest.c: class: test/module type: c +test/src/module/storage/cifsTest.c: + class: test/module + type: c + test/src/module/storage/posixTest.c: class: test/module type: c