From dc07fb1e5bd38026d4fefb67a0525a89ac98b520 Mon Sep 17 00:00:00 2001 From: David Steele Date: Mon, 25 Mar 2024 09:53:22 +1300 Subject: [PATCH] v2.51: Meson Build System MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NOTE TO PACKAGERS: The build system for pgBackRest is now meson. The autoconf/make build will not receive any new features and will be removed after a few releases. Bug Fixes: * Skip zero-length files for block incremental delta restore. (Reviewed by Sebastian Krause, René Højbjerg Larsen. Reported by Sebastian Krause.) * Fix performance regression in storage list. (Reviewed by Stephen Frost. Reported by Maksym Boguk.) * Fix progress logging when file size changes during backup. (Reviewed by Stephen Frost. Reported by samkingno.) Improvements: * Improved support for dual stack connections. (Reviewed by Stephen Frost. Suggested by Timothée Peignier.) * Make meson the primary build system. (Reviewed by Stephen Frost.) * Detect files that have not changed during non-delta incremental backup. (Reviewed by Stephen Frost.) * Prevent invalid recovery when backup_label removed. (Reviewed by Stephen Frost.) * Improve archive-push WAL segment queue handling. (Reviewed by Stephen Frost.) * Limit resume functionality to full backups. (Reviewed by Stephen Frost, Stefan Fercot.) * Update resume functionality for block incremental. (Reviewed by Stephen Frost.) * Allow --version and --help for version and help. (Reviewed by Greg Sabino Mullane. Suggested by Greg Sabino Mullane.) * Add detailed backtrace to autoconf/make build. (Reviewed by Stephen Frost.) Documentation Improvements: * Update references to recovery.conf. (Reviewed by Stefan Fercot. Suggested by Stephen Frost.) --- CONTRIBUTING.md | 18 +- README.md | 2 +- doc/resource/exe.cache | 729 ++++++++++--------- doc/resource/git-history.cache | 204 ++++++ doc/xml/auto/metric-coverage-report.auto.xml | 72 +- doc/xml/release/2024/2.51.xml | 4 +- meson.build | 2 +- src/build/configure.ac | 2 +- src/configure | 20 +- src/version.h | 2 +- test/code-count/file-type.yaml | 152 ++-- 11 files changed, 679 insertions(+), 528 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 224a837ed..4f19cfe5d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -237,7 +237,6 @@ pgbackrest/test/test.pl --dry-run P00 INFO: test begin on x86_64 - log level info P00 INFO: clean autogenerate code - P00 INFO: builds required: bin --> P00 INFO: 81 tests selected P00 INFO: P1-T01/81 - vm=none, module=common, test=error @@ -259,12 +258,12 @@ pgbackrest/test/test.pl --vm-out --module=common --test=wait P00 INFO: autogenerated version in configure.ac script: no changes P00 INFO: autogenerated configure script: no changes P00 INFO: autogenerate code - P00 INFO: builds required: none + P00 INFO: build for none (/home/vagrant/test/build/none) P00 INFO: 1 test selected P00 INFO: P1-T1/1 - vm=none, module=common, test=wait - P00 INFO: test command begin 2.50: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0 + P00 INFO: test command begin 2.51: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0 P00 INFO: test command end: completed successfully run 1 - waitNew(), waitMore, and waitFree() L0018 expect AssertError: assertion 'waitTime <= 999999000' failed @@ -329,7 +328,7 @@ pgbackrest/test/test.pl --module=postgres P00 INFO: autogenerated version in configure.ac script: no changes P00 INFO: autogenerated configure script: no changes P00 INFO: autogenerate code - P00 INFO: builds required: none + P00 INFO: build for none (/home/vagrant/test/build/none) P00 INFO: 2 tests selected P00 INFO: P1-T1/2 - vm=none, module=postgres, test=client @@ -367,15 +366,14 @@ pgbackrest/test/test.pl --vm=u20 --module=postgres --test=interface --run=2 P00 INFO: autogenerate configure P00 INFO: autogenerated version in configure.ac script: no changes P00 INFO: autogenerated configure script: no changes - P00 INFO: clean autogenerate code - P00 INFO: builds required: bin, bin host - P00 INFO: bin build for u20 (/home/vagrant/test/bin/u20) - P00 INFO: bin dependencies have changed, rebuilding - P00 INFO: bin build for none (/home/vagrant/test/build/none) + P00 INFO: autogenerate code + P00 INFO: clean build for u20 (/home/vagrant/test/build/u20) P00 INFO: 1 test selected - P00 INFO: P1-T1/1 - vm=u20, module=mock, test=archive, run=2 + P00 INFO: P1-T1/1 - vm=u20, module=postgres, test=interface, run=2 P00 INFO: no code modules had all tests run required for coverage + P00 INFO: tested modules have full coverage + P00 INFO: writing C coverage report P00 INFO: TESTS COMPLETED SUCCESSFULLY ``` diff --git a/README.md b/README.md index 84564f480..da423ebbc 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ pgBackRest is a reliable backup and restore solution for PostgreSQL that seamlessly scales up to the largest databases and workloads. -pgBackRest [v2.50](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.50) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.51](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.51) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. Please find us on [GitHub](https://github.com/pgbackrest/pgbackrest) and give us a star if you like pgBackRest! diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index 81fd02233..f221e4126 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -123,7 +123,6 @@ "output" : [ "P00 INFO: test begin on x86_64 - log level info", "P00 INFO: clean autogenerate code", - "P00 INFO: builds required: bin", "P00 INFO: 81 tests selected", " ", "P00 INFO: P1-T01/81 - vm=none, module=common, test=error", @@ -155,12 +154,12 @@ "P00 INFO: autogenerated version in configure.ac script: no changes", "P00 INFO: autogenerated configure script: no changes", "P00 INFO: autogenerate code", - "P00 INFO: builds required: none", + "P00 INFO: build for none (/home/vagrant/test/build/none)", "P00 INFO: 1 test selected", " ", "P00 INFO: P1-T1/1 - vm=none, module=common, test=wait", " ", - " P00 INFO: test command begin 2.50: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0", + " P00 INFO: test command begin 2.51: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0", " P00 INFO: test command end: completed successfully", " run 1 - waitNew(), waitMore, and waitFree()", " L0018 expect AssertError: assertion 'waitTime <= 999999000' failed", @@ -233,7 +232,7 @@ "P00 INFO: autogenerated version in configure.ac script: no changes", "P00 INFO: autogenerated configure script: no changes", "P00 INFO: autogenerate code", - "P00 INFO: builds required: none", + "P00 INFO: build for none (/home/vagrant/test/build/none)", "P00 INFO: 2 tests selected", " ", "P00 INFO: P1-T1/2 - vm=none, module=postgres, test=client", @@ -270,7 +269,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "pgbackrest/test/test.pl --vm=u20 --module=mock --test=archive --run=2" + "pgbackrest/test/test.pl --vm=u20 --module=postgres --test=interface --run=2" ], "cmd-extra" : "--no-log-timestamp", "host" : "pgbackrest-dev", @@ -286,15 +285,14 @@ "P00 INFO: autogenerate configure", "P00 INFO: autogenerated version in configure.ac script: no changes", "P00 INFO: autogenerated configure script: no changes", - "P00 INFO: clean autogenerate code", - "P00 INFO: builds required: bin, bin host", - "P00 INFO: bin build for u20 (/home/vagrant/test/bin/u20)", - "P00 INFO: bin dependencies have changed, rebuilding", - "P00 INFO: bin build for none (/home/vagrant/test/build/none)", + "P00 INFO: autogenerate code", + "P00 INFO: clean build for u20 (/home/vagrant/test/build/u20)", "P00 INFO: 1 test selected", " ", - "P00 INFO: P1-T1/1 - vm=u20, module=mock, test=archive, run=2", + "P00 INFO: P1-T1/1 - vm=u20, module=postgres, test=interface, run=2", "P00 INFO: no code modules had all tests run required for coverage", + "P00 INFO: tested modules have full coverage", + "P00 INFO: writing C coverage report", "P00 INFO: TESTS COMPLETED SUCCESSFULLY" ] } @@ -363,7 +361,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.50" + "sudo mkdir -p /build/pgbackrest-release-2.51" ], "host" : "build", "load-env" : true, @@ -376,7 +374,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.50" + "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.51" ], "host" : "build", "load-env" : true, @@ -389,7 +387,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.50" + "sudo chown -R vagrant /build" ], "host" : "build", "load-env" : true, @@ -415,7 +413,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo apt-get install make gcc libpq-dev libssl-dev libxml2-dev pkg-config \\", + "sudo apt-get install meson gcc libpq-dev libssl-dev libxml2-dev pkg-config \\", " liblz4-dev libzstd-dev libbz2-dev libz-dev libyaml-dev libssh2-1-dev" ], "cmd-extra" : "-y 2>&1", @@ -430,9 +428,21 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.50/src && ./configure && make" + "meson setup /build/pgbackrest /build/pgbackrest-release-2.51" + ], + "host" : "build", + "load-env" : true, + "output" : false, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "ninja -C /build/pgbackrest" ], - "cmd-extra" : "-j 4", "host" : "build", "load-env" : true, "output" : false, @@ -472,7 +482,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.50/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -600,7 +610,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.50 - General help", + "pgBackRest 2.51 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -729,7 +739,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.50 - 'backup' command - 'log-path' option help", + "pgBackRest 2.51 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -989,7 +999,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.50: --exec-id=434-aa3b987e --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.51: --exec-id=429-7ad4af6d --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/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" ] @@ -1016,10 +1026,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=443-81758f35 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: check command begin 2.51: --exec-id=438-4b9091f1 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/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/15-1/0000000100000000/000000010000000000000001-fdad8197c7146055eb078892124b63632ec2523b.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000100000000/000000010000000000000001-427f252ef49175611d0f6581b25edbbef146a6b9.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -1076,16 +1086,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.50: --exec-id=472-0317e7cc --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/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.51: --exec-id=465-2c592f2e --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/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 = 20240122-113304F", + "P00 INFO: new backup label = 20240320-211134F", "P00 INFO: full backup size = 21.8MB, file total = 961", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=472-0317e7cc --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.51: --exec-id=465-2c592f2e --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" ] } }, @@ -1103,7 +1113,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-113304F" + "20240320-211134F" ] } }, @@ -1131,10 +1141,10 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000004:000000010000000000000005", - "P00 INFO: new backup label = 20240122-113304F_20240122-113308D", + "P00 INFO: new backup label = 20240320-211134F_20240320-211138D", "P00 INFO: diff backup size = 8.3KB, file total = 961", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=498-1562f2d9 --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.51: --exec-id=492-5729be80 --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" ] } }, @@ -1166,18 +1176,18 @@ " db (current)", " wal archive min/max (15): 000000010000000000000001/000000010000000000000005", "", - " full backup: 20240122-113304F", - " timestamp start/stop: 2024-01-22 11:33:04+00 / 2024-01-22 11:33:07+00", + " full backup: 20240320-211134F", + " timestamp start/stop: 2024-03-20 21:11:34+00 / 2024-03-20 21:11:37+00", " wal start/stop: 000000010000000000000002 / 000000010000000000000003", " database size: 21.8MB, database backup size: 21.8MB", " repo1: backup set size: 2.9MB, backup size: 2.9MB", "", - " diff backup: 20240122-113304F_20240122-113308D", - " timestamp start/stop: 2024-01-22 11:33:08+00 / 2024-01-22 11:33:10+00", + " diff backup: 20240320-211134F_20240320-211138D", + " timestamp start/stop: 2024-03-20 21:11:38+00 / 2024-03-20 21:11:40+00", " wal start/stop: 000000010000000000000004 / 000000010000000000000005", " database size: 21.8MB, database backup size: 8.3KB", - " repo1: backup set size: 2.9MB, backup size: 496B", - " backup reference list: 20240122-113304F" + " repo1: backup set size: 2.9MB, backup size: 464B", + " backup reference list: 20240320-211134F" ] } }, @@ -1430,7 +1440,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2024-01-22 11:33:10+00 | 000000010000000000000006", + " \"demo\" | 2024-03-20 21:11:40+00 | 000000010000000000000005", "(1 row)" ] } @@ -1464,7 +1474,7 @@ "type" : "exe", "value" : { "output" : [ - "1705923190" + "1710969100" ] } }, @@ -1483,7 +1493,7 @@ "type" : "exe", "value" : { "output" : [ - "\"000000010000000000000006\"" + "\"000000010000000000000005\"" ] } }, @@ -1609,7 +1619,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-113324F" + "20240320-211154F" ] } }, @@ -1617,7 +1627,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240122-113324F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20240320-211154F info" ], "highlight" : { "filter" : false, @@ -1639,12 +1649,12 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (15): 000000020000000000000008/00000002000000000000000A", + " wal archive min/max (15): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20240122-113324F", - " timestamp start/stop: 2024-01-22 11:33:24+00 / 2024-01-22 11:33:27+00", - " wal start/stop: 000000020000000000000009 / 00000002000000000000000A", - " lsn start/stop: 0/9000028 / 0/A000050", + " full backup: 20240320-211154F", + " timestamp start/stop: 2024-03-20 21:11:54+00 / 2024-03-20 21:11:57+00", + " wal start/stop: 000000020000000000000008 / 000000020000000000000009", + " lsn start/stop: 0/8000028 / 0/9000050", " database size: 21.8MB, database backup size: 21.8MB", " repo1: backup size: 2.9MB", " database list: postgres (5)", @@ -1658,7 +1668,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240122-113324F \\", + "sudo -u postgres pgbackrest --stanza=demo --set=20240320-211154F \\", " --annotation=key= --annotation=new_key=new_value annotate" ], "host" : "pg-primary", @@ -1672,7 +1682,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240122-113324F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20240320-211154F info" ], "highlight" : { "filter" : false, @@ -1694,12 +1704,12 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (15): 000000020000000000000008/00000002000000000000000A", + " wal archive min/max (15): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20240122-113324F", - " timestamp start/stop: 2024-01-22 11:33:24+00 / 2024-01-22 11:33:27+00", - " wal start/stop: 000000020000000000000009 / 00000002000000000000000A", - " lsn start/stop: 0/9000028 / 0/A000050", + " full backup: 20240320-211154F", + " timestamp start/stop: 2024-03-20 21:11:54+00 / 2024-03-20 21:11:57+00", + " wal start/stop: 000000020000000000000008 / 000000020000000000000009", + " lsn start/stop: 0/8000028 / 0/9000050", " database size: 21.8MB, database backup size: 21.8MB", " repo1: backup size: 2.9MB", " database list: postgres (5)", @@ -1752,7 +1762,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20240122-113304F|remove archive" + "archive retention on backup 20240320-211134F|remove archive" ] }, "host" : "pg-primary", @@ -1764,9 +1774,9 @@ "value" : { "output" : [ " [filtered 973 lines of output]", - "P00 INFO: repo1: remove expired backup 20240122-113321F", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20240122-113324F, start = 000000020000000000000009", - "P00 INFO: repo1: 15-1 remove archive, start = 000000020000000000000008, stop = 000000020000000000000008", + "P00 INFO: repo1: remove expired backup 20240320-211151F", + "P00 DETAIL: repo1: 15-1 archive retention on backup 20240320-211154F, start = 000000020000000000000008", + "P00 INFO: repo1: 15-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000007", "P00 INFO: expire command end: completed successfully" ] } @@ -1785,7 +1795,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-113328F" + "20240320-211159F" ] } }, @@ -1800,7 +1810,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20240122-113304F|archive retention on backup 20240122-113328F|remove archive" + "expire full backup set 20240320-211134F|archive retention on backup 20240320-211159F|remove archive" ] }, "host" : "pg-primary", @@ -1812,9 +1822,9 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "P00 INFO: repo1: expire full backup 20240122-113324F", - "P00 INFO: repo1: remove expired backup 20240122-113324F", - "P00 INFO: repo1: 15-1 remove archive, start = 000000020000000000000009, stop = 00000002000000000000000B", + "P00 INFO: repo1: expire full backup 20240320-211154F", + "P00 INFO: repo1: remove expired backup 20240320-211154F", + "P00 INFO: repo1: 15-1 remove archive, start = 000000020000000000000008, stop = 00000002000000000000000A", "P00 INFO: expire command end: completed successfully" ] } @@ -1879,7 +1889,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-113332F_20240122-113335D" + "20240320-211202F_20240320-211206D" ] } }, @@ -1907,7 +1917,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20240122-113332F_20240122-113335D" + "expire diff backup set 20240320-211202F_20240320-211206D" ] }, "host" : "pg-primary", @@ -1920,10 +1930,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=990-85c13593 --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 20240122-113332F_20240122-113335D, 20240122-113332F_20240122-113337I", - "P00 INFO: repo1: remove expired backup 20240122-113332F_20240122-113337I", - "P00 INFO: repo1: remove expired backup 20240122-113332F_20240122-113335D", + "P00 INFO: expire command begin 2.51: --exec-id=972-f3c64275 --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 20240320-211202F_20240320-211206D, 20240320-211202F_20240320-211209I", + "P00 INFO: repo1: remove expired backup 20240320-211202F_20240320-211209I", + "P00 INFO: repo1: remove expired backup 20240320-211202F_20240320-211206D", "P00 INFO: expire command end: completed successfully" ] } @@ -1975,7 +1985,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-113332F_20240122-113340D" + "20240320-211202F_20240320-211212D" ] } }, @@ -2017,9 +2027,9 @@ "value" : { "output" : [ " [filtered 6 lines of output]", - "P00 INFO: backup stop archive = 000000020000000000000018, lsn = 0/18000050", - "P00 INFO: check archive for segment(s) 000000020000000000000017:000000020000000000000018", - "P00 INFO: new backup label = 20240122-113332F_20240122-113343D", + "P00 INFO: backup stop archive = 000000020000000000000017, lsn = 0/17000050", + "P00 INFO: check archive for segment(s) 000000020000000000000016:000000020000000000000017", + "P00 INFO: new backup label = 20240320-211202F_20240320-211215D", "P00 INFO: diff backup size = 8.3KB, file total = 961", "P00 INFO: backup command end: completed successfully", " [filtered 2 lines of output]" @@ -2040,7 +2050,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-113332F_20240122-113343D" + "20240320-211202F_20240320-211215D" ] } }, @@ -2055,7 +2065,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20240122-113332F_20240122-113340D|remove archive" + "archive retention on backup 20240320-211202F_20240320-211212D|remove archive" ] }, "host" : "pg-primary", @@ -2066,13 +2076,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.50: --exec-id=1074-531cbf12 --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: 15-1 archive retention on backup 20240122-113328F, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20240122-113332F, start = 00000002000000000000000D, stop = 00000002000000000000000E", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20240122-113332F_20240122-113340D, start = 000000020000000000000013, stop = 000000020000000000000014", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20240122-113332F_20240122-113343D, start = 000000020000000000000017", - "P00 INFO: repo1: 15-1 remove archive, start = 00000002000000000000000F, stop = 000000020000000000000012", - "P00 INFO: repo1: 15-1 remove archive, start = 000000020000000000000015, stop = 000000020000000000000016", + "P00 INFO: expire command begin 2.51: --exec-id=1054-067bb1b8 --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: 15-1 archive retention on backup 20240320-211159F, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 DETAIL: repo1: 15-1 archive retention on backup 20240320-211202F, start = 00000002000000000000000C, stop = 00000002000000000000000D", + "P00 DETAIL: repo1: 15-1 archive retention on backup 20240320-211202F_20240320-211212D, start = 000000020000000000000012, stop = 000000020000000000000013", + "P00 DETAIL: repo1: 15-1 archive retention on backup 20240320-211202F_20240320-211215D, start = 000000020000000000000016", + "P00 INFO: repo1: 15-1 remove archive, start = 00000002000000000000000E, stop = 000000020000000000000011", + "P00 INFO: repo1: 15-1 remove archive, start = 000000020000000000000014, stop = 000000020000000000000015", "P00 INFO: expire command end: completed successfully" ] } @@ -2119,11 +2129,11 @@ "P00 DETAIL: remove invalid file '/var/lib/postgresql/15/demo/backup_label.old'", "P00 DETAIL: remove invalid file '/var/lib/postgresql/15/demo/base/1/pg_internal.init'", " [filtered 14 lines of output]", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/backup_label (260B, 0.00%) checksum d4a881d118f904df01bf317250a038915dd36bae", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/pg_multixact/members/0000 - exists and matches backup (bundle 20240122-113332F/1/0, 8KB, 0.04%) checksum 0631457264ff7f8d5fb1edc2c0211992a67c73e6", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/PG_VERSION - exists and matches backup (bundle 20240122-113332F/1/40, 3B, 0.04%) checksum 587b596f04f7db9c2cad3d6b87dd2b3a05de4f35", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/global/pg_filenode.map - exists and matches backup (bundle 20240122-113332F/1/64, 512B, 0.04%) checksum 8426f71eec225fb3087aa80427d8e6b4e6a8a65b", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/global/6247 - exists and matches backup (bundle 20240122-113332F/1/232, 8KB, 0.07%) checksum ea40c8171261ed36b40f1597297f0a111790313c", + "P01 DETAIL: restore file /var/lib/postgresql/15/demo/backup_label (260B, 0.00%) checksum 3246d2affce4dc025b9349fdaff4cc39b69d6fa0", + "P01 DETAIL: restore file /var/lib/postgresql/15/demo/pg_multixact/members/0000 - exists and matches backup (bundle 20240320-211202F/1/0, 8KB, 0.04%) checksum 0631457264ff7f8d5fb1edc2c0211992a67c73e6", + "P01 DETAIL: restore file /var/lib/postgresql/15/demo/PG_VERSION - exists and matches backup (bundle 20240320-211202F/1/40, 3B, 0.04%) checksum 587b596f04f7db9c2cad3d6b87dd2b3a05de4f35", + "P01 DETAIL: restore file /var/lib/postgresql/15/demo/global/pg_filenode.map - exists and matches backup (bundle 20240320-211202F/1/64, 512B, 0.04%) checksum 8426f71eec225fb3087aa80427d8e6b4e6a8a65b", + "P01 DETAIL: restore file /var/lib/postgresql/15/demo/global/6247 - exists and matches backup (bundle 20240320-211202F/1/232, 8KB, 0.07%) checksum ea40c8171261ed36b40f1597297f0a111790313c", " [filtered 985 lines of output]" ] } @@ -2293,7 +2303,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-113332F_20240122-113352I" + "20240320-211202F_20240320-211224I" ] } }, @@ -2302,7 +2312,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20240122-113332F_20240122-113352I info" + " --set=20240320-211202F_20240320-211224I info" ], "highlight" : { "filter" : true, @@ -2321,7 +2331,7 @@ "output" : [ " [filtered 12 lines of output]", " repo1: backup size: 2.0MB", - " backup reference list: 20240122-113332F, 20240122-113332F_20240122-113343D", + " backup reference list: 20240320-211202F, 20240320-211202F_20240320-211215D", " database list: postgres (5), test1 (32768), test2 (32769)" ] } @@ -2553,7 +2563,7 @@ "type" : "exe", "value" : { "output" : [ - "2024-01-22 11:34:01.874583+00" + "2024-03-20 21:12:35.138287+00" ] } }, @@ -2630,7 +2640,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-113332F_20240122-113403I" + "20240320-211202F_20240320-211237I" ] } }, @@ -2644,7 +2654,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "20240122-113332F_20240122-113403I" + "20240320-211202F_20240320-211237I" ] }, "host" : "pg-primary", @@ -2656,11 +2666,11 @@ "value" : { "output" : [ " [filtered 38 lines of output]", - " backup reference list: 20240122-113332F, 20240122-113332F_20240122-113343D", + " backup reference list: 20240320-211202F, 20240320-211202F_20240320-211215D", "", - " incr backup: 20240122-113332F_20240122-113403I", - " timestamp start/stop: 2024-01-22 11:34:03+00 / 2024-01-22 11:34:05+00", - " wal start/stop: 00000004000000000000001B / 00000004000000000000001B", + " incr backup: 20240320-211202F_20240320-211237I", + " timestamp start/stop: 2024-03-20 21:12:37+00 / 2024-03-20 21:12:38+00", + " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", " [filtered 2 lines of output]" ] } @@ -2683,8 +2693,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20240122-113332F_20240122-113403I --target-timeline=current \\", - " --type=time \"--target=2024-01-22 11:34:01.874583+00\" --target-action=promote restore" + " --set=20240320-211202F_20240320-211237I --target-timeline=current \\", + " --type=time \"--target=2024-03-20 21:12:35.138287+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2728,11 +2738,11 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 11 lines of output]", + " [filtered 13 lines of output]", "LOG: database system is ready to accept read-only connections", - "LOG: redo done at 0/1B000100 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.01 s", + "LOG: redo done at 0/1A000100 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.01 s", "FATAL: recovery ended before configured recovery target was reached", - "LOG: startup process (PID 1482) exited with exit code 1", + "LOG: startup process (PID 1460) exited with exit code 1", "LOG: terminating any other active server processes", " [filtered 3 lines of output]" ] @@ -2743,7 +2753,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2024-01-22 11:34:01.874583+00\" \\", + " --type=time \"--target=2024-03-20 21:12:35.138287+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2788,9 +2798,9 @@ "value" : { "output" : [ " [filtered 9 lines of output]", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:34:07", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:12:40", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2024-01-22 11:34:01.874583+00'", + "recovery_target_time = '2024-03-20 21:12:35.138287+00'", "recovery_target_action = 'promote'" ] } @@ -2871,20 +2881,20 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "LOG: database system was interrupted; last known up at 2024-01-22 11:33:52 UTC", + "LOG: database system was interrupted; last known up at 2024-03-20 21:12:25 UTC", "LOG: restored log file \"00000004.history\" from archive", - "LOG: starting point-in-time recovery to 2024-01-22 11:34:01.874583+00", + "LOG: starting point-in-time recovery to 2024-03-20 21:12:35.138287+00", + "LOG: starting backup recovery with redo LSN 0/19000028, checkpoint LSN 0/19000060, on timeline ID 3", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"00000004000000000000001A\" from archive", - " [filtered 3 lines of output]", + " [filtered 5 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 734, time 2024-01-22 11:34:03.154648+00", - "LOG: redo done at 0/1A025398 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.06 s", - "LOG: last completed transaction was at log time 2024-01-22 11:34:00.598831+00", "LOG: restored log file \"00000004000000000000001A\" from archive", + "LOG: recovery stopping before commit of transaction 734, time 2024-03-20 21:12:36.418519+00", + "LOG: redo done at 0/19025398 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.06 s", + "LOG: last completed transaction was at log time 2024-03-20 21:12:33.849995+00", + "LOG: restored log file \"000000040000000000000019\" from archive", "LOG: selected new timeline ID: 5", - " [filtered 4 lines of output]" + " [filtered 5 lines of output]" ] } }, @@ -2922,7 +2932,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.50: --exec-id=1613-bc4e6fdd --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", + "P00 INFO: stop command begin 2.51: --exec-id=1591-b8d242a4 --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -2949,7 +2959,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.50: --exec-id=1621-ab868874 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo=1 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-delete command begin 2.51: --exec-id=1599-9626d400 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo=1 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -3072,7 +3082,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.50: --exec-id=1696-a7635f0b --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --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 --repo2-type=azure --stanza=demo", + "P00 INFO: stanza-create command begin 2.51: --exec-id=1671-c310cc0e --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --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 --repo2-type=azure --stanza=demo", "P00 INFO: stanza-create for stanza 'demo' on repo1", "P00 INFO: stanza-create for stanza 'demo' on repo2", "P00 INFO: stanza-create command end: completed successfully" @@ -3101,16 +3111,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.50: --exec-id=1705-1a28aa7c --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=4 --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --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.51: --exec-id=1680-43678308 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=4 --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --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 = 00000005000000000000001C, lsn = 0/1C000028", + "P00 INFO: backup start archive = 00000005000000000000001B, lsn = 0/1B000028", " [filtered 3 lines of output]", - "P00 INFO: check archive for segment(s) 00000005000000000000001C:00000005000000000000001C", - "P00 INFO: new backup label = 20240122-113417F", + "P00 INFO: check archive for segment(s) 00000005000000000000001B:00000005000000000000001B", + "P00 INFO: new backup label = 20240320-211250F", "P00 INFO: full backup size = 29.0MB, file total = 1263", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=1705-1a28aa7c --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.51: --exec-id=1680-43678308 --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" ] } }, @@ -3262,16 +3272,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.50: --exec-id=1770-10ada33e --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --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.51: --exec-id=1745-57b1ad64 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --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 = 00000005000000000000001D, lsn = 0/1D000028", + "P00 INFO: backup start archive = 00000005000000000000001C, lsn = 0/1C000028", " [filtered 3 lines of output]", - "P00 INFO: check archive for segment(s) 00000005000000000000001D:00000005000000000000001E", - "P00 INFO: new backup label = 20240122-113425F", + "P00 INFO: check archive for segment(s) 00000005000000000000001C:00000005000000000000001D", + "P00 INFO: new backup label = 20240320-211258F", "P00 INFO: full backup size = 29.0MB, file total = 1263", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=1770-10ada33e --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.51: --exec-id=1745-57b1ad64 --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" ] } }, @@ -3498,18 +3508,18 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.50: --exec-id=1855-65aa75b9 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=4 --repo=4 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --repo1-bundle --repo4-bundle --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-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 --repo4-sftp-host=sftp-server --repo4-sftp-host-key-hash-type=sha1 --repo4-sftp-host-user=pgbackrest --repo4-sftp-private-key-file=/var/lib/postgresql/.ssh/id_rsa_sftp --repo4-sftp-public-key-file=/var/lib/postgresql/.ssh/id_rsa_sftp.pub --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.51: --exec-id=1827-ce4d36e9 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=4 --repo=4 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --repo1-bundle --repo4-bundle --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-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 --repo4-sftp-host=sftp-server --repo4-sftp-host-key-hash-type=sha1 --repo4-sftp-host-user=pgbackrest --repo4-sftp-private-key-file=/var/lib/postgresql/.ssh/id_rsa_sftp --repo4-sftp-public-key-file=/var/lib/postgresql/.ssh/id_rsa_sftp.pub --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --stanza=demo --start-fast", "P00 WARN: option 'repo4-retention-full' is not set for 'repo4-retention-full-type=count', the repository may run out of space", " HINT: to retain full backups indefinitely (without warning), set option 'repo4-retention-full' to the maximum.", "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 = 00000005000000000000001F, lsn = 0/1F000028", + "P00 INFO: backup start archive = 00000005000000000000001E, lsn = 0/1E000028", " [filtered 3 lines of output]", - "P00 INFO: check archive for segment(s) 00000005000000000000001F:000000050000000000000020", - "P00 INFO: new backup label = 20240122-113433F", + "P00 INFO: check archive for segment(s) 00000005000000000000001E:00000005000000000000001F", + "P00 INFO: new backup label = 20240320-211306F", "P00 INFO: full backup size = 29.0MB, file total = 1263", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=1855-65aa75b9 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=4 --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 --repo4-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 --repo4-sftp-host=sftp-server --repo4-sftp-host-key-hash-type=sha1 --repo4-sftp-host-user=pgbackrest --repo4-sftp-private-key-file=/var/lib/postgresql/.ssh/id_rsa_sftp --repo4-sftp-public-key-file=/var/lib/postgresql/.ssh/id_rsa_sftp.pub --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --stanza=demo", + "P00 INFO: expire command begin 2.51: --exec-id=1827-ce4d36e9 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=4 --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 --repo4-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 --repo4-sftp-host=sftp-server --repo4-sftp-host-key-hash-type=sha1 --repo4-sftp-host-user=pgbackrest --repo4-sftp-private-key-file=/var/lib/postgresql/.ssh/id_rsa_sftp --repo4-sftp-public-key-file=/var/lib/postgresql/.ssh/id_rsa_sftp.pub --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --stanza=demo", "P00 INFO: expire command end: completed successfully" ] } @@ -3631,7 +3641,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.50/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -4188,17 +4198,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (15): 000000060000000000000026/000000060000000000000028", + " wal archive min/max (15): 000000060000000000000025/000000060000000000000027", "", - " full backup: 20240122-113500F", - " timestamp start/stop: 2024-01-22 11:35:00+00 / 2024-01-22 11:35:03+00", - " wal start/stop: 000000060000000000000026 / 000000060000000000000026", + " full backup: 20240320-211336F", + " timestamp start/stop: 2024-03-20 21:13:36+00 / 2024-03-20 21:13:40+00", + " wal start/stop: 000000060000000000000025 / 000000060000000000000025", " database size: 29.0MB, database backup size: 29.0MB", " repo1: backup set size: 3.9MB, backup size: 3.9MB", "", - " full backup: 20240122-113505F", - " timestamp start/stop: 2024-01-22 11:35:05+00 / 2024-01-22 11:35:08+00", - " wal start/stop: 000000060000000000000027 / 000000060000000000000028", + " full backup: 20240320-211341F", + " timestamp start/stop: 2024-03-20 21:13:41+00 / 2024-03-20 21:13:45+00", + " wal start/stop: 000000060000000000000026 / 000000060000000000000027", " database size: 29.0MB, database backup size: 29.0MB", " repo1: backup set size: 3.9MB, backup size: 3.9MB" ] @@ -4362,7 +4372,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.50/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -4644,21 +4654,21 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:33:12", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:11:42", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:33:46", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:12:18", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:34:07", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:12:40", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-01-22 11:34:53 # recovery_target_time = '2024-01-22 11:34:01.874583+00'", - "# Removed by pgBackRest restore on 2024-01-22 11:34:53 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2024-03-20 21:13:29 # recovery_target_time = '2024-03-20 21:12:35.138287+00'", + "# Removed by pgBackRest restore on 2024-03-20 21:13:29 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:34:53", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:13:29", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:35:21", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:13:57", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] } @@ -4771,11 +4781,11 @@ "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 2024-01-22 11:35:05 UTC", + "LOG: database system was interrupted; last known up at 2024-03-20 21:13:42 UTC", "LOG: entering standby mode", + "LOG: starting backup recovery with redo LSN 0/26000028, checkpoint LSN 0/26000060, on timeline ID 6", "LOG: restored log file \"00000006.history\" from archive", - "LOG: restored log file \"000000060000000000000027\" from archive", - " [filtered 4 lines of output]" + " [filtered 6 lines of output]" ] } }, @@ -4857,7 +4867,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/29019A48 | 2024-01-22 11:35:28.117945+00", + " 0/28019A10 | 2024-03-20 21:14:04.941779+00", "(1 row)" ] } @@ -4886,7 +4896,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-01-22 11:35:29.307516+00", + " Important Data | 2024-03-20 21:14:05.921459+00", "(1 row)" ] } @@ -4912,7 +4922,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=521-a497bf04 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.51: --exec-id=510-07ffc384 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/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" @@ -5062,21 +5072,21 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:33:12", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:11:42", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:33:46", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:12:18", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:34:07", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:12:40", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-01-22 11:34:53 # recovery_target_time = '2024-01-22 11:34:01.874583+00'", - "# Removed by pgBackRest restore on 2024-01-22 11:34:53 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2024-03-20 21:13:29 # recovery_target_time = '2024-03-20 21:12:35.138287+00'", + "# Removed by pgBackRest restore on 2024-03-20 21:13:29 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:34:53", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:13:29", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:35:32", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:14:09", "primary_conninfo = 'host=172.17.0.6 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] @@ -5142,10 +5152,10 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 11 lines of output]", - "LOG: consistent recovery state reached at 0/28000050", + " [filtered 13 lines of output]", + "LOG: consistent recovery state reached at 0/27000088", "LOG: database system is ready to accept read-only connections", - "LOG: started streaming WAL from primary at 0/2A000000 on timeline 6" + "LOG: started streaming WAL from primary at 0/29000000 on timeline 6" ] } }, @@ -5178,7 +5188,7 @@ " [filtered 4 lines of output]", " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-01-22 11:35:38.699743+00", + " Important Data | 2024-03-20 21:14:15.427743+00", "(1 row)" ] } @@ -5207,7 +5217,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-01-22 11:35:38.878795+00", + " Important Data | 2024-03-20 21:14:15.612202+00", "(1 row)" ] } @@ -5244,7 +5254,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.50/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-alt", @@ -5640,7 +5650,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.50: --exec-id=395-278a2dd7 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-host=repository --stanza=demo-alt", + "P00 INFO: stanza-create command begin 2.51: --exec-id=392-ec781da6 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-host=repository --stanza=demo-alt", "P00 INFO: stanza-create for stanza 'demo-alt' on repo1", "P00 INFO: stanza-create command end: completed successfully" ] @@ -5667,11 +5677,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=405-5623ea8c --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --repo1-host=repository", + "P00 INFO: check command begin 2.51: --exec-id=402-bef8f92a --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --repo1-host=repository", "P00 INFO: check stanza 'demo-alt'", "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-alt/15-1/0000000100000000/000000010000000000000001-18d1fc3d54bf87ad6c8041c49ebc57f4e1fd143c.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/15-1/0000000100000000/000000010000000000000001-618c3be51569dcd807fed44ff895551c6e0decf5.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -5697,15 +5707,15 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=1256-747b65e6 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-path=/var/lib/pgbackrest", + "P00 INFO: check command begin 2.51: --exec-id=1249-38c39446 --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-path=/var/lib/pgbackrest", "P00 INFO: check stanza 'demo'", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 00000006000000000000002A successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000600000000/00000006000000000000002A-730e1926e62ab99cc75b182609b63654997ec5e5.gz' on repo1", + "P00 INFO: WAL segment 000000060000000000000029 successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000600000000/000000060000000000000029-eda5c9bea9a8e898894d8e81e635cff5ce7d8fb8.gz' on repo1", "P00 INFO: check stanza 'demo-alt'", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 000000010000000000000002 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/15-1/0000000100000000/000000010000000000000002-3e897cd02bfa4e8ad23a5b42a23df253d2f4d7ea.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000002 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/15-1/0000000100000000/000000010000000000000002-6c72b74d5fbdeee8f47ae40f976d163955575f3a.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -5936,10 +5946,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=2464-599a138b --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.51: --exec-id=2436-2d3122fa --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-host=repository --stanza=demo", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 000000060000000000000030 successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000600000000/000000060000000000000030-c4b6fe2caa97312600ff9a8c75e7099eb63692c0.gz' on repo1", + "P00 INFO: WAL segment 00000006000000000000002F successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000600000000/00000006000000000000002F-083e1c564e6e9695ecd12297fcb0b7187e955f1d.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -5966,19 +5976,25 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.50: [/var/lib/postgresql/15/demo/pg_wal] --archive-async --exec-id=2450-9c8a5f33 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000006000000000000002B", - "P01 DETAIL: pushed WAL file '00000006000000000000002B' to the archive", + "P00 INFO: archive-push:async command begin 2.51: [/var/lib/postgresql/15/demo/pg_wal] --archive-async --exec-id=2422-8ad4f0e5 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 00000006000000000000002A", + "P01 DETAIL: pushed WAL file '00000006000000000000002A' to the archive", "P00 INFO: archive-push:async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.50: [/var/lib/postgresql/15/demo/pg_wal] --archive-async --exec-id=2468-15aacbb5 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 5 WAL file(s) to archive: 00000006000000000000002C...000000060000000000000030", - "P01 DETAIL: pushed WAL file '00000006000000000000002C' to the archive", + "P00 INFO: archive-push:async command begin 2.51: [/var/lib/postgresql/15/demo/pg_wal] --archive-async --exec-id=2439-6934dd67 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 4 WAL file(s) to archive: 00000006000000000000002B...00000006000000000000002E", + "P02 DETAIL: pushed WAL file '00000006000000000000002C' to the archive", + "P01 DETAIL: pushed WAL file '00000006000000000000002B' to the archive", "P02 DETAIL: pushed WAL file '00000006000000000000002D' to the archive", "P01 DETAIL: pushed WAL file '00000006000000000000002E' to the archive", - "P02 DETAIL: pushed WAL file '00000006000000000000002F' to the archive", - "P01 DETAIL: pushed WAL file '000000060000000000000030' to the archive" + "P00 INFO: archive-push:async command end: completed successfully", + "", + "-------------------PROCESS START-------------------", + "P00 INFO: archive-push:async command begin 2.51: [/var/lib/postgresql/15/demo/pg_wal] --archive-async --exec-id=2455-9043b356 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 00000006000000000000002F", + "P01 DETAIL: pushed WAL file '00000006000000000000002F' to the archive", + "P00 INFO: archive-push:async command end: completed successfully" ] } }, @@ -6017,26 +6033,26 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.50: [000000060000000000000027, 000000060000000000000028, 000000060000000000000029, 00000006000000000000002A, 00000006000000000000002B, 00000006000000000000002C, 00000006000000000000002D, 00000006000000000000002E] --archive-async --exec-id=746-442cb793 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000060000000000000027...00000006000000000000002E", - "P01 DETAIL: found 000000060000000000000027 in the repo1: 15-1 archive", - "P02 DETAIL: found 000000060000000000000028 in the repo1: 15-1 archive", - "P01 DETAIL: found 000000060000000000000029 in the repo1: 15-1 archive", - "P02 DETAIL: found 00000006000000000000002A in the repo1: 15-1 archive", - "P00 DETAIL: unable to find 00000006000000000000002B in the archive", + "P00 INFO: archive-get:async command begin 2.51: [000000060000000000000026, 000000060000000000000027, 000000060000000000000028, 000000060000000000000029, 00000006000000000000002A, 00000006000000000000002B, 00000006000000000000002C, 00000006000000000000002D] --archive-async --exec-id=730-3eb6c8a2 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 000000060000000000000026...00000006000000000000002D", + "P01 DETAIL: found 000000060000000000000026 in the repo1: 15-1 archive", + "P02 DETAIL: found 000000060000000000000027 in the repo1: 15-1 archive", + "P01 DETAIL: found 000000060000000000000028 in the repo1: 15-1 archive", + "P02 DETAIL: found 000000060000000000000029 in the repo1: 15-1 archive", + "P00 DETAIL: unable to find 00000006000000000000002A 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.50: [00000006000000000000002B, 00000006000000000000002C, 00000006000000000000002D, 00000006000000000000002E, 00000006000000000000002F, 000000060000000000000030, 000000060000000000000031, 000000060000000000000032] --archive-async --exec-id=797-ece40301 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 00000006000000000000002B...000000060000000000000032", - "P02 DETAIL: found 00000006000000000000002C in the repo1: 15-1 archive", - "P01 DETAIL: found 00000006000000000000002B in the repo1: 15-1 archive", + "P00 INFO: archive-get:async command begin 2.51: [00000006000000000000002A, 00000006000000000000002B, 00000006000000000000002C, 00000006000000000000002D, 00000006000000000000002E, 00000006000000000000002F, 000000060000000000000030, 000000060000000000000031] --archive-async --exec-id=773-5c7e1c42 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000006000000000000002A...000000060000000000000031", + "P01 DETAIL: found 00000006000000000000002A in the repo1: 15-1 archive", + "P02 DETAIL: found 00000006000000000000002B in the repo1: 15-1 archive", + "P01 DETAIL: found 00000006000000000000002C in the repo1: 15-1 archive", "P02 DETAIL: found 00000006000000000000002D in the repo1: 15-1 archive", - "P01 DETAIL: found 00000006000000000000002E in the repo1: 15-1 archive", "P02 DETAIL: found 00000006000000000000002F in the repo1: 15-1 archive", - "P01 DETAIL: found 000000060000000000000030 in the repo1: 15-1 archive", - "P00 DETAIL: unable to find 000000060000000000000031 in the archive", + "P01 DETAIL: found 00000006000000000000002E in the repo1: 15-1 archive", + "P00 DETAIL: unable to find 000000060000000000000030 in the archive", "P00 INFO: archive-get:async command end: completed successfully", - " [filtered 11 lines of output]" + " [filtered 17 lines of output]" ] } }, @@ -6123,15 +6139,14 @@ "output" : [ " [filtered 2 lines of output]", "P00 INFO: execute non-exclusive backup start: backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000060000000000000032, lsn = 0/32000028", - "P00 INFO: wait for replay on the standby to reach 0/32000028", - "P00 INFO: replay on the standby reached 0/32000028", - "P00 INFO: check archive for prior segment 000000060000000000000031", - "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/15/demo/global/pg_control (8KB, 0.53%) checksum 19fda5d971a818c5ad39d6a2bcd59be4de908b7f", - "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/15/demo/pg_logical/replorigin_checkpoint (8B, 0.53%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/15/demo/base/5/1249 (456KB, 31.18%) checksum d8f11445af3d7f83450ac96751507a6f19ae8e77", - "P03 DETAIL: backup file pg-standby:/var/lib/postgresql/15/demo/base/5/2658 (120KB, 39.24%) checksum e99ed46c6b5b1f83d2ae6debe728b867ccc92770", - " [filtered 1274 lines of output]" + "P00 INFO: backup start archive = 000000060000000000000031, lsn = 0/31000028", + "P00 INFO: wait for replay on the standby to reach 0/31000028", + "P00 INFO: replay on the standby reached 0/31000028", + "P00 INFO: check archive for prior segment 000000060000000000000030", + "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/15/demo/global/pg_control (8KB, 0.53%) checksum e76b973464a159923348ea5fbfd57623caa58651", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/15/demo/base/5/1249 (456KB, 31.18%) checksum 7e45991b888245980cad32947d863f4a79f9e354", + "P03 DETAIL: backup file pg-standby:/var/lib/postgresql/15/demo/base/5/2658 (120KB, 39.24%) checksum 28ba128001c5c18538aa9c4839031da7346ffbdf", + " [filtered 1276 lines of output]" ] } }, @@ -6411,7 +6426,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.50: --exec-id=2887-2547ee96 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/postgresql/16/demo --repo1-host=repository --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.51: --exec-id=2864-ed4fe8b0 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/postgresql/16/demo --repo1-host=repository --stanza=demo", "P00 INFO: stanza-upgrade for stanza 'demo' on repo1", "P00 INFO: stanza-upgrade command end: completed successfully" ] @@ -6698,7 +6713,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.50" + "sudo mkdir -p /build/pgbackrest-release-2.51" ], "host" : "build", "load-env" : true, @@ -6711,7 +6726,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/src /build/pgbackrest-release-2.50" + "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.51" ], "host" : "build", "load-env" : true, @@ -6724,7 +6739,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo chown -R vagrant /build/pgbackrest-release-2.50" + "sudo chown -R vagrant /build" ], "host" : "build", "load-env" : true, @@ -6752,7 +6767,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.50/src && ./configure && make" + "cd /build/pgbackrest-release-2.51/src && ./configure && make" ], "cmd-extra" : "-j 4", "host" : "build", @@ -6794,7 +6809,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.50/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.51/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -6922,7 +6937,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.50 - General help", + "pgBackRest 2.51 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -7048,7 +7063,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.50 - 'backup' command - 'log-path' option help", + "pgBackRest 2.51 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -7309,7 +7324,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.50: --exec-id=1187-b75a414e --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.51: --exec-id=1037-e7e2a455 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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" ] @@ -7336,10 +7351,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=1215-3397293d --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: check command begin 2.51: --exec-id=1065-fbf787f1 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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/12-1/0000000100000000/000000010000000000000001-dcfdadedaca7c128d292fb6f557a1d737578a59a.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000100000000/000000010000000000000001-e08b19d2ec1f234a6b7bab79bb849ba33283d293.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -7396,16 +7411,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.50: --exec-id=1288-1abe40e4 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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.51: --exec-id=1138-e9d4ea7e --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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 = 20240122-112634F", + "P00 INFO: new backup label = 20240320-210638F", "P00 INFO: full backup size = 23.5MB, file total = 981", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=1288-1abe40e4 --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.51: --exec-id=1138-e9d4ea7e --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" ] } }, @@ -7423,7 +7438,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-112634F" + "20240320-210638F" ] } }, @@ -7451,10 +7466,10 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000004:000000010000000000000005", - "P00 INFO: new backup label = 20240122-112634F_20240122-112637D", + "P00 INFO: new backup label = 20240320-210638F_20240320-210642D", "P00 INFO: diff backup size = 8.8KB, file total = 981", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=1350-b0c81989 --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.51: --exec-id=1199-0465df2b --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" ] } }, @@ -7486,18 +7501,18 @@ " db (current)", " wal archive min/max (12): 000000010000000000000001/000000010000000000000005", "", - " full backup: 20240122-112634F", - " timestamp start/stop: 2024-01-22 11:26:34+00 / 2024-01-22 11:26:36+00", + " full backup: 20240320-210638F", + " timestamp start/stop: 2024-03-20 21:06:38+00 / 2024-03-20 21:06:41+00", " wal start/stop: 000000010000000000000002 / 000000010000000000000003", " database size: 23.5MB, database backup size: 23.5MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", "", - " diff backup: 20240122-112634F_20240122-112637D", - " timestamp start/stop: 2024-01-22 11:26:37+00 / 2024-01-22 11:26:39+00", + " diff backup: 20240320-210638F_20240320-210642D", + " timestamp start/stop: 2024-03-20 21:06:42+00 / 2024-03-20 21:06:44+00", " wal start/stop: 000000010000000000000004 / 000000010000000000000005", " database size: 23.5MB, database backup size: 8.8KB", - " repo1: backup set size: 2.8MB, backup size: 752B", - " backup reference list: 20240122-112634F" + " repo1: backup set size: 2.8MB, backup size: 688B", + " backup reference list: 20240320-210638F" ] } }, @@ -7564,9 +7579,9 @@ "value" : { "output" : [ " [filtered 12 lines of output]", - "Jan 22 11:26:40 pg-primary systemd[1]: postgresql-12.service: Main process exited, code=exited, status=2/INVALIDARGUMENT", - "Jan 22 11:26:40 pg-primary systemd[1]: postgresql-12.service: Failed with result 'exit-code'.", - "Jan 22 11:26:40 pg-primary systemd[1]: Failed to start PostgreSQL 12 database server." + "Mar 20 21:06:45 pg-primary systemd[1]: postgresql-12.service: Main process exited, code=exited, status=2/INVALIDARGUMENT", + "Mar 20 21:06:45 pg-primary systemd[1]: postgresql-12.service: Failed with result 'exit-code'.", + "Mar 20 21:06:45 pg-primary systemd[1]: Failed to start PostgreSQL 12 database server." ] } }, @@ -7763,7 +7778,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2024-01-22 11:26:39+00 | 000000010000000000000005", + " \"demo\" | 2024-03-20 21:06:44+00 | 000000010000000000000005", "(1 row)" ] } @@ -7890,7 +7905,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-112649F" + "20240320-210654F" ] } }, @@ -7898,7 +7913,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240122-112649F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20240320-210654F info" ], "highlight" : { "filter" : false, @@ -7922,8 +7937,8 @@ " db (current)", " wal archive min/max (12): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20240122-112649F", - " timestamp start/stop: 2024-01-22 11:26:49+00 / 2024-01-22 11:26:51+00", + " full backup: 20240320-210654F", + " timestamp start/stop: 2024-03-20 21:06:54+00 / 2024-03-20 21:06:57+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000050", " database size: 23.5MB, database backup size: 23.5MB", @@ -7939,7 +7954,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240122-112649F \\", + "sudo -u postgres pgbackrest --stanza=demo --set=20240320-210654F \\", " --annotation=key= --annotation=new_key=new_value annotate" ], "host" : "pg-primary", @@ -7953,7 +7968,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240122-112649F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20240320-210654F info" ], "highlight" : { "filter" : false, @@ -7977,8 +7992,8 @@ " db (current)", " wal archive min/max (12): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20240122-112649F", - " timestamp start/stop: 2024-01-22 11:26:49+00 / 2024-01-22 11:26:51+00", + " full backup: 20240320-210654F", + " timestamp start/stop: 2024-03-20 21:06:54+00 / 2024-03-20 21:06:57+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000050", " database size: 23.5MB, database backup size: 23.5MB", @@ -8033,7 +8048,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20240122-112634F|remove archive" + "archive retention on backup 20240320-210638F|remove archive" ] }, "host" : "pg-primary", @@ -8045,8 +8060,8 @@ "value" : { "output" : [ " [filtered 993 lines of output]", - "P00 INFO: repo1: remove expired backup 20240122-112645F", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20240122-112649F, start = 000000020000000000000008", + "P00 INFO: repo1: remove expired backup 20240320-210651F", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20240320-210654F, start = 000000020000000000000008", "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000007", "P00 INFO: expire command end: completed successfully" ] @@ -8066,7 +8081,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-112652F" + "20240320-210659F" ] } }, @@ -8081,7 +8096,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20240122-112634F|archive retention on backup 20240122-112652F|remove archive" + "expire full backup set 20240320-210638F|archive retention on backup 20240320-210659F|remove archive" ] }, "host" : "pg-primary", @@ -8093,8 +8108,8 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "P00 INFO: repo1: expire full backup 20240122-112649F", - "P00 INFO: repo1: remove expired backup 20240122-112649F", + "P00 INFO: repo1: expire full backup 20240320-210654F", + "P00 INFO: repo1: remove expired backup 20240320-210654F", "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000008, stop = 000000020000000000000009", "P00 INFO: expire command end: completed successfully" ] @@ -8160,7 +8175,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-112655F_20240122-112659D" + "20240320-210702F_20240320-210705D" ] } }, @@ -8188,7 +8203,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20240122-112655F_20240122-112659D" + "expire diff backup set 20240320-210702F_20240320-210705D" ] }, "host" : "pg-primary", @@ -8201,10 +8216,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=2397-2a30aebd --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 20240122-112655F_20240122-112659D, 20240122-112655F_20240122-112701I", - "P00 INFO: repo1: remove expired backup 20240122-112655F_20240122-112701I", - "P00 INFO: repo1: remove expired backup 20240122-112655F_20240122-112659D", + "P00 INFO: expire command begin 2.51: --exec-id=2245-e82141fe --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 20240320-210702F_20240320-210705D, 20240320-210702F_20240320-210708I", + "P00 INFO: repo1: remove expired backup 20240320-210702F_20240320-210708I", + "P00 INFO: repo1: remove expired backup 20240320-210702F_20240320-210705D", "P00 INFO: expire command end: completed successfully" ] } @@ -8256,7 +8271,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-112655F_20240122-112704D" + "20240320-210702F_20240320-210711D" ] } }, @@ -8300,8 +8315,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 = 20240122-112655F_20240122-112706D", - "P00 INFO: diff backup size = 10.9KB, file total = 981", + "P00 INFO: new backup label = 20240320-210702F_20240320-210714D", + "P00 INFO: diff backup size = 10.8KB, file total = 981", "P00 INFO: backup command end: completed successfully", " [filtered 2 lines of output]" ] @@ -8321,7 +8336,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-112655F_20240122-112706D" + "20240320-210702F_20240320-210714D" ] } }, @@ -8336,7 +8351,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20240122-112655F_20240122-112704D|remove archive" + "archive retention on backup 20240320-210702F_20240320-210711D|remove archive" ] }, "host" : "pg-primary", @@ -8347,11 +8362,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.50: --exec-id=2593-8ca9be1f --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 20240122-112652F, start = 00000002000000000000000A, stop = 00000002000000000000000B", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20240122-112655F, start = 00000002000000000000000C, stop = 00000002000000000000000D", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20240122-112655F_20240122-112704D, start = 000000020000000000000012, stop = 000000020000000000000013", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20240122-112655F_20240122-112706D, start = 000000020000000000000016", + "P00 INFO: expire command begin 2.51: --exec-id=2441-13e385ba --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 20240320-210659F, start = 00000002000000000000000A, stop = 00000002000000000000000B", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20240320-210702F, start = 00000002000000000000000D, stop = 00000002000000000000000D", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20240320-210702F_20240320-210711D, start = 000000020000000000000012, stop = 000000020000000000000013", + "P00 DETAIL: repo1: 12-1 archive retention on backup 20240320-210702F_20240320-210714D, start = 000000020000000000000016", + "P00 INFO: repo1: 12-1 remove archive, start = 00000002000000000000000C, stop = 00000002000000000000000C", "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" @@ -8566,7 +8582,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-112655F_20240122-112713I" + "20240320-210702F_20240320-210720I" ] } }, @@ -8575,7 +8591,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20240122-112655F_20240122-112713I info" + " --set=20240320-210702F_20240320-210720I info" ], "highlight" : { "filter" : true, @@ -8594,7 +8610,7 @@ "output" : [ " [filtered 12 lines of output]", " repo1: backup size: 1.9MB", - " backup reference list: 20240122-112655F, 20240122-112655F_20240122-112706D", + " backup reference list: 20240320-210702F, 20240320-210702F_20240320-210714D", " database list: postgres (13396), test1 (32768), test2 (32769)" ] } @@ -8825,7 +8841,7 @@ "type" : "exe", "value" : { "output" : [ - "2024-01-22 11:27:22.227395+00" + "2024-03-20 21:07:29.317767+00" ] } }, @@ -8900,7 +8916,7 @@ "type" : "exe", "value" : { "output" : [ - "20240122-112655F_20240122-112724I" + "20240320-210702F_20240320-210731I" ] } }, @@ -8914,7 +8930,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "20240122-112655F_20240122-112724I" + "20240320-210702F_20240320-210731I" ] }, "host" : "pg-primary", @@ -8926,10 +8942,10 @@ "value" : { "output" : [ " [filtered 38 lines of output]", - " backup reference list: 20240122-112655F, 20240122-112655F_20240122-112706D", + " backup reference list: 20240320-210702F, 20240320-210702F_20240320-210714D", "", - " incr backup: 20240122-112655F_20240122-112724I", - " timestamp start/stop: 2024-01-22 11:27:24+00 / 2024-01-22 11:27:25+00", + " incr backup: 20240320-210702F_20240320-210731I", + " timestamp start/stop: 2024-03-20 21:07:31+00 / 2024-03-20 21:07:33+00", " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", " [filtered 2 lines of output]" ] @@ -8953,8 +8969,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20240122-112655F_20240122-112724I --target-timeline=current \\", - " --type=time \"--target=2024-01-22 11:27:22.227395+00\" --target-action=promote restore" + " --set=20240320-210702F_20240320-210731I --target-timeline=current \\", + " --type=time \"--target=2024-03-20 21:07:29.317767+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -9051,8 +9067,8 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2024-01-22 11:27:24 UTC", - "LOG: starting point-in-time recovery to 2024-01-22 11:27:22.227395+00", + "LOG: database system was interrupted; last known up at 2024-03-20 21:07:31 UTC", + "LOG: starting point-in-time recovery to 2024-03-20 21:07:29.317767+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"00000004000000000000001A\" from archive", "LOG: redo starts at 0/1A000028", @@ -9081,7 +9097,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2024-01-22 11:27:22.227395+00\" \\", + " --type=time \"--target=2024-03-20 21:07:29.317767+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -9126,9 +9142,9 @@ "value" : { "output" : [ " [filtered 9 lines of output]", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:27:30", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:07:38", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2024-01-22 11:27:22.227395+00'", + "recovery_target_time = '2024-03-20 21:07:29.317767+00'", "recovery_target_action = 'promote'" ] } @@ -9208,18 +9224,18 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2024-01-22 11:27:13 UTC", + "LOG: database system was interrupted; last known up at 2024-03-20 21:07:20 UTC", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"00000005.history\" from archive", - "LOG: starting point-in-time recovery to 2024-01-22 11:27:22.227395+00", + "LOG: starting point-in-time recovery to 2024-03-20 21:07:29.317767+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"000000040000000000000019\" from archive", " [filtered 3 lines of output]", "LOG: consistent recovery state reached at 0/19000100", "LOG: database system is ready to accept read only connections", - "LOG: recovery stopping before commit of transaction 496, time 2024-01-22 11:27:23.571048+00", + "LOG: recovery stopping before commit of transaction 496, time 2024-03-20 21:07:30.613133+00", "LOG: redo done at 0/1901D128", - "LOG: last completed transaction was at log time 2024-01-22 11:27:20.894937+00", + "LOG: last completed transaction was at log time 2024-03-20 21:07:27.981685+00", "LOG: selected new timeline ID: 6", "LOG: archive recovery complete", "LOG: database system is ready to accept connections" @@ -9260,7 +9276,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.50: --exec-id=3997-9d9af1d3 --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", + "P00 INFO: stop command begin 2.51: --exec-id=3842-0f76ae18 --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -9287,7 +9303,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.50: --exec-id=4025-dde79999 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --repo=1 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-delete command begin 2.51: --exec-id=3869-ea3f46be --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --repo=1 --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -9410,7 +9426,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.50: --exec-id=4186-a25d6394 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --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 --repo2-type=azure --stanza=demo", + "P00 INFO: stanza-create command begin 2.51: --exec-id=4032-eec23e60 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --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 --repo2-type=azure --stanza=demo", "P00 INFO: stanza-create for stanza 'demo' on repo1", "P00 INFO: stanza-create for stanza 'demo' on repo2", "P00 INFO: stanza-create command end: completed successfully" @@ -9439,16 +9455,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.50: --exec-id=4214-3fe17e4d --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=4 --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --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.51: --exec-id=4060-f8c0709e --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=4 --repo=2 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --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 = 00000006000000000000001B, lsn = 0/1B000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000006000000000000001B:00000006000000000000001B", - "P00 INFO: new backup label = 20240122-112736F", + "P00 INFO: new backup label = 20240320-210744F", "P00 INFO: full backup size = 31.1MB, file total = 1287", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=4214-3fe17e4d --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.51: --exec-id=4060-f8c0709e --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" ] } }, @@ -9600,16 +9616,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.50: --exec-id=4372-f4730fbd --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --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.51: --exec-id=4220-f20e1322 --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --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 = 00000006000000000000001C, lsn = 0/1C000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000006000000000000001C:00000006000000000000001D", - "P00 INFO: new backup label = 20240122-112744F", + "P00 INFO: new backup label = 20240320-210752F", "P00 INFO: full backup size = 31.1MB, file total = 1287", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=4372-f4730fbd --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.51: --exec-id=4220-f20e1322 --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" ] } }, @@ -9836,7 +9852,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.50: --exec-id=4597-374b5e6e --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=4 --repo=4 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --repo1-bundle --repo4-bundle --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-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 --repo4-sftp-host=sftp-server --repo4-sftp-host-key-hash-type=sha1 --repo4-sftp-host-user=pgbackrest --repo4-sftp-private-key-file=/var/lib/pgsql/.ssh/id_rsa_sftp --repo4-sftp-public-key-file=/var/lib/pgsql/.ssh/id_rsa_sftp.pub --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --stanza=demo --start-fast", + "P00 INFO: backup command begin 2.51: --exec-id=4444-af89d79d --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=4 --repo=4 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-block --repo1-bundle --repo4-bundle --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-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 --repo4-sftp-host=sftp-server --repo4-sftp-host-key-hash-type=sha1 --repo4-sftp-host-user=pgbackrest --repo4-sftp-private-key-file=/var/lib/pgsql/.ssh/id_rsa_sftp --repo4-sftp-public-key-file=/var/lib/pgsql/.ssh/id_rsa_sftp.pub --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --stanza=demo --start-fast", "P00 WARN: option 'repo4-retention-full' is not set for 'repo4-retention-full-type=count', the repository may run out of space", " HINT: to retain full backups indefinitely (without warning), set option 'repo4-retention-full' to the maximum.", "P00 WARN: no prior backup exists, incr backup has been changed to full", @@ -9844,10 +9860,10 @@ "P00 INFO: backup start archive = 00000006000000000000001F, lsn = 0/1F000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000006000000000000001F:00000006000000000000001F", - "P00 INFO: new backup label = 20240122-112752F", + "P00 INFO: new backup label = 20240320-210759F", "P00 INFO: full backup size = 31.1MB, file total = 1287", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.50: --exec-id=4597-374b5e6e --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=4 --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 --repo4-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 --repo4-sftp-host=sftp-server --repo4-sftp-host-key-hash-type=sha1 --repo4-sftp-host-user=pgbackrest --repo4-sftp-private-key-file=/var/lib/pgsql/.ssh/id_rsa_sftp --repo4-sftp-public-key-file=/var/lib/pgsql/.ssh/id_rsa_sftp.pub --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --stanza=demo", + "P00 INFO: expire command begin 2.51: --exec-id=4444-af89d79d --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo=4 --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 --repo4-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 --repo4-sftp-host=sftp-server --repo4-sftp-host-key-hash-type=sha1 --repo4-sftp-host-user=pgbackrest --repo4-sftp-private-key-file=/var/lib/pgsql/.ssh/id_rsa_sftp --repo4-sftp-public-key-file=/var/lib/pgsql/.ssh/id_rsa_sftp.pub --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --stanza=demo", "P00 INFO: expire command end: completed successfully" ] } @@ -9982,7 +9998,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.50/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.51/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -10758,14 +10774,14 @@ " db (current)", " wal archive min/max (12): 000000070000000000000025/000000070000000000000027", "", - " full backup: 20240122-112856F", - " timestamp start/stop: 2024-01-22 11:28:56+00 / 2024-01-22 11:29:00+00", + " full backup: 20240320-210830F", + " timestamp start/stop: 2024-03-20 21:08:30+00 / 2024-03-20 21:08:34+00", " wal start/stop: 000000070000000000000025 / 000000070000000000000025", " database size: 31.1MB, database backup size: 31.1MB", " repo1: backup set size: 3.7MB, backup size: 3.7MB", "", - " full backup: 20240122-112901F", - " timestamp start/stop: 2024-01-22 11:29:01+00 / 2024-01-22 11:29:04+00", + " full backup: 20240320-210835F", + " timestamp start/stop: 2024-03-20 21:08:35+00 / 2024-03-20 21:08:38+00", " wal start/stop: 000000070000000000000026 / 000000070000000000000027", " database size: 31.1MB, database backup size: 31.1MB", " repo1: backup set size: 3.7MB, backup size: 3.7MB" @@ -10930,7 +10946,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.50/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.51/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -11286,21 +11302,21 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:26:41", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:06:46", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:27:09", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:07:16", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:27:30", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:07:38", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-01-22 11:28:53 # recovery_target_time = '2024-01-22 11:27:22.227395+00'", - "# Removed by pgBackRest restore on 2024-01-22 11:28:53 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2024-03-20 21:08:27 # recovery_target_time = '2024-03-20 21:07:29.317767+00'", + "# Removed by pgBackRest restore on 2024-03-20 21:08:27 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:28:53", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:08:27", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:29:50", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:08:51", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] } @@ -11415,7 +11431,7 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2024-01-22 11:29:01 UTC", + "LOG: database system was interrupted; last known up at 2024-03-20 21:08:35 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000007.history\" from archive", "LOG: restored log file \"000000070000000000000026\" from archive", @@ -11503,7 +11519,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/28021810 | 2024-01-22 11:29:55.293386+00", + " 0/280217D8 | 2024-03-20 21:08:55.448036+00", "(1 row)" ] } @@ -11532,7 +11548,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-01-22 11:29:57.623771+00", + " Important Data | 2024-03-20 21:08:57.932964+00", "(1 row)" ] } @@ -11558,7 +11574,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=1414-fab720ef --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --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: check command begin 2.51: --exec-id=1289-ae55e99f --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --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: check repo1 (standby)", "P00 INFO: switch wal not performed because this is a standby", "P00 INFO: check command end: completed successfully" @@ -11717,21 +11733,21 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:26:41", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:06:46", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:27:09", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:07:16", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:27:30", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:07:38", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-01-22 11:28:53 # recovery_target_time = '2024-01-22 11:27:22.227395+00'", - "# Removed by pgBackRest restore on 2024-01-22 11:28:53 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2024-03-20 21:08:27 # recovery_target_time = '2024-03-20 21:07:29.317767+00'", + "# Removed by pgBackRest restore on 2024-03-20 21:08:27 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:28:53", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:08:27", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-01-22 11:30:00", + "# Recovery settings generated by pgBackRest restore on 2024-03-20 21:09:00", "primary_conninfo = 'host=172.17.0.6 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] @@ -11854,7 +11870,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-01-22 11:30:03.985385+00", + " Important Data | 2024-03-20 21:09:04.220613+00", "(1 row)" ] } @@ -11883,7 +11899,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-01-22 11:30:04.215945+00", + " Important Data | 2024-03-20 21:09:04.430511+00", "(1 row)" ] } @@ -11920,7 +11936,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.50/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.51/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-alt", @@ -12399,7 +12415,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.50: --exec-id=1009-2898f31e --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --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-alt", + "P00 INFO: stanza-create command begin 2.51: --exec-id=848-89eeb550 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --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-alt", "P00 INFO: stanza-create for stanza 'demo-alt' on repo1", "P00 INFO: stanza-create command end: completed successfully" ] @@ -12426,11 +12442,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=1037-bba7a982 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --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", + "P00 INFO: check command begin 2.51: --exec-id=876-3779c874 --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --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", "P00 INFO: check stanza 'demo-alt'", "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-alt/12-1/0000000100000000/000000010000000000000001-1c0221ca93ab5ce4640adc59e6be081258b500f2.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/12-1/0000000100000000/000000010000000000000001-a161ad3854eb1398bc559bcbad31ec5804ff8a0e.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -12456,15 +12472,15 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=1389-af36ac2e --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-path=/var/lib/pgbackrest", + "P00 INFO: check command begin 2.51: --exec-id=1236-4e98cadc --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-path=/var/lib/pgbackrest", "P00 INFO: check stanza 'demo'", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 000000070000000000000029 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000700000000/000000070000000000000029-426dcee358af1dcc18a819e2a8a44588145026ee.gz' on repo1", + "P00 INFO: WAL segment 000000070000000000000029 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000700000000/000000070000000000000029-9731dc63334f04b604c18b4169f3bd2ac698462f.gz' on repo1", "P00 INFO: check stanza 'demo-alt'", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 000000010000000000000002 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/12-1/0000000100000000/000000010000000000000002-4c2cd08684aac7d1b705199756c4e710f5acd0f9.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000002 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/12-1/0000000100000000/000000010000000000000002-baabc00c9fe06e86ac5fe0d6c591362c0ee0eafc.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -12713,10 +12729,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.50: --exec-id=5658-f863002b --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --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: check command begin 2.51: --exec-id=5506-c03e5a0f --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --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: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 00000007000000000000002F successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000700000000/00000007000000000000002F-09ffcd274e6ba6cead439d5f37bfd9cb1cac0eff.gz' on repo1", + "P00 INFO: WAL segment 00000007000000000000002F successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000700000000/00000007000000000000002F-1be413a5dccc946080bf9936efe8396cc838d0ad.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -12743,24 +12759,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.50: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5627-61a6b33a --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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.51: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5474-ebdcd94c --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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: 00000007000000000000002A", "P01 DETAIL: pushed WAL file '00000007000000000000002A' 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.50: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5659-c687e9a5 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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.51: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5508-78eab1ef --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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: 00000007000000000000002B...00000007000000000000002E", - "P01 DETAIL: pushed WAL file '00000007000000000000002B' to the archive", "P02 DETAIL: pushed WAL file '00000007000000000000002C' to the archive", - "P01 DETAIL: pushed WAL file '00000007000000000000002D' to the archive", - "P02 DETAIL: pushed WAL file '00000007000000000000002E' to the archive", + "P01 DETAIL: pushed WAL file '00000007000000000000002B' to the archive", + "P01 DETAIL: pushed WAL file '00000007000000000000002E' to the archive", + "P02 DETAIL: pushed WAL file '00000007000000000000002D' 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.50: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5668-5efbd101 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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.51: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5516-74267498 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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: 00000007000000000000002F", "P01 DETAIL: pushed WAL file '00000007000000000000002F' to the archive", "P00 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", @@ -12803,7 +12819,7 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.50: [000000070000000000000026, 000000070000000000000027, 000000070000000000000028, 000000070000000000000029, 00000007000000000000002A, 00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D] --archive-async --exec-id=1973-a1d370c7 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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.51: [000000070000000000000026, 000000070000000000000027, 000000070000000000000028, 000000070000000000000029, 00000007000000000000002A, 00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D] --archive-async --exec-id=1846-0f262ffe --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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: 000000070000000000000026...00000007000000000000002D", "P01 DETAIL: found 000000070000000000000026 in the repo1: 12-1 archive", "P02 DETAIL: found 000000070000000000000027 in the repo1: 12-1 archive", @@ -12811,15 +12827,15 @@ "P01 DETAIL: found 000000070000000000000028 in the repo1: 12-1 archive", "P00 DETAIL: unable to find 00000007000000000000002A 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.50: [00000007000000000000002A, 00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D, 00000007000000000000002E, 00000007000000000000002F, 000000070000000000000030, 000000070000000000000031] --archive-async --exec-id=2030-5e19e29e --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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", + " [filtered 31 lines of output]", + "P00 INFO: archive-get:async command begin 2.51: [00000007000000000000002A, 00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D, 00000007000000000000002E, 00000007000000000000002F, 000000070000000000000030, 000000070000000000000031] --archive-async --exec-id=1905-2de2c0e3 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/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: 00000007000000000000002A...000000070000000000000031", - "P01 DETAIL: found 00000007000000000000002A in the repo1: 12-1 archive", "P02 DETAIL: found 00000007000000000000002B in the repo1: 12-1 archive", - "P01 DETAIL: found 00000007000000000000002C in the repo1: 12-1 archive", - "P02 DETAIL: found 00000007000000000000002D in the repo1: 12-1 archive", - "P01 DETAIL: found 00000007000000000000002E in the repo1: 12-1 archive", - "P02 DETAIL: found 00000007000000000000002F in the repo1: 12-1 archive", + "P01 DETAIL: found 00000007000000000000002A in the repo1: 12-1 archive", + "P02 DETAIL: found 00000007000000000000002C in the repo1: 12-1 archive", + "P01 DETAIL: found 00000007000000000000002D in the repo1: 12-1 archive", + "P02 DETAIL: found 00000007000000000000002E in the repo1: 12-1 archive", + "P01 DETAIL: found 00000007000000000000002F in the repo1: 12-1 archive", "P00 DETAIL: unable to find 000000070000000000000030 in the archive", "P00 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", " [filtered 14 lines of output]" @@ -12942,18 +12958,15 @@ "P00 INFO: wait for replay on the standby to reach 0/31000028", "P00 INFO: replay on the standby reached 0/31000028", "P00 INFO: check archive for prior segment 000000070000000000000030", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/global/pg_control (8KB, 0.34%) checksum 550f9365d90f4f22715e9a2b12ab098d098ea493", - "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/2608 (456KB, 19.77%) checksum fdf79152d7ad43993fd0e95f3ab99230b5456da9", - "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/1249 (440KB, 38.52%) checksum 80fa69c6255667377f0514d4931db96c0d023b6c", - "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/2674 (344KB, 53.18%) checksum 82b8cc51aae38a0a0b387a92a9bb094029a58456", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/log/postgresql.log (6.0KB, 53.44%) checksum 900734105dbe40809c7904eac094a6ade2860add", - "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/1259 (104KB, 57.87%) checksum 9d6b542f524b4c835d615bd04394109ad7b7b398", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/pg_hba.conf (4.5KB, 58.06%) checksum 65e54ae24bda87b2542351cb16a7fecc7e5aceeb", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/current_logfiles (26B, 58.06%) checksum 78a9f5c10960f0d91fcd313937469824861795a2", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/pg_logical/replorigin_checkpoint (8B, 58.06%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/2673 (280KB, 69.99%) checksum 0290fc248af25eba170d503489998773c3b2ccf9", - "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/2658 (128KB, 75.45%) checksum 32f26dbda344bde2d4fb0878b695c72bfafa3d7a", - " [filtered 1293 lines of output]" + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/global/pg_control (8KB, 0.34%) checksum be3626e17470417c9e2522e428bcd859a454db71", + "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/2608 (456KB, 19.77%) checksum b8a6e41d5dad306781c877be0fc6ade524b9d171", + "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/1249 (440KB, 38.52%) checksum 58b34f74f7c66922e3b8de566b8b4aeebb9c8775", + "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/2674 (344KB, 53.18%) checksum 437be9641d5181d251265527b64bd243fd1e4f5f", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/log/postgresql.log (6.0KB, 53.44%) checksum 98a718c1e70728610eb85a159e284a30f7619c3e", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/pg_hba.conf (4.5KB, 53.63%) checksum 65e54ae24bda87b2542351cb16a7fecc7e5aceeb", + "P01 DETAIL: match file from prior backup pg-primary:/var/lib/pgsql/12/data/current_logfiles (26B, 53.63%) checksum 78a9f5c10960f0d91fcd313937469824861795a2", + "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/1259 (104KB, 58.06%) checksum 6aa134e928bdf36cb818005b04bacd2f2acc93b9", + " [filtered 1298 lines of output]" ] } }, @@ -13259,7 +13272,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.50: --exec-id=6173-47768cdd --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/pgsql/13/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.51: --exec-id=6021-d2bfba9d --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --no-online --pg1-path=/var/lib/pgsql/13/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" ] @@ -13359,7 +13372,7 @@ "output" : [ "P00 WARN: unable to check pg2: [DbConnectError] raised from remote-0 tls protocol on 'pg-standby': unable to connect to 'dbname='postgres' port=5432': could not connect to server: No such file or directory", " \tIs the server running locally and accepting", - " \tconnections on Unix domain socket \"/var/run/postgresql/.s.PGSQL.5432\"?" + " \tconnections on Unix domain socket \"/run/postgresql/.s.PGSQL.5432\"?" ] } }, diff --git a/doc/resource/git-history.cache b/doc/resource/git-history.cache index 77578be1f..f7ce3f4b7 100644 --- a/doc/resource/git-history.cache +++ b/doc/resource/git-history.cache @@ -1,4 +1,208 @@ [ + { + "commit": "76956e71cfa3044867213bd65a6f22e96120c108", + "date": "2024-03-20 09:05:39 +1300", + "subject": "Fix progress logging when file size changes during backup.", + "body": "If the file size changed during backup then the progress percentage in the log would not be accurate.\r\n\r\nFix this by using the original size to increment the progress since progress total was calculated from original file sizes." + }, + { + "commit": "de55902fb3f92758c4784e6fc06a69466e656ec3", + "date": "2024-03-13 12:06:23 +1300", + "subject": "Redact secure options in check --report.", + "body": "For this to be practically useful secure options must be redacted. Otherwise, no user is likely to share the report.\n\nSince this feature is still internal, there is no real world impact." + }, + { + "commit": "ff47450402fde5ebc64a08d31791551bee52200e", + "date": "2024-03-12 12:41:58 +1300", + "subject": "Update resume functionality for block incremental.", + "body": "Resume was not updated for block incremental so block incremental files were always removed during a resume. Resume worked but was very inefficient with block incremental enabled.\r\n\r\nUpdate resume to preserve block incremental files and add tests." + }, + { + "commit": "e634fd85cedc1ae3aef7c4fa2556d7d73d05cb8a", + "date": "2024-03-10 17:08:42 +1300", + "subject": "Prevent invalid recovery when backup_label removed.", + "body": "If backup_label is removed from a restored backup then PostgreSQL will instead use checkpoint information from pg_control to attempt (what is thinks is) crash recovery. This will nearly always result in a corrupt cluster because the checkpoint will not be from the beginning of the backup, and even if it is, the end point will not be specified, which could lead to recovery stopping too early.\r\n\r\nTo prevent this, invalidate the checkpoint LSN in pg_control on restore. If backup_label is removed then recovery will still fail because PostgreSQL will not be able to find the invalid checkpoint. The LSN of the checkpoint is not logged but it will be visible in pg_controldata output as 0/DEAD. This value is invalid because PostgreSQL always skips the first WAL segment when initializing a cluster." + }, + { + "commit": "960b43589d422a3757535b585e31da03a595ae97", + "date": "2024-03-10 16:17:50 +1300", + "subject": "Add validation for WAL segment size in pg_control.", + "body": "This serves as an additional sanity check to be sure the pg_control format is as expected. The field is useful for being near the end and containing a limited number of discrete values." + }, + { + "commit": "63541b2273360c8c3f181fe0242bd20afb845715", + "date": "2024-03-10 15:50:10 +1300", + "subject": "Add validation for page checksum version in pg_control.", + "body": "This serves as an additional sanity check to be sure the pg_control format is as expected. The field is useful for being all the way at the end and being four bytes that can only have one of two values. Something more distinctive than 0 and 1 would be better, but this is what we have to work with.\n\nConvert PgControl.pageChecksum to unsigned int and rename to PgControl.pageChecksumVersion and make all downstream changes required for the new datatype." + }, + { + "commit": "7448fde157c6d22f57b90c0cef11957b0aadf4b3", + "date": "2024-03-10 11:36:39 +1300", + "subject": "Improved support for dual stack connections.", + "body": "Connections are established using the \"happy eyeballs\" approach from RFC 8305, i.e. new addresses (if available) are tried if the prior address has already had a reasonable time to connect. This prevents waiting too long on a failed connection but does not try all the addresses at once. Prior connections that are still waiting are rechecked periodically if no subsequent connection is successful.\r\n\r\nThis improves substantially on 39bb8a0, which failed to take into account connection attempts that do not fail (but never connect) and use up all the available time." + }, + { + "commit": "f287178b705cc90aa887d66c932e2a223029649b", + "date": "2024-03-10 11:09:13 +1300", + "subject": "Set function/variable visibility to hidden.", + "body": "This saves about 16KiB in the binary and reduces exported symbols by about 75%. All variables are still exported and any functions that are referenced by their pointers or extern'd but never used outside the module where they are defined.\r\n\r\nIn addition to modest space savings, this should also increase performance a bit since the compiler can simplify calls to these functions and load the binary should also be a little faster.\r\n\r\nThe GCC documentation does not make it clear that visibility can be used with variables, but it certainly makes a difference in the binary size, so something is happening. Other sources on the internet suggest that visibility can be used with variables. Clearly exports are not affected, but there may be some other optimization happening." + }, + { + "commit": "e3d9df3ae9669ee5749b970d59f8afeb20fd3d9d", + "date": "2024-03-10 10:53:31 +1300", + "subject": "Make meson the primary build system.", + "body": "Meson has a lot of advantages over autoconf/make, primarily in ease-of-use and performance. Make meson the only build system used for testing and building the Debian documentation, but leave the RHEL documentation using autoconf/make for now so it gets some testing." + }, + { + "commit": "c64cd8e01958c3316049d73f403241c136bcf392", + "date": "2024-03-10 10:43:24 +1300", + "subject": "Disable arm64 test in CirrusCI.", + "body": "There seems to be a shortage of arm64 hosts because queue times have been steadily increasing over the last few weeks. It can now take several hours to get an arm64 test queued, which makes it difficult to get development done.\n\nDisable for the time being and hope the resource issue gets resolved in the future." + }, + { + "commit": "eda7706f53e925a701f85894ab3d8e861e5fcf06", + "date": "2024-03-10 09:40:13 +1300", + "subject": "Make valgrind libssh2 leak check less specific.", + "body": "The leak kind is usually definite but sometimes flaps to possible. For stability purposes accept any leak kind.\n\nNote that this is a leak in a specific version of libssh2 and not a bug in pgBackRest." + }, + { + "commit": "dddcbcd8e9a1cae578b0cc5bb2d1aa768330f3c5", + "date": "2024-03-10 09:32:55 +1300", + "subject": "Limit resume functionality to full backups.", + "body": "Resume does not work correctly with delta diff/incr backups because the presence of a reference causes it to remove the file with the idea that it can just be referenced again. This is true for timestamp-based backups but for deltas all existing files need to be rechecked (which requires a reference).\r\n\r\nThis is fixable but not without significant effort and new tests and it calls into question the usefulness of non-full resumes. For diff/incr, if the file was changed since the prior backup there is a good chance it will be modified again before the resume occurs.\r\n\r\nIn order to keep this feature as useful as possible for the most valuable case, limit resumes to full backups." + }, + { + "commit": "9d91d1b2f817b543fc8d970af56d1442c325ed7c", + "date": "2024-03-08 15:07:43 +1300", + "subject": "Detect files that have not changed during non-delta incremental backup.", + "body": "02eea55 added code to load a buffer of data from a file being backup up to detect files that have been truncated to zero after manifest generation. This mechanism can also be used to detect files that have not changed since the prior backup.\r\n\r\nIf the result of the file copy fits into a single buffer, then the size and checksum can be compared to the prior file before anything gets stored. If the file matches then it is referenced to the file in to prior backup.\r\n\r\nThe size that can be compared for normal copies is limited by the buffer size but for block incremental it works with any size file since there is no output from block incremental when the file is identical." + }, + { + "commit": "cf17515e409440eecfb04bf7186790d8baa8ab12", + "date": "2024-03-08 12:34:11 +1300", + "subject": "Improve archive-push WAL segment queue handling.", + "body": "Infer the size of all WAL segments from the size of the first segment rather than getting info for all segments (up to queue size). If the segments are not the same size then there are larger issues than the WAL queue." + }, + { + "commit": "4387250f2e159dc4f762ed4a7f4180eb81db3717", + "date": "2024-03-08 10:07:03 +1300", + "subject": "Improve sort comparators.", + "body": "Improve sort comparators to use branchless comparisons when possible and avoid using subtraction. Only one comparator was using subtraction and it appears there was no overflow risk since the values were pretty small.\r\n\r\nInspired by https://www.postgresql.org/message-id/CA%2B14426g2Wa9QuUpmakwPxXFWG_1FaY0AsApkvcTBy-YfS6uaw%40mail.gmail.com." + }, + { + "commit": "e00bfe2d2c3f124b2883e3c2d169a2ce506a1e98", + "date": "2024-03-08 09:50:20 +1300", + "subject": "Fix performance regression in storage list.", + "body": "storageListP() returns a list of entries in a path and should not need to stat/head, etc. in order to get more detailed info. This was broken by 75623d4 which failed to set the level correctly.\r\n\r\nSet the correct level and update tests.\r\n\r\nThere's no easy way to directly test for a regression here but the SFTP tests will fail if more detailed info is requested since it would require script changes." + }, + { + "commit": "794c5771305bfce6298ee529df682d3a873f6f7d", + "date": "2024-03-06 11:00:09 +1300", + "subject": "Migrate integration tests to C.", + "body": "The Perl integration tests were migrated as faithfully as possible, but there was some cruft and a few unit tests that it did not make sense to migrate.\n\nAlso remove all Perl code made obsolete by this migration.\n\nAll unit, performance, and integration tests are now written in C but significant parts of the test harness remain to be migrated." + }, + { + "commit": "7f1bb3a051077d8af2bcadfb261c873b1bdcea9f", + "date": "2024-03-05 17:45:25 +1300", + "subject": "Remove obsolete valgrind suppression." + }, + { + "commit": "cb58bdc9752e720687e594fa953e1b4a93b8defe", + "date": "2024-03-04 18:57:19 +1300", + "subject": "Move assert in cmdServerSigChild().", + "body": "It is possible for the server to receive notifications for children that were not spawned by it, e.g. when running as the root process of a container.\n\nOnly assert when the child process is found in our process list. Otherwise, the code may be something unexpected.\n\nSince this is an assert there should not be any real world consequences either way, but the issue has caused problems in testing." + }, + { + "commit": "07051347fb8723ef1c6f951b17bcddb8fa0d8fcf", + "date": "2024-03-04 18:14:41 +1300", + "subject": "Update Cirrus CI BSD image to 13.3." + }, + { + "commit": "f7a7ab16c9652179945717ebf9b68af3aa8a0b0e", + "date": "2024-03-02 12:29:10 +1300", + "subject": "Skip zero-length files for block incremental delta restore.", + "body": "a42614e introduced the capability to preserve smaller than expected files for block incremental restore delta, but failed to take into account that zero-length files are both useless and cause the block checksum filter to error.\r\n\r\nFix this by skipping zero-length files during block incremental restore delta." + }, + { + "commit": "6c45b57fa8eef0f570abb1ac216ac43e0acf314a", + "date": "2024-02-24 11:22:48 +1300", + "subject": "Add execOne() to simplify exec for build, documentation, and testing.", + "body": "The core Exec object is efficient but geared toward the specific needs of core and not ease-of-use as required for build, documentation, and testing.\n\nexecOne() works similarly to system() except that it automatically redirects stderr to stdout and captures the output." + }, + { + "commit": "6356a2b76c8f22dc0b3e1a0349b7f1f0cf1b65ae", + "date": "2024-02-17 19:16:39 +1300", + "subject": "Disable log expect testing for non-unit tests.", + "body": "This has never been a problem for performance tests since they do not call functions that log at info level or above, but the upcoming integration tests may do so. In any case it is better to disable this functionality outside of unit tests." + }, + { + "commit": "d41b21c8f70aa6ce7a39aeaddbbacafda51c609d", + "date": "2024-02-17 10:52:37 +1300", + "subject": "Remove mock integration tests.", + "body": "These tests have not been maintained for several years, i.e. no tests for new features have been added. They are highly duplicative of the unit tests but do have the advantage of mixing in different storage drivers. They were allowed to remain because they were not doing any harm even if they were probably not doing any good.\n\nHowever, the real integration tests (that run directly against PostgreSQL) also test storage drivers and have been updated with new features over time. The real integration tests are now being migrated to C and as part of that effort the mock integration tests need to be removed or migrated, and they do not provide enough value to migrate.\n\nRemove all mock integration tests and a leftover Perl performance test." + }, + { + "commit": "68351785f6816a23526900db595557cf6e3a0056", + "date": "2024-02-16 11:37:31 +1300", + "subject": "Update references to recovery.conf.", + "body": "Update references to recovery.conf to include postgresql.auto.conf used in newer versions.\r\n\r\nAlso update a broken recovery URL and point it to the current version (with a hint to select the proper version of PostgreSQL)." + }, + { + "commit": "273d5050f8bd74869408d9570a35761ba5de75f1", + "date": "2024-02-07 11:01:55 -0300", + "subject": "Add asserts to default switch cases in common/type/variant module.", + "body": "This matches how switch is used in other parts of the code and prevents invalid values from being processed normally." + }, + { + "commit": "ad8e92a9ac23a0123a080dafe6b83f0b71a22441", + "date": "2024-02-05 10:10:59 -0300", + "subject": "Remove unneeded backupTimeStart parameter from testBackupValidate().", + "body": "5ce8b9df added this parameter, but it is better to get the value from the manifest, which is already present." + }, + { + "commit": "45f070aa9a221c6f862ff6ccb4ff011bfa6c3888", + "date": "2024-01-25 10:41:20 -0300", + "subject": "Add release instructions to update PostgreSQL ecosystem wiki." + }, + { + "commit": "5ce8b9dfae984a9a40c44282a59936da5c3dfbd9", + "date": "2024-01-24 14:54:28 -0300", + "subject": "Simplify output in command/backup unit tests.", + "body": "The output combined a representation of the files/paths/links in the manifest along with output of what was validated on disk. This was redundant and made maintenance of the tests difficult, especially with all the quoting in the manifest output (which also made it hard to search for output).\n\nInstead use primarily the output created during validation and add fields from the manifest that were missing. Exclude paths from the output when there are files in the path since the path is then implied.\n\nOne major change here is that checksums are no longer output. This makes it easier to write tests that work on multiple architectures and all checksums are already verified during validation." + }, + { + "commit": "1a0cc96c5a58cea2a21b8754909c6a2b824c3f9e", + "date": "2024-01-23 09:56:26 -0300", + "subject": "Migrate man page generation to C." + }, + { + "commit": "676700d8ca6f2e0e0ab8123aa9606c8ec7aa81ae", + "date": "2024-01-22 14:17:09 -0300", + "subject": "Add detailed backtrace to autoconf/make build.", + "body": "c8264291 added libbacktrace to the meson build (not used in production yet), but held off on adding it to autoconf/make before more performance testing was done.\r\n\r\nPerformance tests show there is no noticeable cost to adding libbacktrace, so add it to get more detail error stack traces." + }, + { + "commit": "0aaa0772f56d59178518377b33b3e3d02f0f5483", + "date": "2024-01-22 12:33:40 -0300", + "subject": "Fix help not displaying help for the help command.", + "body": "'pgbackrest help help' just displayed the help overview, rather than display help for the help command.\n\nFix this by making sure the command is set and routing correctly in the help command." + }, + { + "commit": "68db3075d7ac4a48377967ad54e45b95b9ee6c61", + "date": "2024-01-22 12:00:13 -0300", + "subject": "Allow --version and --help for version and help.", + "body": "It is a bit confusing that --help and --version do not work like most command-line programs. For example, git allows either --help or help.\r\n\r\nMake these work by making them shortcuts (not actual options) to the applicable commands.\r\n\r\nThe user will still need to use help (not --help) to get help on specific commands/options, but at least they can get to the main help (which will tell them this) via --help." + }, + { + "commit": "db5bcff3b443833dce6ba0f10ce4293d65f0f436", + "date": "2024-01-22 10:11:48 -0300", + "subject": "Update config.guess and config.sub to latest versions." + }, + { + "commit": "c618fd3b09fab8cde44ad8e5fe0cb984c1bc76d4", + "date": "2024-01-22 10:09:38 -0300", + "subject": "Begin v2.51 development." + }, { "commit": "1add35624dbf4061bcb19521022b318418b0bba5", "date": "2024-01-22 09:54:59 -0300", diff --git a/doc/xml/auto/metric-coverage-report.auto.xml b/doc/xml/auto/metric-coverage-report.auto.xml index 9ebc8a5bf..d8e99d3e4 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 - 20/20 (100.0%) - 48/48 (100.0%) - 251/251 (100.0%) + 22/22 (100.0%) + 56/56 (100.0%) + 290/290 (100.0%) @@ -57,29 +57,29 @@ command/archive/get 9/9 (100.0%) - 196/196 (100.0%) - 467/467 (100.0%) + 200/200 (100.0%) + 469/469 (100.0%) command/archive/push 12/12 (100.0%) - 132/132 (100.0%) - 410/410 (100.0%) + 130/130 (100.0%) + 407/407 (100.0%) command/backup 50/50 (100.0%) - 778/778 (100.0%) - 1878/1878 (100.0%) + 790/790 (100.0%) + 1895/1895 (100.0%) command/check 13/13 (100.0%) - 104/104 (100.0%) - 269/269 (100.0%) + 106/106 (100.0%) + 272/272 (100.0%) @@ -99,8 +99,8 @@ command/help 5/5 (100.0%) - 136/136 (100.0%) - 244/244 (100.0%) + 134/134 (100.0%) + 243/243 (100.0%) @@ -134,8 +134,8 @@ command/restore 34/34 (100.0%) - 692/692 (100.0%) - 1443/1443 (100.0%) + 696/696 (100.0%) + 1448/1448 (100.0%) @@ -161,9 +161,9 @@ common - 157/157 (100.0%) - 656/656 (100.0%) - 1993/1993 (100.0%) + 149/149 (100.0%) + 634/634 (100.0%) + 1856/1856 (100.0%) @@ -238,9 +238,9 @@ common/io/socket - 27/27 (100.0%) - 44/44 (100.0%) - 345/345 (100.0%) + 28/28 (100.0%) + 104/104 (100.0%) + 440/440 (100.0%) @@ -253,15 +253,15 @@ common/type 320/320 (100.0%) - 846/846 (100.0%) - 4136/4136 (100.0%) + 842/842 (100.0%) + 4141/4141 (100.0%) config 90/90 (100.0%) - 966/966 (100.0%) - 1859/1859 (100.0%) + 984/984 (100.0%) + 1876/1876 (100.0%) @@ -273,23 +273,23 @@ doc/src/command/build - 5/5 (100.0%) - 96/96 (100.0%) - 185/185 (100.0%) + 8/8 (100.0%) + 134/134 (100.0%) + 301/301 (100.0%) info 92/92 (100.0%) - 938/938 (100.0%) - 2495/2495 (100.0%) + 944/944 (100.0%) + 2504/2504 (100.0%) postgres - 34/34 (100.0%) - 122/122 (100.0%) - 435/435 (100.0%) + 37/37 (100.0%) + 136/136 (100.0%) + 475/475 (100.0%) @@ -364,7 +364,7 @@ TOTAL - 1645/1645 (100.0%) - 10349/10350 (99.99%) - 30973/30973 (100.0%) + 1646/1646 (100.0%) + 10485/10486 (99.99%) + 31180/31180 (100.0%) \ No newline at end of file diff --git a/doc/xml/release/2024/2.51.xml b/doc/xml/release/2024/2.51.xml index a11118771..6afae0255 100644 --- a/doc/xml/release/2024/2.51.xml +++ b/doc/xml/release/2024/2.51.xml @@ -1,4 +1,4 @@ - +

NOTE TO PACKAGERS: The build system for is now meson. The autoconf/make build will not receive any new features and will be removed after a few releases.

@@ -141,7 +141,7 @@ -

Allow --version and --help for version and help.

+

Allow --version and --help for version and help.

diff --git a/meson.build b/meson.build index 20bf84e01..4be7455d1 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project( 'pgbackrest', ['c'], - version: '2.51dev', + version: '2.51', license: 'MIT', meson_version: '>=0.45', default_options: [ diff --git a/src/build/configure.ac b/src/build/configure.ac index 78e03d7bd..91042eed8 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.51dev]) +AC_INIT([pgBackRest], [2.51]) AC_CONFIG_SRCDIR([version.h]) AC_CONFIG_AUX_DIR(build) diff --git a/src/configure b/src/configure index 958124800..34ab4ae0e 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.51dev. +# Generated by GNU Autoconf 2.71 for pgBackRest 2.51. # # # 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.51dev' -PACKAGE_STRING='pgBackRest 2.51dev' +PACKAGE_VERSION='2.51' +PACKAGE_STRING='pgBackRest 2.51' 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.51dev to adapt to many kinds of systems. +\`configure' configures pgBackRest 2.51 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.51dev:";; + short | recursive ) echo "Configuration of pgBackRest 2.51:";; 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.51dev +pgBackRest configure 2.51 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.51dev, which was +It was created by pgBackRest $as_me 2.51, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -4982,7 +4982,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.51dev, which was +This file was extended by pgBackRest $as_me 2.51, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5046,7 +5046,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.51dev +pgBackRest config.status 2.51 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" @@ -5750,4 +5750,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 e9fe59c2eda5217a0f6476af90083fafb8b24f94 +# Generated from src/build/configure.ac sha1 c8b97ed2dea966338839796abf8d1f738febe4fc diff --git a/src/version.h b/src/version.h index 04d097768..101788e42 100644 --- a/src/version.h +++ b/src/version.h @@ -33,6 +33,6 @@ will be invalid unless migration functions are written. /*********************************************************************************************************************************** Software version ***********************************************************************************************************************************/ -#define PROJECT_VERSION "2.51dev" +#define PROJECT_VERSION "2.51" #endif diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index 6f4a376c5..be5aabcd4 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -27,6 +27,14 @@ doc/lib/pgBackRestDoc/Common/Exception.pm: class: doc/core type: perl +doc/lib/pgBackRestDoc/Common/Host.pm: + class: doc/core + type: perl + +doc/lib/pgBackRestDoc/Common/HostGroup.pm: + class: doc/core + type: perl + doc/lib/pgBackRestDoc/Common/Ini.pm: class: doc/core type: perl @@ -115,6 +123,14 @@ doc/src/command/build/build.h: class: doc/core type: c/h +doc/src/command/build/man.c: + class: doc/core + type: c + +doc/src/command/build/man.h: + class: doc/core + type: c/h + doc/src/command/build/reference.c: class: doc/core type: c @@ -647,6 +663,14 @@ src/build/aclocal.m4: class: build type: make +src/build/common/exec.c: + class: build + type: c + +src/build/common/exec.h: + class: build + type: c/h + src/build/common/regExp.c: class: build type: c @@ -987,6 +1011,10 @@ src/command/expire/expire.h: class: core type: c/h +src/command/help/help.auto.c.inc: + class: core/auto + type: c + src/command/help/help.c: class: core type: c @@ -2059,6 +2087,10 @@ src/postgres/client.h: class: core type: c/h +src/postgres/interface.auto.c.inc: + class: core/auto + type: c + src/postgres/interface.c: class: core type: c @@ -2483,18 +2515,6 @@ test/lib/pgBackRestTest/Common/ExecuteTest.pm: class: test/harness type: perl -test/lib/pgBackRestTest/Common/FileTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Common/HostGroupTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Common/HostTest.pm: - class: test/harness - type: perl - test/lib/pgBackRestTest/Common/Io/Base.pm: class: test/harness type: perl @@ -2523,10 +2543,6 @@ test/lib/pgBackRestTest/Common/ListTest.pm: class: test/harness type: perl -test/lib/pgBackRestTest/Common/RunTest.pm: - class: test/harness - type: perl - test/lib/pgBackRestTest/Common/Storage.pm: class: test/harness type: perl @@ -2547,10 +2563,6 @@ test/lib/pgBackRestTest/Common/StoragePosixWrite.pm: class: test/harness type: perl -test/lib/pgBackRestTest/Common/StorageRepo.pm: - class: test/harness - type: perl - test/lib/pgBackRestTest/Common/VmTest.pm: class: test/harness type: perl @@ -2559,94 +2571,6 @@ test/lib/pgBackRestTest/Common/Wait.pm: class: test/harness type: perl -test/lib/pgBackRestTest/Env/ArchiveInfo.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/BackupInfo.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/ExpireEnvTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Host/HostAzureTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Host/HostBackupTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Host/HostBaseTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Host/HostDbCommonTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Host/HostDbSyntheticTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Host/HostDbTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Host/HostGcsTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Host/HostS3Test.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Host/HostSftpTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/HostEnvTest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/InfoCommon.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Env/Manifest.pm: - class: test/harness - type: perl - -test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm: - class: test/module - type: perl - -test/lib/pgBackRestTest/Module/Mock/MockArchiveStopTest.pm: - class: test/module - type: perl - -test/lib/pgBackRestTest/Module/Mock/MockArchiveTest.pm: - class: test/module - type: perl - -test/lib/pgBackRestTest/Module/Mock/MockExpireTest.pm: - class: test/module - type: perl - -test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm: - class: test/module - type: perl - -test/lib/pgBackRestTest/Module/Performance/PerformanceArchivePerlTest.pm: - class: test/module - type: perl - -test/lib/pgBackRestTest/Module/Real/RealAllTest.pm: - class: test/module - type: perl - test/src/build/config/config.yaml: class: test/harness type: yaml @@ -2739,6 +2663,14 @@ test/src/common/harnessFork.h: class: test/harness type: c/h +test/src/common/harnessHost.c: + class: test/harness + type: c + +test/src/common/harnessHost.h: + class: test/harness + type: c/h + test/src/common/harnessInfo.c: class: test/harness type: c @@ -3215,6 +3147,10 @@ test/src/module/info/manifestTest.c: class: test/module type: c +test/src/module/integration/allTest.c: + class: test/module + type: c + test/src/module/performance/storageTest.c: class: test/module type: c