diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b9a54eb60..e258f8a11 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: clean autogenerate code P00 INFO: builds required: bin ---> P00 INFO: 75 tests selected +--> P00 INFO: 76 tests selected - P00 INFO: P1-T01/75 - vm=none, module=common, test=error - [filtered 72 lines of output] - P00 INFO: P1-T74/75 - vm=none, module=performance, test=type - P00 INFO: P1-T75/75 - vm=none, module=performance, test=storage + P00 INFO: P1-T01/76 - vm=none, module=common, test=error + [filtered 73 lines of output] + P00 INFO: P1-T75/76 - vm=none, module=performance, test=type + P00 INFO: P1-T76/76 - vm=none, module=performance, test=storage --> P00 INFO: DRY RUN COMPLETED SUCCESSFULLY ``` @@ -268,35 +268,35 @@ pgbackrest/test/test.pl --vm=none --vm-out --module=common --test=wait P00 INFO: P1-T1/1 - vm=none, module=common, test=wait - 2022-11-28 09:25:06.417 P00 INFO: test command begin 2.43: [common/wait] --log-level=info --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0 - 2022-11-28 09:25:08.806 P00 INFO: test command end: completed successfully (2389ms) + 2023-01-30 01:43:50.109 P00 INFO: test command begin 2.44: [common/wait] --log-level=info --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0 + 2023-01-30 01:43:52.582 P00 INFO: test command end: completed successfully (2474ms) run 1 - waitNew(), waitMore, and waitFree() - 000.010s L0018 expect AssertError: assertion 'waitTime <= 999999000' failed + 000.009s L0018 expect AssertError: assertion 'waitTime <= 999999000' failed run 1/1 ------------- L0021 0ms wait - 000.050s 000.040s L0025 new wait - 000.056s 000.006s L0026 check remaining time - 000.057s 000.001s L0027 check wait time - 000.058s 000.001s L0028 check sleep time - 000.059s 000.001s L0029 check sleep prev time - 000.060s 000.001s L0030 no wait more - 000.064s 000.004s L0033 new wait = 0.2 sec - 000.065s 000.001s L0034 check remaining time - 000.066s 000.001s L0035 check wait time - 000.067s 000.001s L0036 check sleep time - 000.067s 000.000s L0037 check sleep prev time - 000.068s 000.001s L0038 check begin time - 000.266s 000.198s L0044 lower range check - 000.267s 000.001s L0045 upper range check - 000.268s 000.001s L0047 free wait - 000.270s 000.002s L0052 new wait = 1.1 sec - 000.271s 000.001s L0053 check wait time - 000.272s 000.001s L0054 check sleep time - 000.273s 000.001s L0055 check sleep prev time - 000.274s 000.001s L0056 check begin time - 001.372s 001.098s L0062 lower range check - 001.373s 000.001s L0063 upper range check - 001.373s 000.000s L0065 free wait + 001.806s 001.797s L0025 new wait + 001.817s 000.011s L0026 check remaining time + 001.819s 000.002s L0027 check wait time + 001.820s 000.001s L0028 check sleep time + 001.821s 000.001s L0029 check sleep prev time + 001.821s 000.000s L0030 no wait more + 001.827s 000.006s L0033 new wait = 0.2 sec + 001.828s 000.001s L0034 check remaining time + 001.829s 000.001s L0035 check wait time + 001.830s 000.001s L0036 check sleep time + 001.831s 000.001s L0037 check sleep prev time + 001.832s 000.001s L0038 check begin time + 002.030s 000.198s L0044 lower range check + 002.031s 000.001s L0045 upper range check + 002.032s 000.001s L0047 free wait + 002.034s 000.002s L0052 new wait = 1.1 sec + 002.035s 000.001s L0053 check wait time + 002.036s 000.001s L0054 check sleep time + 002.037s 000.001s L0055 check sleep prev time + 002.038s 000.001s L0056 check begin time + 003.137s 001.099s L0062 lower range check + 003.138s 000.001s L0063 upper range check + 003.139s 000.001s L0065 free wait TESTS COMPLETED SUCCESSFULLY @@ -341,7 +341,7 @@ pgbackrest/test/test.pl --vm-build --vm=u20 --- output --- P00 INFO: test begin on x86_64 - log level info - P00 INFO: Building pgbackrest/test:u20-base image (5f3dc325901f5274f9e21399ef6d3facd606d85a) ... + P00 INFO: Using cached pgbackrest/test:u20-base-20221220A image (2db467d873c0aff06335592c8a22b8441b5c6440) ... P00 INFO: Building pgbackrest/test:u20-test image ... P00 INFO: Build Complete ``` diff --git a/README.md b/README.md index d5da9c91a..bfd192414 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.43](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.43) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.44](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.44) 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/release.pl b/doc/release.pl index 4ae39d3cc..2e9704325 100755 --- a/doc/release.pl +++ b/doc/release.pl @@ -311,8 +311,8 @@ eval } # Update permissions - executeTest("find ${strDeployPath} -type d -exec chmod 750 {} +"); - executeTest("find ${strDeployPath} -type f -exec chmod 640 {} +"); + executeTest("find ${strDeployPath} -path .git -prune -type d -exec chmod 750 {} +"); + executeTest("find ${strDeployPath} -path .git -prune -type f -exec chmod 640 {} +"); } # Exit with success diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index 5d5817572..ae5458834 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: clean autogenerate code", "P00 INFO: builds required: bin", - "P00 INFO: 75 tests selected", + "P00 INFO: 76 tests selected", " ", - "P00 INFO: P1-T01/75 - vm=none, module=common, test=error", - " [filtered 72 lines of output]", - "P00 INFO: P1-T74/75 - vm=none, module=performance, test=type", - "P00 INFO: P1-T75/75 - vm=none, module=performance, test=storage", + "P00 INFO: P1-T01/76 - vm=none, module=common, test=error", + " [filtered 73 lines of output]", + "P00 INFO: P1-T75/76 - vm=none, module=performance, test=type", + "P00 INFO: P1-T76/76 - vm=none, module=performance, test=storage", "P00 INFO: DRY RUN COMPLETED SUCCESSFULLY" ] } @@ -160,35 +160,35 @@ " ", "P00 INFO: P1-T1/1 - vm=none, module=common, test=wait", " ", - " 2022-11-28 09:25:06.417 P00 INFO: test command begin 2.43: [common/wait] --log-level=info --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0", - " 2022-11-28 09:25:08.806 P00 INFO: test command end: completed successfully (2389ms)", + " 2023-01-30 01:43:50.109 P00 INFO: test command begin 2.44: [common/wait] --log-level=info --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0", + " 2023-01-30 01:43:52.582 P00 INFO: test command end: completed successfully (2474ms)", " run 1 - waitNew(), waitMore, and waitFree()", - " 000.010s L0018 expect AssertError: assertion 'waitTime <= 999999000' failed", + " 000.009s L0018 expect AssertError: assertion 'waitTime <= 999999000' failed", " ", " run 1/1 ------------- L0021 0ms wait", - " 000.050s 000.040s L0025 new wait", - " 000.056s 000.006s L0026 check remaining time", - " 000.057s 000.001s L0027 check wait time", - " 000.058s 000.001s L0028 check sleep time", - " 000.059s 000.001s L0029 check sleep prev time", - " 000.060s 000.001s L0030 no wait more", - " 000.064s 000.004s L0033 new wait = 0.2 sec", - " 000.065s 000.001s L0034 check remaining time", - " 000.066s 000.001s L0035 check wait time", - " 000.067s 000.001s L0036 check sleep time", - " 000.067s 000.000s L0037 check sleep prev time", - " 000.068s 000.001s L0038 check begin time", - " 000.266s 000.198s L0044 lower range check", - " 000.267s 000.001s L0045 upper range check", - " 000.268s 000.001s L0047 free wait", - " 000.270s 000.002s L0052 new wait = 1.1 sec", - " 000.271s 000.001s L0053 check wait time", - " 000.272s 000.001s L0054 check sleep time", - " 000.273s 000.001s L0055 check sleep prev time", - " 000.274s 000.001s L0056 check begin time", - " 001.372s 001.098s L0062 lower range check", - " 001.373s 000.001s L0063 upper range check", - " 001.373s 000.000s L0065 free wait", + " 001.806s 001.797s L0025 new wait", + " 001.817s 000.011s L0026 check remaining time", + " 001.819s 000.002s L0027 check wait time", + " 001.820s 000.001s L0028 check sleep time", + " 001.821s 000.001s L0029 check sleep prev time", + " 001.821s 000.000s L0030 no wait more", + " 001.827s 000.006s L0033 new wait = 0.2 sec", + " 001.828s 000.001s L0034 check remaining time", + " 001.829s 000.001s L0035 check wait time", + " 001.830s 000.001s L0036 check sleep time", + " 001.831s 000.001s L0037 check sleep prev time", + " 001.832s 000.001s L0038 check begin time", + " 002.030s 000.198s L0044 lower range check", + " 002.031s 000.001s L0045 upper range check", + " 002.032s 000.001s L0047 free wait", + " 002.034s 000.002s L0052 new wait = 1.1 sec", + " 002.035s 000.001s L0053 check wait time", + " 002.036s 000.001s L0054 check sleep time", + " 002.037s 000.001s L0055 check sleep prev time", + " 002.038s 000.001s L0056 check begin time", + " 003.137s 001.099s L0062 lower range check", + " 003.138s 000.001s L0063 upper range check", + " 003.139s 000.001s L0065 free wait", " ", " TESTS COMPLETED SUCCESSFULLY", "", @@ -247,7 +247,7 @@ "value" : { "output" : [ "P00 INFO: test begin on x86_64 - log level info", - "P00 INFO: Building pgbackrest/test:u20-base image (5f3dc325901f5274f9e21399ef6d3facd606d85a) ...", + "P00 INFO: Using cached pgbackrest/test:u20-base-20221220A image (2db467d873c0aff06335592c8a22b8441b5c6440) ...", "P00 INFO: Building pgbackrest/test:u20-test image ...", "P00 INFO: Build Complete" ] @@ -336,7 +336,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.43" + "sudo mkdir -p /build/pgbackrest-release-2.44" ], "host" : "build", "load-env" : true, @@ -349,7 +349,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.43" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.44" ], "host" : "build", "load-env" : true, @@ -362,7 +362,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.43" + "sudo chown -R vagrant /build/pgbackrest-release-2.44" ], "host" : "build", "load-env" : true, @@ -403,7 +403,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.43/src && ./configure && make" + "cd /build/pgbackrest-release-2.44/src && ./configure && make" ], "cmd-extra" : "-j 4", "host" : "build", @@ -445,7 +445,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.43/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.44/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -573,7 +573,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.43 - General help", + "pgBackRest 2.44 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -702,7 +702,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.43 - 'backup' command - 'log-path' option help", + "pgBackRest 2.44 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -962,7 +962,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.43: --exec-id=467-be026eb1 --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.44: --exec-id=469-b3a94606 --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" ] @@ -989,10 +989,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.43: --exec-id=477-628ef2b5 --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.44: --exec-id=480-cde66738 --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-0883871c68a759ae745a601429d3a87fe854ddbe.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000100000000/000000010000000000000001-d08eea2d2a0873b4266c8e67db82e371871d341f.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -1049,16 +1049,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.43: --exec-id=507-98520060 --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.44: --exec-id=511-ac81e5d0 --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 backup start: backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000002:000000010000000000000003", - "P00 INFO: new backup label = 20221128-091926F", + "P00 INFO: new backup label = 20230130-013750F", "P00 INFO: full backup size = 23.4MB, file total = 976", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=507-98520060 --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.44: --exec-id=511-ac81e5d0 --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" ] } }, @@ -1076,7 +1076,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091926F" + "20230130-013750F" ] } }, @@ -1104,10 +1104,10 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000004:000000010000000000000005", - "P00 INFO: new backup label = 20221128-091926F_20221128-091930D", + "P00 INFO: new backup label = 20230130-013750F_20230130-013754D", "P00 INFO: diff backup size = 8.3KB, file total = 976", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=536-b6d2f399 --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.44: --exec-id=540-7615dcd2 --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" ] } }, @@ -1139,18 +1139,18 @@ " db (current)", " wal archive min/max (12): 000000010000000000000001/000000010000000000000005", "", - " full backup: 20221128-091926F", - " timestamp start/stop: 2022-11-28 09:19:26 / 2022-11-28 09:19:29", + " full backup: 20230130-013750F", + " timestamp start/stop: 2023-01-30 01:37:50 / 2023-01-30 01:37:53", " wal start/stop: 000000010000000000000002 / 000000010000000000000003", " database size: 23.4MB, database backup size: 23.4MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", "", - " diff backup: 20221128-091926F_20221128-091930D", - " timestamp start/stop: 2022-11-28 09:19:30 / 2022-11-28 09:19:32", + " diff backup: 20230130-013750F_20230130-013754D", + " timestamp start/stop: 2023-01-30 01:37:54 / 2023-01-30 01:37:56", " wal start/stop: 000000010000000000000004 / 000000010000000000000005", " database size: 23.4MB, database backup size: 8.3KB", - " repo1: backup set size: 2.8MB, backup size: 480B", - " backup reference list: 20221128-091926F" + " repo1: backup set size: 2.8MB, backup size: 496B", + " backup reference list: 20230130-013750F" ] } }, @@ -1319,14 +1319,14 @@ " data jsonb;", "begin", " -- Create a temp table to hold the JSON data", - " create temp table temp_pgbackrest_data (data jsonb);", + " create temp table temp_pgbackrest_data (data text);", "", " -- Copy data into the table directly from the pgBackRest info command", " copy temp_pgbackrest_data (data)", " from program", " 'pgbackrest --output=json info' (format text);", "", - " select temp_pgbackrest_data.data", + " select replace(temp_pgbackrest_data.data, E'\\n', '\\n')::jsonb", " into data", " from temp_pgbackrest_data;", "", @@ -1403,7 +1403,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2022-11-28 09:19:32+00 | 000000010000000000000005", + " \"demo\" | 2023-01-30 01:37:56+00 | 000000010000000000000005", "(1 row)" ] } @@ -1437,7 +1437,7 @@ "type" : "exe", "value" : { "output" : [ - "1669627172" + "1675042676" ] } }, @@ -1550,7 +1550,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091949F" + "20230130-013814F" ] } }, @@ -1558,7 +1558,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20221128-091949F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20230130-013814F info" ], "highlight" : { "filter" : false, @@ -1582,10 +1582,10 @@ " db (current)", " wal archive min/max (12): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20221128-091949F", - " timestamp start/stop: 2022-11-28 09:19:49 / 2022-11-28 09:19:51", + " full backup: 20230130-013814F", + " timestamp start/stop: 2023-01-30 01:38:14 / 2023-01-30 01:38:16", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", - " lsn start/stop: 0/8000028 / 0/9000088", + " lsn start/stop: 0/8000028 / 0/9000050", " database size: 23.4MB, database backup size: 23.4MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", " database list: postgres (13398)", @@ -1599,7 +1599,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20221128-091949F \\", + "sudo -u postgres pgbackrest --stanza=demo --set=20230130-013814F \\", " --annotation=key= --annotation=new_key=new_value annotate" ], "host" : "pg-primary", @@ -1613,7 +1613,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20221128-091949F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20230130-013814F info" ], "highlight" : { "filter" : false, @@ -1637,10 +1637,10 @@ " db (current)", " wal archive min/max (12): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20221128-091949F", - " timestamp start/stop: 2022-11-28 09:19:49 / 2022-11-28 09:19:51", + " full backup: 20230130-013814F", + " timestamp start/stop: 2023-01-30 01:38:14 / 2023-01-30 01:38:16", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", - " lsn start/stop: 0/8000028 / 0/9000088", + " lsn start/stop: 0/8000028 / 0/9000050", " database size: 23.4MB, database backup size: 23.4MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", " database list: postgres (13398)", @@ -1692,7 +1692,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20221128-091926F|remove archive" + "archive retention on backup 20230130-013750F|remove archive" ] }, "host" : "pg-primary", @@ -1704,8 +1704,8 @@ "value" : { "output" : [ " [filtered 988 lines of output]", - "P00 INFO: repo1: remove expired backup 20221128-091945F", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20221128-091949F, start = 000000020000000000000008", + "P00 INFO: repo1: remove expired backup 20230130-013810F", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20230130-013814F, start = 000000020000000000000008", "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000007", "P00 INFO: expire command end: completed successfully" ] @@ -1725,7 +1725,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091953F" + "20230130-013818F" ] } }, @@ -1740,7 +1740,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20221128-091926F|archive retention on backup 20221128-091953F|remove archive" + "expire full backup set 20230130-013750F|archive retention on backup 20230130-013818F|remove archive" ] }, "host" : "pg-primary", @@ -1752,8 +1752,8 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "P00 INFO: repo1: expire full backup 20221128-091949F", - "P00 INFO: repo1: remove expired backup 20221128-091949F", + "P00 INFO: repo1: expire full backup 20230130-013814F", + "P00 INFO: repo1: remove expired backup 20230130-013814F", "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000008, stop = 000000020000000000000009", "P00 INFO: expire command end: completed successfully" ] @@ -1818,7 +1818,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091957F_20221128-092001D" + "20230130-013822F_20230130-013826D" ] } }, @@ -1846,7 +1846,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20221128-091957F_20221128-092001D" + "expire diff backup set 20230130-013822F_20230130-013826D" ] }, "host" : "pg-primary", @@ -1859,10 +1859,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=1046-4f0ae3d3 --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 20221128-091957F_20221128-092001D, 20221128-091957F_20221128-092004I", - "P00 INFO: repo1: remove expired backup 20221128-091957F_20221128-092004I", - "P00 INFO: repo1: remove expired backup 20221128-091957F_20221128-092001D", + "P00 INFO: expire command begin 2.44: --exec-id=1048-216e862d --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 20230130-013822F_20230130-013826D, 20230130-013822F_20230130-013829I", + "P00 INFO: repo1: remove expired backup 20230130-013822F_20230130-013829I", + "P00 INFO: repo1: remove expired backup 20230130-013822F_20230130-013826D", "P00 INFO: expire command end: completed successfully" ] } @@ -1913,7 +1913,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091957F_20221128-092007D" + "20230130-013822F_20230130-013832D" ] } }, @@ -1957,7 +1957,7 @@ " [filtered 6 lines of output]", "P00 INFO: backup stop archive = 000000020000000000000017, lsn = 0/17000050", "P00 INFO: check archive for segment(s) 000000020000000000000016:000000020000000000000017", - "P00 INFO: new backup label = 20221128-091957F_20221128-092011D", + "P00 INFO: new backup label = 20230130-013822F_20230130-013836D", "P00 INFO: diff backup size = 8.3KB, file total = 976", "P00 INFO: backup command end: completed successfully", " [filtered 2 lines of output]" @@ -1978,7 +1978,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091957F_20221128-092011D" + "20230130-013822F_20230130-013836D" ] } }, @@ -1993,7 +1993,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20221128-091957F_20221128-092007D|remove archive" + "archive retention on backup 20230130-013822F_20230130-013832D|remove archive" ] }, "host" : "pg-primary", @@ -2004,11 +2004,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.43: --exec-id=1137-d00b213c --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 20221128-091953F, start = 00000002000000000000000A, stop = 00000002000000000000000B", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20221128-091957F, start = 00000002000000000000000C, stop = 00000002000000000000000D", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20221128-091957F_20221128-092007D, start = 000000020000000000000012, stop = 000000020000000000000013", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20221128-091957F_20221128-092011D, start = 000000020000000000000016", + "P00 INFO: expire command begin 2.44: --exec-id=1137-1594a29d --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 20230130-013818F, start = 00000002000000000000000A, stop = 00000002000000000000000B", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20230130-013822F, start = 00000002000000000000000C, stop = 00000002000000000000000D", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20230130-013822F_20230130-013832D, start = 000000020000000000000012, stop = 000000020000000000000013", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20230130-013822F_20230130-013836D, start = 000000020000000000000016", "P00 INFO: repo1: 12-1 remove archive, start = 00000002000000000000000E, stop = 000000020000000000000011", "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000014, stop = 000000020000000000000015", "P00 INFO: expire command end: completed successfully" @@ -2056,13 +2056,13 @@ "P00 INFO: remove invalid files/links/paths from '/var/lib/postgresql/12/demo'", "P00 DETAIL: remove invalid file '/var/lib/postgresql/12/demo/backup_label.old'", "P00 DETAIL: remove invalid file '/var/lib/postgresql/12/demo/base/1/pg_internal.init'", - " [filtered 21 lines of output]", - "P01 DETAIL: restore file /var/lib/postgresql/12/demo/base/1/pg_filenode.map - exists and matches backup (bundle 20221128-091957F/1/240, 512B, 0.04%) checksum 65f1291616eeae5fc60cb96b90d327a93e6a0680", - "P01 DETAIL: restore file /var/lib/postgresql/12/demo/base/1/PG_VERSION - exists and matches backup (bundle 20221128-091957F/1/352, 3B, 0.04%) checksum ad552e6dc057d1d825bf49df79d6b98eba846ebe", - "P01 DETAIL: restore file /var/lib/postgresql/12/demo/PG_VERSION - exists and matches backup (bundle 20221128-091957F/1/400, 3B, 0.04%) checksum ad552e6dc057d1d825bf49df79d6b98eba846ebe", - "P01 DETAIL: restore file /var/lib/postgresql/12/demo/global/6115 - exists and matches backup (bundle 20221128-091957F/1/448, 8KB, 0.07%) checksum 55f8977d3ef43e9987839954a5c54bd1197a05dd", - "P01 DETAIL: restore file /var/lib/postgresql/12/demo/global/6114 - exists and matches backup (bundle 20221128-091957F/1/544, 8KB, 0.11%) checksum 16a3ad209caa20287ee8f223a64a2589228a205e", - " [filtered 997 lines of output]" + " [filtered 780 lines of output]", + "P01 DETAIL: restore file /var/lib/postgresql/12/demo/base/1/113 - exists and matches backup (bundle 20230130-013822F/1/2542304, 8KB, 84.61%) checksum 86dec5ef018cbb5c309803e5d6adcaac23a1550a", + "P01 DETAIL: restore file /var/lib/postgresql/12/demo/base/1/112 - exists and matches backup (bundle 20230130-013822F/1/2542416, 8KB, 84.64%) checksum 3e866c6a5eea1caf52cf417df33f238220897dcf", + "P01 DETAIL: restore file /var/lib/postgresql/12/demo/PG_VERSION - exists and matches backup (bundle 20230130-013822F/1/2542528, 3B, 84.64%) checksum ad552e6dc057d1d825bf49df79d6b98eba846ebe", + "P01 DETAIL: restore file /var/lib/postgresql/12/demo/base/13398/2608_vm - exists and matches backup (bundle 20230130-013822F/1/2542576, 8KB, 84.67%) checksum ce988216f13da4831ffe894b8dbb3cde7fa1d0e4", + "P01 DETAIL: restore file /var/lib/postgresql/12/demo/postgresql.auto.conf - exists and matches backup (bundle 20230130-013822F/1/2542672, 229B, 84.67%) checksum 64387f6b9cf8adbad1c08da4d5a2941e05841f5a", + " [filtered 238 lines of output]" ] } }, @@ -2229,7 +2229,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091957F_20221128-092021I" + "20230130-013822F_20230130-013846I" ] } }, @@ -2238,7 +2238,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20221128-091957F_20221128-092021I info" + " --set=20230130-013822F_20230130-013846I info" ], "highlight" : { "filter" : true, @@ -2257,7 +2257,7 @@ "output" : [ " [filtered 12 lines of output]", " repo1: backup set size: 4.7MB, backup size: 1.9MB", - " backup reference list: 20221128-091957F, 20221128-091957F_20221128-092011D", + " backup reference list: 20230130-013822F, 20230130-013822F_20230130-013836D", " database list: postgres (13398), test1 (32768), test2 (32769)" ] } @@ -2501,7 +2501,7 @@ "type" : "exe", "value" : { "output" : [ - "2022-11-28 09:20:36.654441+00" + "2023-01-30 01:39:00.325554+00" ] } }, @@ -2567,7 +2567,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2022-11-28 09:20:36.654441+00\" \\", + " --type=time \"--target=2023-01-30 01:39:00.325554+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2612,13 +2612,13 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "# Removed by pgBackRest restore on 2022-11-28 09:20:39 # recovery_target = 'immediate'", - "# Removed by pgBackRest restore on 2022-11-28 09:20:39 # recovery_target_action = 'promote'", - "# Removed by pgBackRest restore on 2022-11-28 09:20:39 # recovery_target_timeline = 'current'", + "# Removed by pgBackRest restore on 2023-01-30 01:39:02 # recovery_target = 'immediate'", + "# Removed by pgBackRest restore on 2023-01-30 01:39:02 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2023-01-30 01:39:02 # recovery_target_timeline = 'current'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:20:39", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:39:02", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2022-11-28 09:20:36.654441+00'", + "recovery_target_time = '2023-01-30 01:39:00.325554+00'", "recovery_target_action = 'promote'" ] } @@ -2700,16 +2700,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 2022-11-28 09:20:33 UTC", - "LOG: starting point-in-time recovery to 2022-11-28 09:20:36.654441+00", + "LOG: database system was interrupted; last known up at 2023-01-30 01:38:56 UTC", + "LOG: starting point-in-time recovery to 2023-01-30 01:39:00.325554+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"00000004000000000000001A\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", "LOG: restored log file \"00000004000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 496, time 2022-11-28 09:20:38.037191+00", + "LOG: recovery stopping before commit of transaction 496, time 2023-01-30 01:39:01.738974+00", "LOG: redo done at 0/1B019E88", - "LOG: last completed transaction was at log time 2022-11-28 09:20:35.277325+00", + "LOG: last completed transaction was at log time 2023-01-30 01:38:58.960913+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", " [filtered 2 lines of output]" @@ -2774,7 +2774,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091957F_20221128-092045I" + "20230130-013822F_20230130-013909I" ] } }, @@ -2788,7 +2788,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20221128-091957F_20221128-092045I" + "20230130-013822F_20230130-013909I" ] }, "host" : "pg-primary", @@ -2806,45 +2806,45 @@ " db (current)", " wal archive min/max (12): 00000002000000000000000A/00000005000000000000001C", "", - " full backup: 20221128-091953F", - " timestamp start/stop: 2022-11-28 09:19:53 / 2022-11-28 09:19:56", + " full backup: 20230130-013818F", + " timestamp start/stop: 2023-01-30 01:38:18 / 2023-01-30 01:38:21", " wal start/stop: 00000002000000000000000A / 00000002000000000000000B", " database size: 23.4MB, database backup size: 23.4MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", "", - " full backup: 20221128-091957F", - " timestamp start/stop: 2022-11-28 09:19:57 / 2022-11-28 09:20:00", + " full backup: 20230130-013822F", + " timestamp start/stop: 2023-01-30 01:38:22 / 2023-01-30 01:38:25", " wal start/stop: 00000002000000000000000C / 00000002000000000000000D", " database size: 23.4MB, database backup size: 23.4MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", "", - " diff backup: 20221128-091957F_20221128-092011D", - " timestamp start/stop: 2022-11-28 09:20:11 / 2022-11-28 09:20:13", + " diff backup: 20230130-013822F_20230130-013836D", + " timestamp start/stop: 2023-01-30 01:38:36 / 2023-01-30 01:38:38", " wal start/stop: 000000020000000000000016 / 000000020000000000000017", " database size: 23.4MB, database backup size: 8.3KB", " repo1: backup set size: 2.8MB, backup size: 512B", - " backup reference list: 20221128-091957F", + " backup reference list: 20230130-013822F", "", - " incr backup: 20221128-091957F_20221128-092021I", - " timestamp start/stop: 2022-11-28 09:20:21 / 2022-11-28 09:20:24", + " incr backup: 20230130-013822F_20230130-013846I", + " timestamp start/stop: 2023-01-30 01:38:46 / 2023-01-30 01:38:48", " wal start/stop: 000000030000000000000019 / 000000030000000000000019", " database size: 38.7MB, database backup size: 15.8MB", " repo1: backup set size: 4.7MB, backup size: 1.9MB", - " backup reference list: 20221128-091957F, 20221128-091957F_20221128-092011D", + " backup reference list: 20230130-013822F, 20230130-013822F_20230130-013836D", "", - " diff backup: 20221128-091957F_20221128-092032D", - " timestamp start/stop: 2022-11-28 09:20:32 / 2022-11-28 09:20:34", + " diff backup: 20230130-013822F_20230130-013856D", + " timestamp start/stop: 2023-01-30 01:38:56 / 2023-01-30 01:38:58", " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", " database size: 31MB, database backup size: 8.2MB", " repo1: backup set size: 3.8MB, backup size: 1008.6KB", - " backup reference list: 20221128-091957F", + " backup reference list: 20230130-013822F", "", - " incr backup: 20221128-091957F_20221128-092045I", - " timestamp start/stop: 2022-11-28 09:20:45 / 2022-11-28 09:20:46", + " incr backup: 20230130-013822F_20230130-013909I", + " timestamp start/stop: 2023-01-30 01:39:09 / 2023-01-30 01:39:10", " wal start/stop: 00000005000000000000001C / 00000005000000000000001C", " database size: 31MB, database backup size: 2.2MB", " repo1: backup set size: 3.8MB, backup size: 234KB", - " backup reference list: 20221128-091957F, 20221128-091957F_20221128-092032D" + " backup reference list: 20230130-013822F, 20230130-013822F_20230130-013856D" ] } }, @@ -2866,8 +2866,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20221128-091957F_20221128-092045I \\", - " --type=time \"--target=2022-11-28 09:20:36.654441+00\" --target-action=promote restore" + " --set=20230130-013822F_20230130-013909I \\", + " --type=time \"--target=2023-01-30 01:39:00.325554+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2966,8 +2966,8 @@ "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 2022-11-28 09:20:45 UTC", - "LOG: starting point-in-time recovery to 2022-11-28 09:20:36.654441+00", + "LOG: database system was interrupted; last known up at 2023-01-30 01:39:09 UTC", + "LOG: starting point-in-time recovery to 2023-01-30 01:39:00.325554+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000005000000000000001C\" from archive", "LOG: redo starts at 0/1C000028", @@ -2996,7 +2996,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2022-11-28 09:20:36.654441+00\" \\", + " --type=time \"--target=2023-01-30 01:39:00.325554+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -3097,15 +3097,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 2022-11-28 09:20:36.654441+00", + "LOG: starting point-in-time recovery to 2023-01-30 01:39:00.325554+00", "LOG: restored log file \"00000006.history\" from archive", "LOG: restored log file \"00000004000000000000001A\" from archive", " [filtered 4 lines of output]", "LOG: database system is ready to accept read only connections", "LOG: restored log file \"00000005000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 497, time 2022-11-28 09:20:44.673433+00", + "LOG: recovery stopping before commit of transaction 497, time 2023-01-30 01:39:08.276669+00", "LOG: redo done at 0/1B022530", - "LOG: last completed transaction was at log time 2022-11-28 09:20:35.277325+00", + "LOG: last completed transaction was at log time 2023-01-30 01:38:58.960913+00", "LOG: selected new timeline ID: 7", "LOG: archive recovery complete", " [filtered 2 lines of output]" @@ -3245,16 +3245,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.43: --exec-id=1954-e8d2b93e --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-bundle --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 INFO: backup command begin 2.44: --exec-id=1961-033ed258 --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-bundle --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 backup start: backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000007000000000000001C, lsn = 0/1C000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000007000000000000001C:00000007000000000000001C", - "P00 INFO: new backup label = 20221128-092101F", + "P00 INFO: new backup label = 20230130-013926F", "P00 INFO: full backup size = 31MB, file total = 1282", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=1954-e8d2b93e --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" + "P00 INFO: expire command begin 2.44: --exec-id=1961-033ed258 --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" ] } }, @@ -3405,16 +3405,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.43: --exec-id=2024-c1ab3edb --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-bundle --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 INFO: backup command begin 2.44: --exec-id=2032-dce1abe1 --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-bundle --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 backup start: backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000007000000000000001E, lsn = 0/1E000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000007000000000000001E:00000007000000000000001E", - "P00 INFO: new backup label = 20221128-092111F", + "P00 INFO: new backup label = 20230130-013936F", "P00 INFO: full backup size = 31MB, file total = 1282", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=2024-c1ab3edb --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" + "P00 INFO: expire command begin 2.44: --exec-id=2032-dce1abe1 --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" ] } }, @@ -3515,7 +3515,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.43: --exec-id=2076-66f4c2b8 --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", + "P00 INFO: stop command begin 2.44: --exec-id=2085-7741abea --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -3542,7 +3542,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.43: --exec-id=2085-84208d35 --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 begin 2.44: --exec-id=2094-b19b68b8 --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" ] } @@ -3605,7 +3605,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.43/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.44/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -4164,14 +4164,14 @@ " db (current)", " wal archive min/max (12): 000000080000000000000024/000000080000000000000026", "", - " full backup: 20221128-092151F", - " timestamp start/stop: 2022-11-28 09:21:51 / 2022-11-28 09:21:56", + " full backup: 20230130-014015F", + " timestamp start/stop: 2023-01-30 01:40:15 / 2023-01-30 01:40:20", " wal start/stop: 000000080000000000000024 / 000000080000000000000024", " database size: 31MB, database backup size: 31MB", " repo1: backup set size: 3.7MB, backup size: 3.7MB", "", - " full backup: 20221128-092157F", - " timestamp start/stop: 2022-11-28 09:21:57 / 2022-11-28 09:22:01", + " full backup: 20230130-014022F", + " timestamp start/stop: 2023-01-30 01:40:22 / 2023-01-30 01:40:26", " wal start/stop: 000000080000000000000025 / 000000080000000000000026", " database size: 31MB, database backup size: 31MB", " repo1: backup set size: 3.7MB, backup size: 3.7MB" @@ -4336,7 +4336,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.43/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.44/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -4618,27 +4618,27 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:19:34", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:37:59", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:20:14", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:38:39", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:20:26", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:38:50", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2022-11-28 09:20:53 # recovery_target = 'immediate'", - "# Removed by pgBackRest restore on 2022-11-28 09:20:53 # recovery_target_action = 'promote'", - "# Removed by pgBackRest restore on 2022-11-28 09:20:53 # recovery_target_timeline = 'current'", + "# Removed by pgBackRest restore on 2023-01-30 01:39:18 # recovery_target = 'immediate'", + "# Removed by pgBackRest restore on 2023-01-30 01:39:18 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2023-01-30 01:39:18 # recovery_target_timeline = 'current'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:20:53", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:39:18", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2022-11-28 09:21:45 # recovery_target_time = '2022-11-28 09:20:36.654441+00'", - "# Removed by pgBackRest restore on 2022-11-28 09:21:45 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2023-01-30 01:40:09 # recovery_target_time = '2023-01-30 01:39:00.325554+00'", + "# Removed by pgBackRest restore on 2023-01-30 01:40:09 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:21:45", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:40:09", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:22:17", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:40:43", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] } @@ -4751,13 +4751,13 @@ "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 2022-11-28 09:21:58 UTC", + "LOG: database system was interrupted; last known up at 2023-01-30 01:40:22 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", "LOG: restored log file \"000000080000000000000025\" from archive", "LOG: redo starts at 0/25000028", "LOG: restored log file \"000000080000000000000026\" from archive", - "LOG: consistent recovery state reached at 0/26000050", + "LOG: consistent recovery state reached at 0/26000088", "LOG: database system is ready to accept read only connections" ] } @@ -4837,9 +4837,9 @@ "type" : "exe", "value" : { "output" : [ - " pg_switch_wal | current_timestamp ", - "---------------+----------------------------", - " 0/27021810 | 2022-11-28 09:22:25.548+00", + " pg_switch_wal | current_timestamp ", + "---------------+-------------------------------", + " 0/270217D8 | 2023-01-30 01:40:50.780909+00", "(1 row)" ] } @@ -4866,9 +4866,9 @@ "type" : "exe", "value" : { "output" : [ - " message | current_timestamp ", - "----------------+-------------------------------", - " Important Data | 2022-11-28 09:22:26.310089+00", + " message | current_timestamp ", + "----------------+------------------------------", + " Important Data | 2023-01-30 01:40:56.37037+00", "(1 row)" ] } @@ -4894,7 +4894,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.43: --exec-id=518-60272db8 --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.44: --exec-id=685-80fdb216 --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" @@ -5044,27 +5044,27 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:19:34", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:37:59", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:20:14", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:38:39", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:20:26", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:38:50", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2022-11-28 09:20:53 # recovery_target = 'immediate'", - "# Removed by pgBackRest restore on 2022-11-28 09:20:53 # recovery_target_action = 'promote'", - "# Removed by pgBackRest restore on 2022-11-28 09:20:53 # recovery_target_timeline = 'current'", + "# Removed by pgBackRest restore on 2023-01-30 01:39:18 # recovery_target = 'immediate'", + "# Removed by pgBackRest restore on 2023-01-30 01:39:18 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2023-01-30 01:39:18 # recovery_target_timeline = 'current'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:20:53", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:39:18", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2022-11-28 09:21:45 # recovery_target_time = '2022-11-28 09:20:36.654441+00'", - "# Removed by pgBackRest restore on 2022-11-28 09:21:45 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2023-01-30 01:40:09 # recovery_target_time = '2023-01-30 01:39:00.325554+00'", + "# Removed by pgBackRest restore on 2023-01-30 01:40:09 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:21:45", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:40:09", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:22:30", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:41:00", "primary_conninfo = 'host=172.17.0.5 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] @@ -5165,7 +5165,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2022-11-28 09:22:36.426513+00", + " Important Data | 2023-01-30 01:41:06.687698+00", "(1 row)" ] } @@ -5194,7 +5194,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2022-11-28 09:22:36.749608+00", + " Important Data | 2023-01-30 01:41:06.990072+00", "(1 row)" ] } @@ -5425,10 +5425,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.43: --exec-id=2708-01a690c1 --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.44: --exec-id=2716-273344ea --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 00000008000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000800000000/00000008000000000000002D-94867c9c14e02398ae2057937b1a3888a75e90f2.gz' on repo1", + "P00 INFO: WAL segment 00000008000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000800000000/00000008000000000000002D-c196c75ab86168b9fd3e78a853f89e5015287bea.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -5455,22 +5455,22 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.43: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=2694-ad66110e --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: archive-push:async command begin 2.44: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=2700-b19ee5ea --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: 000000080000000000000028", "P01 DETAIL: pushed WAL file '000000080000000000000028' to the archive", "P00 INFO: archive-push:async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.43: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=2711-6e714417 --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: archive-push:async command begin 2.44: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=2719-500c355e --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: 000000080000000000000029...00000008000000000000002C", - "P01 DETAIL: pushed WAL file '000000080000000000000029' to the archive", "P02 DETAIL: pushed WAL file '00000008000000000000002A' to the archive", - "P01 DETAIL: pushed WAL file '00000008000000000000002B' to the archive", - "P02 DETAIL: pushed WAL file '00000008000000000000002C' to the archive", + "P01 DETAIL: pushed WAL file '000000080000000000000029' to the archive", + "P02 DETAIL: pushed WAL file '00000008000000000000002B' to the archive", + "P01 DETAIL: pushed WAL file '00000008000000000000002C' to the archive", "P00 INFO: archive-push:async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.43: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=2727-50172647 --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: archive-push:async command begin 2.44: [/var/lib/postgresql/12/demo/pg_wal] --archive-async --exec-id=2735-fb566c96 --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: 00000008000000000000002D", "P01 DETAIL: pushed WAL file '00000008000000000000002D' to the archive", "P00 INFO: archive-push:async command end: completed successfully" @@ -5512,7 +5512,7 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.43: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --exec-id=747-8d540a95 --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: archive-get:async command begin 2.44: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --exec-id=915-8f22761c --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: 000000080000000000000025...00000008000000000000002C", "P01 DETAIL: found 000000080000000000000025 in the repo1: 12-1 archive", "P02 DETAIL: found 000000080000000000000026 in the repo1: 12-1 archive", @@ -5520,7 +5520,7 @@ "P00 DETAIL: unable to find 000000080000000000000028 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.43: [000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F] --archive-async --exec-id=791-77338714 --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: archive-get:async command begin 2.44: [000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F] --archive-async --exec-id=959-91599c4a --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: 000000080000000000000028...00000008000000000000002F", "P01 DETAIL: found 000000080000000000000028 in the repo1: 12-1 archive", "P02 DETAIL: found 000000080000000000000029 in the repo1: 12-1 archive", @@ -5617,15 +5617,14 @@ "P00 INFO: wait for replay on the standby to reach 0/2F000028", "P00 INFO: replay on the standby reached 0/2F000028", "P00 INFO: check archive for prior segment 00000008000000000000002E", - "P04 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2674 (344KB, 14.72%) checksum c502f07f610b3084a8023b6393bb9278252c1e2c", - "P04 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2673 (280KB, 26.71%) checksum 9391ab07beeb4102416b4e4a8cf08b80b05ddcb6", - "P04 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2658 (128KB, 32.19%) checksum 415818c8af592861d8127f594de01bcd0a8655b5", - "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/12/demo/global/pg_control (8KB, 32.53%) checksum 6e4a8c303ba972c09358ce6afc4021e2c74e7169", - "P04 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/1259 (104KB, 36.98%) checksum 8fe5029d3e1565412948e3973d3d194e586e3905", - "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/12/demo/pg_logical/replorigin_checkpoint (8B, 36.98%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2608 (456KB, 56.50%) checksum 257e2a1be2f22bf1bb3d3e9b296507733ad028fa", - "P03 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/1249 (440KB, 75.34%) checksum 483a85bf831ff0861c31c8036ad7cee24df831dd", - " [filtered 1289 lines of output]" + "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/12/demo/global/pg_control (8KB, 0.34%) checksum b46f3a7e32b9a287c913b945cbfb223b75cc0f17", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2608 (456KB, 19.86%) checksum e999dc1062f36f283651a5647badcc772aec56bb", + "P03 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/1249 (440KB, 38.69%) checksum 72935618b551143398c9db54446b9e837da8c782", + "P04 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2674 (344KB, 53.42%) checksum b7e1782a23e5b432ace1ef89f59e9b30fb9fbc0d", + "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/12/demo/pg_logical/replorigin_checkpoint (8B, 53.42%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2673 (280KB, 65.41%) checksum b3c90dafb991ff5b8e01080e9e5d9ba48067a3bd", + "P03 DETAIL: backup file pg-standby:/var/lib/postgresql/12/demo/base/13398/2658 (128KB, 70.89%) checksum facbe01a7d50c0b0337ded5a72e663995d3b0857", + " [filtered 1290 lines of output]" ] } }, @@ -5901,7 +5900,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.43: --exec-id=3161-0469e606 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/postgresql/14/demo --repo1-host=repository --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.44: --exec-id=3167-18059d26 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/postgresql/14/demo --repo1-host=repository --stanza=demo", "P00 INFO: stanza-upgrade for stanza 'demo' on repo1", "P00 INFO: stanza-upgrade command end: completed successfully" ] @@ -6170,7 +6169,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.43" + "sudo mkdir -p /build/pgbackrest-release-2.44" ], "host" : "build", "load-env" : true, @@ -6183,7 +6182,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.43" + "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.44" ], "host" : "build", "load-env" : true, @@ -6196,7 +6195,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.43" + "sudo chown -R vagrant /build/pgbackrest-release-2.44" ], "host" : "build", "load-env" : true, @@ -6209,7 +6208,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo yum install make gcc postgresql10-devel \\", + "sudo yum install make gcc postgresql11-devel \\", " openssl-devel libxml2-devel lz4-devel libzstd-devel bzip2-devel libyaml-devel" ], "cmd-extra" : "-y 2>&1", @@ -6224,7 +6223,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.43/src && ./configure && make" + "cd /build/pgbackrest-release-2.44/src && ./configure && make" ], "cmd-extra" : "-j 4", "host" : "build", @@ -6266,7 +6265,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.43/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.44/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -6394,7 +6393,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.43 - General help", + "pgBackRest 2.44 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -6429,8 +6428,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres /usr/pgsql-10/bin/initdb \\", - " -D /var/lib/pgsql/10/data -k -A peer" + "sudo -u postgres /usr/pgsql-11/bin/initdb \\", + " -D /var/lib/pgsql/11/data -k -A peer" ], "host" : "pg-primary", "load-env" : true, @@ -6443,7 +6442,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /var/lib/pgsql/10/data/postgresql.conf" + "cat /root/postgresql.common.conf >> /var/lib/pgsql/11/data/postgresql.conf" ], "host" : "pg-primary", "load-env" : true, @@ -6454,7 +6453,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/10/data/postgresql.conf", + "file" : "/var/lib/pgsql/11/data/postgresql.conf", "host" : "pg-primary", "option" : { "log_filename" : { @@ -6476,7 +6475,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/10/data" + "value" : "/var/lib/pgsql/11/data" } }, "global" : { @@ -6493,7 +6492,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data" + "pg1-path=/var/lib/pgsql/11/data" ] } }, @@ -6520,7 +6519,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.43 - 'backup' command - 'log-path' option help", + "pgBackRest 2.44 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -6587,7 +6586,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-path=/var/lib/pgbackrest" @@ -6596,7 +6595,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/10/data/postgresql.conf", + "file" : "/var/lib/pgsql/11/data/postgresql.conf", "host" : "pg-primary", "option" : { "archive_command" : { @@ -6628,7 +6627,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl restart postgresql-10.service" + "sudo systemctl restart postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -6691,7 +6690,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-path=/var/lib/pgbackrest", @@ -6717,7 +6716,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-path=/var/lib/pgbackrest", @@ -6747,7 +6746,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -6781,7 +6780,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.43: --exec-id=1169-399e375e --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.44: --exec-id=1093-ed9e6a91 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/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" ] @@ -6808,10 +6807,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.43: --exec-id=1198-d6e0d4ff --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.44: --exec-id=1121-de0666dd --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/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-e1f31195ab56026bdf7281d4b521a16ad5e2df22.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/11-1/0000000100000000/000000010000000000000001-8f97268adac08a19c0b890241257d2874e379432.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -6832,7 +6831,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -6868,16 +6867,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.43: --exec-id=1271-58e520c3 --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.44: --exec-id=1194-963952a8 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/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 backup start: backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000002:000000010000000000000003", - "P00 INFO: new backup label = 20221128-091228F", - "P00 INFO: full backup size = 22.5MB, file total = 949", + "P00 INFO: new backup label = 20230130-013136F", + "P00 INFO: full backup size = 22.7MB, file total = 952", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=1271-58e520c3 --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.44: --exec-id=1194-963952a8 --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" ] } }, @@ -6895,7 +6894,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091228F" + "20230130-013136F" ] } }, @@ -6923,10 +6922,10 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000004:000000010000000000000005", - "P00 INFO: new backup label = 20221128-091228F_20221128-091233D", - "P00 INFO: diff backup size = 8.8KB, file total = 949", + "P00 INFO: new backup label = 20230130-013136F_20230130-013141D", + "P00 INFO: diff backup size = 8.8KB, file total = 952", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=1333-90a220db --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.44: --exec-id=1257-49dc4d6b --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" ] } }, @@ -6956,20 +6955,20 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (10): 000000010000000000000001/000000010000000000000005", + " wal archive min/max (11): 000000010000000000000001/000000010000000000000005", "", - " full backup: 20221128-091228F", - " timestamp start/stop: 2022-11-28 09:12:28 / 2022-11-28 09:12:32", + " full backup: 20230130-013136F", + " timestamp start/stop: 2023-01-30 01:31:36 / 2023-01-30 01:31:40", " wal start/stop: 000000010000000000000002 / 000000010000000000000003", - " database size: 22.5MB, database backup size: 22.5MB", + " database size: 22.7MB, database backup size: 22.7MB", " repo1: backup set size: 2.7MB, backup size: 2.7MB", "", - " diff backup: 20221128-091228F_20221128-091233D", - " timestamp start/stop: 2022-11-28 09:12:33 / 2022-11-28 09:12:35", + " diff backup: 20230130-013136F_20230130-013141D", + " timestamp start/stop: 2023-01-30 01:31:41 / 2023-01-30 01:31:42", " wal start/stop: 000000010000000000000004 / 000000010000000000000005", - " database size: 22.5MB, database backup size: 8.8KB", - " repo1: backup set size: 2.7MB, backup size: 752B", - " backup reference list: 20221128-091228F" + " database size: 22.7MB, database backup size: 8.8KB", + " repo1: backup set size: 2.7MB, backup size: 720B", + " backup reference list: 20230130-013136F" ] } }, @@ -6977,7 +6976,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -6990,7 +6989,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres rm /var/lib/pgsql/10/data/global/pg_control" + "sudo -u postgres rm /var/lib/pgsql/11/data/global/pg_control" ], "host" : "pg-primary", "load-env" : true, @@ -7003,7 +7002,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "err-expect" : "1", "host" : "pg-primary", @@ -7017,7 +7016,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl status postgresql-10.service" + "sudo systemctl status postgresql-11.service" ], "err-expect" : "3", "highlight" : { @@ -7036,9 +7035,9 @@ "value" : { "output" : [ " [filtered 12 lines of output]", - "Nov 28 09:12:36 pg-primary systemd[1]: postgresql-10.service: Main process exited, code=exited, status=2/INVALIDARGUMENT", - "Nov 28 09:12:36 pg-primary systemd[1]: postgresql-10.service: Failed with result 'exit-code'.", - "Nov 28 09:12:36 pg-primary systemd[1]: Failed to start PostgreSQL 10 database server." + "Jan 30 01:31:43 pg-primary systemd[1]: postgresql-11.service: Main process exited, code=exited, status=2/INVALIDARGUMENT", + "Jan 30 01:31:43 pg-primary systemd[1]: postgresql-11.service: Failed with result 'exit-code'.", + "Jan 30 01:31:43 pg-primary systemd[1]: Failed to start PostgreSQL 11 database server." ] } }, @@ -7046,7 +7045,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres find /var/lib/pgsql/10/data -mindepth 1 -delete" + "sudo -u postgres find /var/lib/pgsql/11/data -mindepth 1 -delete" ], "host" : "pg-primary", "load-env" : true, @@ -7072,7 +7071,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -7151,14 +7150,14 @@ " data jsonb;", "begin", " -- Create a temp table to hold the JSON data", - " create temp table temp_pgbackrest_data (data jsonb);", + " create temp table temp_pgbackrest_data (data text);", "", " -- Copy data into the table directly from the pgBackRest info command", " copy temp_pgbackrest_data (data)", " from program", " 'pgbackrest --output=json info' (format text);", "", - " select temp_pgbackrest_data.data", + " select replace(temp_pgbackrest_data.data, E'\\n', '\\n')::jsonb", " into data", " from temp_pgbackrest_data;", "", @@ -7235,7 +7234,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2022-11-28 09:12:35+00 | 000000010000000000000005", + " \"demo\" | 2023-01-30 01:31:42+00 | 000000010000000000000005", "(1 row)" ] } @@ -7256,7 +7255,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-bundle=y", @@ -7330,7 +7329,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091247F" + "20230130-013154F" ] } }, @@ -7338,7 +7337,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20221128-091247F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20230130-013154F info" ], "highlight" : { "filter" : false, @@ -7360,15 +7359,15 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (10): 000000020000000000000007/000000020000000000000009", + " wal archive min/max (11): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20221128-091247F", - " timestamp start/stop: 2022-11-28 09:12:47 / 2022-11-28 09:12:50", + " full backup: 20230130-013154F", + " timestamp start/stop: 2023-01-30 01:31:54 / 2023-01-30 01:31:57", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000050", - " database size: 22.5MB, database backup size: 22.5MB", + " database size: 22.7MB, database backup size: 22.7MB", " repo1: backup set size: 2.7MB, backup size: 2.7MB", - " database list: postgres (13017)", + " database list: postgres (13090)", " annotation(s)", " key: value", " source: demo backup" @@ -7379,7 +7378,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20221128-091247F \\", + "sudo -u postgres pgbackrest --stanza=demo --set=20230130-013154F \\", " --annotation=key= --annotation=new_key=new_value annotate" ], "host" : "pg-primary", @@ -7393,7 +7392,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20221128-091247F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20230130-013154F info" ], "highlight" : { "filter" : false, @@ -7415,15 +7414,15 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (10): 000000020000000000000007/000000020000000000000009", + " wal archive min/max (11): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20221128-091247F", - " timestamp start/stop: 2022-11-28 09:12:47 / 2022-11-28 09:12:50", + " full backup: 20230130-013154F", + " timestamp start/stop: 2023-01-30 01:31:54 / 2023-01-30 01:31:57", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000050", - " database size: 22.5MB, database backup size: 22.5MB", + " database size: 22.7MB, database backup size: 22.7MB", " repo1: backup set size: 2.7MB, backup size: 2.7MB", - " database list: postgres (13017)", + " database list: postgres (13090)", " annotation(s)", " new_key: new_value", " source: demo backup" @@ -7446,7 +7445,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-bundle=y", @@ -7472,7 +7471,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20221128-091228F|remove archive" + "archive retention on backup 20230130-013136F|remove archive" ] }, "host" : "pg-primary", @@ -7483,10 +7482,10 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 961 lines of output]", - "P00 INFO: repo1: remove expired backup 20221128-091243F", - "P00 DETAIL: repo1: 10-1 archive retention on backup 20221128-091247F, start = 000000020000000000000008", - "P00 INFO: repo1: 10-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000007", + " [filtered 964 lines of output]", + "P00 INFO: repo1: remove expired backup 20230130-013150F", + "P00 DETAIL: repo1: 11-1 archive retention on backup 20230130-013154F, start = 000000020000000000000008", + "P00 INFO: repo1: 11-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000007", "P00 INFO: expire command end: completed successfully" ] } @@ -7505,7 +7504,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091252F" + "20230130-013159F" ] } }, @@ -7520,7 +7519,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20221128-091228F|archive retention on backup 20221128-091252F|remove archive" + "expire full backup set 20230130-013136F|archive retention on backup 20230130-013159F|remove archive" ] }, "host" : "pg-primary", @@ -7532,9 +7531,9 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "P00 INFO: repo1: expire full backup 20221128-091247F", - "P00 INFO: repo1: remove expired backup 20221128-091247F", - "P00 INFO: repo1: 10-1 remove archive, start = 000000020000000000000008, stop = 000000020000000000000009", + "P00 INFO: repo1: expire full backup 20230130-013154F", + "P00 INFO: repo1: remove expired backup 20230130-013154F", + "P00 INFO: repo1: 11-1 remove archive, start = 000000020000000000000008, stop = 000000020000000000000009", "P00 INFO: expire command end: completed successfully" ] } @@ -7555,7 +7554,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-bundle=y", @@ -7598,7 +7597,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091256F_20221128-091300D" + "20230130-013203F_20230130-013207D" ] } }, @@ -7626,7 +7625,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20221128-091256F_20221128-091300D" + "expire diff backup set 20230130-013203F_20230130-013207D" ] }, "host" : "pg-primary", @@ -7639,10 +7638,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=2338-267004a8 --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 20221128-091256F_20221128-091300D, 20221128-091256F_20221128-091303I", - "P00 INFO: repo1: remove expired backup 20221128-091256F_20221128-091303I", - "P00 INFO: repo1: remove expired backup 20221128-091256F_20221128-091300D", + "P00 INFO: expire command begin 2.44: --exec-id=2265-a0083620 --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 20230130-013203F_20230130-013207D, 20230130-013203F_20230130-013210I", + "P00 INFO: repo1: remove expired backup 20230130-013203F_20230130-013210I", + "P00 INFO: repo1: remove expired backup 20230130-013203F_20230130-013207D", "P00 INFO: expire command end: completed successfully" ] } @@ -7663,7 +7662,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-bundle=y", @@ -7693,7 +7692,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091256F_20221128-091306D" + "20230130-013203F_20230130-013213D" ] } }, @@ -7737,8 +7736,8 @@ " [filtered 6 lines of output]", "P00 INFO: backup stop archive = 000000020000000000000017, lsn = 0/17000050", "P00 INFO: check archive for segment(s) 000000020000000000000016:000000020000000000000017", - "P00 INFO: new backup label = 20221128-091256F_20221128-091310D", - "P00 INFO: diff backup size = 10.9KB, file total = 949", + "P00 INFO: new backup label = 20230130-013203F_20230130-013217D", + "P00 INFO: diff backup size = 10.9KB, file total = 952", "P00 INFO: backup command end: completed successfully", " [filtered 2 lines of output]" ] @@ -7758,7 +7757,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091256F_20221128-091310D" + "20230130-013203F_20230130-013217D" ] } }, @@ -7773,7 +7772,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20221128-091256F_20221128-091306D|remove archive" + "archive retention on backup 20230130-013203F_20230130-013213D|remove archive" ] }, "host" : "pg-primary", @@ -7784,13 +7783,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.43: --exec-id=2535-961c857b --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 20221128-091252F, start = 00000002000000000000000A, stop = 00000002000000000000000B", - "P00 DETAIL: repo1: 10-1 archive retention on backup 20221128-091256F, start = 00000002000000000000000C, stop = 00000002000000000000000D", - "P00 DETAIL: repo1: 10-1 archive retention on backup 20221128-091256F_20221128-091306D, start = 000000020000000000000012, stop = 000000020000000000000013", - "P00 DETAIL: repo1: 10-1 archive retention on backup 20221128-091256F_20221128-091310D, start = 000000020000000000000016", - "P00 INFO: repo1: 10-1 remove archive, start = 00000002000000000000000E, stop = 000000020000000000000011", - "P00 INFO: repo1: 10-1 remove archive, start = 000000020000000000000014, stop = 000000020000000000000015", + "P00 INFO: expire command begin 2.44: --exec-id=2465-05b5774b --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: 11-1 archive retention on backup 20230130-013159F, start = 00000002000000000000000A, stop = 00000002000000000000000B", + "P00 DETAIL: repo1: 11-1 archive retention on backup 20230130-013203F, start = 00000002000000000000000C, stop = 00000002000000000000000D", + "P00 DETAIL: repo1: 11-1 archive retention on backup 20230130-013203F_20230130-013213D, start = 000000020000000000000012, stop = 000000020000000000000013", + "P00 DETAIL: repo1: 11-1 archive retention on backup 20230130-013203F_20230130-013217D, start = 000000020000000000000016", + "P00 INFO: repo1: 11-1 remove archive, start = 00000002000000000000000E, stop = 000000020000000000000011", + "P00 INFO: repo1: 11-1 remove archive, start = 000000020000000000000014, stop = 000000020000000000000015", "P00 INFO: expire command end: completed successfully" ] } @@ -7799,7 +7798,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -7831,12 +7830,12 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 DETAIL: check '/var/lib/pgsql/10/data' exists", + "P00 DETAIL: check '/var/lib/pgsql/11/data' exists", "P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete", - "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 1000 lines of output]" + "P00 INFO: remove invalid files/links/paths from '/var/lib/pgsql/11/data'", + "P00 DETAIL: remove invalid file '/var/lib/pgsql/11/data/backup_label.old'", + "P00 DETAIL: remove invalid file '/var/lib/pgsql/11/data/base/13090/pg_internal.init'", + " [filtered 999 lines of output]" ] } }, @@ -7844,7 +7843,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -7975,7 +7974,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres du -sh /var/lib/pgsql/10/data/base/32768" + "sudo -u postgres du -sh /var/lib/pgsql/11/data/base/32768" ], "host" : "pg-primary", "load-env" : true, @@ -7985,7 +7984,7 @@ "type" : "exe", "value" : { "output" : [ - "7.5M\t/var/lib/pgsql/10/data/base/32768" + "7.6M\t/var/lib/pgsql/11/data/base/32768" ] } }, @@ -8003,7 +8002,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091256F_20221128-091319I" + "20230130-013203F_20230130-013225I" ] } }, @@ -8012,7 +8011,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20221128-091256F_20221128-091319I info" + " --set=20230130-013203F_20230130-013225I info" ], "highlight" : { "filter" : true, @@ -8030,9 +8029,9 @@ "value" : { "output" : [ " [filtered 12 lines of output]", - " repo1: backup set size: 4.4MB, backup size: 1.8MB", - " backup reference list: 20221128-091256F, 20221128-091256F_20221128-091310D", - " database list: postgres (13017), test1 (32768), test2 (32769)" + " repo1: backup set size: 4.5MB, backup size: 1.8MB", + " backup reference list: 20230130-013203F, 20230130-013203F_20230130-013217D", + " database list: postgres (13090), test1 (32768), test2 (32769)" ] } }, @@ -8040,7 +8039,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -8067,7 +8066,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -8132,7 +8131,7 @@ "type" : "exe", "value" : { "output" : [ - "psql: FATAL: relation mapping file \"base/32768/pg_filenode.map\" contains invalid data" + "psql: error: FATAL: relation mapping file \"base/32768/pg_filenode.map\" contains invalid data" ] } }, @@ -8140,7 +8139,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres du -sh /var/lib/pgsql/10/data/base/32768" + "sudo -u postgres du -sh /var/lib/pgsql/11/data/base/32768" ], "host" : "pg-primary", "load-env" : true, @@ -8150,7 +8149,7 @@ "type" : "exe", "value" : { "output" : [ - "16K\t/var/lib/pgsql/10/data/base/32768" + "16K\t/var/lib/pgsql/11/data/base/32768" ] } }, @@ -8196,8 +8195,8 @@ " oid | datname ", "-------+-----------", " 1 | template1", - " 13016 | template0", - " 13017 | postgres", + " 13089 | template0", + " 13090 | postgres", " 32769 | test2", "(4 rows)" ] @@ -8275,7 +8274,7 @@ "type" : "exe", "value" : { "output" : [ - "2022-11-28 09:13:32.345577+00" + "2023-01-30 01:32:38.383368+00" ] } }, @@ -8327,7 +8326,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -8341,7 +8340,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2022-11-28 09:13:32.345577+00\" \\", + " --type=time \"--target=2023-01-30 01:32:38.383368+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -8355,7 +8354,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/lib/pgsql/10/data/log/postgresql.log" + "sudo rm /var/lib/pgsql/11/data/log/postgresql.log" ], "host" : "pg-primary", "load-env" : true, @@ -8368,7 +8367,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/10/data/recovery.conf" + "sudo -u postgres cat /var/lib/pgsql/11/data/recovery.conf" ], "highlight" : { "filter" : true, @@ -8385,9 +8384,9 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:13:34", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:32:40", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2022-11-28 09:13:32.345577+00'", + "recovery_target_time = '2023-01-30 01:32:38.383368+00'", "recovery_target_action = 'promote'" ] } @@ -8396,7 +8395,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -8450,7 +8449,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/10/data/log/postgresql.log" + "sudo -u postgres cat /var/lib/pgsql/11/data/log/postgresql.log" ], "highlight" : { "filter" : true, @@ -8467,16 +8466,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2022-11-28 09:13:29 UTC", - "LOG: starting point-in-time recovery to 2022-11-28 09:13:32.345577+00", + "LOG: database system was interrupted; last known up at 2023-01-30 01:32:35 UTC", + "LOG: starting point-in-time recovery to 2023-01-30 01:32:38.383368+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"00000004000000000000001A\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", "LOG: restored log file \"00000004000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 565, time 2022-11-28 09:13:33.80884+00", - "LOG: redo done at 0/1B020950", - "LOG: last completed transaction was at log time 2022-11-28 09:13:30.916445+00", + "LOG: recovery stopping before commit of transaction 578, time 2023-01-30 01:32:39.793949+00", + "LOG: redo done at 0/1B018B28", + "LOG: last completed transaction was at log time 2023-01-30 01:32:36.95736+00", "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", "LOG: database system is ready to accept connections" @@ -8541,7 +8540,7 @@ "type" : "exe", "value" : { "output" : [ - "20221128-091256F_20221128-091339I" + "20230130-013203F_20230130-013245I" ] } }, @@ -8555,7 +8554,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20221128-091256F_20221128-091339I" + "20230130-013203F_20230130-013245I" ] }, "host" : "pg-primary", @@ -8571,47 +8570,47 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (10): 00000002000000000000000A/00000005000000000000001C", + " wal archive min/max (11): 00000002000000000000000A/00000005000000000000001C", "", - " full backup: 20221128-091252F", - " timestamp start/stop: 2022-11-28 09:12:52 / 2022-11-28 09:12:55", + " full backup: 20230130-013159F", + " timestamp start/stop: 2023-01-30 01:31:59 / 2023-01-30 01:32:01", " wal start/stop: 00000002000000000000000A / 00000002000000000000000B", - " database size: 22.5MB, database backup size: 22.5MB", + " database size: 22.7MB, database backup size: 22.7MB", " repo1: backup set size: 2.7MB, backup size: 2.7MB", "", - " full backup: 20221128-091256F", - " timestamp start/stop: 2022-11-28 09:12:56 / 2022-11-28 09:12:59", + " full backup: 20230130-013203F", + " timestamp start/stop: 2023-01-30 01:32:03 / 2023-01-30 01:32:05", " wal start/stop: 00000002000000000000000C / 00000002000000000000000D", - " database size: 22.5MB, database backup size: 22.5MB", + " database size: 22.7MB, database backup size: 22.7MB", " repo1: backup set size: 2.7MB, backup size: 2.7MB", "", - " diff backup: 20221128-091256F_20221128-091310D", - " timestamp start/stop: 2022-11-28 09:13:10 / 2022-11-28 09:13:12", + " diff backup: 20230130-013203F_20230130-013217D", + " timestamp start/stop: 2023-01-30 01:32:17 / 2023-01-30 01:32:19", " wal start/stop: 000000020000000000000016 / 000000020000000000000017", - " database size: 22.5MB, database backup size: 10.9KB", + " database size: 22.7MB, database backup size: 10.9KB", " repo1: backup set size: 2.7MB, backup size: 992B", - " backup reference list: 20221128-091256F", + " backup reference list: 20230130-013203F", "", - " incr backup: 20221128-091256F_20221128-091319I", - " timestamp start/stop: 2022-11-28 09:13:19 / 2022-11-28 09:13:22", + " incr backup: 20230130-013203F_20230130-013225I", + " timestamp start/stop: 2023-01-30 01:32:25 / 2023-01-30 01:32:28", " wal start/stop: 000000030000000000000019 / 000000030000000000000019", - " database size: 37MB, database backup size: 15.1MB", - " repo1: backup set size: 4.4MB, backup size: 1.8MB", - " backup reference list: 20221128-091256F, 20221128-091256F_20221128-091310D", + " database size: 37.5MB, database backup size: 15.3MB", + " repo1: backup set size: 4.5MB, backup size: 1.8MB", + " backup reference list: 20230130-013203F, 20230130-013203F_20230130-013217D", "", - " diff backup: 20221128-091256F_20221128-091329D", - " timestamp start/stop: 2022-11-28 09:13:29 / 2022-11-28 09:13:30", + " diff backup: 20230130-013203F_20230130-013234D", + " timestamp start/stop: 2023-01-30 01:32:34 / 2023-01-30 01:32:36", " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", - " database size: 29.8MB, database backup size: 7.8MB", - " repo1: backup set size: 3.6MB, backup size: 948.9KB", - " backup reference list: 20221128-091256F", + " database size: 30.1MB, database backup size: 7.9MB", + " repo1: backup set size: 3.6MB, backup size: 967.9KB", + " backup reference list: 20230130-013203F", "", - " incr backup: 20221128-091256F_20221128-091339I", - " timestamp start/stop: 2022-11-28 09:13:39 / 2022-11-28 09:13:40", + " incr backup: 20230130-013203F_20230130-013245I", + " timestamp start/stop: 2023-01-30 01:32:45 / 2023-01-30 01:32:47", " wal start/stop: 00000005000000000000001C / 00000005000000000000001C", - " database size: 29.8MB, database backup size: 2MB", - " repo1: backup set size: 3.5MB, backup size: 218.3KB", - " backup reference list: 20221128-091256F, 20221128-091256F_20221128-091329D" + " database size: 30.1MB, database backup size: 2.1MB", + " repo1: backup set size: 3.6MB, backup size: 222.8KB", + " backup reference list: 20230130-013203F, 20230130-013203F_20230130-013234D" ] } }, @@ -8619,7 +8618,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -8633,8 +8632,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20221128-091256F_20221128-091339I \\", - " --type=time \"--target=2022-11-28 09:13:32.345577+00\" --target-action=promote restore" + " --set=20230130-013203F_20230130-013245I \\", + " --type=time \"--target=2023-01-30 01:32:38.383368+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -8647,7 +8646,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/lib/pgsql/10/data/log/postgresql.log" + "sudo rm /var/lib/pgsql/11/data/log/postgresql.log" ], "host" : "pg-primary", "load-env" : true, @@ -8660,7 +8659,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -8714,7 +8713,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/10/data/log/postgresql.log" + "sudo -u postgres cat /var/lib/pgsql/11/data/log/postgresql.log" ], "highlight" : { "filter" : true, @@ -8731,8 +8730,8 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2022-11-28 09:13:39 UTC", - "LOG: starting point-in-time recovery to 2022-11-28 09:13:32.345577+00", + "LOG: database system was interrupted; last known up at 2023-01-30 01:32:45 UTC", + "LOG: starting point-in-time recovery to 2023-01-30 01:32:38.383368+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000005000000000000001C\" from archive", "LOG: redo starts at 0/1C000028", @@ -8747,7 +8746,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -8761,7 +8760,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2022-11-28 09:13:32.345577+00\" \\", + " --type=time \"--target=2023-01-30 01:32:38.383368+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -8775,7 +8774,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/lib/pgsql/10/data/log/postgresql.log" + "sudo rm /var/lib/pgsql/11/data/log/postgresql.log" ], "host" : "pg-primary", "load-env" : true, @@ -8788,7 +8787,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -8842,7 +8841,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/10/data/log/postgresql.log" + "sudo -u postgres cat /var/lib/pgsql/11/data/log/postgresql.log" ], "highlight" : { "filter" : true, @@ -8859,16 +8858,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2022-11-28 09:13:29 UTC", - "LOG: starting point-in-time recovery to 2022-11-28 09:13:32.345577+00", + "LOG: database system was interrupted; last known up at 2023-01-30 01:32:35 UTC", + "LOG: starting point-in-time recovery to 2023-01-30 01:32:38.383368+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"00000004000000000000001A\" from archive", " [filtered 2 lines of output]", "LOG: database system is ready to accept read only connections", "LOG: restored log file \"00000004000000000000001B\" from archive", - "LOG: recovery stopping before commit of transaction 565, time 2022-11-28 09:13:33.80884+00", - "LOG: redo done at 0/1B020950", - "LOG: last completed transaction was at log time 2022-11-28 09:13:30.916445+00", + "LOG: recovery stopping before commit of transaction 578, time 2023-01-30 01:32:39.793949+00", + "LOG: redo done at 0/1B018B28", + "LOG: last completed transaction was at log time 2023-01-30 01:32:36.95736+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 3 lines of output]" @@ -8909,7 +8908,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "process-max=4", @@ -9008,16 +9007,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.43: --exec-id=4305-ec8522e8 --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-bundle --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 INFO: backup command begin 2.44: --exec-id=4243-772b8ae5 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/data --process-max=4 --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-bundle --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 backup start: backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000007000000000000001C, lsn = 0/1C000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000007000000000000001C:00000007000000000000001C", - "P00 INFO: new backup label = 20221128-091352F", - "P00 INFO: full backup size = 29.8MB, file total = 1246", + "P00 INFO: new backup label = 20230130-013259F", + "P00 INFO: full backup size = 30.1MB, file total = 1250", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=4305-ec8522e8 --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" + "P00 INFO: expire command begin 2.44: --exec-id=4243-772b8ae5 --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" ] } }, @@ -9061,7 +9060,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "process-max=4", @@ -9168,16 +9167,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.43: --exec-id=4467-fd1b2355 --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-bundle --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 INFO: backup command begin 2.44: --exec-id=4403-f5b530d8 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/data --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-bundle --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 backup start: backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000007000000000000001E, lsn = 0/1E000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000007000000000000001E:00000007000000000000001E", - "P00 INFO: new backup label = 20221128-091402F", - "P00 INFO: full backup size = 29.8MB, file total = 1246", + "P00 INFO: new backup label = 20230130-013310F", + "P00 INFO: full backup size = 30.1MB, file total = 1250", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.43: --exec-id=4467-fd1b2355 --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" + "P00 INFO: expire command begin 2.44: --exec-id=4403-f5b530d8 --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" ] } }, @@ -9209,7 +9208,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "process-max=4", @@ -9248,7 +9247,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -9278,7 +9277,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.43: --exec-id=4582-8ee2713e --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", + "P00 INFO: stop command begin 2.44: --exec-id=4516-cf9d5842 --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -9305,7 +9304,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.43: --exec-id=4609-8837339c --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 begin 2.44: --exec-id=4544-415fc8b7 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/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" ] } @@ -9314,7 +9313,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -9381,7 +9380,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.43/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.44/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -9576,7 +9575,7 @@ "value" : "tls" }, "pg1-path" : { - "value" : "/var/lib/pgsql/10/data" + "value" : "/var/lib/pgsql/11/data" } }, "global" : { @@ -9619,7 +9618,7 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "repo1-path=/var/lib/pgbackrest", @@ -9640,7 +9639,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/10/data" + "value" : "/var/lib/pgsql/11/data" } }, "global" : { @@ -9691,7 +9690,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "log-level-file=detail", @@ -10019,7 +10018,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -10045,7 +10044,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -10101,7 +10100,7 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "process-max=3", @@ -10155,19 +10154,19 @@ " cipher: none", "", " db (current)", - " wal archive min/max (10): 000000080000000000000024/000000080000000000000026", + " wal archive min/max (11): 000000080000000000000024/000000080000000000000026", "", - " full backup: 20221128-091514F", - " timestamp start/stop: 2022-11-28 09:15:14 / 2022-11-28 09:15:19", + " full backup: 20230130-013405F", + " timestamp start/stop: 2023-01-30 01:34:05 / 2023-01-30 01:34:09", " wal start/stop: 000000080000000000000024 / 000000080000000000000024", - " database size: 29.8MB, database backup size: 29.8MB", - " repo1: backup set size: 3.5MB, backup size: 3.5MB", + " database size: 30.1MB, database backup size: 30.1MB", + " repo1: backup set size: 3.6MB, backup size: 3.6MB", "", - " full backup: 20221128-091521F", - " timestamp start/stop: 2022-11-28 09:15:21 / 2022-11-28 09:15:25", + " full backup: 20230130-013411F", + " timestamp start/stop: 2023-01-30 01:34:11 / 2023-01-30 01:34:15", " wal start/stop: 000000080000000000000025 / 000000080000000000000026", - " database size: 29.8MB, database backup size: 29.8MB", - " repo1: backup set size: 3.5MB, backup size: 3.5MB" + " database size: 30.1MB, database backup size: 30.1MB", + " repo1: backup set size: 3.6MB, backup size: 3.6MB" ] } }, @@ -10329,7 +10328,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.43/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.44/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -10450,7 +10449,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/10/data" + "value" : "/var/lib/pgsql/11/data" } }, "global" : { @@ -10500,7 +10499,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "log-level-file=detail", @@ -10646,7 +10645,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres mkdir -p -m 700 /var/lib/pgsql/10/data" + "sudo -u postgres mkdir -p -m 700 /var/lib/pgsql/11/data" ], "host" : "pg-standby", "load-env" : true, @@ -10672,7 +10671,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/10/data/recovery.conf" + "sudo -u postgres cat /var/lib/pgsql/11/data/recovery.conf" ], "host" : "pg-standby", "load-env" : true, @@ -10682,7 +10681,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:16:16", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:34:45", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" ] @@ -10692,7 +10691,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /var/lib/pgsql/10/data/postgresql.conf" + "cat /root/postgresql.common.conf >> /var/lib/pgsql/11/data/postgresql.conf" ], "host" : "pg-standby", "load-env" : true, @@ -10703,7 +10702,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/10/data/postgresql.conf", + "file" : "/var/lib/pgsql/11/data/postgresql.conf", "host" : "pg-standby", "option" : { "archive_command" : { @@ -10742,7 +10741,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/lib/pgsql/10/data/log/postgresql.log" + "sudo rm /var/lib/pgsql/11/data/log/postgresql.log" ], "host" : "pg-standby", "load-env" : true, @@ -10755,7 +10754,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-standby", "load-env" : true, @@ -10781,7 +10780,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/10/data/log/postgresql.log" + "sudo -u postgres cat /var/lib/pgsql/11/data/log/postgresql.log" ], "highlight" : { "filter" : true, @@ -10798,7 +10797,7 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2022-11-28 09:15:21 UTC", + "LOG: database system was interrupted; last known up at 2023-01-30 01:34:11 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", "LOG: restored log file \"000000080000000000000025\" from archive", @@ -10886,7 +10885,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/2702AB10 | 2022-11-28 09:16:21.941255+00", + " 0/2701BC00 | 2023-01-30 01:34:50.595899+00", "(1 row)" ] } @@ -10915,7 +10914,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2022-11-28 09:16:23.954534+00", + " Important Data | 2023-01-30 01:34:52.654247+00", "(1 row)" ] } @@ -10941,7 +10940,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.43: --exec-id=1300-6e2a1839 --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 --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --stanza=demo", + "P00 INFO: check command begin 2.44: --exec-id=1240-962eaa91 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/data --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --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" @@ -10973,7 +10972,7 @@ "cmd" : [ "sudo -u postgres sh -c 'echo \\", " \"host replication replicator 172.17.0.7/32 md5\" \\", - " >> /var/lib/pgsql/10/data/pg_hba.conf'" + " >> /var/lib/pgsql/11/data/pg_hba.conf'" ], "host" : "pg-primary", "load-env" : true, @@ -10986,7 +10985,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl reload postgresql-10.service" + "sudo systemctl reload postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -11011,7 +11010,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "recovery-option=primary_conninfo=host=172.17.0.5 port=5432 user=replicator", "", "[global]", @@ -11061,7 +11060,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-standby", "load-env" : true, @@ -11087,7 +11086,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/10/data/recovery.conf" + "sudo -u postgres cat /var/lib/pgsql/11/data/recovery.conf" ], "host" : "pg-standby", "load-env" : true, @@ -11097,7 +11096,7 @@ "type" : "exe", "value" : { "output" : [ - "# Recovery settings generated by pgBackRest restore on 2022-11-28 09:16:27", + "# Recovery settings generated by pgBackRest restore on 2023-01-30 01:34:56", "primary_conninfo = 'host=172.17.0.5 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "standby_mode = 'on'" @@ -11106,7 +11105,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/10/data/postgresql.conf", + "file" : "/var/lib/pgsql/11/data/postgresql.conf", "host" : "pg-standby", "option" : { "hot_standby" : { @@ -11130,7 +11129,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/lib/pgsql/10/data/log/postgresql.log" + "sudo rm /var/lib/pgsql/11/data/log/postgresql.log" ], "host" : "pg-standby", "load-env" : true, @@ -11143,7 +11142,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-10.service" + "sudo systemctl start postgresql-11.service" ], "host" : "pg-standby", "load-env" : true, @@ -11169,7 +11168,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/10/data/log/postgresql.log" + "sudo -u postgres cat /var/lib/pgsql/11/data/log/postgresql.log" ], "highlight" : { "filter" : true, @@ -11221,7 +11220,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2022-11-28 09:16:31.879436+00", + " Important Data | 2023-01-30 01:35:00.623472+00", "(1 row)" ] } @@ -11250,7 +11249,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2022-11-28 09:16:32.207535+00", + " Important Data | 2023-01-30 01:35:00.971855+00", "(1 row)" ] } @@ -11336,7 +11335,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "", "[global]", "archive-async=y", @@ -11390,7 +11389,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "recovery-option=primary_conninfo=host=172.17.0.5 port=5432 user=replicator", "", "[global]", @@ -11438,7 +11437,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl restart postgresql-10.service" + "sudo systemctl restart postgresql-11.service" ], "host" : "pg-standby", "load-env" : true, @@ -11499,10 +11498,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.43: --exec-id=5636-2e1e3c97 --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 --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --stanza=demo", + "P00 INFO: check command begin 2.44: --exec-id=5570-1d768bf4 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/data --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --stanza=demo", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 00000008000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/10-1/0000000800000000/00000008000000000000002D-f992db0f921c8ca002341b41821b64d8c4a95cbb.gz' on repo1", + "P00 INFO: WAL segment 00000008000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/11-1/0000000800000000/00000008000000000000002D-53d7930d9324a99b512223bcea7248bbb80f93ce.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -11529,24 +11528,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.43: [/var/lib/pgsql/10/data/pg_wal] --archive-async --exec-id=5605-4eec9a20 --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 --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-push:async command begin 2.44: [/var/lib/pgsql/11/data/pg_wal] --archive-async --exec-id=5539-e06784d0 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000028", "P01 DETAIL: pushed WAL file '000000080000000000000028' to the archive", "P00 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", "P00 INFO: archive-push:async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.43: [/var/lib/pgsql/10/data/pg_wal] --archive-async --exec-id=5638-cdf781c2 --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 --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-push:async command begin 2.44: [/var/lib/pgsql/11/data/pg_wal] --archive-async --exec-id=5572-6dd89f37 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: push 4 WAL file(s) to archive: 000000080000000000000029...00000008000000000000002C", "P02 DETAIL: pushed WAL file '00000008000000000000002A' to the archive", "P01 DETAIL: pushed WAL file '000000080000000000000029' to the archive", - "P01 DETAIL: pushed WAL file '00000008000000000000002C' to the archive", "P02 DETAIL: pushed WAL file '00000008000000000000002B' to the archive", + "P01 DETAIL: pushed WAL file '00000008000000000000002C' to the archive", "P00 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", "P00 INFO: archive-push:async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.43: [/var/lib/pgsql/10/data/pg_wal] --archive-async --exec-id=5646-d099bd0d --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 --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-push:async command begin 2.44: [/var/lib/pgsql/11/data/pg_wal] --archive-async --exec-id=5580-319c814c --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: push 1 WAL file(s) to archive: 00000008000000000000002D", "P01 DETAIL: pushed WAL file '00000008000000000000002D' to the archive", "P00 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", @@ -11589,25 +11588,25 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.43: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --exec-id=1841-daa5a807 --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 --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get:async command begin 2.44: [000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C] --archive-async --exec-id=1785-e3c1bac0 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000025...00000008000000000000002C", - "P01 DETAIL: found 000000080000000000000025 in the repo1: 10-1 archive", - "P02 DETAIL: found 000000080000000000000026 in the repo1: 10-1 archive", - "P01 DETAIL: found 000000080000000000000027 in the repo1: 10-1 archive", + "P02 DETAIL: found 000000080000000000000026 in the repo1: 11-1 archive", + "P01 DETAIL: found 000000080000000000000025 in the repo1: 11-1 archive", + "P02 DETAIL: found 000000080000000000000027 in the repo1: 11-1 archive", "P00 DETAIL: unable to find 000000080000000000000028 in the archive", "P00 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", " [filtered 24 lines of output]", - "P00 INFO: archive-get:async command begin 2.43: [000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F] --archive-async --exec-id=1888-75b46cb1 --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 --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: archive-get:async command begin 2.44: [000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F] --archive-async --exec-id=1832-9cd5183f --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/11/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000080000000000000028...00000008000000000000002F", - "P02 DETAIL: found 000000080000000000000029 in the repo1: 10-1 archive", - "P01 DETAIL: found 000000080000000000000028 in the repo1: 10-1 archive", - "P02 DETAIL: found 00000008000000000000002A in the repo1: 10-1 archive", - "P01 DETAIL: found 00000008000000000000002B in the repo1: 10-1 archive", - "P02 DETAIL: found 00000008000000000000002C in the repo1: 10-1 archive", - "P01 DETAIL: found 00000008000000000000002D in the repo1: 10-1 archive", + "P01 DETAIL: found 000000080000000000000028 in the repo1: 11-1 archive", + "P02 DETAIL: found 000000080000000000000029 in the repo1: 11-1 archive", + "P01 DETAIL: found 00000008000000000000002A in the repo1: 11-1 archive", + "P02 DETAIL: found 00000008000000000000002B in the repo1: 11-1 archive", + "P02 DETAIL: found 00000008000000000000002D in the repo1: 11-1 archive", + "P01 DETAIL: found 00000008000000000000002C in the repo1: 11-1 archive", "P00 DETAIL: unable to find 00000008000000000000002E in the archive", "P00 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", - " [filtered 7 lines of output]" + " [filtered 14 lines of output]" ] } }, @@ -11651,7 +11650,7 @@ "value" : "tls" }, "pg2-path" : { - "value" : "/var/lib/pgsql/10/data" + "value" : "/var/lib/pgsql/11/data" } }, "global" : { @@ -11670,13 +11669,13 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/10/data", + "pg1-path=/var/lib/pgsql/11/data", "pg2-host=pg-standby", "pg2-host-ca-file=/etc/pgbackrest/cert/ca.crt", "pg2-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg2-host-key-file=/etc/pgbackrest/cert/client.key", "pg2-host-type=tls", - "pg2-path=/var/lib/pgsql/10/data", + "pg2-path=/var/lib/pgsql/11/data", "", "[global]", "backup-standby=y", @@ -11719,18 +11718,17 @@ "P00 INFO: wait for replay on the standby to reach 0/2F000028", "P00 INFO: replay on the standby reached 0/2F000028", "P00 INFO: check archive for prior segment 00000008000000000000002E", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/global/pg_control (8KB, 0.34%) checksum 2cb5285b287d4468a918adca8bc876d1d1f70b2e", - "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/2608 (440KB, 19.49%) checksum 746a3cb01e4bfb656d0ef859ab7590d232735759", - "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/1249 (392KB, 36.55%) checksum f6a1823ff747848ce0e7f98ea1d05a05511b139e", - "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/2674 (376KB, 52.91%) checksum 8c8c92b945c62cf3aaea2a7ac2a90ce3891f901a", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/log/postgresql.log (5.6KB, 53.16%) checksum 455fa1b1bb35fea33825cf033c74c87a69c7af49", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/pg_hba.conf (4.2KB, 53.34%) checksum 12abee43e7eabfb3ff6239f3fc9bc3598293557d", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/current_logfiles (26B, 53.34%) checksum 78a9f5c10960f0d91fcd313937469824861795a2", - "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/2658 (112KB, 58.22%) checksum 378077127ef0f42fb00f757f2a1524ab17368360", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/10/data/pg_logical/replorigin_checkpoint (8B, 58.22%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/2673 (304KB, 71.45%) checksum 2095aa5e248f036b9d6bce52884a4ce620d7b689", - "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/10/data/base/13017/1259 (88KB, 75.28%) checksum 2bcbf8fe4a7d5881a022290e5568107162ed0b0c", - " [filtered 1252 lines of output]" + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/11/data/global/pg_control (8KB, 0.35%) checksum 6ad46a9021f90b1ca2735b953356ec61eb0da423", + "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/11/data/base/13090/2608 (448KB, 20.12%) checksum b270f264e4f53081a2ef0930b845df8b18ac6214", + "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/11/data/base/13090/1249 (392KB, 37.42%) checksum afbb2faeff4e0ed55551fd285f158f3ef4a97ff7", + "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/11/data/base/13090/2674 (368KB, 53.66%) checksum d4512e59cdde3ab22037ee1ef2cb30de33f6ae36", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/11/data/log/postgresql.log (5.6KB, 53.91%) checksum 7bde1d9b23fb97243b0a422e954ec16ee19b598b", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/11/data/pg_hba.conf (4.2KB, 54.10%) checksum 12abee43e7eabfb3ff6239f3fc9bc3598293557d", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/11/data/current_logfiles (26B, 54.10%) checksum 78a9f5c10960f0d91fcd313937469824861795a2", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/11/data/pg_logical/replorigin_checkpoint (8B, 54.10%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", + "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/11/data/base/13090/2673 (320KB, 68.22%) checksum 821fb8ab68ddf0e03341f733e0ad37e18f6035c7", + "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/11/data/base/13090/2658 (112KB, 73.16%) checksum bd172b900ca54631681373d3fc873893409a8978", + " [filtered 1257 lines of output]" ] } }, @@ -11738,7 +11736,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-primary", "load-env" : true, @@ -11751,7 +11749,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-10.service" + "sudo systemctl stop postgresql-11.service" ], "host" : "pg-standby", "load-env" : true, @@ -11764,8 +11762,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres /usr/pgsql-11/bin/initdb \\", - " -D /var/lib/pgsql/11/data -k -A peer" + "sudo -u postgres /usr/pgsql-12/bin/initdb \\", + " -D /var/lib/pgsql/12/data -k -A peer" ], "host" : "pg-primary", "load-env" : true, @@ -11779,13 +11777,13 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres sh -c 'cd /var/lib/pgsql && \\", - " /usr/pgsql-11/bin/pg_upgrade \\", - " --old-bindir=/usr/pgsql-10/bin \\", - " --new-bindir=/usr/pgsql-11/bin \\", - " --old-datadir=/var/lib/pgsql/10/data \\", - " --new-datadir=/var/lib/pgsql/11/data \\", - " --old-options=\" -c config_file=/var/lib/pgsql/10/data/postgresql.conf\" \\", - " --new-options=\" -c config_file=/var/lib/pgsql/11/data/postgresql.conf\"'" + " /usr/pgsql-12/bin/pg_upgrade \\", + " --old-bindir=/usr/pgsql-11/bin \\", + " --new-bindir=/usr/pgsql-12/bin \\", + " --old-datadir=/var/lib/pgsql/11/data \\", + " --new-datadir=/var/lib/pgsql/12/data \\", + " --old-options=\" -c config_file=/var/lib/pgsql/11/data/postgresql.conf\" \\", + " --new-options=\" -c config_file=/var/lib/pgsql/12/data/postgresql.conf\"'" ], "highlight" : { "filter" : true, @@ -11802,7 +11800,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 72 lines of output]", + " [filtered 68 lines of output]", "Checking for extension updates ok", "", "Upgrade Complete", @@ -11816,7 +11814,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /var/lib/pgsql/11/data/postgresql.conf" + "cat /root/postgresql.common.conf >> /var/lib/pgsql/12/data/postgresql.conf" ], "host" : "pg-primary", "load-env" : true, @@ -11827,7 +11825,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/11/data/postgresql.conf", + "file" : "/var/lib/pgsql/12/data/postgresql.conf", "host" : "pg-primary", "option" : { "archive_command" : { @@ -11865,7 +11863,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/11/data" + "value" : "/var/lib/pgsql/12/data" } } } @@ -11874,7 +11872,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/11/data", + "pg1-path=/var/lib/pgsql/12/data", "", "[global]", "archive-async=y", @@ -11906,7 +11904,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/11/data" + "value" : "/var/lib/pgsql/12/data" } } } @@ -11915,7 +11913,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/11/data", + "pg1-path=/var/lib/pgsql/12/data", "recovery-option=primary_conninfo=host=172.17.0.5 port=5432 user=replicator", "", "[global]", @@ -11948,10 +11946,10 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/11/data" + "value" : "/var/lib/pgsql/12/data" }, "pg2-path" : { - "value" : "/var/lib/pgsql/11/data" + "value" : "/var/lib/pgsql/12/data" } }, "global" : { @@ -11970,13 +11968,13 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/11/data", + "pg1-path=/var/lib/pgsql/12/data", "pg2-host=pg-standby", "pg2-host-ca-file=/etc/pgbackrest/cert/ca.crt", "pg2-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg2-host-key-file=/etc/pgbackrest/cert/client.key", "pg2-host-type=tls", - "pg2-path=/var/lib/pgsql/11/data", + "pg2-path=/var/lib/pgsql/12/data", "", "[global]", "backup-standby=n", @@ -11996,8 +11994,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp /var/lib/pgsql/10/data/pg_hba.conf \\", - " /var/lib/pgsql/11/data/pg_hba.conf" + "sudo cp /var/lib/pgsql/11/data/pg_hba.conf \\", + " /var/lib/pgsql/12/data/pg_hba.conf" ], "host" : "pg-primary", "load-env" : true, @@ -12028,7 +12026,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.43: --exec-id=6151-1d75e94c --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 --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.44: --exec-id=6092-fcb64c35 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/pgsql/12/data --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --stanza=demo", "P00 INFO: stanza-upgrade for stanza 'demo' on repo1", "P00 INFO: stanza-upgrade command end: completed successfully" ] @@ -12038,7 +12036,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-11.service" + "sudo systemctl start postgresql-12.service" ], "host" : "pg-primary", "load-env" : true, @@ -12051,7 +12049,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres systemctl status postgresql-11.service" + "sudo -u postgres systemctl status postgresql-12.service" ], "host" : "pg-primary", "load-env" : true, @@ -12077,7 +12075,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm -rf /var/lib/pgsql/10/data" + "sudo rm -rf /var/lib/pgsql/11/data" ], "host" : "pg-primary", "load-env" : true, @@ -12090,7 +12088,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm -rf /var/lib/pgsql/10/data" + "sudo rm -rf /var/lib/pgsql/11/data" ], "host" : "pg-standby", "load-env" : true, @@ -12103,7 +12101,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres mkdir -p -m 700 /usr/pgsql-11/bin" + "sudo -u postgres mkdir -p -m 700 /usr/pgsql-12/bin" ], "host" : "pg-standby", "load-env" : true, @@ -12160,7 +12158,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/11/data/postgresql.conf", + "file" : "/var/lib/pgsql/12/data/postgresql.conf", "host" : "pg-standby", "option" : { "hot_standby" : { @@ -12179,7 +12177,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-11.service" + "sudo systemctl start postgresql-12.service" ], "host" : "pg-standby", "load-env" : true, @@ -12235,13 +12233,13 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/11/data", + "pg1-path=/var/lib/pgsql/12/data", "pg2-host=pg-standby", "pg2-host-ca-file=/etc/pgbackrest/cert/ca.crt", "pg2-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg2-host-key-file=/etc/pgbackrest/cert/client.key", "pg2-host-type=tls", - "pg2-path=/var/lib/pgsql/11/data", + "pg2-path=/var/lib/pgsql/12/data", "", "[global]", "backup-standby=y", diff --git a/doc/resource/git-history.cache b/doc/resource/git-history.cache index 68296b81d..fe7b1d361 100644 --- a/doc/resource/git-history.cache +++ b/doc/resource/git-history.cache @@ -1,4 +1,432 @@ [ + { + "commit": "a28f3d49c23d7dbd8873d07b7d513b6b7e59345a", + "date": "2023-01-28 18:55:53 +0700", + "subject": "Add --no-back-trace option to test.pl.", + "body": "Running valgrind and backtrace together has been causing tests to timeout in CI, mostly likely due to limited resources. This has not been a problem in normal development environments.\n\nSince it is still important to run backtraces for debugging, split the u22 test that was doing all this work to run coverage and backtrace together and valgrind-only as a separate test. As a bonus these tests run faster separately and since they run in parallel the total execution time is faster." + }, + { + "commit": "16c625353db2569ebcc0c28e09d76a9811d2a241", + "date": "2023-01-28 16:22:04 +0700", + "subject": "Skip test modules in coverage report.", + "body": "Coverage of the test code is useful during development but it does not seem worth adding it to the core code coverage report." + }, + { + "commit": "d5ef4ce747f0d743b76c5fe05c4e4a02cdd9bd09", + "date": "2023-01-28 11:01:29 +0700", + "subject": "Fix permissions on source files." + }, + { + "commit": "3aea997df5ace85251d0579ccbe13fa938f587ee", + "date": "2023-01-25 10:59:13 +0700", + "subject": "Add warning about enabling \"hierarchical namespace\" on Azure storage.", + "body": "If this feature is enabled expire will fail since directories need to be deleted separately.\r\n\r\nIdeally we would add support for this feature but for now we'll just document the issue." + }, + { + "commit": "ed818b31867c640d72ef829dd36cd0a7feff12df", + "date": "2023-01-25 10:35:03 +0700", + "subject": "Add dark mode to the website.", + "body": "The colors could use more tweaking but at least the website will no longer blind users running dark mode." + }, + { + "commit": "1da2666a9ef41457ac64ddf2cabccc93b3b05aeb", + "date": "2023-01-21 14:03:27 +0700", + "subject": "Add manifest test harness.", + "body": "These macros make adding paths/files/etc to a manifest simpler and easier to read." + }, + { + "commit": "912eec63bb971c10a545e582f628c982f4e00005", + "date": "2023-01-20 16:48:57 +0700", + "subject": "Block-level incremental backup.", + "body": "The primary goal of the block incremental backup is to save space in the repository by only storing changed parts of a file rather than the entire file. This implementation is focused on restore performance more than saving space in the repository, though there may be substantial savings depending on the workload.\r\n\r\nThe repo-block option enables the feature (when repo-bundle is already enabled). The block size is determined based on the file size and age. Very old or very small files will not use block incremental." + }, + { + "commit": "008a18555c6474be4327bfe0830ef13166a18ece", + "date": "2023-01-20 15:44:01 +0700", + "subject": "Fix comment indentation and wrapping." + }, + { + "commit": "bfc9a5c33e032ee7f95180cafcec07ce19e11aa9", + "date": "2023-01-14 18:01:48 +0700", + "subject": "Fix incorrect FUNCTION_TEST_END() in hrnPgWalToBuffer()." + }, + { + "commit": "ccee5c0fb1653f00e74de13d917a24b8b3506c22", + "date": "2023-01-14 17:12:15 +0700", + "subject": "Reduce log level of pgVersionFromStr() and pgVersionToStr()." + }, + { + "commit": "596c62c54e375fd25e7e34e9604b47ecc1ab73ff", + "date": "2023-01-14 15:25:25 +0700", + "subject": "Simply return in pgVersionToStr()." + }, + { + "commit": "34e4835ff30e7f44cb36b3f1ed29d670e74a75ca", + "date": "2023-01-12 21:24:28 +0700", + "subject": "Refactor common/ini module to remove callbacks and duplicated code.", + "body": "The callbacks in iniLoad() made the downstream code more complicated than it needed to be so use an iterator model instead.\r\n\r\nCombine the two functions that were used to load the ini data to remove code duplication. In theory it would be nice to use iniValueNext() in the config/parse module rather than loading a KeyValue store but this would mean a big change to the parser, which does not seem worthwhile at this time." + }, + { + "commit": "9ca492cecfd40516b8815080af23ee3e64efc22a", + "date": "2023-01-12 17:36:57 +0700", + "subject": "Audit mem contexts returned from functions into the calling context.", + "body": "It is possible for functions to accidentally leak child contexts into the calling context, which may use a lot of memory depending on the use case and where it happens.\n\nUse the function return type to determine what should be returned and error when something else is returned. Add FUNCTION_AUDIT_*() macros to handle exceptions.\n\nThis checking is only performed during unit tests on the code being covered by the specific unit test.\n\nNote that this does not work yet for memory allocations, i.e. memNew(). These are pretty rare so are not as much of an issue and they can be added in the future." + }, + { + "commit": "de1dfb66ca022e7ab8370503eacda94629f6ae3f", + "date": "2023-01-12 17:14:36 +0700", + "subject": "Refactor logging functions to never allocate memory.", + "body": "Allocating memory made these functions simpler but it meant that memory was leaking into the calling context when logging was enabled. It is not clear that this was an issue but it seems that trace level logging could result it a lot of memory usage depending on the use case.\n\nThis also makes it possible to audit allocations returned to the calling context, which will be done in a followup commit.\n\nAlso rename objToLog() to objNameToLog() since it seemed logical to name the new function objToLog()." + }, + { + "commit": "890b9d009390e472bd96ac74f6b347d7b1cc5a12", + "date": "2023-01-12 15:04:49 +0700", + "subject": "Remove mostly useless mem context in storageRemoteInfoProtocolPut().", + "body": "Maybe this once had a deeper purpose but now at least it is just used to avoid a few trivial allocations. If we really wanted to do that a flag would be better but it does not seem worth the trouble." + }, + { + "commit": "6ec2241e15c4d6d6c8fe9a09c2cd562631ba8423", + "date": "2023-01-12 14:24:20 +0700", + "subject": "Fix leak in protocolServer()." + }, + { + "commit": "9d42435ffbaa20febae5a9a5c62446a0fe5d0090", + "date": "2023-01-12 14:22:09 +0700", + "subject": "Fix leaks in db module." + }, + { + "commit": "7f7d515441ee28e10d5f2aa63f986128638342bc", + "date": "2023-01-12 14:19:10 +0700", + "subject": "Fix leak in configOptionRemote()." + }, + { + "commit": "123d5e77ae188dfe75a431fcb131dcca1b1913bb", + "date": "2023-01-12 14:17:48 +0700", + "subject": "Minor optimizations on config/parse module." + }, + { + "commit": "0becb6da3147e7992b7e91f78032a961e7c352be", + "date": "2023-01-12 10:22:26 +0700", + "subject": "Enhance libbacktrace to handle incomplete stack traces.", + "body": "This fills in backtrace info at the bottom of the call stack when the stack trace is incomplete due to testing. This does not affect release builds, which is why it did not make the first cut, but it turns out to be useful for testing and barely changes the release code (when we do release this).\n\nThe recursion test in common/error was simplified because it would now return a very large trace." + }, + { + "commit": "57fc4aaeb9b2aea84fce5bb813980116ad01dbe7", + "date": "2023-01-12 09:06:01 +0700", + "subject": "Update RHEL user guide to PostgreSQL 11/12.", + "body": "PostgreSQL 10 has expired from the PGDG yum repository." + }, + { + "commit": "74ca9b50bbdbb33dafedcc8e1230a83cb619c3f5", + "date": "2023-01-11 19:43:10 +0700", + "subject": "Revert macro changes from 38d32045.", + "body": "This seemed like it would be cleaner but an important detail was missed (logAny) and it does not seem simpler when factoring that back in.\n\nKeep the removal of the extraneous semicolons and all the downstream changes required by the removal." + }, + { + "commit": "9347313cbf1dbd5590b7ca481bd37bcb5de14b00", + "date": "2023-01-11 19:16:31 +0700", + "subject": "Fix error detail output to stderr.", + "body": "The error detail should be output when the error is an assert (this part was working) or the log level is at least debug. In cases where log-level-console was at least debug but log-level-stderr was not the detail was lost.\n\nImprove the range checking to output error detail to stderr when log-level-console is at least debug." + }, + { + "commit": "c8264291238e0bd199e4babab7013060e7fcba7d", + "date": "2023-01-11 11:19:26 +0700", + "subject": "Improve libbacktrace implementation.", + "body": "The libbacktrace feature has not been working since the move to meson because libbacktrace detection was not added to the meson build. Add libbacktrace to meson and improve the feature so that it can be compiled into release builds.\n\nThe prior implementation fetched line numbers with each stack trace push. Not only was this slow but it missed any functions that were not being tracked on our stack.\n\nInstead just examine the backtrace when an error happens and merge it with the info we have on our stack. If the backtrace is not available then the output remains as before.\n\nAlso remove --backtrace from test.pl since the library is now auto-detected.\n\nLeave this library out of the production build for now to give it a little time to shake out in testing." + }, + { + "commit": "0dd2997714ed31b4a005fc0061048f3697c9ea1a", + "date": "2023-01-10 11:45:48 +0700", + "subject": "Fix leak in jsonReadVarRecurse()." + }, + { + "commit": "675b4ae251564742e23a9e6acdfb1d764b9b159d", + "date": "2023-01-10 11:17:08 +0700", + "subject": "Fix leak in archivePushDropWarning()." + }, + { + "commit": "bf9e331ac15b0bd261f1a71e1307b51c9934aa85", + "date": "2023-01-10 10:14:43 +0700", + "subject": "Fix incorrect return type in backupFile()." + }, + { + "commit": "b722d2b6ca31edead49b6dcc8fe0286bb508f5b2", + "date": "2023-01-10 09:28:57 +0700", + "subject": "Fix formatting of archiveGetFile()." + }, + { + "commit": "38d320455336ab6da16c7c1b86e52d3118bcbd73", + "date": "2023-01-09 14:47:57 +0700", + "subject": "Remove duplication from FUNCTION_LOG_BEGIN_BASE() macro definitions.", + "body": "It is a bit simpler to define STACK_TRACE_TEST_START()/STACK_TRACE_TEST_STOP() in a separate #ifdef so FUNCTION_LOG_BEGIN_BASE() does not need to be defined twice.\n\nAlso add missing semicolons exposed by this change." + }, + { + "commit": "6633ccd18d66f3354ce6af27c93916bce330981b", + "date": "2023-01-05 14:03:43 +0700", + "subject": "Do not output stderr on unit/integration test errors.", + "body": "Since stderr is being redirected to stdout this results in duplication of the error output." + }, + { + "commit": "4429bc82f530fd87cd4e370c012054be117b76b9", + "date": "2023-01-05 12:59:06 +0700", + "subject": "Add unit tests for the unit test build code.", + "body": "When this code was migrated to C the unit tests were not included because there were more important priorities at the time.\n\nThis also requires some adjustments to coverage because of the new code location." + }, + { + "commit": "a5499afabc7729efc2254010b47aeced74d0e918", + "date": "2023-01-05 12:44:00 +0700", + "subject": "Add CHECK_FMT() macros and tests for CHECK*() macros.", + "body": "The CHECK_FMT() macro will be used in some upcoming tests but could also be useful in the core code.\n\nThe CHECK*() macros never had tests so add them." + }, + { + "commit": "2e3513984ef528404341e4e399f5257d6f2f1ccb", + "date": "2023-01-05 12:33:17 +0700", + "subject": "Remove extra linefeed." + }, + { + "commit": "877bb2ac9e452ddeef6ddd4845c4fb59d83379fe", + "date": "2023-01-03 08:26:44 +0700", + "subject": "Update LICENSE.txt and PostgreSQL copyright for 2023." + }, + { + "commit": "2b2a6edf355f50c0d399243e6d4d9fa495a1ec34", + "date": "2023-01-02 18:53:05 +0700", + "subject": "Cleanup of common/ini module in preparation for a refactor." + }, + { + "commit": "92d5fd17b4ddb2e72e4cf5c10fd7708d5a9fad56", + "date": "2023-01-02 17:32:09 +0700", + "subject": "Fix formatting of restoreFile() definition." + }, + { + "commit": "d51a86c6210001359f86aadc36285137fe8f2da9", + "date": "2023-01-02 17:30:57 +0700", + "subject": "Add BUFFER_EXTERN() and cleanup hash zero constants.", + "body": "BUFFER_EXTERN() provides a clean way to create buffer constants.\n\nConvert HASH_TYPE_SHA256_ZERO_STR to HASH_TYPE_SHA256_ZERO_BUF to be consistent with HASH_TYPE_SHA1_ZERO_BUF." + }, + { + "commit": "66f108ea8a01ac881a47f4cbd8d5fb3ca8102e1d", + "date": "2023-01-02 17:26:53 +0700", + "subject": "Cleanup terminology in Buffer/Variant/String macros." + }, + { + "commit": "f0189129088456cf22f7bf86fa505cf9c28a5e37", + "date": "2023-01-02 15:24:51 +0700", + "subject": "Split VR_EXTERN/FN_EXTERN macros from FV_EXTERN.", + "body": "This should make it a little clearer what the variable (VR) macros are doing since the declaration/definition cannot both be set to extern (but functions can).\n\nSplitting the variable macros out also allows them to be changed in the future with little churn, while changing the function macro creates a large amount of churn." + }, + { + "commit": "9e29c01891225dd5f371b76d324366bbb3694ca4", + "date": "2023-01-02 15:11:37 +0700", + "subject": "Remove MacOS from CirrusCI.", + "body": "CirrusCI stopped supporting Intel but the arm builds are not working, even with the same steps that work on an arm Mac.\n\nRemove to unstick the build pipeline until this can be resolved." + }, + { + "commit": "8993267df9864852efd59a9b5366e9a521a6c08e", + "date": "2022-12-31 23:33:45 +0700", + "subject": "Fix formatting." + }, + { + "commit": "1793839e5a821a7177922e4cdad104eba772c3ec", + "date": "2022-12-31 19:12:35 +0700", + "subject": "Clean up storage headers and move posix internal type." + }, + { + "commit": "4fb8a0ecdd12bdb01273cebbecf61f6beb22146d", + "date": "2022-12-31 17:13:41 +0700", + "subject": "Add meson unity build and tests.", + "body": "This is immediately useful because it will detect any extern'd functions or variables that are not being used. It also detects functions or variables that are declared but not defined.\n\nIf a FV/VR_EXTERN macro is missing it will be detected either because of a mismatch in the declaration/definition or because a new defined symbol will appear in the nm test.\n\nEventually the unity build will be used to create a more optimized pgbackrest binary but that will need to wait." + }, + { + "commit": "8aa2b101bbd9fe07971794bf4bb4c8d2a61c7b07", + "date": "2022-12-31 16:41:01 +0700", + "subject": "Put logging functions unused by release builds into DEBUG blocks.", + "body": "Also inline some functions that are needed in non-DEBUG builds." + }, + { + "commit": "4a64c5d80c9af2a3498943f326de7295679c63e6", + "date": "2022-12-31 15:49:32 +0700", + "subject": "Use memcpy() instead of strncpy when source size is known.", + "body": "In this case the destination will be large enough to hold the source so memcpy is more efficient.\n\nAlso, in highly optimized builds the compiler may warn for strncpy() when it can see that the source size won't include the terminator." + }, + { + "commit": "2332ce8ffc16494766f1f6ee07341242e2b7b7c2", + "date": "2022-12-31 13:14:27 +0700", + "subject": "Move storageHelperFree() to storageHelper test harness.", + "body": "This function was only used for testing so move into a test harness." + }, + { + "commit": "8b218158ae70136d7a2ddc5a7347f79e69fbeb13", + "date": "2022-12-31 12:54:33 +0700", + "subject": "Move regExpMatchPtr()/regExpMatchStr() to build/common/regExp module.", + "body": "Similar to b9be4fa5, these functions are not used by the core code so move them to the build module. The new implementation is a little less efficient but that is much less of a worry in the build/test code.\n\nAlso remove regExpMatchSize() since it was not longer needed." + }, + { + "commit": "45ece13678f94c57777180710a7ea71a1c60971a", + "date": "2022-12-31 11:57:06 +0700", + "subject": "Use error*() getters where possible.", + "body": "This makes it a little easier to change the underlying representation and ensures that the functions are used." + }, + { + "commit": "fa9d831f9f722f28567c4997551cd6bd1d7077d3", + "date": "2022-12-31 11:09:50 +0700", + "subject": "Move xmlNodeAttribute() to build/common/xml module.", + "body": "Similar to b9be4fa5, this function was not used by the core code so move it to the build module." + }, + { + "commit": "c6264ad4cf55920558513127d4e221ce8e85eb28", + "date": "2022-12-31 10:31:15 +0700", + "subject": "Fix comment typo for strLower()." + }, + { + "commit": "163a004f30675403eba2a619412bd803eba4d71a", + "date": "2022-12-31 10:26:11 +0700", + "subject": "Move strReplace() and strUpper() to build/common/string module.", + "body": "Neither of these functions were used by the core code. strReplace() is only used in the tests but it doesn't hurt to put it in build since the build code is not distributed." + }, + { + "commit": "d517d4a3283c0ccc5ca5d06593d1b244dd5e68b4", + "date": "2022-12-31 10:10:44 +0700", + "subject": "Add explicit keyword for covered modules included in other modules.", + "body": "This was done by checking the extension but it is possible to include a module that does not have a vendor or auto extension. Instead make it explicit that the module is included in another module.\n\nAlso change the variable from \"include\" to \"included\" to make it clearer what it indicates." + }, + { + "commit": "729d7f071dafe22f85201bfaf2bae461ec54d285", + "date": "2022-12-30 18:45:11 +0700", + "subject": "Put memContextSize() in a DEBUG block.", + "body": "This function is only used in unit tests so no need to include it in the release build." + }, + { + "commit": "cebbf0d012ad7204c4770efa3308daddc267415f", + "date": "2022-12-30 16:26:48 +0700", + "subject": "Remove unused functions.", + "body": "These functions were either added with the intention that they would be used or they became obsolete over time." + }, + { + "commit": "6f0c652e2c50f288fc4f541a994281032856be2b", + "date": "2022-12-30 14:59:16 +0700", + "subject": "Remove declaration for function that is no longer defined." + }, + { + "commit": "416fadd60cc0401e5e730867d98ae59ff54f8dcd", + "date": "2022-12-30 14:48:31 +0700", + "subject": "Mark functions not used externally as static.", + "body": "Also cleanup a stray linefeed." + }, + { + "commit": "b9be4fa54039e2c79fad0dc1552c7ffaf883004c", + "date": "2022-12-29 15:37:27 +0700", + "subject": "Restore errors when no backup matches the current version of PostgreSQL.", + "body": "It is probably not a good idea to restore the latest backup when it was not made from the current PostgreSQL version. If there is no backup after a stanza-upgrade then replicas might be built with a prior version leading to failures.\r\n\r\nAdd an error in this case if the latest backup would be used, i.e. --set or --type=time/lsn is not specified." + }, + { + "commit": "aa1e72dfe662678919d3b01aa0e6454b677873ad", + "date": "2022-12-29 15:05:45 +0700", + "subject": "Fix improper formatting in config/parse module.", + "body": "The prior formatting worked but was confusing to read." + }, + { + "commit": "36ee30d118ce6cc7720653a3d3a49a06c655c463", + "date": "2022-12-28 19:15:44 +0700", + "subject": "Updates and clarifications to index page.", + "body": "In particular the section about other backup solutions not supporting parallel processing was no longer accurate, so reword it.\r\n\r\nAlso update some other sections that used older nomenclature, had awkward wording, or needed clarification." + }, + { + "commit": "84a3ff8b7ac1243c0b47c6585697f4fcf3c12065", + "date": "2022-12-28 10:48:44 +0700", + "subject": "Clarify target-action behavior on various PostgreSQL versions.", + "body": "The behavior of pause depends on the hot_standby parameter and the PostgreSQL version so mention both.\r\n\r\nThis behavior has been verified on PostgreSQL 9.6–15. PostgreSQL 12 is an inflection point because the behavior of an unset recovery_target_action with hot_standby=off changed in https://git.postgresql.org/gitweb/?p=postgresql.git;h=2dedf4d9a899b36d1a8ed29be5efbd1b31a8fe85." + }, + { + "commit": "ae258f604e634f1d2a760ffdb92dd359fd1129bb", + "date": "2022-12-27 20:28:38 +0700", + "subject": "Add replacement for linefeeds in monitoring example.", + "body": "The copy command was converting \\n to a linefeed, which the json conversion did not like. In a healthy repository there won't be any linefeeds but certain errors can contain them.\r\n\r\nFix by loading into a text field and then replacing the linefeed when converting to jsonb." + }, + { + "commit": "44da314adb2b63f96b1d571f822e91a0e412e984", + "date": "2022-12-27 20:05:08 +0700", + "subject": "Add compress-level range checking for each compress-type.", + "body": "The prior range checking was done based on the valid values for gz. While this worked it was a subset of what is available for lz4 and zst.\r\n\r\nAllow the range to be specified for each compress-type. Adding this functionality to the parse module would be a better solution but that is a bigger project than this fix deserves, at least for now." + }, + { + "commit": "34110cfa0134d181c749cc040446f703b643bc9c", + "date": "2022-12-27 11:31:59 +0700", + "subject": "Fix typo." + }, + { + "commit": "0b67389185558d4593be1ca56143de6a43e45f9f", + "date": "2022-12-27 09:18:17 +0700", + "subject": "Improve comment on forced WAL switch at backup start." + }, + { + "commit": "a63e87ea2cd0efbf9e9b78adccdf7285a6876b3b", + "date": "2022-12-23 14:06:35 +0700", + "subject": "Move function prototype to a better location in the header." + }, + { + "commit": "56b55f81e894c0b2875f92913bda8f0679009b17", + "date": "2022-12-22 09:26:26 +0700", + "subject": "Add repository checksum to make verify and resume more efficient.", + "body": "Calculate a checksum of the data stored in the repository when a file is transformed (e.g. compressed). This allows resume and verify to operate without needing to decompress/decrypt the data.\r\n\r\nThis can also be used to verify more complex formats such as block incremental and allow backups from the repository without needing to decompress the data to verify the checksum.\r\n\r\nAdd some basic encrypted tests to maintain coverage. These will be expanded in a future commit." + }, + { + "commit": "2ab845e2636fcd865032075b4dce9e520d094d87", + "date": "2022-12-20 16:35:27 +0700", + "subject": "Store manifest checksums in memory more efficiently.", + "body": "Manifest checksums were stored as hex-encoded strings due to legacy compatibility with Perl. Storing the checksums as binary in memory uses half the space and avoids many conversions.\r\n\r\nThere is no change to the on-disk manifest format which stores the checksum as a hex-encoded string." + }, + { + "commit": "77c721eb635c6d757d2d5ed6f2ffc083720c10a7", + "date": "2022-12-20 12:20:47 +0700", + "subject": "Remove support for PostgreSQL 9.0/9.1/9.2.", + "body": "Our new policy is to support ten versions of PostgreSQL, the five supported releases and the last five EOL releases. As of PostgreSQL 15, that means 9.0/9.1/9.2 are no longer supported by pgBackRest.\r\n\r\nRemove all logic associated with 9.0/9.1/9.2 and update the tests.\r\n\r\nDocument the new support policy.\r\n\r\nUpdate InfoPg to read/write control versions for the history in backup.info, since we can no longer rely on the mappings being available. In theory this could have been an issue after removing 8.3/8.4 if anybody was using a version that old." + }, + { + "commit": "17ce738ff749c50f4ca721144cd9addce9e895f2", + "date": "2022-12-11 20:05:31 +0700", + "subject": "Use smaller type for decode tables.", + "body": "This saves a bit of space in the binary and should not have a noticeable impact on performance." + }, + { + "commit": "010efffb0c3c7935f789e5c560104e5a3019a28f", + "date": "2022-12-11 19:46:48 +0700", + "subject": "Add hex encode/decoding to decode module.", + "body": "This replaces the bufHex() function and also allows hex to be decoded." + }, + { + "commit": "9a9ee8e6406721c5a1825b8a25baef944802c92d", + "date": "2022-12-11 18:55:25 +0700", + "subject": "Rename EncodeType enum to EncodingType.", + "body": "This avoids constructs such as decodeToBin(encodeBase64, ...) which are confusing since decode and encode are used in the same function call. decodeToBin(encodingBase64, ...) makes it clearer what is happening." + }, + { + "commit": "1345caa3f70e24ff759967692c10c07e63f44d00", + "date": "2022-12-07 20:30:38 +0700", + "subject": "Update missing flag in storage/posix test.", + "body": "The storageNewItrP() permissions test was running twice with the errorOnMissing flag set to false. Fix by setting to true for one test.\n\nAlso update the comments to be clearer about what the tests are doing and fix minor formatting." + }, + { + "commit": "81d84ab495bfeaf0102adce2425ab3a528bb8845", + "date": "2022-12-07 10:57:29 +0100", + "subject": "Fix typos." + }, + { + "commit": "4dc632d57064420134f3a198fa18dc951d5bf574", + "date": "2022-12-05 14:15:15 +0800", + "subject": "Add backup test harness.", + "body": "This allows test backups to be run in other test modules.\n\nIt is likely that more logic will be moved here but for now this suffices to get test backups working in the restore module." + }, + { + "commit": "96cf479d3c46b310b87e69bd2e19a30e71e5824c", + "date": "2022-12-05 14:00:25 +0800", + "subject": "Add missing header in lock module." + }, + { + "commit": "c972a9359beb5b75c4b0ea57bcb12a34fe5e7d84", + "date": "2022-11-28 17:56:59 +0800", + "subject": "Begin v2.44 development." + }, { "commit": "cc2ffd8264bb4e10e6b289ce3978452018f725e8", "date": "2022-11-28 17:47:48 +0800", diff --git a/doc/xml/auto/metric-coverage-report.auto.xml b/doc/xml/auto/metric-coverage-report.auto.xml index 72ed5773c..dc3067d4b 100644 --- a/doc/xml/auto/metric-coverage-report.auto.xml +++ b/doc/xml/auto/metric-coverage-report.auto.xml @@ -1,8 +1,8 @@ build/common - 12/12 (100.0%) - 28/28 (100.0%) - 142/142 (100.0%) + 17/17 (100.0%) + 38/38 (100.0%) + 208/208 (100.0%) @@ -50,36 +50,36 @@ command/archive 13/13 (100.0%) - 76/76 (100.0%) - 223/223 (100.0%) + 72/72 (100.0%) + 220/220 (100.0%) command/archive/get 9/9 (100.0%) 196/196 (100.0%) - 466/466 (100.0%) + 468/468 (100.0%) command/archive/push 12/12 (100.0%) 132/132 (100.0%) - 407/407 (100.0%) + 411/411 (100.0%) command/backup - 37/37 (100.0%) - 534/534 (100.0%) - 1298/1298 (100.0%) + 47/47 (100.0%) + 640/640 (100.0%) + 1631/1631 (100.0%) command/check 8/8 (100.0%) 62/62 (100.0%) - 136/136 (100.0%) + 137/137 (100.0%) @@ -106,8 +106,8 @@ command/info 12/12 (100.0%) - 330/330 (100.0%) - 676/676 (100.0%) + 334/334 (100.0%) + 686/686 (100.0%) @@ -128,14 +128,14 @@ command/repo 9/9 (100.0%) 108/108 (100.0%) - 233/233 (100.0%) + 235/235 (100.0%) command/restore - 28/28 (100.0%) - 596/596 (100.0%) - 1164/1164 (100.0%) + 31/31 (100.0%) + 648/648 (100.0%) + 1315/1315 (100.0%) @@ -155,127 +155,127 @@ command/verify 21/21 (100.0%) - 316/316 (100.0%) - 753/753 (100.0%) + 314/314 (100.0%) + 758/758 (100.0%) common - 176/176 (100.0%) - 600/600 (100.0%) - 1995/1995 (100.0%) + 184/184 (100.0%) + 692/692 (100.0%) + 2117/2117 (100.0%) common/compress - 11/11 (100.0%) + 13/13 (100.0%) 24/24 (100.0%) - 103/103 (100.0%) + 117/117 (100.0%) common/compress/bz2 13/13 (100.0%) 20/20 (100.0%) - 177/177 (100.0%) + 179/179 (100.0%) common/compress/gz 13/13 (100.0%) 22/22 (100.0%) - 169/169 (100.0%) + 171/171 (100.0%) common/compress/lz4 15/15 (100.0%) 24/24 (100.0%) - 180/180 (100.0%) + 182/182 (100.0%) common/compress/zst 13/13 (100.0%) 12/12 (100.0%) - 150/150 (100.0%) + 152/152 (100.0%) common/crypto - 28/28 (100.0%) + 27/27 (100.0%) 88/88 (100.0%) - 497/497 (100.0%) + 494/494 (100.0%) common/io - 55/55 (100.0%) - 172/172 (100.0%) - 692/692 (100.0%) + 58/58 (100.0%) + 182/182 (100.0%) + 753/753 (100.0%) common/io/filter - 31/31 (100.0%) - 92/92 (100.0%) - 388/388 (100.0%) + 35/35 (100.0%) + 106/106 (100.0%) + 453/453 (100.0%) common/io/http 47/47 (100.0%) - 250/250 (100.0%) - 711/711 (100.0%) + 248/248 (100.0%) + 722/722 (100.0%) common/io/socket 22/22 (100.0%) 34/34 (100.0%) - 287/287 (100.0%) + 291/291 (100.0%) common/io/tls 34/34 (100.0%) 98/98 (100.0%) - 512/512 (100.0%) + 518/518 (100.0%) common/type - 330/330 (100.0%) - 854/854 (100.0%) - 4245/4245 (100.0%) + 320/320 (100.0%) + 840/840 (100.0%) + 4167/4167 (100.0%) config - 88/88 (100.0%) - 888/888 (100.0%) - 1749/1749 (100.0%) + 85/85 (100.0%) + 896/896 (100.0%) + 1737/1737 (100.0%) db 24/24 (100.0%) - 126/126 (100.0%) - 433/433 (100.0%) + 116/116 (100.0%) + 444/444 (100.0%) info - 93/93 (100.0%) - 866/866 (100.0%) - 2373/2373 (100.0%) + 91/91 (100.0%) + 920/920 (100.0%) + 2453/2453 (100.0%) postgres - 33/33 (100.0%) - 112/112 (100.0%) - 390/390 (100.0%) + 32/32 (100.0%) + 106/106 (100.0%) + 384/384 (100.0%) @@ -288,22 +288,22 @@ protocol 55/55 (100.0%) - 232/232 (100.0%) - 959/959 (100.0%) + 230/230 (100.0%) + 979/979 (100.0%) storage - 54/54 (100.0%) - 228/228 (100.0%) - 796/796 (100.0%) + 53/53 (100.0%) + 226/226 (100.0%) + 803/803 (100.0%) storage/azure 25/25 (100.0%) 110/110 (100.0%) - 532/532 (100.0%) + 533/533 (100.0%) @@ -317,33 +317,33 @@ storage/gcs 32/32 (100.0%) 116/116 (100.0%) - 656/656 (100.0%) + 660/660 (100.0%) storage/posix 26/26 (100.0%) 159/160 (99.38%) - 483/483 (100.0%) + 485/485 (100.0%) storage/remote 35/35 (100.0%) - 120/120 (100.0%) - 810/810 (100.0%) + 118/118 (100.0%) + 809/809 (100.0%) storage/s3 30/30 (100.0%) 142/142 (100.0%) - 724/724 (100.0%) + 726/726 (100.0%) TOTAL - 1543/1543 (100.0%) - 9047/9048 (99.99%) - 28061/28061 (100.0%) + 1560/1560 (100.0%) + 9353/9354 (99.99%) + 28950/28950 (100.0%) \ No newline at end of file diff --git a/doc/xml/release.xml b/doc/xml/release.xml index c23ff95f2..41316ae03 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -14,7 +14,7 @@ - + diff --git a/meson.build b/meson.build index d809f4492..bf08a9d3c 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project( 'pgbackrest', ['c'], - version: '2.44dev', + version: '2.44', license: 'MIT', meson_version: '>=0.45', default_options: [ diff --git a/src/build/configure.ac b/src/build/configure.ac index ed287ecc6..fc585993a 100644 --- a/src/build/configure.ac +++ b/src/build/configure.ac @@ -1,7 +1,7 @@ # Initialize configuration # ---------------------------------------------------------------------------------------------------------------------------------- AC_PREREQ([2.71]) -AC_INIT([pgBackRest], [2.44dev]) +AC_INIT([pgBackRest], [2.44]) AC_CONFIG_SRCDIR([version.h]) AC_CONFIG_AUX_DIR(build) diff --git a/src/configure b/src/configure index e4c87bfd7..b8a8f0764 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.71 for pgBackRest 2.44dev. +# Generated by GNU Autoconf 2.71 for pgBackRest 2.44. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, @@ -607,8 +607,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='pgBackRest' PACKAGE_TARNAME='pgbackrest' -PACKAGE_VERSION='2.44dev' -PACKAGE_STRING='pgBackRest 2.44dev' +PACKAGE_VERSION='2.44' +PACKAGE_STRING='pgBackRest 2.44' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1272,7 +1272,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.44dev to adapt to many kinds of systems. +\`configure' configures pgBackRest 2.44 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1319,7 +1319,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pgBackRest 2.44dev:";; + short | recursive ) echo "Configuration of pgBackRest 2.44:";; esac cat <<\_ACEOF @@ -1414,7 +1414,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pgBackRest configure 2.44dev +pgBackRest configure 2.44 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1570,7 +1570,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.44dev, which was +It was created by pgBackRest $as_me 2.44, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -4831,7 +4831,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.44dev, which was +This file was extended by pgBackRest $as_me 2.44, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4895,7 +4895,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -pgBackRest config.status 2.44dev +pgBackRest config.status 2.44 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" @@ -5599,4 +5599,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi -# Generated from src/build/configure.ac sha1 54733b15b3b25486d03ddea2864b9e810fb9bab8 +# Generated from src/build/configure.ac sha1 f01d8e72d5254be64119471b26912aabb1aaa38d diff --git a/src/version.h b/src/version.h index fb42aabc3..608fb92b7 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.44dev" +#define PROJECT_VERSION "2.44" #endif diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index b7bd57e37..06458b3d5 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -167,6 +167,14 @@ src/build/aclocal.m4: class: build type: make +src/build/common/regExp.c: + class: build + type: c + +src/build/common/regExp.h: + class: build + type: c/h + src/build/common/render.c: class: build type: c @@ -175,6 +183,22 @@ src/build/common/render.h: class: build type: c/h +src/build/common/string.c: + class: build + type: c + +src/build/common/string.h: + class: build + type: c/h + +src/build/common/xml.c: + class: build + type: c + +src/build/common/xml.h: + class: build + type: c/h + src/build/common/yaml.c: class: build type: c @@ -355,6 +379,22 @@ src/command/backup/backup.h: class: core type: c/h +src/command/backup/blockIncr.c: + class: core + type: c + +src/command/backup/blockIncr.h: + class: core + type: c/h + +src/command/backup/blockMap.c: + class: core + type: c + +src/command/backup/blockMap.h: + class: core + type: c/h + src/command/backup/common.c: class: core type: c @@ -535,6 +575,14 @@ src/command/repo/rm.h: class: core type: c/h +src/command/restore/deltaMap.c: + class: core + type: c + +src/command/restore/deltaMap.h: + class: core + type: c/h + src/command/restore/file.c: class: core type: c @@ -843,6 +891,14 @@ src/common/io/bufferWrite.h: class: core type: c/h +src/common/io/chunkedRead.c: + class: core + type: c + +src/common/io/chunkedRead.h: + class: core + type: c/h + src/common/io/client.c: class: core type: c @@ -887,6 +943,14 @@ src/common/io/filter/buffer.h: class: core type: c/h +src/common/io/filter/chunk.c: + class: core + type: c + +src/common/io/filter/chunk.h: + class: core + type: c/h + src/common/io/filter/filter.c: class: core type: c @@ -1263,6 +1327,14 @@ src/common/type/stringList.h: class: core type: c/h +src/common/type/stringStatic.c: + class: core + type: c + +src/common/type/stringStatic.h: + class: core + type: c/h + src/common/type/stringZ.c: class: core type: c @@ -2031,6 +2103,14 @@ test/src/command/test/test.h: class: test/harness type: c/h +test/src/common/harnessBackup.c: + class: test/harness + type: c + +test/src/common/harnessBackup.h: + class: test/harness + type: c/h + test/src/common/harnessConfig.c: class: test/harness type: c @@ -2071,6 +2151,14 @@ test/src/common/harnessLog.h: class: test/harness type: c/h +test/src/common/harnessManifest.c: + class: test/harness + type: c + +test/src/common/harnessManifest.h: + class: test/harness + type: c/h + test/src/common/harnessPack.c: class: test/harness type: c @@ -2155,6 +2243,14 @@ test/src/common/harnessServer.h: class: test/harness type: c/h +test/src/common/harnessStackTrace.c: + class: test/harness + type: c + +test/src/common/harnessStackTrace.h: + class: test/harness + type: c/h + test/src/common/harnessStorage.c: class: test/harness type: c @@ -2163,6 +2259,14 @@ test/src/common/harnessStorage.h: class: test/harness type: c/h +test/src/common/harnessStorageHelper.c: + class: test/harness + type: c + +test/src/common/harnessStorageHelper.h: + class: test/harness + type: c/h + test/src/common/harnessTest.c: class: test/harness type: c @@ -2511,6 +2615,10 @@ test/src/module/storage/s3Test.c: class: test/module type: c +test/src/module/test/testTest.c: + class: test/module + type: c + test/src/test.c: class: test/harness type: c