diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0e8aa9a08..2ac68190c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -242,12 +242,12 @@ pgbackrest/test/test.pl --vm=none --dry-run P00 INFO: test begin on x86_64 - log level info P00 INFO: configure build P00 INFO: builds required: bin ---> P00 INFO: 73 tests selected +--> P00 INFO: 74 tests selected - P00 INFO: P1-T01/73 - vm=none, module=common, test=error - [filtered 70 lines of output] - P00 INFO: P1-T72/73 - vm=none, module=performance, test=type - P00 INFO: P1-T73/73 - vm=none, module=performance, test=storage + P00 INFO: P1-T01/74 - vm=none, module=common, test=error + [filtered 71 lines of output] + P00 INFO: P1-T73/74 - vm=none, module=performance, test=type + P00 INFO: P1-T74/74 - vm=none, module=performance, test=storage --> P00 INFO: DRY RUN COMPLETED SUCCESSFULLY ``` @@ -262,7 +262,6 @@ pgbackrest/test/test.pl --vm=none --vm-out --module=common --test=wait P00 INFO: autogenerated version in configure.ac script: no changes P00 INFO: autogenerated configure script: no changes P00 INFO: autogenerate code - P00 INFO: autogenerated C code: no changes P00 INFO: cleanup old data P00 INFO: builds required: none P00 INFO: 1 test selected @@ -318,7 +317,6 @@ pgbackrest/test/test.pl --vm=none --module=postgres P00 INFO: autogenerated version in configure.ac script: no changes P00 INFO: autogenerated configure script: no changes P00 INFO: autogenerate code - P00 INFO: autogenerated C code: no changes P00 INFO: cleanup old data P00 INFO: builds required: none P00 INFO: 2 tests selected @@ -341,7 +339,7 @@ pgbackrest/test/test.pl --vm-build --vm=u20 --- output --- P00 INFO: test begin on x86_64 - log level info - P00 INFO: Using cached pgbackrest/test:u20-base-20210819A image (cff054ccddd944f85e69bdf2c122b4890c60d6b7) ... + P00 INFO: Using cached pgbackrest/test:u20-base-20210930A image (7ffb73ceb9a2e3aad2cba7eb5c8e28fc3982db18) ... P00 INFO: Building pgbackrest/test:u20-test image ... P00 INFO: Build Complete ``` @@ -358,7 +356,6 @@ pgbackrest/test/test.pl --vm=u20 --module=mock --test=archive --run=2 P00 INFO: autogenerated version in configure.ac script: no changes P00 INFO: autogenerated configure script: no changes P00 INFO: autogenerate code - P00 INFO: autogenerated C code: no changes P00 INFO: cleanup old data and containers P00 INFO: builds required: bin, bin host P00 INFO: build bin for u20 (/home/vagrant/test/bin/u20) diff --git a/README.md b/README.md index 37691c3e6..cbca53a1e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ pgBackRest aims to be a reliable, easy-to-use 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.35](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.35) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.36](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.36) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. Please find us on [GitHub](https://github.com/pgbackrest/pgbackrest) and give us a star if you like pgBackRest! diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index 384ccedd0..3ca2f7d20 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -124,12 +124,12 @@ "P00 INFO: test begin on x86_64 - log level info", "P00 INFO: configure build", "P00 INFO: builds required: bin", - "P00 INFO: 73 tests selected", + "P00 INFO: 74 tests selected", " ", - "P00 INFO: P1-T01/73 - vm=none, module=common, test=error", - " [filtered 70 lines of output]", - "P00 INFO: P1-T72/73 - vm=none, module=performance, test=type", - "P00 INFO: P1-T73/73 - vm=none, module=performance, test=storage", + "P00 INFO: P1-T01/74 - vm=none, module=common, test=error", + " [filtered 71 lines of output]", + "P00 INFO: P1-T73/74 - vm=none, module=performance, test=type", + "P00 INFO: P1-T74/74 - vm=none, module=performance, test=storage", "P00 INFO: DRY RUN COMPLETED SUCCESSFULLY" ] } @@ -154,7 +154,6 @@ "P00 INFO: autogenerated version in configure.ac script: no changes", "P00 INFO: autogenerated configure script: no changes", "P00 INFO: autogenerate code", - "P00 INFO: autogenerated C code: no changes", "P00 INFO: cleanup old data", "P00 INFO: builds required: none", "P00 INFO: 1 test selected", @@ -218,7 +217,6 @@ "P00 INFO: autogenerated version in configure.ac script: no changes", "P00 INFO: autogenerated configure script: no changes", "P00 INFO: autogenerate code", - "P00 INFO: autogenerated C code: no changes", "P00 INFO: cleanup old data", "P00 INFO: builds required: none", "P00 INFO: 2 tests selected", @@ -247,7 +245,7 @@ "value" : { "output" : [ "P00 INFO: test begin on x86_64 - log level info", - "P00 INFO: Using cached pgbackrest/test:u20-base-20210819A image (cff054ccddd944f85e69bdf2c122b4890c60d6b7) ...", + "P00 INFO: Using cached pgbackrest/test:u20-base-20210930A image (7ffb73ceb9a2e3aad2cba7eb5c8e28fc3982db18) ...", "P00 INFO: Building pgbackrest/test:u20-test image ...", "P00 INFO: Build Complete" ] @@ -273,7 +271,6 @@ "P00 INFO: autogenerated version in configure.ac script: no changes", "P00 INFO: autogenerated configure script: no changes", "P00 INFO: autogenerate code", - "P00 INFO: autogenerated C code: no changes", "P00 INFO: cleanup old data and containers", "P00 INFO: builds required: bin, bin host", "P00 INFO: build bin for u20 (/home/vagrant/test/bin/u20)", @@ -338,7 +335,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.35" + "sudo mkdir -p /build/pgbackrest-release-2.36" ], "host" : "build", "load-env" : true, @@ -351,7 +348,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.35" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.36" ], "host" : "build", "load-env" : true, @@ -364,7 +361,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.35" + "sudo chown -R vagrant /build/pgbackrest-release-2.36" ], "host" : "build", "load-env" : true, @@ -405,7 +402,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.35/src && ./configure && make" + "cd /build/pgbackrest-release-2.36/src && ./configure && make" ], "cmd-extra" : "-j 4", "host" : "build", @@ -447,7 +444,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.35/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.36/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -575,7 +572,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.35 - General help", + "pgBackRest 2.36 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -735,7 +732,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.35 - 'backup' command - 'log-path' option help", + "pgBackRest 2.36 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -972,7 +969,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.35: --exec-id=510-67938d52 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.36: --exec-id=1366-f2772c57 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create for stanza 'demo' on repo1", "P00 INFO: stanza-create command end: completed successfully" ] @@ -999,10 +996,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.35: --exec-id=520-46e0b2b1 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: check command begin 2.36: --exec-id=1377-3cf7b456 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000100000000/000000010000000000000001-ca9e452093ab5b292fb96eeb49eb43cb6bc9c20a.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000100000000/000000010000000000000001-121842c5b2b35528b72ba937561b957d77d6b7b1.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -1059,16 +1056,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.35: --exec-id=554-0528445e --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.36: --exec-id=1408-368138d0 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --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(): backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 2 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000002:000000010000000000000002", - "P00 INFO: new backup label = 20210823-103134F", + "P00 INFO: new backup label = 20211029-120551F", "P00 INFO: full backup size = 23.4MB, file total = 976", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=554-0528445e --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" + "P00 INFO: expire command begin 2.36: --exec-id=1408-368138d0 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" ] } }, @@ -1086,7 +1083,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-103134F" + "20211029-120551F" ] } }, @@ -1114,10 +1111,10 @@ "output" : [ " [filtered 6 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000003:000000010000000000000003", - "P00 INFO: new backup label = 20210823-103134F_20210823-103147D", + "P00 INFO: new backup label = 20211029-120551F_20211029-120555D", "P00 INFO: diff backup size = 8KB, file total = 976", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=584-3d99db1b --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" + "P00 INFO: expire command begin 2.36: --exec-id=1437-325c4353 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" ] } }, @@ -1149,18 +1146,18 @@ " db (current)", " wal archive min/max (12): 000000010000000000000001/000000010000000000000003", "", - " full backup: 20210823-103134F", - " timestamp start/stop: 2021-08-23 10:31:34 / 2021-08-23 10:31:46", + " full backup: 20211029-120551F", + " timestamp start/stop: 2021-10-29 12:05:51 / 2021-10-29 12:05:54", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 23.4MB, database backup size: 23.4MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", "", - " diff backup: 20210823-103134F_20210823-103147D", - " timestamp start/stop: 2021-08-23 10:31:47 / 2021-08-23 10:31:49", + " diff backup: 20211029-120551F_20211029-120555D", + " timestamp start/stop: 2021-10-29 12:05:55 / 2021-10-29 12:05:56", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", " database size: 23.4MB, database backup size: 8.3KB", - " repo1: backup set size: 2.8MB, backup size: 496B", - " backup reference list: 20210823-103134F" + " repo1: backup set size: 2.8MB, backup size: 480B", + " backup reference list: 20211029-120551F" ] } }, @@ -1413,7 +1410,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2021-08-23 10:31:49+00 | 000000010000000000000003", + " \"demo\" | 2021-10-29 12:05:56+00 | 000000010000000000000003", "(1 row)" ] } @@ -1447,7 +1444,7 @@ "type" : "exe", "value" : { "output" : [ - "1629714709" + "1635509156" ] } }, @@ -1511,7 +1508,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20210823-103134F|remove archive" + "archive retention on backup 20211029-120551F|remove archive" ] }, "host" : "pg-primary", @@ -1524,8 +1521,8 @@ "output" : [ " [filtered 984 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=894-05b7a5d5 --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20210823-103134F, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.36: --exec-id=1736-ff9ce9ad --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20211029-120551F, start = 000000010000000000000002", "P00 INFO: repo1: 12-1 remove archive, start = 000000010000000000000001, stop = 000000010000000000000001", "P00 INFO: expire command end: completed successfully" ] @@ -1545,7 +1542,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-103209F" + "20211029-120606F" ] } }, @@ -1560,7 +1557,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20210823-103134F|archive retention on backup 20210823-103209F|remove archive" + "expire full backup set 20211029-120551F|archive retention on backup 20211029-120606F|remove archive" ] }, "host" : "pg-primary", @@ -1573,10 +1570,10 @@ "output" : [ " [filtered 8 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=926-0702350c --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", - "P00 INFO: repo1: expire full backup set 20210823-103134F, 20210823-103134F_20210823-103147D", - "P00 INFO: repo1: remove expired backup 20210823-103134F_20210823-103147D", - "P00 INFO: repo1: remove expired backup 20210823-103134F", + "P00 INFO: expire command begin 2.36: --exec-id=1766-5c7c95b7 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: repo1: expire full backup set 20211029-120551F, 20211029-120551F_20211029-120555D", + "P00 INFO: repo1: remove expired backup 20211029-120551F_20211029-120555D", + "P00 INFO: repo1: remove expired backup 20211029-120551F", "P00 INFO: repo1: 12-1 remove archive, start = 0000000100000000, stop = 000000020000000000000004", "P00 INFO: expire command end: completed successfully" ] @@ -1640,7 +1637,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-103221F_20210823-103234D" + "20211029-120610F_20211029-120613D" ] } }, @@ -1668,7 +1665,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20210823-103221F_20210823-103234D" + "expire diff backup set 20211029-120610F_20211029-120613D" ] }, "host" : "pg-primary", @@ -1681,10 +1678,10 @@ "output" : [ " [filtered 9 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=1006-aedd9560 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", - "P00 INFO: repo1: expire diff backup set 20210823-103221F_20210823-103234D, 20210823-103221F_20210823-103236I", - "P00 INFO: repo1: remove expired backup 20210823-103221F_20210823-103236I", - "P00 INFO: repo1: remove expired backup 20210823-103221F_20210823-103234D", + "P00 INFO: expire command begin 2.36: --exec-id=1848-52792cb8 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", + "P00 INFO: repo1: expire diff backup set 20211029-120610F_20211029-120613D, 20211029-120610F_20211029-120615I", + "P00 INFO: repo1: remove expired backup 20211029-120610F_20211029-120615I", + "P00 INFO: repo1: remove expired backup 20211029-120610F_20211029-120613D", "P00 INFO: expire command end: completed successfully" ] } @@ -1734,7 +1731,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-103221F_20210823-103239D" + "20211029-120610F_20211029-120618D" ] } }, @@ -1776,9 +1773,9 @@ "value" : { "output" : [ " [filtered 5 lines of output]", - "P00 INFO: backup stop archive = 00000002000000000000000C, lsn = 0/C000100", - "P00 INFO: check archive for segment(s) 00000002000000000000000C:00000002000000000000000C", - "P00 INFO: new backup label = 20210823-103221F_20210823-103242D", + "P00 INFO: backup stop archive = 00000002000000000000000D, lsn = 0/D000100", + "P00 INFO: check archive for segment(s) 00000002000000000000000D:00000002000000000000000D", + "P00 INFO: new backup label = 20211029-120610F_20211029-120620D", "P00 INFO: diff backup size = 8KB, file total = 976", "P00 INFO: backup command end: completed successfully", " [filtered 2 lines of output]" @@ -1799,7 +1796,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-103221F_20210823-103242D" + "20211029-120610F_20211029-120620D" ] } }, @@ -1814,7 +1811,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20210823-103221F_20210823-103239D|remove archive" + "archive retention on backup 20211029-120610F_20211029-120618D|remove archive" ] }, "host" : "pg-primary", @@ -1825,13 +1822,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.35: --exec-id=1106-bdcb6760 --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: repo1: 12-1 archive retention on backup 20210823-103209F, start = 000000020000000000000005, stop = 000000020000000000000005", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20210823-103221F, start = 000000020000000000000006, stop = 000000020000000000000006", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20210823-103221F_20210823-103239D, start = 000000020000000000000009, stop = 000000020000000000000009", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20210823-103221F_20210823-103242D, start = 00000002000000000000000C", - "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000008", - "P00 INFO: repo1: 12-1 remove archive, start = 00000002000000000000000A, stop = 00000002000000000000000B", + "P00 INFO: expire command begin 2.36: --exec-id=1939-1405cf84 --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: repo1: 12-1 archive retention on backup 20211029-120606F, start = 000000020000000000000005, stop = 000000020000000000000005", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20211029-120610F, start = 000000020000000000000006, stop = 000000020000000000000006", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20211029-120610F_20211029-120618D, start = 00000002000000000000000A, stop = 00000002000000000000000A", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20211029-120610F_20211029-120620D, start = 00000002000000000000000D", + "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000009", + "P00 INFO: repo1: 12-1 remove archive, start = 00000002000000000000000B, stop = 00000002000000000000000C", "P00 INFO: expire command end: completed successfully" ] } @@ -2050,7 +2047,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-103221F_20210823-103252I" + "20211029-120610F_20211029-120629I" ] } }, @@ -2059,7 +2056,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20210823-103221F_20210823-103252I info" + " --set=20211029-120610F_20211029-120629I info" ], "highlight" : { "filter" : true, @@ -2078,7 +2075,7 @@ "output" : [ " [filtered 11 lines of output]", " repo1: backup set size: 4.7MB, backup size: 1.9MB", - " backup reference list: 20210823-103221F, 20210823-103221F_20210823-103242D", + " backup reference list: 20211029-120610F, 20211029-120610F_20211029-120620D", " database list: postgres (13398), test1 (24576), test2 (24577)" ] } @@ -2179,7 +2176,7 @@ "type" : "exe", "value" : { "output" : [ - "psql: error: FATAL: relation mapping file \"base/24576/pg_filenode.map\" contains invalid data" + "psql: error: connection to server on socket \"/var/run/postgresql/.s.PGSQL.5432\" failed: FATAL: relation mapping file \"base/24576/pg_filenode.map\" contains invalid data" ] } }, @@ -2322,7 +2319,7 @@ "type" : "exe", "value" : { "output" : [ - "2021-08-23 10:33:14.566319+00" + "2021-10-29 12:06:41.23673+00" ] } }, @@ -2388,7 +2385,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2021-08-23 10:33:14.566319+00\" \\", + " --type=time \"--target=2021-10-29 12:06:41.23673+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2433,9 +2430,9 @@ "value" : { "output" : [ " [filtered 14 lines of output]", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:33:17", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:06:43", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2021-08-23 10:33:14.566319+00'", + "recovery_target_time = '2021-10-29 12:06:41.23673+00'", "recovery_target_action = 'promote'" ] } @@ -2517,16 +2514,16 @@ "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 2021-08-23 10:33:07 UTC", - "LOG: starting point-in-time recovery to 2021-08-23 10:33:14.566319+00", + "LOG: database system was interrupted; last known up at 2021-10-29 12:06:38 UTC", + "LOG: starting point-in-time recovery to 2021-10-29 12:06:41.23673+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"00000004000000000000000F\" from archive", + "LOG: restored log file \"000000040000000000000010\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000040000000000000010\" from archive", - "LOG: recovery stopping before commit of transaction 495, time 2021-08-23 10:33:15.808168+00", - "LOG: redo done at 0/10019DD8", - "LOG: last completed transaction was at log time 2021-08-23 10:33:13.213748+00", + "LOG: restored log file \"000000040000000000000011\" from archive", + "LOG: recovery stopping before commit of transaction 495, time 2021-10-29 12:06:42.508122+00", + "LOG: redo done at 0/11019DD8", + "LOG: last completed transaction was at log time 2021-10-29 12:06:39.99863+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 2 lines of output]" @@ -2591,7 +2588,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-103221F_20210823-103323I" + "20211029-120610F_20211029-120649I" ] } }, @@ -2605,7 +2602,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20210823-103221F_20210823-103323I" + "20211029-120610F_20211029-120649I" ] }, "host" : "pg-primary", @@ -2621,47 +2618,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (12): 000000020000000000000005/000000050000000000000011", + " wal archive min/max (12): 000000020000000000000005/000000050000000000000012", "", - " full backup: 20210823-103209F", - " timestamp start/stop: 2021-08-23 10:32:09 / 2021-08-23 10:32:20", + " full backup: 20211029-120606F", + " timestamp start/stop: 2021-10-29 12:06:06 / 2021-10-29 12:06:09", " wal start/stop: 000000020000000000000005 / 000000020000000000000005", " database size: 23.4MB, database backup size: 23.4MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", "", - " full backup: 20210823-103221F", - " timestamp start/stop: 2021-08-23 10:32:21 / 2021-08-23 10:32:32", + " full backup: 20211029-120610F", + " timestamp start/stop: 2021-10-29 12:06:10 / 2021-10-29 12:06:12", " wal start/stop: 000000020000000000000006 / 000000020000000000000006", " database size: 23.4MB, database backup size: 23.4MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", "", - " diff backup: 20210823-103221F_20210823-103242D", - " timestamp start/stop: 2021-08-23 10:32:42 / 2021-08-23 10:32:44", - " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", + " diff backup: 20211029-120610F_20211029-120620D", + " timestamp start/stop: 2021-10-29 12:06:20 / 2021-10-29 12:06:22", + " wal start/stop: 00000002000000000000000D / 00000002000000000000000D", " database size: 23.4MB, database backup size: 8.3KB", " repo1: backup set size: 2.8MB, backup size: 496B", - " backup reference list: 20210823-103221F", + " backup reference list: 20211029-120610F", "", - " incr backup: 20210823-103221F_20210823-103252I", - " timestamp start/stop: 2021-08-23 10:32:52 / 2021-08-23 10:32:59", - " wal start/stop: 00000003000000000000000E / 00000003000000000000000E", + " incr backup: 20211029-120610F_20211029-120629I", + " timestamp start/stop: 2021-10-29 12:06:29 / 2021-10-29 12:06:30", + " wal start/stop: 00000003000000000000000F / 00000003000000000000000F", " database size: 38.7MB, database backup size: 15.8MB", " repo1: backup set size: 4.7MB, backup size: 1.9MB", - " backup reference list: 20210823-103221F, 20210823-103221F_20210823-103242D", + " backup reference list: 20211029-120610F, 20211029-120610F_20211029-120620D", "", - " diff backup: 20210823-103221F_20210823-103307D", - " timestamp start/stop: 2021-08-23 10:33:07 / 2021-08-23 10:33:12", - " wal start/stop: 00000004000000000000000F / 00000004000000000000000F", + " diff backup: 20211029-120610F_20211029-120638D", + " timestamp start/stop: 2021-10-29 12:06:38 / 2021-10-29 12:06:39", + " wal start/stop: 000000040000000000000010 / 000000040000000000000010", " database size: 31MB, database backup size: 8.2MB", " repo1: backup set size: 3.8MB, backup size: 1011.1KB", - " backup reference list: 20210823-103221F", + " backup reference list: 20211029-120610F", "", - " incr backup: 20210823-103221F_20210823-103323I", - " timestamp start/stop: 2021-08-23 10:33:23 / 2021-08-23 10:33:25", - " wal start/stop: 000000050000000000000011 / 000000050000000000000011", + " incr backup: 20211029-120610F_20211029-120649I", + " timestamp start/stop: 2021-10-29 12:06:49 / 2021-10-29 12:06:50", + " wal start/stop: 000000050000000000000012 / 000000050000000000000012", " database size: 31MB, database backup size: 2.2MB", " repo1: backup set size: 3.8MB, backup size: 234KB", - " backup reference list: 20210823-103221F, 20210823-103221F_20210823-103307D" + " backup reference list: 20211029-120610F, 20211029-120610F_20211029-120638D" ] } }, @@ -2683,8 +2680,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20210823-103221F_20210823-103323I \\", - " --type=time \"--target=2021-08-23 10:33:14.566319+00\" --target-action=promote restore" + " --set=20211029-120610F_20211029-120649I \\", + " --type=time \"--target=2021-10-29 12:06:41.23673+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2783,14 +2780,14 @@ "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 2021-08-23 10:33:23 UTC", - "LOG: starting point-in-time recovery to 2021-08-23 10:33:14.566319+00", + "LOG: database system was interrupted; last known up at 2021-10-29 12:06:49 UTC", + "LOG: starting point-in-time recovery to 2021-10-29 12:06:41.23673+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"000000050000000000000011\" from archive", - "LOG: redo starts at 0/11000028", - "LOG: consistent recovery state reached at 0/11000100", + "LOG: restored log file \"000000050000000000000012\" from archive", + "LOG: redo starts at 0/12000028", + "LOG: consistent recovery state reached at 0/12000100", "LOG: database system is ready to accept read only connections", - "LOG: redo done at 0/11000100", + "LOG: redo done at 0/12000100", " [filtered 7 lines of output]" ] } @@ -2813,7 +2810,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2021-08-23 10:33:14.566319+00\" \\", + " --type=time \"--target=2021-10-29 12:06:41.23673+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2914,15 +2911,15 @@ " [filtered 5 lines of output]", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", - "LOG: starting point-in-time recovery to 2021-08-23 10:33:14.566319+00", + "LOG: starting point-in-time recovery to 2021-10-29 12:06:41.23673+00", "LOG: restored log file \"00000006.history\" from archive", - "LOG: restored log file \"00000004000000000000000F\" from archive", + "LOG: restored log file \"000000040000000000000010\" from archive", " [filtered 4 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000050000000000000010\" from archive", - "LOG: recovery stopping before commit of transaction 496, time 2021-08-23 10:33:22.437487+00", - "LOG: redo done at 0/10022408", - "LOG: last completed transaction was at log time 2021-08-23 10:33:13.213748+00", + "LOG: restored log file \"000000050000000000000011\" from archive", + "LOG: recovery stopping before commit of transaction 496, time 2021-10-29 12:06:48.410664+00", + "LOG: redo done at 0/11022408", + "LOG: last completed transaction was at log time 2021-10-29 12:06:39.99863+00", "LOG: selected new timeline ID: 7", "LOG: archive recovery complete", " [filtered 2 lines of output]" @@ -2953,9 +2950,6 @@ "repo2-retention-full" : { "value" : "4" }, - "repo2-storage-host" : { - "value" : "blob.core.windows.net" - }, "repo2-type" : { "value" : "azure" } @@ -2980,7 +2974,6 @@ "repo2-azure-key=YXpLZXk=", "repo2-path=/demo-repo", "repo2-retention-full=4", - "repo2-storage-host=blob.core.windows.net", "repo2-type=azure", "start-fast=y", "", @@ -2993,7 +2986,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "echo \"172.17.0.2 blob.core.windows.net\" | tee -a /etc/hosts" + "echo \"172.17.0.2 pgbackrest.blob.core.windows.net\" | tee -a /etc/hosts" ], "host" : "pg-primary", "load-env" : true, @@ -3065,16 +3058,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.35: --exec-id=2072-2b1092a2 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=4 --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.36: --exec-id=2798-0931aac5 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=4 --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo2-type=azure --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(): backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000070000000000000011, lsn = 0/11000028", + "P00 INFO: backup start archive = 000000070000000000000012, lsn = 0/12000028", " [filtered 2 lines of output]", - "P00 INFO: check archive for segment(s) 000000070000000000000011:000000070000000000000011", - "P00 INFO: new backup label = 20210823-103340F", + "P00 INFO: check archive for segment(s) 000000070000000000000012:000000070000000000000012", + "P00 INFO: new backup label = 20211029-120704F", "P00 INFO: full backup size = 31MB, file total = 1282", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=2072-2b1092a2 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --stanza=demo" + "P00 INFO: expire command begin 2.36: --exec-id=2798-0931aac5 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo2-type=azure --stanza=demo" ] } }, @@ -3108,9 +3101,6 @@ "repo3-s3-region" : { "value" : "us-east-1" }, - "repo3-storage-host" : { - "remove" : true - }, "repo3-type" : { "value" : "s3" } @@ -3135,7 +3125,6 @@ "repo2-azure-key=YXpLZXk=", "repo2-path=/demo-repo", "repo2-retention-full=4", - "repo2-storage-host=blob.core.windows.net", "repo2-type=azure", "repo3-path=/demo-repo", "repo3-retention-full=4", @@ -3228,16 +3217,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.35: --exec-id=2144-fda424a8 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo3-retention-full=4 --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --repo3-type=s3 --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.36: --exec-id=2873-6aad5a60 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo3-retention-full=4 --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-type=azure --repo3-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(): backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000070000000000000012, lsn = 0/12000028", + "P00 INFO: backup start archive = 000000070000000000000013, lsn = 0/13000028", " [filtered 2 lines of output]", - "P00 INFO: check archive for segment(s) 000000070000000000000012:000000070000000000000012", - "P00 INFO: new backup label = 20210823-103351F", + "P00 INFO: check archive for segment(s) 000000070000000000000013:000000070000000000000013", + "P00 INFO: new backup label = 20211029-120709F", "P00 INFO: full backup size = 31MB, file total = 1282", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=2144-fda424a8 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo3-retention-full=4 --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --repo3-type=s3 --stanza=demo" + "P00 INFO: expire command begin 2.36: --exec-id=2873-6aad5a60 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo3-retention-full=4 --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-type=azure --repo3-type=s3 --stanza=demo" ] } }, @@ -3283,7 +3272,6 @@ "repo2-azure-key=YXpLZXk=", "repo2-path=/demo-repo", "repo2-retention-full=4", - "repo2-storage-host=blob.core.windows.net", "repo2-type=azure", "repo3-path=/demo-repo", "repo3-retention-full=4", @@ -3338,7 +3326,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.35: --exec-id=2195-b3a5e2ae --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", + "P00 INFO: stop command begin 2.36: --exec-id=2937-e18e99b9 --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -3365,7 +3353,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.35: --exec-id=2205-a6e29655 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo=1 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo4-gcs-bucket=demo-bucket --repo4-gcs-key= --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-path=/demo-repo --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --repo3-type=s3 --repo4-type=gcs --stanza=demo", + "P00 INFO: stanza-delete command begin 2.36: --exec-id=2947-b29fa5d9 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo=1 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo4-gcs-bucket=demo-bucket --repo4-gcs-key= --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-path=/demo-repo --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-type=azure --repo3-type=s3 --repo4-type=gcs --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -3428,7 +3416,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.35/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.36/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -3985,17 +3973,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (12): 000000080000000000000017/000000080000000000000018", + " wal archive min/max (12): 00000008000000000000001A/00000008000000000000001B", "", - " full backup: 20210823-103439F", - " timestamp start/stop: 2021-08-23 10:34:39 / 2021-08-23 10:34:54", - " wal start/stop: 000000080000000000000017 / 000000080000000000000017", + " full backup: 20211029-120743F", + " timestamp start/stop: 2021-10-29 12:07:43 / 2021-10-29 12:07:46", + " wal start/stop: 00000008000000000000001A / 00000008000000000000001A", " database size: 31MB, database backup size: 31MB", " repo1: backup set size: 3.7MB, backup size: 3.7MB", "", - " full backup: 20210823-103457F", - " timestamp start/stop: 2021-08-23 10:34:57 / 2021-08-23 10:35:04", - " wal start/stop: 000000080000000000000018 / 000000080000000000000018", + " full backup: 20211029-120748F", + " timestamp start/stop: 2021-10-29 12:07:48 / 2021-10-29 12:07:50", + " wal start/stop: 00000008000000000000001B / 00000008000000000000001B", " database size: 31MB, database backup size: 31MB", " repo1: backup set size: 3.7MB, backup size: 3.7MB" ] @@ -4036,7 +4024,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 WARN: unable to check pg-1: [StopError] raised from remote-0 protocol on 'pg-primary': stop file exists for all stanzas", + "P00 WARN: unable to check pg-1: [StopError] raised from remote-0 ssh protocol on 'pg-primary': stop file exists for all stanzas", "P00 ERROR: [056]: unable to find primary cluster - cannot proceed" ] } @@ -4107,7 +4095,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 WARN: unable to check pg-1: [StopError] raised from remote-0 protocol on 'pg-primary': stop file exists for stanza demo", + "P00 WARN: unable to check pg-1: [StopError] raised from remote-0 ssh protocol on 'pg-primary': stop file exists for stanza demo", "P00 ERROR: [056]: unable to find primary cluster - cannot proceed" ] } @@ -4157,7 +4145,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.35/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.36/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -4439,26 +4427,26 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:31:59", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:05:58", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:32:45", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:06:23", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:33:01", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:06:32", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2021-08-23 10:33:32 # recovery_target = 'immediate'", - "# Removed by pgBackRest restore on 2021-08-23 10:33:32 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2021-10-29 12:06:56 # recovery_target = 'immediate'", + "# Removed by pgBackRest restore on 2021-10-29 12:06:56 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:33:32", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:06:56", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2021-08-23 10:34:32 # recovery_target_time = '2021-08-23 10:33:14.566319+00'", - "# Removed by pgBackRest restore on 2021-08-23 10:34:32 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2021-10-29 12:07:38 # recovery_target_time = '2021-10-29 12:06:41.23673+00'", + "# Removed by pgBackRest restore on 2021-10-29 12:07:38 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:34:32", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:07:38", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:35:26", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:08:01", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] } @@ -4579,12 +4567,12 @@ "output" : [ " [filtered 4 lines of output]", "LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"", - "LOG: database system was interrupted; last known up at 2021-08-23 10:34:57 UTC", + "LOG: database system was interrupted; last known up at 2021-10-29 12:07:48 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000018\" from archive", - "LOG: redo starts at 0/18000028", - "LOG: consistent recovery state reached at 0/18000138", + "LOG: restored log file \"00000008000000000000001B\" from archive", + "LOG: redo starts at 0/1B000028", + "LOG: consistent recovery state reached at 0/1B000100", "LOG: database system is ready to accept read only connections" ] } @@ -4666,7 +4654,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/19021718 | 2021-08-23 10:35:34.501502+00", + " 0/1C021718 | 2021-10-29 12:08:07.549186+00", "(1 row)" ] } @@ -4695,7 +4683,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2021-08-23 10:35:35.524427+00", + " Important Data | 2021-10-29 12:08:08.414679+00", "(1 row)" ] } @@ -4721,7 +4709,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.35: --exec-id=599-8830f3e5 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.36: --exec-id=1417-21ffb037 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-host=repository --stanza=demo", "P00 INFO: check repo1 (standby)", "P00 INFO: switch wal not performed because this is a standby", "P00 INFO: check command end: completed successfully" @@ -4871,26 +4859,26 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:31:59", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:05:58", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:32:45", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:06:23", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:33:01", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:06:32", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2021-08-23 10:33:32 # recovery_target = 'immediate'", - "# Removed by pgBackRest restore on 2021-08-23 10:33:32 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2021-10-29 12:06:56 # recovery_target = 'immediate'", + "# Removed by pgBackRest restore on 2021-10-29 12:06:56 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:33:32", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:06:56", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2021-08-23 10:34:32 # recovery_target_time = '2021-08-23 10:33:14.566319+00'", - "# Removed by pgBackRest restore on 2021-08-23 10:34:32 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2021-10-29 12:07:38 # recovery_target_time = '2021-10-29 12:06:41.23673+00'", + "# Removed by pgBackRest restore on 2021-10-29 12:07:38 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:34:32", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:07:38", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:35:39", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:08:11", "primary_conninfo = 'host=172.17.0.5 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] @@ -4958,8 +4946,8 @@ "output" : [ " [filtered 11 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000019\" from archive", - "LOG: started streaming WAL from primary at 0/1A000000 on timeline 8" + "LOG: restored log file \"00000008000000000000001C\" from archive", + "LOG: started streaming WAL from primary at 0/1D000000 on timeline 8" ] } }, @@ -4991,7 +4979,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2021-08-23 10:35:46.607615+00", + " Important Data | 2021-10-29 12:08:16.746025+00", "(1 row)" ] } @@ -5018,9 +5006,9 @@ "type" : "exe", "value" : { "output" : [ - " message | current_timestamp ", - "----------------+-------------------------------", - " Important Data | 2021-08-23 10:35:46.852504+00", + " message | current_timestamp ", + "----------------+------------------------------", + " Important Data | 2021-10-29 12:08:16.93526+00", "(1 row)" ] } @@ -5251,10 +5239,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.35: --exec-id=2895-0ad70c14 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.36: --exec-id=3602-14941921 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --repo1-host=repository --stanza=demo", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 00000008000000000000001F successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000800000000/00000008000000000000001F-336c04101a361800c8ad498eedab57a7873d19eb.gz' on repo1", + "P00 INFO: WAL segment 000000080000000000000022 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000800000000/000000080000000000000022-256032fd13a8e92807d2fbf916d91843a34c484f.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -5281,24 +5269,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.35: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=2879-52f4bbbe --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000001A", - "P01 DETAIL: pushed WAL file '00000008000000000000001A' to the archive", - "P00 INFO: archive-push:async command end: completed successfully", - "", - "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.35: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=2898-78e6e82e --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 00000008000000000000001B...00000008000000000000001E", - "P01 DETAIL: pushed WAL file '00000008000000000000001B' to the archive", - "P02 DETAIL: pushed WAL file '00000008000000000000001C' to the archive", + "P00 INFO: archive-push:async command begin 2.36: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=3587-0eaf57f4 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000001D", "P01 DETAIL: pushed WAL file '00000008000000000000001D' to the archive", - "P02 DETAIL: pushed WAL file '00000008000000000000001E' to the archive", "P00 INFO: archive-push:async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.35: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=2914-810438f9 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000001F", - "P01 DETAIL: pushed WAL file '00000008000000000000001F' to the archive", + "P00 INFO: archive-push:async command begin 2.36: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=3605-804d267f --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 00000008000000000000001E...000000080000000000000021", + "P01 DETAIL: pushed WAL file '00000008000000000000001E' to the archive", + "P02 DETAIL: pushed WAL file '00000008000000000000001F' to the archive", + "P02 DETAIL: pushed WAL file '000000080000000000000021' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000020' to the archive", + "P00 INFO: archive-push:async command end: completed successfully", + "", + "-------------------PROCESS START-------------------", + "P00 INFO: archive-push:async command begin 2.36: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=3621-7c1ac38a --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/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", "P00 INFO: archive-push:async command end: completed successfully" ] } @@ -5338,22 +5326,22 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.35: [000000080000000000000018, 000000080000000000000019, 00000008000000000000001A, 00000008000000000000001B, 00000008000000000000001C, 00000008000000000000001D, 00000008000000000000001E, 00000008000000000000001F] --archive-async --exec-id=849-8e257619 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000018...00000008000000000000001F", - "P02 DETAIL: found 000000080000000000000019 in the repo1: 12-1 archive", - "P01 DETAIL: found 000000080000000000000018 in the repo1: 12-1 archive", - "P00 DETAIL: unable to find 00000008000000000000001A in the archive", + "P00 INFO: archive-get:async command begin 2.36: [00000008000000000000001B, 00000008000000000000001C, 00000008000000000000001D, 00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022] --archive-async --exec-id=1652-36029fb1 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001B...000000080000000000000022", + "P02 DETAIL: found 00000008000000000000001C in the repo1: 12-1 archive", + "P01 DETAIL: found 00000008000000000000001B in the repo1: 12-1 archive", + "P00 DETAIL: unable to find 00000008000000000000001D in the archive", "P00 INFO: archive-get:async command end: completed successfully", " [filtered 14 lines of output]", - "P00 INFO: archive-get:async command begin 2.35: [00000008000000000000001A, 00000008000000000000001B, 00000008000000000000001C, 00000008000000000000001D, 00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020, 000000080000000000000021] --archive-async --exec-id=891-6f3daa04 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001A...000000080000000000000021", - "P01 DETAIL: found 00000008000000000000001A in the repo1: 12-1 archive", - "P02 DETAIL: found 00000008000000000000001B in the repo1: 12-1 archive", - "P02 DETAIL: found 00000008000000000000001D in the repo1: 12-1 archive", - "P01 DETAIL: found 00000008000000000000001C in the repo1: 12-1 archive", + "P00 INFO: archive-get:async command begin 2.36: [00000008000000000000001D, 00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022, 000000080000000000000023, 000000080000000000000024] --archive-async --exec-id=1694-87354168 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/12/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001D...000000080000000000000024", "P02 DETAIL: found 00000008000000000000001E in the repo1: 12-1 archive", - "P01 DETAIL: found 00000008000000000000001F in the repo1: 12-1 archive", - "P00 DETAIL: unable to find 000000080000000000000020 in the archive", + "P02 DETAIL: found 00000008000000000000001F in the repo1: 12-1 archive", + "P01 DETAIL: found 00000008000000000000001D in the repo1: 12-1 archive", + "P02 DETAIL: found 000000080000000000000020 in the repo1: 12-1 archive", + "P01 DETAIL: found 000000080000000000000021 in the repo1: 12-1 archive", + "P02 DETAIL: found 000000080000000000000022 in the repo1: 12-1 archive", + "P00 DETAIL: unable to find 000000080000000000000023 in the archive", "P00 INFO: archive-get:async command end: completed successfully", " [filtered 11 lines of output]" ] @@ -5438,14 +5426,20 @@ "output" : [ " [filtered 2 lines of output]", "P00 INFO: execute non-exclusive pg_start_backup(): backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000080000000000000021, lsn = 0/21000028", - "P00 INFO: wait for replay on the standby to reach 0/21000028", - "P00 INFO: replay on the standby reached 0/21000028", - "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/12/demo/global/pg_control (8KB, 0%) checksum f1db5d0dbbaa9605a9ccf5fa50495130af02d2a4", - "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/12/demo/pg_logical/replorigin_checkpoint (8B, 0%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2608 (456KB, 19%) checksum 6bab95a1587d405f6d27edaaf06a66392e980020", - "P03 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/1249 (440KB, 38%) checksum fa8d25ee803f72d96015b0a6dd2349ac79b15e0a", - " [filtered 1293 lines of output]" + "P00 INFO: backup start archive = 000000080000000000000024, lsn = 0/24000028", + "P00 INFO: wait for replay on the standby to reach 0/24000028", + "P00 INFO: replay on the standby reached 0/24000028", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2608 (456KB, 19%) checksum 8a1b4147f0cd9e6232ebcf971f34a1b726af93c5", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2673 (280KB, 31%) checksum 13cf784264de5d300e755082fe0d91be52847cb5", + " [filtered 14 lines of output]", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2679 (16KB, 62%) checksum 6405582b3965a1cc4cefa4d89a075bf392bfee62", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2678 (16KB, 63%) checksum f7c84518351ccdb7384c91142454a10665eb4985", + "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/12/demo/global/pg_control (8KB, 63%) checksum 221cf7dcd1912b900bc386e092297f2b3e4b1068", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/pg_xact/0000 (8KB, 63%) checksum 32d68ad3e1925c9bfa1fff50781196c74861f1b3", + "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/12/demo/pg_logical/replorigin_checkpoint (8B, 63%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", + "P03 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/1249 (440KB, 82%) checksum b7e359434670a0611273a3626a1feb0250243414", + "P04 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2674 (344KB, 97%) checksum 28827539e9e6b01b680e50390c21331a0a5d0639", + " [filtered 1274 lines of output]" ] } }, @@ -5530,8 +5524,8 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 64 lines of output]", - "Creating script to delete old cluster ok", + " [filtered 66 lines of output]", + "Checking for extension updates ok", "", "Upgrade Complete", "----------------", @@ -5720,7 +5714,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.35: --exec-id=3309-7c558a1c --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/postgresql/13/demo --repo1-host=repository --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.36: --exec-id=4022-d6ee7d0e --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/postgresql/13/demo --repo1-host=repository --stanza=demo", "P00 INFO: stanza-upgrade for stanza 'demo' on repo1", "P00 INFO: stanza-upgrade command end: completed successfully" ] @@ -5747,17 +5741,10 @@ ], "host" : "pg-primary", "load-env" : true, - "output" : true, + "output" : false, "run-as-user" : null }, - "type" : "exe", - "value" : { - "output" : [ - "Ver Cluster Port Status Owner Data directory Log file", - "12 demo 5432 down postgres /var/lib/postgresql/12/demo /var/log/postgresql/postgresql-12-demo.log", - "13 demo 5432 online postgres /var/lib/postgresql/13/demo /var/log/postgresql/postgresql-13-demo.log" - ] - } + "type" : "exe" }, { "key" : { @@ -5825,9 +5812,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 WARN: unable to check pg-2: [DbConnectError] raised from remote-0 protocol on 'pg-standby': unable to connect to 'dbname='postgres' port=5432': could not connect to server: No such file or directory", - " \tIs the server running locally and accepting", - " \tconnections on Unix domain socket \"/var/run/postgresql/.s.PGSQL.5432\"?" + "P00 WARN: unable to check pg-2: [DbConnectError] raised from remote-0 ssh protocol on 'pg-standby': unable to connect to 'dbname='postgres' port=5432': connection to server on socket \"/var/run/postgresql/.s.PGSQL.5432\" failed: No such file or directory", + " \tIs the server running locally and accepting connections on that socket?" ] } }, @@ -5997,7 +5983,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.35" + "sudo mkdir -p /build/pgbackrest-release-2.36" ], "host" : "build", "load-env" : true, @@ -6010,7 +5996,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.35" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.36" ], "host" : "build", "load-env" : true, @@ -6023,7 +6009,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.35" + "sudo chown -R vagrant /build/pgbackrest-release-2.36" ], "host" : "build", "load-env" : true, @@ -6051,7 +6037,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.35/src && ./configure && make" + "cd /build/pgbackrest-release-2.36/src && ./configure && make" ], "cmd-extra" : "-j 4", "host" : "build", @@ -6093,7 +6079,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.35/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.36/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -6221,7 +6207,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.35 - General help", + "pgBackRest 2.36 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -6380,7 +6366,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.35 - 'backup' command - 'log-path' option help", + "pgBackRest 2.36 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -6618,7 +6604,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.35: --exec-id=1284-76ffb50a --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.36: --exec-id=1109-84785859 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create for stanza 'demo' on repo1", "P00 INFO: stanza-create command end: completed successfully" ] @@ -6645,10 +6631,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.35: --exec-id=1321-93d8de48 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: check command begin 2.36: --exec-id=1137-2618f7c4 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/10-1/0000000100000000/000000010000000000000001-fbb15ee9d64526875ad5a197317143944b0b6664.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/10-1/0000000100000000/000000010000000000000001-78f9ebc180866af7d545351607e6c396464f0713.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -6705,16 +6691,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.35: --exec-id=1403-721145bb --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.36: --exec-id=1209-d88fd5f8 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --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(): backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 2 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000002:000000010000000000000002", - "P00 INFO: new backup label = 20210823-102344F", + "P00 INFO: new backup label = 20211029-120144F", "P00 INFO: full backup size = 22.5MB, file total = 949", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=1403-721145bb --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" + "P00 INFO: expire command begin 2.36: --exec-id=1209-d88fd5f8 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" ] } }, @@ -6732,7 +6718,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-102344F" + "20211029-120144F" ] } }, @@ -6760,10 +6746,10 @@ "output" : [ " [filtered 6 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000003:000000010000000000000003", - "P00 INFO: new backup label = 20210823-102344F_20210823-102358D", + "P00 INFO: new backup label = 20211029-120144F_20211029-120148D", "P00 INFO: diff backup size = 8KB, file total = 949", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=1481-8db603ef --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" + "P00 INFO: expire command begin 2.36: --exec-id=1282-04b54640 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" ] } }, @@ -6795,18 +6781,18 @@ " db (current)", " wal archive min/max (10): 000000010000000000000001/000000010000000000000003", "", - " full backup: 20210823-102344F", - " timestamp start/stop: 2021-08-23 10:23:44 / 2021-08-23 10:23:57", + " full backup: 20211029-120144F", + " timestamp start/stop: 2021-10-29 12:01:44 / 2021-10-29 12:01:47", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 22.5MB, database backup size: 22.5MB", " repo1: backup set size: 2.7MB, backup size: 2.7MB", "", - " diff backup: 20210823-102344F_20210823-102358D", - " timestamp start/stop: 2021-08-23 10:23:58 / 2021-08-23 10:24:00", + " diff backup: 20211029-120144F_20211029-120148D", + " timestamp start/stop: 2021-10-29 12:01:48 / 2021-10-29 12:01:49", " wal start/stop: 000000010000000000000003 / 000000010000000000000003", " database size: 22.5MB, database backup size: 8.2KB", " repo1: backup set size: 2.7MB, backup size: 496B", - " backup reference list: 20210823-102344F" + " backup reference list: 20211029-120144F" ] } }, @@ -6873,9 +6859,9 @@ "value" : { "output" : [ " [filtered 12 lines of output]", - "Aug 23 10:24:01 pg-primary systemd[1]: postgresql-10.service: Main process exited, code=exited, status=2/INVALIDARGUMENT", - "Aug 23 10:24:01 pg-primary systemd[1]: postgresql-10.service: Failed with result 'exit-code'.", - "Aug 23 10:24:01 pg-primary systemd[1]: Failed to start PostgreSQL 10 database server." + "Oct 29 12:01:50 pg-primary systemd[1]: postgresql-10.service: Main process exited, code=exited, status=2/INVALIDARGUMENT", + "Oct 29 12:01:50 pg-primary systemd[1]: postgresql-10.service: Failed with result 'exit-code'.", + "Oct 29 12:01:50 pg-primary systemd[1]: Failed to start PostgreSQL 10 database server." ] } }, @@ -7072,7 +7058,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2021-08-23 10:24:00+00 | 000000010000000000000003", + " \"demo\" | 2021-10-29 12:01:49+00 | 000000010000000000000003", "(1 row)" ] } @@ -7118,7 +7104,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20210823-102344F|remove archive" + "archive retention on backup 20211029-120144F|remove archive" ] }, "host" : "pg-primary", @@ -7131,8 +7117,8 @@ "output" : [ " [filtered 957 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=2094-fb361472 --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: repo1: 10-1 archive retention on backup 20210823-102344F, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.36: --exec-id=1839-0cd4fa17 --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: repo1: 10-1 archive retention on backup 20211029-120144F, start = 000000010000000000000002", "P00 INFO: repo1: 10-1 remove archive, start = 000000010000000000000001, stop = 000000010000000000000001", "P00 INFO: expire command end: completed successfully" ] @@ -7152,7 +7138,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-102417F" + "20211029-120155F" ] } }, @@ -7167,7 +7153,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20210823-102344F|archive retention on backup 20210823-102417F|remove archive" + "expire full backup set 20211029-120144F|archive retention on backup 20211029-120155F|remove archive" ] }, "host" : "pg-primary", @@ -7180,10 +7166,10 @@ "output" : [ " [filtered 8 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=2170-85027ba4 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", - "P00 INFO: repo1: expire full backup set 20210823-102344F, 20210823-102344F_20210823-102358D", - "P00 INFO: repo1: remove expired backup 20210823-102344F_20210823-102358D", - "P00 INFO: repo1: remove expired backup 20210823-102344F", + "P00 INFO: expire command begin 2.36: --exec-id=1914-8d3f4587 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: repo1: expire full backup set 20211029-120144F, 20211029-120144F_20211029-120148D", + "P00 INFO: repo1: remove expired backup 20211029-120144F_20211029-120148D", + "P00 INFO: repo1: remove expired backup 20211029-120144F", "P00 INFO: repo1: 10-1 remove archive, start = 0000000100000000, stop = 000000020000000000000004", "P00 INFO: expire command end: completed successfully" ] @@ -7247,7 +7233,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-102429F_20210823-102444D" + "20211029-120159F_20211029-120202D" ] } }, @@ -7275,7 +7261,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20210823-102429F_20210823-102444D" + "expire diff backup set 20211029-120159F_20211029-120202D" ] }, "host" : "pg-primary", @@ -7288,10 +7274,10 @@ "output" : [ " [filtered 9 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=2371-56d10eb4 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", - "P00 INFO: repo1: expire diff backup set 20210823-102429F_20210823-102444D, 20210823-102429F_20210823-102447I", - "P00 INFO: repo1: remove expired backup 20210823-102429F_20210823-102447I", - "P00 INFO: repo1: remove expired backup 20210823-102429F_20210823-102444D", + "P00 INFO: expire command begin 2.36: --exec-id=2101-7780704c --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", + "P00 INFO: repo1: expire diff backup set 20211029-120159F_20211029-120202D, 20211029-120159F_20211029-120204I", + "P00 INFO: repo1: remove expired backup 20211029-120159F_20211029-120204I", + "P00 INFO: repo1: remove expired backup 20211029-120159F_20211029-120202D", "P00 INFO: expire command end: completed successfully" ] } @@ -7341,7 +7327,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-102429F_20210823-102450D" + "20211029-120159F_20211029-120207D" ] } }, @@ -7385,7 +7371,7 @@ " [filtered 5 lines of output]", "P00 INFO: backup stop archive = 00000002000000000000000D, lsn = 0/D0000F8", "P00 INFO: check archive for segment(s) 00000002000000000000000D:00000002000000000000000D", - "P00 INFO: new backup label = 20210823-102429F_20210823-102454D", + "P00 INFO: new backup label = 20211029-120159F_20211029-120210D", "P00 INFO: diff backup size = 9.2KB, file total = 949", "P00 INFO: backup command end: completed successfully", " [filtered 2 lines of output]" @@ -7406,7 +7392,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-102429F_20210823-102454D" + "20211029-120159F_20211029-120210D" ] } }, @@ -7421,7 +7407,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20210823-102429F_20210823-102450D|remove archive" + "archive retention on backup 20211029-120159F_20211029-120207D|remove archive" ] }, "host" : "pg-primary", @@ -7432,11 +7418,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.35: --exec-id=2607-97957dbc --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: repo1: 10-1 archive retention on backup 20210823-102417F, start = 000000020000000000000005, stop = 000000020000000000000005", - "P00 DETAIL: repo1: 10-1 archive retention on backup 20210823-102429F, start = 000000020000000000000006, stop = 000000020000000000000006", - "P00 DETAIL: repo1: 10-1 archive retention on backup 20210823-102429F_20210823-102450D, start = 00000002000000000000000A, stop = 00000002000000000000000A", - "P00 DETAIL: repo1: 10-1 archive retention on backup 20210823-102429F_20210823-102454D, start = 00000002000000000000000D", + "P00 INFO: expire command begin 2.36: --exec-id=2333-931c5882 --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: repo1: 10-1 archive retention on backup 20211029-120155F, start = 000000020000000000000005, stop = 000000020000000000000005", + "P00 DETAIL: repo1: 10-1 archive retention on backup 20211029-120159F, start = 000000020000000000000006, stop = 000000020000000000000006", + "P00 DETAIL: repo1: 10-1 archive retention on backup 20211029-120159F_20211029-120207D, start = 00000002000000000000000A, stop = 00000002000000000000000A", + "P00 DETAIL: repo1: 10-1 archive retention on backup 20211029-120159F_20211029-120210D, start = 00000002000000000000000D", "P00 INFO: repo1: 10-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000009", "P00 INFO: repo1: 10-1 remove archive, start = 00000002000000000000000B, stop = 00000002000000000000000C", "P00 INFO: expire command end: completed successfully" @@ -7484,7 +7470,7 @@ "P00 INFO: remove invalid files/links/paths from '/var/lib/pgsql/10/data'", "P00 DETAIL: remove invalid file '/var/lib/pgsql/10/data/backup_label.old'", "P00 DETAIL: remove invalid file '/var/lib/pgsql/10/data/base/13017/pg_internal.init'", - " [filtered 997 lines of output]" + " [filtered 998 lines of output]" ] } }, @@ -7651,7 +7637,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-102429F_20210823-102502I" + "20211029-120159F_20211029-120216I" ] } }, @@ -7660,7 +7646,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20210823-102429F_20210823-102502I info" + " --set=20211029-120159F_20211029-120216I info" ], "highlight" : { "filter" : true, @@ -7679,7 +7665,7 @@ "output" : [ " [filtered 11 lines of output]", " repo1: backup set size: 4.4MB, backup size: 1.8MB", - " backup reference list: 20210823-102429F, 20210823-102429F_20210823-102454D", + " backup reference list: 20211029-120159F, 20211029-120159F_20211029-120210D", " database list: postgres (13017), test1 (24576), test2 (24577)" ] } @@ -7923,7 +7909,7 @@ "type" : "exe", "value" : { "output" : [ - "2021-08-23 10:25:23.763365+00" + "2021-10-29 12:02:28.38486+00" ] } }, @@ -7989,7 +7975,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2021-08-23 10:25:23.763365+00\" \\", + " --type=time \"--target=2021-10-29 12:02:28.38486+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -8033,9 +8019,9 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:25:26", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:02:30", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2021-08-23 10:25:23.763365+00'", + "recovery_target_time = '2021-10-29 12:02:28.38486+00'", "recovery_target_action = 'promote'" ] } @@ -8115,16 +8101,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2021-08-23 10:25:17 UTC", - "LOG: starting point-in-time recovery to 2021-08-23 10:25:23.763365+00", + "LOG: database system was interrupted; last known up at 2021-10-29 12:02:24 UTC", + "LOG: starting point-in-time recovery to 2021-10-29 12:02:28.38486+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000010\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", "LOG: restored log file \"000000040000000000000011\" from archive", - "LOG: recovery stopping before commit of transaction 564, time 2021-08-23 10:25:25.105547+00", - "LOG: redo done at 0/11021210", - "LOG: last completed transaction was at log time 2021-08-23 10:25:22.375094+00", + "LOG: recovery stopping before commit of transaction 564, time 2021-10-29 12:02:29.695775+00", + "LOG: redo done at 0/11020858", + "LOG: last completed transaction was at log time 2021-10-29 12:02:26.985761+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", "LOG: database system is ready to accept connections" @@ -8189,7 +8175,7 @@ "type" : "exe", "value" : { "output" : [ - "20210823-102429F_20210823-102530I" + "20211029-120159F_20211029-120234I" ] } }, @@ -8203,7 +8189,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20210823-102429F_20210823-102530I" + "20211029-120159F_20211029-120234I" ] }, "host" : "pg-primary", @@ -8221,45 +8207,45 @@ " db (current)", " wal archive min/max (10): 000000020000000000000005/000000050000000000000012", "", - " full backup: 20210823-102417F", - " timestamp start/stop: 2021-08-23 10:24:17 / 2021-08-23 10:24:28", + " full backup: 20211029-120155F", + " timestamp start/stop: 2021-10-29 12:01:55 / 2021-10-29 12:01:58", " wal start/stop: 000000020000000000000005 / 000000020000000000000005", " database size: 22.5MB, database backup size: 22.5MB", " repo1: backup set size: 2.7MB, backup size: 2.7MB", "", - " full backup: 20210823-102429F", - " timestamp start/stop: 2021-08-23 10:24:29 / 2021-08-23 10:24:42", + " full backup: 20211029-120159F", + " timestamp start/stop: 2021-10-29 12:01:59 / 2021-10-29 12:02:01", " wal start/stop: 000000020000000000000006 / 000000020000000000000006", " database size: 22.5MB, database backup size: 22.5MB", " repo1: backup set size: 2.7MB, backup size: 2.7MB", "", - " diff backup: 20210823-102429F_20210823-102454D", - " timestamp start/stop: 2021-08-23 10:24:54 / 2021-08-23 10:24:56", + " diff backup: 20211029-120159F_20211029-120210D", + " timestamp start/stop: 2021-10-29 12:02:10 / 2021-10-29 12:02:11", " wal start/stop: 00000002000000000000000D / 00000002000000000000000D", " database size: 22.5MB, database backup size: 9.5KB", " repo1: backup set size: 2.7MB, backup size: 928B", - " backup reference list: 20210823-102429F", + " backup reference list: 20211029-120159F", "", - " incr backup: 20210823-102429F_20210823-102502I", - " timestamp start/stop: 2021-08-23 10:25:02 / 2021-08-23 10:25:10", + " incr backup: 20211029-120159F_20211029-120216I", + " timestamp start/stop: 2021-10-29 12:02:16 / 2021-10-29 12:02:18", " wal start/stop: 00000003000000000000000F / 00000003000000000000000F", - " database size: 37MB, database backup size: 15.1MB", + " database size: 37.2MB, database backup size: 15.2MB", " repo1: backup set size: 4.4MB, backup size: 1.8MB", - " backup reference list: 20210823-102429F, 20210823-102429F_20210823-102454D", + " backup reference list: 20211029-120159F, 20211029-120159F_20211029-120210D", "", - " diff backup: 20210823-102429F_20210823-102516D", - " timestamp start/stop: 2021-08-23 10:25:16 / 2021-08-23 10:25:22", + " diff backup: 20211029-120159F_20211029-120224D", + " timestamp start/stop: 2021-10-29 12:02:24 / 2021-10-29 12:02:26", " wal start/stop: 000000040000000000000010 / 000000040000000000000010", - " database size: 29.8MB, database backup size: 7.8MB", - " repo1: backup set size: 3.6MB, backup size: 952.2KB", - " backup reference list: 20210823-102429F", + " database size: 29.9MB, database backup size: 7.8MB", + " repo1: backup set size: 3.6MB, backup size: 951.8KB", + " backup reference list: 20211029-120159F", "", - " incr backup: 20210823-102429F_20210823-102530I", - " timestamp start/stop: 2021-08-23 10:25:30 / 2021-08-23 10:25:31", + " incr backup: 20211029-120159F_20211029-120234I", + " timestamp start/stop: 2021-10-29 12:02:34 / 2021-10-29 12:02:36", " wal start/stop: 000000050000000000000012 / 000000050000000000000012", - " database size: 29.8MB, database backup size: 2MB", - " repo1: backup set size: 3.6MB, backup size: 218.6KB", - " backup reference list: 20210823-102429F, 20210823-102429F_20210823-102516D" + " database size: 29.9MB, database backup size: 2.1MB", + " repo1: backup set size: 3.6MB, backup size: 218.4KB", + " backup reference list: 20211029-120159F, 20211029-120159F_20211029-120224D" ] } }, @@ -8281,8 +8267,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20210823-102429F_20210823-102530I \\", - " --type=time \"--target=2021-08-23 10:25:23.763365+00\" --target-action=promote restore" + " --set=20211029-120159F_20211029-120234I \\", + " --type=time \"--target=2021-10-29 12:02:28.38486+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8379,8 +8365,8 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2021-08-23 10:25:30 UTC", - "LOG: starting point-in-time recovery to 2021-08-23 10:25:23.763365+00", + "LOG: database system was interrupted; last known up at 2021-10-29 12:02:34 UTC", + "LOG: starting point-in-time recovery to 2021-10-29 12:02:28.38486+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"000000050000000000000012\" from archive", "LOG: redo starts at 0/12000028", @@ -8409,7 +8395,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2021-08-23 10:25:23.763365+00\" \\", + " --type=time \"--target=2021-10-29 12:02:28.38486+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -8507,16 +8493,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2021-08-23 10:25:17 UTC", - "LOG: starting point-in-time recovery to 2021-08-23 10:25:23.763365+00", + "LOG: database system was interrupted; last known up at 2021-10-29 12:02:24 UTC", + "LOG: starting point-in-time recovery to 2021-10-29 12:02:28.38486+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000010\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", "LOG: restored log file \"000000040000000000000011\" from archive", - "LOG: recovery stopping before commit of transaction 564, time 2021-08-23 10:25:25.105547+00", - "LOG: redo done at 0/11021210", - "LOG: last completed transaction was at log time 2021-08-23 10:25:22.375094+00", + "LOG: recovery stopping before commit of transaction 564, time 2021-10-29 12:02:29.695775+00", + "LOG: redo done at 0/11020858", + "LOG: last completed transaction was at log time 2021-10-29 12:02:26.985761+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 3 lines of output]" @@ -8547,9 +8533,6 @@ "repo2-retention-full" : { "value" : "4" }, - "repo2-storage-host" : { - "value" : "blob.core.windows.net" - }, "repo2-type" : { "value" : "azure" } @@ -8574,7 +8557,6 @@ "repo2-azure-key=YXpLZXk=", "repo2-path=/demo-repo", "repo2-retention-full=4", - "repo2-storage-host=blob.core.windows.net", "repo2-type=azure", "start-fast=y", "", @@ -8587,7 +8569,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "echo \"172.17.0.2 blob.core.windows.net\" | tee -a /etc/hosts" + "echo \"172.17.0.2 pgbackrest.blob.core.windows.net\" | tee -a /etc/hosts" ], "host" : "pg-primary", "load-env" : true, @@ -8659,16 +8641,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.35: --exec-id=4560-4d376f4b --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=4 --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.36: --exec-id=4271-908fb51a --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=4 --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo2-type=azure --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(): backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000070000000000000012, lsn = 0/12000028", " [filtered 2 lines of output]", "P00 INFO: check archive for segment(s) 000000070000000000000012:000000070000000000000012", - "P00 INFO: new backup label = 20210823-102543F", - "P00 INFO: full backup size = 29.8MB, file total = 1246", + "P00 INFO: new backup label = 20211029-120246F", + "P00 INFO: full backup size = 29.9MB, file total = 1246", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=4560-4d376f4b --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --stanza=demo" + "P00 INFO: expire command begin 2.36: --exec-id=4271-908fb51a --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo2-type=azure --stanza=demo" ] } }, @@ -8702,9 +8684,6 @@ "repo3-s3-region" : { "value" : "us-east-1" }, - "repo3-storage-host" : { - "remove" : true - }, "repo3-type" : { "value" : "s3" } @@ -8729,7 +8708,6 @@ "repo2-azure-key=YXpLZXk=", "repo2-path=/demo-repo", "repo2-retention-full=4", - "repo2-storage-host=blob.core.windows.net", "repo2-type=azure", "repo3-path=/demo-repo", "repo3-retention-full=4", @@ -8822,16 +8800,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.35: --exec-id=4737-c8d92bf3 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo3-retention-full=4 --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --repo3-type=s3 --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.36: --exec-id=4447-40a22558 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo3-retention-full=4 --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-type=azure --repo3-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(): backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000070000000000000013, lsn = 0/13000028", " [filtered 2 lines of output]", "P00 INFO: check archive for segment(s) 000000070000000000000013:000000070000000000000013", - "P00 INFO: new backup label = 20210823-102551F", - "P00 INFO: full backup size = 29.8MB, file total = 1246", + "P00 INFO: new backup label = 20211029-120253F", + "P00 INFO: full backup size = 29.9MB, file total = 1246", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.35: --exec-id=4737-c8d92bf3 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo3-retention-full=4 --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --repo3-type=s3 --stanza=demo" + "P00 INFO: expire command begin 2.36: --exec-id=4447-40a22558 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo1-retention-diff=2 --repo1-retention-full=2 --repo2-retention-full=4 --repo3-retention-full=4 --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-type=azure --repo3-type=s3 --stanza=demo" ] } }, @@ -8877,7 +8855,6 @@ "repo2-azure-key=YXpLZXk=", "repo2-path=/demo-repo", "repo2-retention-full=4", - "repo2-storage-host=blob.core.windows.net", "repo2-type=azure", "repo3-path=/demo-repo", "repo3-retention-full=4", @@ -8932,7 +8909,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.35: --exec-id=4858-a2ceb0bd --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", + "P00 INFO: stop command begin 2.36: --exec-id=4565-85a19a66 --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -8959,7 +8936,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.35: --exec-id=4893-7a7453cd --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo=1 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo4-gcs-bucket=demo-bucket --repo4-gcs-key= --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-path=/demo-repo --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-storage-host=blob.core.windows.net --repo2-type=azure --repo3-type=s3 --repo4-type=gcs --stanza=demo", + "P00 INFO: stanza-delete command begin 2.36: --exec-id=4600-ce656d1f --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo=1 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo4-gcs-bucket=demo-bucket --repo4-gcs-key= --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-path=/demo-repo --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --repo2-type=azure --repo3-type=s3 --repo4-type=gcs --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -9035,7 +9012,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.35/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.36/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -9594,16 +9571,16 @@ " db (current)", " wal archive min/max (10): 000000080000000000000018/000000080000000000000019", "", - " full backup: 20210823-102707F", - " timestamp start/stop: 2021-08-23 10:27:07 / 2021-08-23 10:27:23", + " full backup: 20211029-120319F", + " timestamp start/stop: 2021-10-29 12:03:19 / 2021-10-29 12:03:21", " wal start/stop: 000000080000000000000018 / 000000080000000000000018", - " database size: 29.8MB, database backup size: 29.8MB", + " database size: 29.9MB, database backup size: 29.9MB", " repo1: backup set size: 3.5MB, backup size: 3.5MB", "", - " full backup: 20210823-102725F", - " timestamp start/stop: 2021-08-23 10:27:25 / 2021-08-23 10:27:33", + " full backup: 20211029-120323F", + " timestamp start/stop: 2021-10-29 12:03:23 / 2021-10-29 12:03:26", " wal start/stop: 000000080000000000000019 / 000000080000000000000019", - " database size: 29.8MB, database backup size: 29.8MB", + " database size: 29.9MB, database backup size: 29.9MB", " repo1: backup set size: 3.5MB, backup size: 3.5MB" ] } @@ -9643,7 +9620,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 WARN: unable to check pg-1: [StopError] raised from remote-0 protocol on 'pg-primary': stop file exists for all stanzas", + "P00 WARN: unable to check pg-1: [StopError] raised from remote-0 ssh protocol on 'pg-primary': stop file exists for all stanzas", "P00 ERROR: [056]: unable to find primary cluster - cannot proceed" ] } @@ -9714,7 +9691,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 WARN: unable to check pg-1: [StopError] raised from remote-0 protocol on 'pg-primary': stop file exists for stanza demo", + "P00 WARN: unable to check pg-1: [StopError] raised from remote-0 ssh protocol on 'pg-primary': stop file exists for stanza demo", "P00 ERROR: [056]: unable to find primary cluster - cannot proceed" ] } @@ -9764,7 +9741,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.35/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.36/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -10043,7 +10020,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:28:29", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:03:36", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" ] @@ -10163,7 +10140,7 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2021-08-23 10:27:26 UTC", + "LOG: database system was interrupted; last known up at 2021-10-29 12:03:23 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", "LOG: restored log file \"000000080000000000000019\" from archive", @@ -10250,7 +10227,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/1A02B3C0 | 2021-08-23 10:28:34.275204+00", + " 0/1A02A9C8 | 2021-10-29 12:03:40.974372+00", "(1 row)" ] } @@ -10279,7 +10256,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2021-08-23 10:28:37.120979+00", + " Important Data | 2021-10-29 12:03:43.748088+00", "(1 row)" ] } @@ -10305,7 +10282,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.35: --exec-id=1502-56732783 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.36: --exec-id=1317-973dac59 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-host=repository --stanza=demo", "P00 INFO: check repo1 (standby)", "P00 INFO: switch wal not performed because this is a standby", "P00 INFO: check command end: completed successfully" @@ -10452,7 +10429,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2021-08-23 10:28:41", + "# Recovery settings generated by pgBackRest restore on 2021-10-29 12:03:47", "primary_conninfo = 'host=172.17.0.5 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" @@ -10577,7 +10554,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2021-08-23 10:28:46.081584+00", + " Important Data | 2021-10-29 12:03:51.037022+00", "(1 row)" ] } @@ -10606,7 +10583,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2021-08-23 10:28:46.269856+00", + " Important Data | 2021-10-29 12:03:51.253056+00", "(1 row)" ] } @@ -10837,10 +10814,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.35: --exec-id=6160-c77d845b --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.36: --exec-id=5821-b35b7816 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --repo1-host=repository --stanza=demo", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 000000080000000000000020 successfully archived to '/var/lib/pgbackrest/archive/demo/10-1/0000000800000000/000000080000000000000020-6c4d82b2e3ca629e009e55f5c4f96b27607a98b3.gz' on repo1", + "P00 INFO: WAL segment 000000080000000000000020 successfully archived to '/var/lib/pgbackrest/archive/demo/10-1/0000000800000000/000000080000000000000020-1b7f6bb60c58071d54036c84af7aecacf96a699f.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -10867,13 +10844,13 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.35: [/var/lib/pgsql/10/data/pg_wal] --archive-async --exec-id=6118-cbb9948c --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-push:async command begin 2.36: [/var/lib/pgsql/10/data/pg_wal] --archive-async --exec-id=5780-3b53e200 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000001B", "P01 DETAIL: pushed WAL file '00000008000000000000001B' to the archive", "P00 INFO: archive-push:async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.35: [/var/lib/pgsql/10/data/pg_wal] --archive-async --exec-id=6162-1e1f884b --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-push:async command begin 2.36: [/var/lib/pgsql/10/data/pg_wal] --archive-async --exec-id=5823-440f629a --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: push 4 WAL file(s) to archive: 00000008000000000000001C...00000008000000000000001F", "P02 DETAIL: pushed WAL file '00000008000000000000001D' to the archive", "P01 DETAIL: pushed WAL file '00000008000000000000001C' to the archive", @@ -10882,7 +10859,7 @@ "P00 INFO: archive-push:async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.35: [/var/lib/pgsql/10/data/pg_wal] --archive-async --exec-id=6174-394d04ab --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-push:async command begin 2.36: [/var/lib/pgsql/10/data/pg_wal] --archive-async --exec-id=5835-8f656aa8 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/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", "P00 INFO: archive-push:async command end: completed successfully" @@ -10924,14 +10901,14 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.35: [000000080000000000000019, 00000008000000000000001A, 00000008000000000000001B, 00000008000000000000001C, 00000008000000000000001D, 00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020] --archive-async --exec-id=2133-b50f2b70 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get:async command begin 2.36: [000000080000000000000019, 00000008000000000000001A, 00000008000000000000001B, 00000008000000000000001C, 00000008000000000000001D, 00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020] --archive-async --exec-id=1898-07b9123d --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000019...000000080000000000000020", - "P01 DETAIL: found 000000080000000000000019 in the repo1: 10-1 archive", "P02 DETAIL: found 00000008000000000000001A in the repo1: 10-1 archive", + "P01 DETAIL: found 000000080000000000000019 in the repo1: 10-1 archive", "P00 DETAIL: unable to find 00000008000000000000001B in the archive", "P00 INFO: archive-get:async command end: completed successfully", " [filtered 14 lines of output]", - "P00 INFO: archive-get:async command begin 2.35: [00000008000000000000001B, 00000008000000000000001C, 00000008000000000000001D, 00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022] --archive-async --exec-id=2190-f9c2b15d --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get:async command begin 2.36: [00000008000000000000001B, 00000008000000000000001C, 00000008000000000000001D, 00000008000000000000001E, 00000008000000000000001F, 000000080000000000000020, 000000080000000000000021, 000000080000000000000022] --archive-async --exec-id=1953-ce2e1add --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/10/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 00000008000000000000001B...000000080000000000000022", "P01 DETAIL: found 00000008000000000000001B in the repo1: 10-1 archive", "P02 DETAIL: found 00000008000000000000001C in the repo1: 10-1 archive", @@ -11027,17 +11004,14 @@ "P00 INFO: backup start archive = 000000080000000000000022, lsn = 0/22000028", "P00 INFO: wait for replay on the standby to reach 0/22000028", "P00 INFO: replay on the standby reached 0/22000028", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/global/pg_control (8KB, 0%) checksum 48bc0fa1bf3dba9e6c3e29a9a28a1ee5c3f1fe5e", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/log/postgresql.log (5.3KB, 0%) checksum 2020e53fab4afab9e90a00b4d3955c8adc027758", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/global/pg_control (8KB, 0%) checksum 636d88447b7a080b68c1a70fc65aa14f75c2665d", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/log/postgresql.log (5.3KB, 0%) checksum 1f669e8ef4fc8fa06c0af0fe6cb7547273e48dc5", "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/pg_hba.conf (4.2KB, 0%) checksum 12abee43e7eabfb3ff6239f3fc9bc3598293557d", "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/current_logfiles (26B, 0%) checksum 78a9f5c10960f0d91fcd313937469824861795a2", - "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/2608 (440KB, 19%) checksum 39f99e553baa914f6e0f312969be376a816c5189", - "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/1249 (392KB, 36%) checksum da261c9f1640d975491bc72ad6fdd2ff456ac1c6", - "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/2674 (368KB, 52%) checksum 90432f6749fd4b79bd5d008d255a1c64bfbb775c", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/pg_logical/replorigin_checkpoint (8B, 52%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/1259 (88KB, 56%) checksum 41a329e0b32bc84573d17d3d39e697c1134df745", - "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/2673 (312KB, 70%) checksum 1d77af1791b4e6c3595d492574918a8abda70310", - " [filtered 1251 lines of output]" + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/pg_logical/replorigin_checkpoint (8B, 0%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", + "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/2608 (440KB, 19%) checksum bec9a4997a5639318eb01f2082e0b99ab3e256f6", + "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/1249 (392KB, 36%) checksum 1e632c4405f74321b16b4e2edd6ac9e8b9ed03f5", + " [filtered 1254 lines of output]" ] } }, @@ -11109,8 +11083,8 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 70 lines of output]", - "Creating script to delete old cluster ok", + " [filtered 72 lines of output]", + "Checking for extension updates ok", "", "Upgrade Complete", "----------------", @@ -11299,7 +11273,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.35: --exec-id=6712-3e144fcc --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/pgsql/11/data --repo1-host=repository --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.36: --exec-id=6370-1d62bc82 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/pgsql/11/data --repo1-host=repository --stanza=demo", "P00 INFO: stanza-upgrade for stanza 'demo' on repo1", "P00 INFO: stanza-upgrade command end: completed successfully" ] @@ -11326,32 +11300,10 @@ ], "host" : "pg-primary", "load-env" : true, - "output" : true, + "output" : false, "run-as-user" : null }, - "type" : "exe", - "value" : { - "output" : [ - "● postgresql-11.service - PostgreSQL 11 database server", - " Loaded: loaded (/usr/lib/systemd/system/postgresql-11.service; disabled; vendor preset: disabled)", - " Active: active (running) since Mon 2021-08-23 10:29:15 UTC; 167ms ago", - " Docs: https://www.postgresql.org/docs/11/static/", - " Process: 6749 ExecStartPre=/usr/pgsql-11/bin/postgresql-11-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)", - " Main PID: 6754 (postmaster)", - " Tasks: 9 (limit: 25070)", - " Memory: 23.3M", - " CGroup: /system.slice/containerd.service/system.slice/postgresql-11.service", - " ├─6754 /usr/pgsql-11/bin/postmaster -D /var/lib/pgsql/11/data/", - " ├─6755 postgres: logger ", - " ├─6757 postgres: checkpointer ", - " ├─6758 postgres: background writer ", - " ├─6759 postgres: walwriter ", - " ├─6760 postgres: autovacuum launcher ", - " ├─6761 postgres: archiver ", - " ├─6762 postgres: stats collector ", - " └─6763 postgres: logical replication launcher " - ] - } + "type" : "exe" }, { "key" : { @@ -11419,7 +11371,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 WARN: unable to check pg-2: [DbConnectError] raised from remote-0 protocol on 'pg-standby': unable to connect to 'dbname='postgres' port=5432': could not connect to server: No such file or directory", + "P00 WARN: unable to check pg-2: [DbConnectError] raised from remote-0 ssh protocol on 'pg-standby': unable to connect to 'dbname='postgres' port=5432': could not connect to server: No such file or directory", " \tIs the server running locally and accepting", " \tconnections on Unix domain socket \"/var/run/postgresql/.s.PGSQL.5432\"?" ] diff --git a/doc/resource/git-history.cache b/doc/resource/git-history.cache index 1a4bc3c7d..a87feb1b3 100644 --- a/doc/resource/git-history.cache +++ b/doc/resource/git-history.cache @@ -1,4 +1,669 @@ [ + { + "commit": "6abb06248c2829f2c27a7a553d373b0fdf70cfc3", + "date": "2021-10-29 11:45:50 -0400", + "subject": "Make analytics optional for HTML documentation.", + "body": "Analytics should only be added to the current HTML documentation on the website, so exclude them by default." + }, + { + "commit": "13366573261bf2562bc93ef77014f7d16b815e5b", + "date": "2021-10-29 10:35:56 -0400", + "subject": "Restore some linefeed rendering behavior from before def7d513.", + "body": "The new rendering behavior is correct in normal cases, but for the pre-rendered HTML blocks in the command and configuration references it causes a lot of churn. This would be OK if the new HTML was diff-able, but it is not.\n\nGo back to the old behavior of using br tags for this case to reduce churn until a more permanent solution is found." + }, + { + "commit": "c32e000ab92e9e9e5495ddec7c4e347c35801570", + "date": "2021-10-28 15:15:49 -0400", + "subject": "Use Rocky Linux for documentation builds instead of CentOS.", + "body": "Since CentOS 8 will be EOL at the end of the year it makes sense to do this now. The centos:8 image is still used in documentation.xml because changes there require manual testing, which will need to be done at a later date. The changes are not user-facing, however, and can be done at any time.\n\nAlso update CentOS references to RHEL since that is what we are emulating for testing purposes." + }, + { + "commit": "30c589ace7a459f3b3d09b702e314efd412e71d6", + "date": "2021-10-28 13:28:49 -0400", + "subject": "Fix typo in contributing guide.", + "body": "Not sure how this got broken but it was probably an errant search and replace." + }, + { + "commit": "2f1a2877373c7be68d553c7f781299edaf8ff196", + "date": "2021-10-28 11:49:00 -0400", + "subject": "Add missing assert." + }, + { + "commit": "adc09ffc3bccb24c83a471c8af1f9bf68f2cf9c8", + "date": "2021-10-28 08:10:43 -0400", + "subject": "Minor fix for lower-casing of option summaries.", + "body": "This works with existing cases and fixes \"I/O\"." + }, + { + "commit": "fa564ee1969229b5cf60d2479d8ace85325f4db3", + "date": "2021-10-27 11:08:32 -0400", + "subject": "Improve documentation for cmd-ssh, repo-host-cmd, pg-host-cmd options.", + "body": "Use \"command\" instead of \"exe\" and make the descriptions more consistent." + }, + { + "commit": "e1f6c066b3da11fd21b1155c90370c3fa2da06b7", + "date": "2021-10-27 10:52:39 -0400", + "subject": "Improve documentation for buffer-size option." + }, + { + "commit": "1f7c7b7dda1c736fab2673084498fc7c220b742a", + "date": "2021-10-26 16:56:44 -0400", + "subject": "Fix test descriptions in common/typeVariantTest." + }, + { + "commit": "d74fe7a222c1e1ae0f02addbeb712f8946d3d731", + "date": "2021-10-26 13:53:44 -0400", + "subject": "Add coverage for empty CATCH() blocks.", + "body": "Currently empty CATCH() blocks are always marked as covered because of the loop structure of error handling.\n\nA prototype implementation of error handling without looping has shown that these CATCH() blocks are not covered without new tests. Whether or not that prototype gets committed it is worth adding the tests." + }, + { + "commit": "e2eea974c144f77448aa9d5fbb55c933b70ea5ad", + "date": "2021-10-26 12:09:41 -0400", + "subject": "Add assertion for Coverity.", + "body": "Coverity thinks this value might be NULL but that should not be possible because of the TRY...CATCH block." + }, + { + "commit": "4f10441574761c9cd4e31cdef750742e004ae669", + "date": "2021-10-26 08:25:21 -0400", + "subject": "Add missing paragraph tags in coding standards." + }, + { + "commit": "7fb99c59c88fe11c679d6ba7835f995a969462c0", + "date": "2021-10-26 07:46:48 -0400", + "subject": "Use externed instead of extern'd in comments.", + "body": "This is mostly to revert some comment changes in b11ab9f7 that will break the ppc64le patch, but at the same time keep the spelling consistent in all comments and documentation.\n\nAlso revert some space changes for the same reason." + }, + { + "commit": "653ffcf8d98ebfe94ae44ed54b4a295428c57850", + "date": "2021-10-25 15:42:28 -0400", + "subject": "Adjustments for new breaking change in Azurite.", + "body": "Azurite released another breaking change (see fbd018cd, 096829b3, c38d6926, and Azurite issue 1039) so make adjustments as needed to documentation and tests.\n\nAlso remove some dead code that hid the repo-storage-host option and was made obsolete by all these changes." + }, + { + "commit": "13d4559708819787ad05be6f37ec0badb0eccae5", + "date": "2021-10-25 15:31:39 -0400", + "subject": "Check return value of getsockopt().", + "body": "Checking the return value is not terribly important here, but if setsockopt() fails it is likely that bind() will fail as well. May as well get it over with and this makes Coverity happy." + }, + { + "commit": "1152f7a7d64e69eed1d9e74b48a308f6c742c28a", + "date": "2021-10-25 12:56:33 -0400", + "subject": "Fix mismatched parameters in tlsClientNew() call.", + "body": "3879bc69 added this call and the parameters were not quite right but in way that the compiler decided they were OK. It was mostly working but TLS verification was disabled if caPath was NULL, which is not OK." + }, + { + "commit": "a1a2284c881ba6c3b9b1c316b31e0583c006f1af", + "date": "2021-10-25 09:01:22 -0400", + "subject": "Fix typos in error messages." + }, + { + "commit": "3879bc69b888daa04d2ca98a2d1219cf22519ddc", + "date": "2021-10-22 18:31:55 -0400", + "subject": "Add WebIdentity authentication for AWS S3.", + "body": "This allows credentials to be automatically acquired in an EKS environment." + }, + { + "commit": "51785739f44b624091246c48af6defe97c30d7a7", + "date": "2021-10-22 18:02:20 -0400", + "subject": "Store config values as a union instead of a variant.", + "body": "The variants were needed to easily serialize configurations for the Perl code.\r\n\r\nUnions are more efficient and will allow us to add new types that are not supported by variants, e.g. StringId." + }, + { + "commit": "2cea005f740d640290a9948595f5933833e30e7d", + "date": "2021-10-22 17:19:16 -0400", + "subject": "Fix segfault on invalid GCS key file." + }, + { + "commit": "cb36fec102855bf268ec5234bbb5261be98bdc61", + "date": "2021-10-21 17:48:00 -0400", + "subject": "Add analytics to the HTML documentation." + }, + { + "commit": "a63e732987bc1f6f26514568dabc6c0b23df07ab", + "date": "2021-10-21 17:25:32 -0400", + "subject": "Fix indentation." + }, + { + "commit": "78e1bd333068c4a857054490698115fa2c698e0b", + "date": "2021-10-21 17:10:00 -0400", + "subject": "Move v1 documentation links out of the introduction.", + "body": "There should be few if any users running v1 now so these links do not need to be so prominent." + }, + { + "commit": "861df2a73cafbd49049dccdc55d5214b00dd3cec", + "date": "2021-10-21 17:02:46 -0400", + "subject": "Add GitHub repository link to index.html and README.md." + }, + { + "commit": "1cb8ae15de5b4276682bdd9825ca97012cd43855", + "date": "2021-10-21 13:51:59 -0400", + "subject": "Fix incorrect host name in user guide.", + "body": "The text indicates to populate the pg-primary IP address into the pg_hba.conf file to allow replication connections. It should indicate to populate the pg-standby IP address" + }, + { + "commit": "b11ab9f799aa6fc32dd03e96e8a0428d5c83d9ae", + "date": "2021-10-21 13:31:22 -0400", + "subject": "Fix typos." + }, + { + "commit": "8ad6b7330e1ee6bcbc0f06ec0562a433e7888f44", + "date": "2021-10-21 09:20:40 -0400", + "subject": "Fix outdated comment.", + "body": "This check was moved from within the path checks at some point but the comment did not get updated." + }, + { + "commit": "fbd018cd56482efff425beb4026fe22482115138", + "date": "2021-10-20 08:22:37 -0400", + "subject": "Allow S3/Azure Docker images to be specified in user guide.", + "body": "It is not uncommon for the S3/Azure emulators we use to introduce breaking changes without warning. If that happens the documentation can still be built by specifying a working version of the image. In general, it is better to let the version float so we know when things break.\n\nAzurite has yet another breaking change coming up (see 096829b3, c38d6926, and Azurite issue 1039) so set azure-image at the current version until the breaking change has been released." + }, + { + "commit": "5dfdd6dd5b7b43dc3a223b9552aed4052d0db3aa", + "date": "2021-10-19 12:45:20 -0400", + "subject": "Add -Werror -Wfatal-errors -g flags to configure --enable-test.", + "body": "These flags are used for all tests but it was not possible to add them to configure before the change in 046d6643. This is especially important for adhoc tests to ensure the flags are not forgotten.\n\nRemove the flags from test make commands where they were being applied.\n\nThere is no change for production builds." + }, + { + "commit": "046d6643373859c5e848a97e06389ed2aa553723", + "date": "2021-10-19 12:14:09 -0400", + "subject": "Set most compiler flags as late as possible in configure.", + "body": "Some flags, e.g. -Wfatal-errors, will cause tests in configure to behave incorrectly so we have not been able to add them to --enable-test.\n\nAdd the compiler flags as late as possible so configure checks are not affected. This will allow us to add flags that we need for testing without having to explicitly pass them to make." + }, + { + "commit": "e443e3c6c05c9d65a67dac0c8430b59239fbc1b8", + "date": "2021-10-19 09:06:06 -0400", + "subject": "Add br tags for HTML documentation rendering missed in def7d513." + }, + { + "commit": "4c2d89eb66e11017e2e73ad4171e4493c28acdad", + "date": "2021-10-18 16:43:19 -0400", + "subject": "Fix typos." + }, + { + "commit": "6cc8e45df68c299990c0ad1f40c53b9282cb46db", + "date": "2021-10-18 14:45:36 -0400", + "subject": "Add missing paragraph tag in user guide." + }, + { + "commit": "ccc255d3e05d8ce2b6ac251d1498f71b04098a86", + "date": "2021-10-18 14:32:41 -0400", + "subject": "Add TLS Server.", + "body": "The TLS server is an alternative to using SSH for protocol connections to remote hosts.\n\nThis command is currently experimental and intended only for trial and testing. As such, the new commands and options will not show up in the command-line help unless directly requested." + }, + { + "commit": "09fb9393f14b47effebaecc449a97ad07ef4c752", + "date": "2021-10-18 14:02:05 -0400", + "subject": "Write command configuration overrides explicitly.", + "body": "If not written explicitly then it is impossible to distinguish the override from a NULL, which indicates no override." + }, + { + "commit": "90f7f11a9f71152185219bbb57bf1de001e3a91b", + "date": "2021-10-18 12:22:48 -0400", + "subject": "Add missing static keywords in test modules." + }, + { + "commit": "4570c7e27528400373ece8dc7bd348baf3ff064e", + "date": "2021-10-18 11:32:53 -0400", + "subject": "Allow error buffer to be resized for testing.", + "body": "Some tests can generate very large error messages for diffs and they often get cut off before the end.\n\nAlso fix a test so it does not create too large a buffer on the stack." + }, + { + "commit": "838ee3bd08c739e3dcf611e9bddfaa6c8acbb2aa", + "date": "2021-10-18 11:05:53 -0400", + "subject": "Increase some storage test timeouts.", + "body": "32-bit Debian 9 is sometimes timing out on these tests so increase the timeouts to make the tests more reliable." + }, + { + "commit": "6b9e19d423d99d3063c4bff3d3533b1e5081e4cb", + "date": "2021-10-16 12:35:47 -0400", + "subject": "Convert configuration optional rules to pack format.", + "body": "The previous format was custom for configuration parsing and was not as expressive as the pack format. An immediate benefit is that commands with the same optional rules are merged.\n\nDefaults are now represented correctly (not multiplied), which simplifies the option default functions used by help." + }, + { + "commit": "360cff94e4e9e1ab5a690a1f5c38eb278158a892", + "date": "2021-10-16 12:33:31 -0400", + "subject": "Update 32-bit test container to Debian 9.", + "body": "Also rebalance PostgreSQL version integration tests." + }, + { + "commit": "0e84c19a9fde0480b30078f5d3b419267b2f7673", + "date": "2021-10-15 17:50:54 -0400", + "subject": "Remove allow range from pg-socket-path option.", + "body": "The allow range was never processed because the string type does not allow ranges, but it is wasteful to have it in the parse rules.\n\nIt would be good if auto-generation errored on useless allow ranges, but that will need wait since it does not impact production." + }, + { + "commit": "144469b9772bad14466fcafc65edef58c5366755", + "date": "2021-10-15 15:50:55 -0400", + "subject": "Add const buffer functions to Pack type.", + "body": "These allow packs to be created without allocating a buffer in the case that the buffer already exists or the data is in a global constant.\n\nAlso fix a rendering issue in hrnPackReadToStr()." + }, + { + "commit": "66bfd1327e56f0f2de99fc6009431f3ee06ad6b8", + "date": "2021-10-13 19:48:41 -0400", + "subject": "Rename SSH connection control parameters in integration tests." + }, + { + "commit": "447b24309d02938d04e036ec7814e75982210eb4", + "date": "2021-10-13 19:43:40 -0400", + "subject": "Update RHEL package URL." + }, + { + "commit": "01b20724daf4c5cb25d6f636fb90456759773d22", + "date": "2021-10-13 19:36:59 -0400", + "subject": "Rename PostgreSQL pid file constants and tests." + }, + { + "commit": "570162040864b8c56b236aa66d8f5c8d610b754b", + "date": "2021-10-13 19:02:58 -0400", + "subject": "Rename manifest file primary flag in tests." + }, + { + "commit": "a44f9e373b47354a09bec0eaf2f3bf9e261c6941", + "date": "2021-10-13 13:21:04 -0400", + "subject": "Update Vagrantfile to Ubuntu 20.04." + }, + { + "commit": "b16e827d69364408ea687a8e4b8894f7e889792e", + "date": "2021-10-13 13:20:11 -0400", + "subject": "Do not show output of PostgreSQL upgrade status check in user guide.", + "body": "On some platforms the output may contain UTF-8 characters that the latex code is not prepared to handle.\n\nShowing the command is much more important than showing the output, so no big loss." + }, + { + "commit": "5e84645ac030544b572036c08d055885d96d8905", + "date": "2021-10-13 12:16:47 -0400", + "subject": "Update comments referring to the PostgreSQL primary." + }, + { + "commit": "430efff98a5b8dcf7c048f383abc12d9c0e5bbf0", + "date": "2021-10-13 12:01:53 -0400", + "subject": "Update documentation/links to main branch." + }, + { + "commit": "1212668d5eff51756b0719b5296f7640e8096605", + "date": "2021-10-13 11:43:14 -0400", + "subject": "Update contributing.xml with rendering changes from def7d513.", + "body": "Also update help.xml path missed in f4e1babf." + }, + { + "commit": "90c73183ea5de6a63a23a9047ae2debb3f59b940", + "date": "2021-10-13 09:37:03 -0400", + "subject": "Add libc6-dbg required by updated valgrind to Vagrantfile/Dockerfile." + }, + { + "commit": "c2d4552b7328489d703dc03defa769b1ccb8f739", + "date": "2021-10-13 08:51:58 -0400", + "subject": "Add debug options to code generation make in test.pl." + }, + { + "commit": "bd91ebca759d2d6cfc2f7aa660366f5f7f09994a", + "date": "2021-10-12 16:16:05 -0400", + "subject": "Remove command overrides for output options.", + "body": "The overrides are not needed since both commands require the same default and allow list." + }, + { + "commit": "e8e346bc8738815b07bd80a37ace862fdab3dc1d", + "date": "2021-10-12 08:53:12 -0400", + "subject": "Remove command overrides for restore-only options.", + "body": "The overrides are not needed since these options are only valid for one command." + }, + { + "commit": "576b04763477877d4f2a61ad692703e20471901b", + "date": "2021-10-11 16:25:36 -0400", + "subject": "Invert required in set option to simplify generated rules." + }, + { + "commit": "980b777a4a0cc07200ccb06cc55b89181101b266", + "date": "2021-10-09 12:39:54 -0400", + "subject": "Fix indentation." + }, + { + "commit": "cc7f2eea900d0a7a429ffdc2cd45ead88c0298a9", + "date": "2021-10-09 12:37:25 -0400", + "subject": "Add assert in pckReadNext() to prevent reading into a field." + }, + { + "commit": "610bfd736ef091a8298e5602d41aba86f10189bb", + "date": "2021-10-09 12:34:45 -0400", + "subject": "Increase tolerance for 0ms sleep in common/time test." + }, + { + "commit": "7ab8dcbe6e007831e8a7f9f26e08f083c1026388", + "date": "2021-10-09 12:15:19 -0400", + "subject": "Read tag size in pckReadTagNext().", + "body": "Rather than reading the size everywhere it is needed, get it when the tag is read, if it exists.\n\nThis simplifies logic around consuming the data when not needed. There are more use cases for this coming up." + }, + { + "commit": "ed68792e765411a994d8ac79e4d047bbafc25582", + "date": "2021-10-07 19:57:28 -0400", + "subject": "Rename strNewN() to strNewZN().", + "body": "Make the function name consistent with other functions that accept zero-terminated strings, e.g. strNewZ() and strCatZN()." + }, + { + "commit": "b7e17d80ea02d70e56327828310c578af51795b5", + "date": "2021-10-07 19:43:28 -0400", + "subject": "More efficient memory allocation for Strings and String Variants.", + "body": "The vast majority of Strings are never modified so for most cases allocate memory for the string with the object. This results in one allocation in most cases instead of two. Use strNew() if strCat*() functions are needed.\n\nUpdate varNewStr() in the same way since String Variants can never be modified. This results in one allocation in all cases instead of three. Also update varNewStrZ() to use STR() instead of strNewZ() to save two more allocations." + }, + { + "commit": "208641ac7fd22f676a55e7305b3e69df574f36f8", + "date": "2021-10-07 18:50:56 -0400", + "subject": "Use constant string for user/group in performance/type test.", + "body": "It is not safe to return strings created with STRDEF() from a function." + }, + { + "commit": "74d3131830646c9f71ffa9847729cae40e3aa866", + "date": "2021-10-07 14:58:11 -0400", + "subject": "More efficient generation of diff/incr backup label." + }, + { + "commit": "498902e885c9d7a44648ccc01b20454094d5b742", + "date": "2021-10-07 12:18:24 -0400", + "subject": "Allow \"global\" as a stanza prefix.", + "body": "A stanza name like global_stanza was not allowed because the code was not selective enough about how a global section should be formatted.\r\n\r\nUpdate the config parser to correctly recognize global sections." + }, + { + "commit": "338102861fd0ea4d2773b010dee34a39a96ad702", + "date": "2021-10-07 11:01:48 -0400", + "subject": "Improve instructions for rebuilding pgbackrest during stress testing." + }, + { + "commit": "fb3f6928c9aef499938e195fbb612c1940a2dc19", + "date": "2021-10-06 19:27:04 -0400", + "subject": "Add configurable storage helpers to create repository storage.", + "body": "Remove the hardcoded storage helpers from storageRepoGet() except for the the built-in Posix helper and the special remote helper.\n\nThe goal is to make storage driver development a bit easier by isolating as much of the code as possible into the driver module. This also makes coverage reporting much simpler for additional drivers since they do not need to provide coverage for storage/helper.\n\nConsolidate the CIFS tests into the Posix tests since CIFS is just a special case of the Posix.\n\nTest all storage features in the Posix test so that other storage driver tests do not need to provide coverage for storage/storage.\n\nRemove some dead code in the storage/s3 test." + }, + { + "commit": "cfd823355af2ac99f30c5e1393a121c6dbf622b7", + "date": "2021-10-06 12:38:56 -0400", + "subject": "Refactor S3 storage driver for additional auth methods.", + "body": "Currently only two auth methods are supported and a lot of refactoring is required to add a third one.\n\nDo the refactoring now to reduce noise in the commit that adds the third auth method." + }, + { + "commit": "68c5f3eaf18fc9bd10fde15a323890bcdcbf4534", + "date": "2021-10-05 17:59:05 -0400", + "subject": "Allow link-map option to create new links.", + "body": "Currently link-map only allows links that exist in the backup manifest to be remapped to a new destination.\r\n\r\nAllow link-map to create a new link as long as a valid path/file from the backup is referenced." + }, + { + "commit": "f2aeb30fc706c04d6200cefeeb2645229a31ff69", + "date": "2021-10-05 14:06:59 -0400", + "subject": "Add state to ProtocolClient.", + "body": "This is currently only useful for debugging, but in the future the state may be used for resetting the protocol when something goes wrong." + }, + { + "commit": "2c65fed80f47124283d4f8be92f987dc55237f48", + "date": "2021-10-05 12:29:16 -0400", + "subject": "Add missing asserts and move temp mem context block." + }, + { + "commit": "6af827cbb1e78cd4c5d649ed4cb24c49a7204b8f", + "date": "2021-10-05 09:00:16 -0400", + "subject": "Report original error and retries on local job failure.", + "body": "The local process will retry jobs (e.g. backup file) but after a certain number of failures gives up. Previously, the last error was reported but generally the first error is far more valuable. The last error is likely to be a cascade failure such as the protocol being out of sync.\r\n\r\nReport the first error (and stack trace) and append the retry errors to the first error without stack trace information." + }, + { + "commit": "34f78734325743b4e34cb39224852e6debf49750", + "date": "2021-10-04 13:45:53 -0400", + "subject": "Report backup file validation errors in backup.info.", + "body": "Currently errors found during the backup are only available in text output when specifying --set.\r\n\r\nAdd a flag to backup.info that is available in both the text and json output when --set is not specified. This at least provides the basic info that an error was found in the cluster during the backup, though details are still only available as described above." + }, + { + "commit": "57c62315465972f6b85558020198134e34cf2ee0", + "date": "2021-10-02 17:27:33 -0400", + "subject": "Add arm64 testing on Cirrus CI.", + "body": "These tests run in a container without permissions to mount tempfs, so add an option to ci.pl to not create tempfs. Also add some packages not in the base image." + }, + { + "commit": "f1ed8f0e5112d1a74d86168e67632be55eddb416", + "date": "2021-10-02 16:29:31 -0400", + "subject": "Sort WAL segment names when reporting duplicates.", + "body": "Make the output consistent even when files are listed in a different order. This is purely for testing purposes, but there is no harm in consistent output.\n\nFound on arm64." + }, + { + "commit": "71047a9d6d1eea71b3fbd430983541a54049cc69", + "date": "2021-10-02 16:17:33 -0400", + "subject": "Use strncpy() to limit characters copied to optionName.", + "body": "Valgrind complained about uninitialized values on arm64 when comparing the reset prefix, probably because \"reset\" ended up being larger than the option name: Conditional jump or move depends on uninitialised value(s) at cfgParseOption (parse.c:568).\n\nCoverity complained because it could not verify the size of the string to be copied into optionName, probably because it does not understand the purpose of strSize(): You might overrun the 65-character fixed-size string \"optionName\" by copying the return value of \"strZ\" without checking the length.\n\nUse strncpy() even though we have already checked the size and make sure the string is terminated. Keep the size check because searching for truncated option names is not a good idea.\n\nThis is not a production bug since the code has not been released yet." + }, + { + "commit": "b792a14cd7dbdfb61362700ffc5fc01997db890c", + "date": "2021-10-01 18:23:03 -0400", + "subject": "Use temp mem context when calling command handlers.", + "body": "It is safer and more efficient to free memory after each handler completes.\n\nThe db command handlers use the server context so update them to use the top context." + }, + { + "commit": "ae40ed6ec9cf77e577518b128518a5763767f589", + "date": "2021-10-01 17:15:36 -0400", + "subject": "Add jobRetry parameter to HRN_CFG_LOAD().", + "body": "Allow the default of 0 to be overridden to test retry behavior for commands." + }, + { + "commit": "136d309dd4bc1ada9f3d775f036b62292fda390b", + "date": "2021-10-01 15:29:31 -0400", + "subject": "Allow stack trace to be specified for errorInternalThrow().", + "body": "This allows the stack trace to be set when an error is received by the protocol, rather than appending it to the message. Now these errors will look no different than any other error and the stack trace will be reported in the same way.\n\nOne immediate benefit is that test.pl --vm-out --log-level-test=debug will work for tests that check expect log results. Previously, the test would error at the first check because the stack trace included in the message would not match the expected log output." + }, + { + "commit": "62f6fbe2a9ecd9bc48611ecfaf27a05b9f36a87d", + "date": "2021-10-01 10:15:34 -0400", + "subject": "Update file mode in info/manifest test to 0600.", + "body": "0400 is not a very realistic mode. It may have become the default due to copy-pasting." + }, + { + "commit": "0690cb25a077735780b2fe24343c946f8a4efbc6", + "date": "2021-09-30 17:55:38 -0400", + "subject": "Remove repository format 6 notes.", + "body": "The notes have been moved to a Github project." + }, + { + "commit": "376362475e3b3b13b70313d9002d4ff8b25b4b40", + "date": "2021-09-30 16:15:45 -0400", + "subject": "Move archive-header-check option to the archive reference section." + }, + { + "commit": "cf1a57518fe3230886509f59fcec9c9a81e6513c", + "date": "2021-09-30 14:29:49 -0400", + "subject": "Refactor restoreManifestMap() to be driven by link-map.", + "body": "This will allow new links to be added in a future commit. The current implementation is driven by the links that already exist in the manifest, which would make the new use case more complex to implement.\n\nAlso, add a more helpful error when a tablespace link is specified." + }, + { + "commit": "d89a67776cfbb7b3047dbe297cc0c768e5c670e8", + "date": "2021-09-30 13:39:29 -0400", + "subject": "Refactor restoreManifestMap() tests in the command/restore unit.", + "body": "Add test titles, new tests, and rearrange.\n\nAlso manifestTargetFindDefault(), which will soon be used by core code in a refactoring commit." + }, + { + "commit": "7a53ba7c7f38bff2c9ef99c6ab58d22c59dd2290", + "date": "2021-09-30 13:28:14 -0400", + "subject": "Add note to comment for int64 typedef." + }, + { + "commit": "815377cc6009c800b6a5fdc1fe98ddfceaaae824", + "date": "2021-09-30 13:27:14 -0400", + "subject": "Finalize catalog number for PostgreSQL 14 release." + }, + { + "commit": "baf186bfb05ca683714a59485900892f5e7e8a1b", + "date": "2021-09-29 12:03:01 -0400", + "subject": "Fix comment typos." + }, + { + "commit": "9e79f0e64b661e944ce2b3897c366feea1544ac2", + "date": "2021-09-29 10:31:51 -0400", + "subject": "Add recovery start time to online backup restore log.", + "body": "This helps give an idea of how much recovery needs to be done to reach the end of the WAL stream and is easier to read than the backup label." + }, + { + "commit": "9346895f5b61627b50d431f09447e08d8a50caa8", + "date": "2021-09-29 09:58:47 -0400", + "subject": "Rename page checksum error to error list in info text output.", + "body": "\"error list\" makes it clearer that other errors may be reported. For example, if checksum-page is true in the manifest but no checksum-page-error list is provided then the error is in alignment, i.e. the file size is not a multiple of the page size, with allowances made for a valid-looking partial page at the end of the file.\r\n\r\nIt is still not possible to differentiate between alignment and page checksum errors in the output but this will be addressed in a future commit." + }, + { + "commit": "b7ef12a76f219881d0b24c715592af96fe5c9b8f", + "date": "2021-09-28 15:55:13 -0400", + "subject": "Add hints to standby replay timeout message." + }, + { + "commit": "096829b3b257444162417662612e80d8cb2ac6ec", + "date": "2021-09-27 09:01:53 -0400", + "subject": "Add repo-azure-uri-style option.", + "body": "Azurite introduced a breaking change in 8f63964e to use automatically host-style URIs when the endpoint appears to be a multipart hostname.\n\nThis option allows the user to configure which style URI will be used, but changing the endpoint might cause breakage if Azurite decides to use a different style. Future changes to Azurite may also cause breakage." + }, + { + "commit": "c8ea17c68f8fa72f2bf3b979539be3f709448493", + "date": "2021-09-24 17:40:31 -0400", + "subject": "Convert page checksum filter result to a pack.", + "body": "The pack is both more compact and more efficient than a variant.\n\nAlso aggregate the page error info in the main process rather than in the filter to allow additional LSN filtering, to be added in a future commit." + }, + { + "commit": "ac1f6db4a25520b1ee957b66925dde2e1ef156ab", + "date": "2021-09-23 14:06:00 -0400", + "subject": "Centralize and optimize tag stack management.", + "body": "The push and pop code was duplicated in four places, so centralize the code into pckTagStackPop() and pckTagStackPush().\n\nAlso create a default bottom item for the stack to avoid allocating a list if there will only ever be the default container, which is very common. This avoids the extra time and memory to allocate a list." + }, + { + "commit": "15e7ff10d3d6fe3570335a5abec5ff683c07e2e6", + "date": "2021-09-23 08:31:32 -0400", + "subject": "Add Pack pseudo-type.", + "body": "Rather than working directly with Buffer types, define a new Pack pseudo-type that represents a Buffer containing a pack. This makes it clearer that a pack is being stored and allows stronger typing." + }, + { + "commit": "131ac0ab5e98500569d4ff6985d31c55a9ef53b9", + "date": "2021-09-22 11:18:12 -0400", + "subject": "Rename pckReadNew()/pckWriteNew() to pckReadNewIo()/pckWriteNewIo().", + "body": "These names more accurately describe the purpose of the constructors." + }, + { + "commit": "0e76ccb5b7b2089f8d0300ab0086c454aebbbbbf", + "date": "2021-09-22 10:48:21 -0400", + "subject": "Convert filter param/result to Pack type.", + "body": "The Pack type is more compact and flexible than the Variant type. The Pack type also allows binary data to be stored, which is useful for transferring the passphrase in the CipherBlock filter.\n\nThe primary purpose is to allow more (and more complex) result data to be returned efficiently from the PageChecksum filter. For now the PageChecksum filter still returns the original Variant. Converting the result data will be the subject of a future commit.\n\nAlso convert filter types to StringId." + }, + { + "commit": "802373cb9df28384529fe5a7bd102bfe5c8f3911", + "date": "2021-09-21 10:16:16 -0400", + "subject": "Limit valgrind error output to the first error.", + "body": "Generally the first error is the only important error. The rest simply lead to a lot of scrolling." + }, + { + "commit": "473afce57bc7646c53bae4a6300b41b11b5b0357", + "date": "2021-09-20 11:03:50 -0400", + "subject": "Copy data page before verifying checksum.", + "body": "Using UNCONSTIFY() is potentially dangerous since the buffer is modified while calculating the checksum, even though the page is reverted to the original state. Instead make a copy to ensure that the original data is never modified.\n\nThis requires the logic to be shuffled a bit since the copy cannot be made until we are sure the page is complete." + }, + { + "commit": "0efb8adb9452cb8bc67ebaa8b6dca0d4a69c1682", + "date": "2021-09-19 20:38:51 -0400", + "subject": "Automatically include all PostgreSQL version interface files." + }, + { + "commit": "95d814cf81b84d162f40717346c3ad0cb642f724", + "date": "2021-09-19 20:32:27 -0400", + "subject": "Specify size for helpData array." + }, + { + "commit": "912a498b0bcc988bd5ebaaa22198956d752251bd", + "date": "2021-09-11 16:07:59 -0400", + "subject": "Skip comments when rendering help output.", + "body": "Comments should not appear in the help. They are simply notes on implementation." + }, + { + "commit": "c38d6926d6c9aa01b895a28e66fc0aa6965350a3", + "date": "2021-09-09 08:48:45 -0400", + "subject": "Revert Azurite version for testing to 3.14.0.", + "body": "3.14.2 is causing breakage in the documentation. There is no obvious cause so for now just revert to the last working version." + }, + { + "commit": "f4e1babf6b4ce7087ace8221cac7cadb51488f0e", + "date": "2021-09-08 18:16:06 -0400", + "subject": "Migrate command-line help generation to C.", + "body": "Command-line help is now generated at build time so it does not need to be committed. This reduces churn on commits that add configuration and/or update the help.\n\nSince churn is no longer an issue, help.auto.c is bzip2 compressed to save space in the binary.\n\nThe Perl config parser (Data.pm) has been moved to doc/lib since the Perl build path is no longer required.\n\nLikewise doc/xml/reference.xml has been moved to src/build/help/help.xml since it is required at build time." + }, + { + "commit": "def7d513cdd2d4579acf6e8c675a3d6f7da4f655", + "date": "2021-09-08 17:35:45 -0400", + "subject": "Eliminate linefeed formatting from documentation.", + "body": "Linefeeds were originally used in the place of

tags to denote a paragraph. While much of the linefeed usage has been replaced over time, there were many places where it was still being used, especially in reference.xml. This made it difficult to get consistent formatting across different output types. In particular there were formatting issues in the command-line help because it is harder to audit than HTML or PDF.\n\nReplace linefeed formatting with proper

tags to make formatting more consistent.\n\nRemove double spaces in all text where

tags were added since it does not add churn.\n\nUpdate all

    /
      /
    1. tags to the more general / tags.\n\nAdd a few missing periods." + }, + { + "commit": "245b0c048ae62eb174b534d156b7a00b1de19a53", + "date": "2021-09-08 13:32:13 -0400", + "subject": "Add initializer braces required by older versions of gcc." + }, + { + "commit": "38eeac48d617ec5d5f14a1cb612c9a8b721326d8", + "date": "2021-09-03 10:39:30 -0400", + "subject": "Remove invalid comment block." + }, + { + "commit": "1afea449e2f54e69f9f8f0d772a294fcf09e0d83", + "date": "2021-09-02 13:26:21 -0400", + "subject": "Build newer valgrind and move CA cert install in test containers.", + "body": "The newer version of valgrind helps with some arm64 issues that have been fixed since the architecture has become more popular. Also add the valgrind builds to the Vagrantfile and Dockerfile.\n\nMove the CA cert install from the base container to the test container. This means the CA cert can be changed without rebuilding all the base containers." + }, + { + "commit": "475b57c89b58e9709a3eafd08fe9949b467a99cd", + "date": "2021-09-01 11:10:35 -0400", + "subject": "Allow additional memory to be allocated with a mem context.", + "body": "The primary benefit is that objects can allocate memory for their struct with the context, which saves an additional allocation and makes it easier to read context/allocation dumps. Also, the memory context does not need to be stored with the object since it can be determined using the object pointer.\n\nObject pointers cannot be moved, so this means whatever additional memory is allocated cannot be resized. That makes the additional memory ideal for object structs, but not so much for allocating a list that might change size.\n\nMem contexts can no longer be reused since they will probably be the wrong size so their memory is freed on memContextFree(). This still means fewer allocations and frees overall.\n\nInterfaces still need to be freed by mem context so the old objMove() and objFree() have been preserved as objMoveContext() and objFreeContext(). This will be addressed in a future commit." + }, + { + "commit": "02b06aa4957cf3fe64ceb7a44cc1893bff12fe99", + "date": "2021-08-31 12:09:50 -0400", + "subject": "Increase max index allowed for pg/repo options to 256.", + "body": "The prior limitations were based on using getopt_long() to parse command-line options, which required a static list of allowed options. Setting index max too high bloated the binary unacceptably. 45a4e80 replaced the functionality of getopt_long() but the static list remained.\r\n\r\nImprove cfgParseOption() to use available option data and remove the need for a static list. This also allows the option deprecations to be represented more compactly.\r\n\r\nIndex max is still capped at 256 because a large enough index could cause parseOptionIdxValue() to run out of memory since it allocates a static list based on the highest index found. If that function were improved with a map of found index values then index max could be set to UINT64_MAX.\r\n\r\nNote that deprecations no longer set an index max or define whether reset is valid. These were space-saving measures which are no longer required. This means that indexed deprecated options will also be valid up to 256 and always allow reset, but it doesn't seem worth additional code to limit this behavior.\r\n\r\ncfgParseOptionId() is no longer needed because calling cfgParseOption() with .ignoreMissingIndex = true duplicates the functionality of cfgParseOptionId(). This leads to some simplification in the help code." + }, + { + "commit": "8a4063c2b69919d1bba305d986568f529139eaa3", + "date": "2021-08-27 06:41:56 -0400", + "subject": "Add required header for Illumos." + }, + { + "commit": "5d857e196a6eeb2e1d137f2faf9001cccc066cfd", + "date": "2021-08-25 07:33:31 -0400", + "subject": "Do not use certs in container for testing.", + "body": "The certs are available in test/certificate so it makes more sense to use them there. In addition the container does not need to be rebuilt unless the CA cert changes." + }, + { + "commit": "7b4d69211e64855f9ca0db0e4b2950a6492afa59", + "date": "2021-08-23 16:09:14 -0400", + "subject": "Add missing header." + }, + { + "commit": "beafdbfc1873902f4b17fbbc5f88e47d6344d113", + "date": "2021-08-23 08:37:57 -0400", + "subject": "Add const to memContextFreeing()/memContextName() parameters.", + "body": "These functions do not modify the mem context so they can use const pointers." + }, + { + "commit": "726d04f13a2217b78e2cbef48ef4c889f15b5b68", + "date": "2021-08-23 08:31:50 -0400", + "subject": "Remove useless if in memContextFree().", + "body": "If the upper bound of the loop is 0 then nothing will be done, making the if condition extraneous." + }, + { + "commit": "d72d4415a7c79296e3160aede9df59cd5d959694", + "date": "2021-08-23 08:27:07 -0400", + "subject": "Use contextParentIdx instead of a loop when moving a context.", + "body": "contextParentIdx was introduced in 90709dfd to improve the performance of mem context frees. memContextMove() did not get the message, however, and continued to use a loop to find the mem context in the old parent.\n\nUse contextParentIdx to find the mem context in the old parent to avoid a loop." + }, + { + "commit": "8a9887f27cb46728e85801e075474928207e012f", + "date": "2021-08-23 07:58:59 -0400", + "subject": "Remove useless memFree() in regExpNew().", + "body": "The MEM_CONTEXT_NEW*() block will automatically free memory if there is an error.\n\nThis code is pretty old so this may not have been true when it was written." + }, + { + "commit": "5ffb7cc77127a60de98e2d9080f27ed28bf95b4f", + "date": "2021-08-23 07:14:22 -0400", + "subject": "Update config.guess and config.sub to latest versions." + }, + { + "commit": "aee0e7bac746c5c68baee106d8d4809cf6d8edfd", + "date": "2021-08-23 07:03:40 -0400", + "subject": "Begin v2.36 development." + }, { "commit": "3787cf78032cb928f27044c13b6f50d57bf06d20", "date": "2021-08-23 06:52:51 -0400", diff --git a/doc/xml/auto/metric-coverage-report.auto.xml b/doc/xml/auto/metric-coverage-report.auto.xml index 6b3e44d61..b5343f3dc 100644 --- a/doc/xml/auto/metric-coverage-report.auto.xml +++ b/doc/xml/auto/metric-coverage-report.auto.xml @@ -7,9 +7,9 @@ build/config - 26/26 (100.0%) - 358/358 (100.0%) - 733/733 (100.0%) + 29/29 (100.0%) + 454/454 (100.0%) + 914/914 (100.0%) @@ -19,6 +19,13 @@ 64/64 (100.0%) + + build/help + 12/12 (100.0%) + 126/126 (100.0%) + 232/232 (100.0%) + + command 4/4 (100.0%) @@ -37,7 +44,7 @@ command/archive/get 9/9 (100.0%) 192/192 (100.0%) - 463/463 (100.0%) + 464/464 (100.0%) @@ -49,9 +56,9 @@ command/backup - 32/32 (100.0%) - 470/470 (100.0%) - 1103/1103 (100.0%) + 34/34 (100.0%) + 468/468 (100.0%) + 1142/1142 (100.0%) @@ -78,15 +85,15 @@ command/help 5/5 (100.0%) - 148/148 (100.0%) - 237/237 (100.0%) + 144/144 (100.0%) + 241/241 (100.0%) command/info 12/12 (100.0%) - 298/298 (100.0%) - 646/646 (100.0%) + 304/304 (100.0%) + 650/650 (100.0%) @@ -113,8 +120,15 @@ command/restore 27/27 (100.0%) - 488/488 (100.0%) - 1013/1013 (100.0%) + 504/504 (100.0%) + 1038/1038 (100.0%) + + + + command/server + 2/2 (100.0%) + 10/10 (100.0%) + 39/39 (100.0%) @@ -128,70 +142,70 @@ command/verify 20/20 (100.0%) 268/268 (100.0%) - 699/699 (100.0%) + 700/700 (100.0%) common - 168/168 (100.0%) - 578/578 (100.0%) - 1861/1861 (100.0%) + 171/171 (100.0%) + 558/558 (100.0%) + 1873/1873 (100.0%) common/compress 11/11 (100.0%) - 28/28 (100.0%) - 102/102 (100.0%) + 24/24 (100.0%) + 105/105 (100.0%) common/compress/bz2 13/13 (100.0%) 20/20 (100.0%) - 171/171 (100.0%) + 176/176 (100.0%) common/compress/gz 13/13 (100.0%) 22/22 (100.0%) - 163/163 (100.0%) + 168/168 (100.0%) common/compress/lz4 15/15 (100.0%) 24/24 (100.0%) - 175/175 (100.0%) + 180/180 (100.0%) common/compress/zst 13/13 (100.0%) 12/12 (100.0%) - 145/145 (100.0%) + 150/150 (100.0%) common/crypto 28/28 (100.0%) - 82/82 (100.0%) - 458/458 (100.0%) + 80/80 (100.0%) + 486/486 (100.0%) common/io - 48/48 (100.0%) + 52/52 (100.0%) 152/152 (100.0%) - 607/607 (100.0%) + 640/640 (100.0%) common/io/filter - 30/30 (100.0%) - 86/86 (100.0%) - 359/359 (100.0%) + 31/31 (100.0%) + 92/92 (100.0%) + 390/390 (100.0%) @@ -203,30 +217,30 @@ common/io/socket - 16/16 (100.0%) + 22/22 (100.0%) 32/32 (100.0%) - 207/207 (100.0%) + 284/284 (100.0%) common/io/tls - 20/20 (100.0%) - 76/76 (100.0%) - 316/316 (100.0%) + 34/34 (100.0%) + 98/98 (100.0%) + 512/512 (100.0%) common/type - 268/268 (100.0%) - 772/772 (100.0%) - 3538/3538 (100.0%) + 281/281 (100.0%) + 796/796 (100.0%) + 3628/3628 (100.0%) config - 98/98 (100.0%) - 774/774 (100.0%) - 1573/1573 (100.0%) + 88/88 (100.0%) + 860/860 (100.0%) + 1709/1709 (100.0%) @@ -239,8 +253,8 @@ info 88/88 (100.0%) - 766/766 (100.0%) - 2239/2239 (100.0%) + 770/770 (100.0%) + 2246/2246 (100.0%) @@ -259,37 +273,37 @@ protocol - 52/52 (100.0%) - 196/196 (100.0%) - 825/825 (100.0%) + 55/55 (100.0%) + 232/232 (100.0%) + 932/932 (100.0%) storage - 47/47 (100.0%) - 218/218 (100.0%) - 719/719 (100.0%) + 48/48 (100.0%) + 224/224 (100.0%) + 705/705 (100.0%) storage/azure - 23/23 (100.0%) - 100/100 (100.0%) - 480/480 (100.0%) + 24/24 (100.0%) + 104/104 (100.0%) + 499/499 (100.0%) storage/cifs - 1/1 (100.0%) + 2/2 (100.0%) --- - 9/9 (100.0%) + 18/18 (100.0%) storage/gcs - 30/30 (100.0%) + 31/31 (100.0%) 116/116 (100.0%) - 621/621 (100.0%) + 634/634 (100.0%) @@ -302,20 +316,20 @@ storage/remote 31/31 (100.0%) - 106/106 (100.0%) - 731/731 (100.0%) + 96/96 (100.0%) + 737/737 (100.0%) storage/s3 - 26/26 (100.0%) - 126/126 (100.0%) - 581/581 (100.0%) + 29/29 (100.0%) + 132/132 (100.0%) + 670/670 (100.0%) TOTAL - 1376/1376 (100.0%) - 7937/7938 (99.99%) - 24557/24557 (100.0%) + 1436/1436 (100.0%) + 8343/8344 (99.99%) + 25945/25945 (100.0%) \ No newline at end of file diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 00d83c710..9a6197dfe 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -14,7 +14,7 @@ - + diff --git a/src/build/configure.ac b/src/build/configure.ac index a536f316f..a720b9daa 100644 --- a/src/build/configure.ac +++ b/src/build/configure.ac @@ -1,7 +1,7 @@ # Initialize configuration # ---------------------------------------------------------------------------------------------------------------------------------- AC_PREREQ([2.69]) -AC_INIT([pgBackRest], [2.36dev]) +AC_INIT([pgBackRest], [2.36]) AC_CONFIG_SRCDIR([version.h]) AC_CONFIG_AUX_DIR(build) diff --git a/src/configure b/src/configure index 99867daec..2b6ef96be 100755 --- a/src/configure +++ b/src/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for pgBackRest 2.36dev. +# Generated by GNU Autoconf 2.69 for pgBackRest 2.36. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='pgBackRest' PACKAGE_TARNAME='pgbackrest' -PACKAGE_VERSION='2.36dev' -PACKAGE_STRING='pgBackRest 2.36dev' +PACKAGE_VERSION='2.36' +PACKAGE_STRING='pgBackRest 2.36' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1252,7 +1252,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pgBackRest 2.36dev to adapt to many kinds of systems. +\`configure' configures pgBackRest 2.36 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1299,7 +1299,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pgBackRest 2.36dev:";; + short | recursive ) echo "Configuration of pgBackRest 2.36:";; esac cat <<\_ACEOF @@ -1394,7 +1394,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pgBackRest configure 2.36dev +pgBackRest configure 2.36 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1692,7 +1692,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pgBackRest $as_me 2.36dev, which was +It was created by pgBackRest $as_me 2.36, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4906,7 +4906,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pgBackRest $as_me 2.36dev, which was +This file was extended by pgBackRest $as_me 2.36, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4968,7 +4968,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pgBackRest config.status 2.36dev +pgBackRest config.status 2.36 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -5672,4 +5672,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi -# Generated from src/build/configure.ac sha1 b69b4dba61cbc695a6e947f8415d430163db8821 +# Generated from src/build/configure.ac sha1 78d7e6c49cc5f7ee24cc6fed9e85e524fdb8145e diff --git a/src/version.h b/src/version.h index 66a4adc9a..8cce943ce 100644 --- a/src/version.h +++ b/src/version.h @@ -33,6 +33,6 @@ repository will be invalid unless migration functions are written. /*********************************************************************************************************************************** Software version ***********************************************************************************************************************************/ -#define PROJECT_VERSION "2.36dev" +#define PROJECT_VERSION "2.36" #endif diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index 587de56d3..ea8b69c82 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -511,6 +511,22 @@ src/command/restore/restore.h: class: core type: c/h +src/command/server/ping.c: + class: core + type: c + +src/command/server/ping.h: + class: core + type: c/h + +src/command/server/server.c: + class: core + type: c + +src/command/server/server.h: + class: core + type: c/h + src/command/stanza/common.c: class: core type: c @@ -951,6 +967,18 @@ src/common/io/read.intern.h: class: core type: c/h +src/common/io/server.c: + class: core + type: c + +src/common/io/server.h: + class: core + type: c/h + +src/common/io/server.intern.h: + class: core + type: c/h + src/common/io/session.c: class: core type: c @@ -979,6 +1007,14 @@ src/common/io/socket/common.h: class: core type: c/h +src/common/io/socket/server.c: + class: core + type: c + +src/common/io/socket/server.h: + class: core + type: c/h + src/common/io/socket/session.c: class: core type: c @@ -995,6 +1031,22 @@ src/common/io/tls/client.h: class: core type: c/h +src/common/io/tls/common.c: + class: core + type: c + +src/common/io/tls/common.h: + class: core + type: c/h + +src/common/io/tls/server.c: + class: core + type: c + +src/common/io/tls/server.h: + class: core + type: c/h + src/common/io/tls/session.c: class: core type: c @@ -1487,6 +1539,14 @@ src/protocol/server.h: class: core type: c/h +src/storage/azure/helper.c: + class: core + type: c + +src/storage/azure/helper.h: + class: core + type: c/h + src/storage/azure/read.c: class: core type: c @@ -1515,6 +1575,14 @@ src/storage/azure/write.h: class: core type: c/h +src/storage/cifs/helper.c: + class: core + type: c + +src/storage/cifs/helper.h: + class: core + type: c/h + src/storage/cifs/storage.c: class: core type: c @@ -1523,6 +1591,14 @@ src/storage/cifs/storage.h: class: core type: c/h +src/storage/gcs/helper.c: + class: core + type: c + +src/storage/gcs/helper.h: + class: core + type: c/h + src/storage/gcs/read.c: class: core type: c @@ -1639,6 +1715,14 @@ src/storage/remote/write.h: class: core type: c/h +src/storage/s3/helper.c: + class: core + type: c + +src/storage/s3/helper.h: + class: core + type: c/h + src/storage/s3/read.c: class: core type: c @@ -2135,6 +2219,10 @@ test/src/module/command/restoreTest.c: class: test/module type: c +test/src/module/command/serverTest.c: + class: test/module + type: c + test/src/module/command/stanzaTest.c: class: test/module type: c @@ -2351,10 +2439,6 @@ test/src/module/storage/azureTest.c: class: test/module type: c -test/src/module/storage/cifsTest.c: - class: test/module - type: c - test/src/module/storage/gcsTest.c: class: test/module type: c