From 6c90196e74ef0da38568f08fd7cb234d10130e79 Mon Sep 17 00:00:00 2001 From: David Steele Date: Mon, 21 Apr 2025 18:25:00 -0400 Subject: [PATCH] v2.55.0: Verification Improvements and PostgreSQL 18 Support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug Fixes: * Fix block incremental restore issue on non-default repository. (Reviewed by David Christensen, Aleksander Łukasz. Reported by Aleksander Łukasz.) * Do not set recovery_target_timeline=current for PostgreSQL < 12. (Reviewed by Stefan Fercot.) * Fix expire archive range logging. (Reviewed by Stefan Fercot. Reported by Aleš Zelený.) * Fix error reporting for queries with no results. (Reviewed by Stefan Fercot. Reported by Susantha Bathige.) Features: * Verify recovery target timeline. (Reviewed by Stefan Fercot.) * Allow verification of a specified backup. (Contributed by Maxim Michkov. Reviewed by David Steele.) * Add support for S3/GCS requester pays. (Contributed by Timothée Peignier. Reviewed by David Steele.) * PostgreSQL 18 experimental support. (Reviewed by Stefan Fercot.) * Allow connections to PostgreSQL on abstract domain sockets. (Reviewed by Chris Bandy. Suggested by Chris Bandy.) * Add numeric output to version command. (Contributed by Stefan Fercot. Reviewed by David Steele.) Improvements: * Allow backup command to operate on remote repositories. (Reviewed by Stefan Fercot.) * Use lz4 for protocol compression. (Reviewed by Stefan Fercot.) * Calculate content-md5 on S3 only when required. (Reviewed by David Christensen.) * Warn when a value for a multi-key option is overwritten. (Reviewed by David Christensen, Stefan Fercot.) * Add detail logging for expired archive path. (Contributed by Stefan Fercot. Reviewed by David Steele.) * Remove support for PostgreSQL 9.4. (Reviewed by Stefan Fercot.) * Remove autoconf/make build. (Reviewed by David Christensen.) Documentation Improvements: * Fix documentation for specifying multiple stanzas with tls-server-auth. (Reviewed by David Christensen, Stefan Fercot. Suggested by Terry MacAndrew.) * Clarify incremental backup expiration. (Reviewed by Stefan Fercot.) * Clarify requirement for local/remote pgBackRest versions to match. (Contributed by Greg Clough. Reviewed by David Steele.) * Add FAQ about exporting self-contained cluster. (Contributed by Stefan Fercot. Reviewed by David Steele.) * Caveat --tablespace-map-all regarding tablespace creation. (Reviewed by Stefan Fercot, Christophe Courtois. Suggested by Christophe Courtois.) * Clarify behavior of --repo-retention-full-type. (Reviewed by Antoine Beaupré. Suggested by Antoine Beaupré.) * Change --process-max recommendation for object stores to --repo-bundle. (Reviewed by Stefan Fercot.) * Update unix_socket_directory to unix_socket_directories. (Contributed by hyunkyu han. Reviewed by David Steele.) * Recommend not placing spool-path within pg_xlog/pg_wal. (Reviewed by Martín Marqués, Don Seiler. Suggested by Martín Marqués.) --- CONTRIBUTING.md | 17 +- README.md | 2 +- doc/RELEASE.md | 6 +- doc/resource/exe.cache | 1533 +++++++++--------- doc/resource/git-history.cache | 631 ++++++- doc/xml/auto/metric-coverage-report.auto.xml | 130 +- doc/xml/release/2025/2.55.0.xml | 16 +- meson.build | 2 +- src/version.h | 4 +- test/code-count/file-type.yaml | 26 +- 10 files changed, 1470 insertions(+), 897 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 34afa1891..139971b71 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -254,16 +254,13 @@ pgbackrest/test/test.pl --vm-out --module=common --test=wait P00 INFO: test begin on x86_64 - log level info P00 INFO: cleanup old data - P00 INFO: autogenerate configure - P00 INFO: autogenerated version in configure.ac script: no changes - P00 INFO: autogenerated configure script: no changes P00 INFO: autogenerate code 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.54.2: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --scale=1 --test-path=/home/vagrant/test --vm=none --vm-id=0 + P00 INFO: test command begin 2.55.0: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --scale=1 --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 @@ -330,9 +327,6 @@ pgbackrest/test/test.pl --module=postgres P00 INFO: test begin on x86_64 - log level info P00 INFO: cleanup old data - P00 INFO: autogenerate configure - P00 INFO: autogenerated version in configure.ac script: no changes - P00 INFO: autogenerated configure script: no changes P00 INFO: autogenerate code P00 INFO: build for none (/home/vagrant/test/build/none) P00 INFO: 2 tests selected @@ -354,8 +348,8 @@ pgbackrest/test/test.pl --vm-build --vm=u20 --- output --- P00 INFO: test begin on x86_64 - log level info - P00 INFO: Using cached pgbackrest/test:u20-base-20241016A image (711ee90bf3ea0e8bb054285193811266b9b1f2f3) ... - P00 INFO: Building pgbackrest/test:u20-test image ... + P00 INFO: Using cached pgbackrest/test:u20-base-x86_64-20250228A image (862159b4d2169a4752b106639ca0f47c1ebb1f86) ... + P00 INFO: Building pgbackrest/test:u20-test-x86_64 image ... P00 INFO: Build Complete ``` > **NOTE:** to build all the vms, just omit the `--vm` option above. @@ -368,9 +362,6 @@ pgbackrest/test/test.pl --vm=u20 --module=postgres --test=interface --run=2 P00 INFO: test begin on x86_64 - log level info P00 INFO: cleanup old data and containers - P00 INFO: autogenerate configure - P00 INFO: autogenerated version in configure.ac script: no changes - P00 INFO: autogenerated configure script: no changes P00 INFO: autogenerate code P00 INFO: clean build for u20 (/home/vagrant/test/build/u20) P00 INFO: 1 test selected @@ -497,7 +488,7 @@ HRN_FORK_BEGIN() " cipher: none\n" "\n" " db (current)\n" - " wal archive min/max (9.4): none present\n", + " wal archive min/max (9.6): none present\n", "text - single stanza, no valid backups, backup/expire lock detected"); // Notify child to release lock diff --git a/README.md b/README.md index da084e603..420959718 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.54.2](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.54.2) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.55.0](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.55.0) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. Please give us a star on [GitHub](https://github.com/pgbackrest/pgbackrest) if you like pgBackRest! diff --git a/doc/RELEASE.md b/doc/RELEASE.md index e61a1b048..748fb9f14 100644 --- a/doc/RELEASE.md +++ b/doc/RELEASE.md @@ -50,8 +50,8 @@ git push origin release-ci - Prepare Coverity build directory (update version/paths as required): ``` -mkdir scratch-coverity -tar -xvf ~/Downloads/cov-analysis-linux-arm64-2024.6.1.tar.gz --strip-components=1 -C ~/Documents/Code/pgbackrest/test/ +mkdir coverity +tar -xvf ~/Downloads/cov-analysis-linux-arm64-2024.6.1.tar.gz --strip-components=1 -C ~/coverity export COVERITY_TOKEN=? export COVERITY_EMAIL=? export COVERITY_VERSION=? @@ -61,7 +61,7 @@ export COVERITY_VERSION=? ``` rm -rf .cache/ccache && rm -rf build && rm -rf pgbackrest.tgz && rm -rf cov-int meson setup -Dwerror=true -Dfatal-errors=true -Dbuildtype=debug build pgbackrest -pgbackrest/test/scratch-coverity/bin/cov-build --dir cov-int ninja -C build +coverity/bin/cov-build --dir cov-int ninja -C build tar czvf pgbackrest.tgz cov-int ``` diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index f9c90e319..54c150e4a 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -150,16 +150,13 @@ "output" : [ "P00 INFO: test begin on x86_64 - log level info", "P00 INFO: cleanup old data", - "P00 INFO: autogenerate configure", - "P00 INFO: autogenerated version in configure.ac script: no changes", - "P00 INFO: autogenerated configure script: no changes", "P00 INFO: autogenerate code", "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.54.0: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --scale=1 --test-path=/home/vagrant/test --vm=none --vm-id=0", + " P00 INFO: test command begin 2.55.0: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --scale=1 --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", @@ -234,9 +231,6 @@ "output" : [ "P00 INFO: test begin on x86_64 - log level info", "P00 INFO: cleanup old data", - "P00 INFO: autogenerate configure", - "P00 INFO: autogenerated version in configure.ac script: no changes", - "P00 INFO: autogenerated configure script: no changes", "P00 INFO: autogenerate code", "P00 INFO: build for none (/home/vagrant/test/build/none)", "P00 INFO: 2 tests selected", @@ -264,8 +258,8 @@ "value" : { "output" : [ "P00 INFO: test begin on x86_64 - log level info", - "P00 INFO: Using cached pgbackrest/test:u20-base-20241016A image (711ee90bf3ea0e8bb054285193811266b9b1f2f3) ...", - "P00 INFO: Building pgbackrest/test:u20-test image ...", + "P00 INFO: Using cached pgbackrest/test:u20-base-x86_64-20250228A image (862159b4d2169a4752b106639ca0f47c1ebb1f86) ...", + "P00 INFO: Building pgbackrest/test:u20-test-x86_64 image ...", "P00 INFO: Build Complete" ] } @@ -287,9 +281,6 @@ "output" : [ "P00 INFO: test begin on x86_64 - log level info", "P00 INFO: cleanup old data and containers", - "P00 INFO: autogenerate configure", - "P00 INFO: autogenerated version in configure.ac script: no changes", - "P00 INFO: autogenerated configure script: no changes", "P00 INFO: autogenerate code", "P00 INFO: clean build for u20 (/home/vagrant/test/build/u20)", "P00 INFO: 1 test selected", @@ -319,7 +310,7 @@ { "key" : { "id" : "s3", - "image" : "minio/minio:RELEASE.2024-07-15T19-02-30Z", + "image" : "minio/minio", "name" : "s3-server", "option" : "-v {[host-repo-path]}/doc/resource/fake-cert/s3-server.crt:/root/.minio/certs/public.crt:ro -v {[host-repo-path]}/doc/resource/fake-cert/s3-server.key:/root/.minio/certs/private.key:ro -e MINIO_REGION=us-east-1 -e MINIO_DOMAIN=s3.us-east-1.amazonaws.com -e MINIO_BROWSER=off -e MINIO_ACCESS_KEY=accessKey1 -e MINIO_SECRET_KEY=verySecretKey1", "os" : "debian", @@ -361,7 +352,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.54.0" + "sudo mkdir -p /build/pgbackrest-release-2.55.0" ], "host" : "build", "load-env" : true, @@ -374,7 +365,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.54.0" + "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.55.0" ], "host" : "build", "load-env" : true, @@ -428,7 +419,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "meson setup /build/pgbackrest /build/pgbackrest-release-2.54.0" + "meson setup /build/pgbackrest /build/pgbackrest-release-2.55.0" ], "host" : "build", "load-env" : true, @@ -610,7 +601,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.54.0 - General help", + "pgBackRest 2.55.0 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -634,7 +625,7 @@ " stanza-upgrade upgrade a stanza", " start allow pgBackRest processes to run", " stop stop pgBackRest processes from running", - " verify verify contents of the repository", + " verify verify contents of a repository", " version get version", "", "Use 'pgbackrest help [command]' for more information." @@ -645,8 +636,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres /usr/lib/postgresql/15/bin/initdb \\", - " -D /var/lib/postgresql/15/demo -k -A peer" + "sudo -u postgres /usr/lib/postgresql/16/bin/initdb \\", + " -D /var/lib/postgresql/16/demo -k -A peer" ], "host" : "pg-primary", "load-env" : true, @@ -659,7 +650,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_createcluster 15 demo" + "sudo pg_createcluster 16 demo" ], "host" : "pg-primary", "load-env" : true, @@ -669,9 +660,9 @@ "type" : "exe", "value" : { "output" : [ - "Configuring already existing cluster (configuration: /etc/postgresql/15/demo, data: /var/lib/postgresql/15/demo, owner: 102:103)", + "Configuring already existing cluster (configuration: /etc/postgresql/16/demo, data: /var/lib/postgresql/16/demo, owner: 102:103)", "Ver Cluster Port Status Owner Data directory Log file", - "15 demo 5432 down postgres /var/lib/postgresql/15/demo /var/log/postgresql/postgresql-15-demo.log" + "16 demo 5432 down postgres /var/lib/postgresql/16/demo /var/log/postgresql/postgresql-16-demo.log" ] } }, @@ -679,7 +670,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /etc/postgresql/15/demo/postgresql.conf" + "cat /root/postgresql.common.conf >> /etc/postgresql/16/demo/postgresql.conf" ], "host" : "pg-primary", "load-env" : true, @@ -695,7 +686,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/postgresql/15/demo" + "value" : "/var/lib/postgresql/16/demo" } }, "global" : { @@ -709,7 +700,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo" + "pg1-path=/var/lib/postgresql/16/demo" ] } }, @@ -736,7 +727,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.54.0 - 'backup' command - 'log-path' option help", + "pgBackRest 2.55.0 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -803,7 +794,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-path=/var/lib/pgbackrest" @@ -812,7 +803,7 @@ }, { "key" : { - "file" : "/etc/postgresql/15/demo/postgresql.conf", + "file" : "/etc/postgresql/16/demo/postgresql.conf", "host" : "pg-primary", "option" : { "archive_command" : { @@ -843,7 +834,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo restart" + "sudo pg_ctlcluster 16 demo restart" ], "host" : "pg-primary", "load-env" : true, @@ -906,7 +897,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-path=/var/lib/pgbackrest", @@ -932,7 +923,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-path=/var/lib/pgbackrest", @@ -962,7 +953,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -996,7 +987,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.54.0: --exec-id=1042-ba0b5a69 --log-level-console=info --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.55.0: --exec-id=377-04baf9b7 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/postgresql/16/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" ] @@ -1023,10 +1014,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=1050-b73c6fb4 --log-level-console=info --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.55.0: --exec-id=385-22615bff --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/postgresql/16/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-77a5c811e1e1c2e907787a1b551b4d9f385bf448.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/16-1/0000000100000000/000000010000000000000001-0f20782f86d20ed6487132ce4e1f4674af053cc0.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -1047,7 +1038,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -1083,16 +1074,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.54.0: --exec-id=1074-46a73f08 --log-level-console=info --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.55.0: --exec-id=409-120f539e --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/postgresql/16/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 = 20241021-052017F", - "P00 INFO: full backup size = 21.8MB, file total = 961", + "P00 INFO: new backup label = 20250421-132216F", + "P00 INFO: full backup size = 22.0MB, file total = 963", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=1074-46a73f08 --log-level-console=info --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.55.0: --exec-id=409-120f539e --log-level-console=info --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" ] } }, @@ -1110,7 +1101,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-052017F" + "20250421-132216F" ] } }, @@ -1138,10 +1129,10 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000004:000000010000000000000005", - "P00 INFO: new backup label = 20241021-052017F_20241021-052020D", - "P00 INFO: diff backup size = 8.3KB, file total = 961", + "P00 INFO: new backup label = 20250421-132216F_20250421-132219D", + "P00 INFO: diff backup size = 8.3KB, file total = 963", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=1098-ae1a0d95 --log-level-console=info --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.55.0: --exec-id=434-60cb387f --log-level-console=info --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" ] } }, @@ -1171,18 +1162,18 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (15): 000000010000000000000001/000000010000000000000005", + " wal archive min/max (16): 000000010000000000000001/000000010000000000000005", "", - " full backup: 20241021-052017F", - " timestamp start/stop: 2024-10-21 05:20:17+00 / 2024-10-21 05:20:19+00", + " full backup: 20250421-132216F", + " timestamp start/stop: 2025-04-21 13:22:16+00 / 2025-04-21 13:22:18+00", " wal start/stop: 000000010000000000000002 / 000000010000000000000003", - " database size: 21.8MB, database backup size: 21.8MB", + " database size: 22.0MB, database backup size: 22.0MB", " repo1: backup set size: 2.9MB, backup size: 2.9MB", "", - " diff backup: 20241021-052017F_20241021-052020D", - " timestamp start/stop: 2024-10-21 05:20:20+00 / 2024-10-21 05:20:21+00", + " diff backup: 20250421-132216F_20250421-132219D", + " timestamp start/stop: 2025-04-21 13:22:19+00 / 2025-04-21 13:22:21+00", " wal start/stop: 000000010000000000000004 / 000000010000000000000005", - " database size: 21.8MB, database backup size: 8.3KB", + " database size: 22.0MB, database backup size: 8.3KB", " repo1: backup set size: 2.9MB, backup size: 448B", " backup reference total: 1 full" ] @@ -1192,7 +1183,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-primary", "load-env" : true, @@ -1205,7 +1196,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres rm /var/lib/postgresql/15/demo/global/pg_control" + "sudo -u postgres rm /var/lib/postgresql/16/demo/global/pg_control" ], "host" : "pg-primary", "load-env" : true, @@ -1218,7 +1209,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "err-expect" : "1", "highlight" : { @@ -1236,10 +1227,10 @@ "type" : "exe", "value" : { "output" : [ - "Error: /usr/lib/postgresql/15/bin/pg_ctl /usr/lib/postgresql/15/bin/pg_ctl start -D /var/lib/postgresql/15/demo -l /var/log/postgresql/postgresql-15-demo.log -s -o -c config_file=\"/etc/postgresql/15/demo/postgresql.conf\" exited with status 1: ", + "Error: /usr/lib/postgresql/16/bin/pg_ctl /usr/lib/postgresql/16/bin/pg_ctl start -D /var/lib/postgresql/16/demo -l /var/log/postgresql/postgresql-16-demo.log -s -o -c config_file=\"/etc/postgresql/16/demo/postgresql.conf\" exited with status 1: ", "postgres: could not find the database system", - "Expected to find it in the directory \"/var/lib/postgresql/15/demo\",", - "but could not open file \"/var/lib/postgresql/15/demo/global/pg_control\": No such file or directory", + "Expected to find it in the directory \"/var/lib/postgresql/16/demo\",", + "but could not open file \"/var/lib/postgresql/16/demo/global/pg_control\": No such file or directory", "Examine the log output." ] } @@ -1248,7 +1239,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres find /var/lib/postgresql/15/demo -mindepth 1 -delete" + "sudo -u postgres find /var/lib/postgresql/16/demo -mindepth 1 -delete" ], "host" : "pg-primary", "load-env" : true, @@ -1274,7 +1265,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "host" : "pg-primary", "load-env" : true, @@ -1437,7 +1428,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2024-10-21 05:20:21+00 | 000000010000000000000005", + " \"demo\" | 2025-04-21 13:22:21+00 | 000000010000000000000005", "(1 row)" ] } @@ -1471,7 +1462,7 @@ "type" : "exe", "value" : { "output" : [ - "1729488021" + "1745241741" ] } }, @@ -1510,7 +1501,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-bundle=y", @@ -1572,7 +1563,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-block=y", @@ -1616,7 +1607,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-052036F" + "20250421-132237F" ] } }, @@ -1624,7 +1615,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20241021-052036F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20250421-132237F info" ], "highlight" : { "filter" : false, @@ -1646,13 +1637,13 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (15): 000000020000000000000007/000000020000000000000009", + " wal archive min/max (16): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20241021-052036F", - " timestamp start/stop: 2024-10-21 05:20:36+00 / 2024-10-21 05:20:38+00", + " full backup: 20250421-132237F", + " timestamp start/stop: 2025-04-21 13:22:37+00 / 2025-04-21 13:22:39+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000088", - " database size: 21.8MB, database backup size: 21.8MB", + " database size: 22.0MB, database backup size: 22.0MB", " repo1: backup size: 2.9MB", " database list: postgres (5)", " annotation(s)", @@ -1665,7 +1656,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20241021-052036F \\", + "sudo -u postgres pgbackrest --stanza=demo --set=20250421-132237F \\", " --annotation=key= --annotation=new_key=new_value annotate" ], "host" : "pg-primary", @@ -1679,7 +1670,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20241021-052036F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20250421-132237F info" ], "highlight" : { "filter" : false, @@ -1701,13 +1692,13 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (15): 000000020000000000000007/000000020000000000000009", + " wal archive min/max (16): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20241021-052036F", - " timestamp start/stop: 2024-10-21 05:20:36+00 / 2024-10-21 05:20:38+00", + " full backup: 20250421-132237F", + " timestamp start/stop: 2025-04-21 13:22:37+00 / 2025-04-21 13:22:39+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000088", - " database size: 21.8MB, database backup size: 21.8MB", + " database size: 22.0MB, database backup size: 22.0MB", " repo1: backup size: 2.9MB", " database list: postgres (5)", " annotation(s)", @@ -1732,7 +1723,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-block=y", @@ -1759,7 +1750,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20241021-052017F|remove archive" + "archive retention on backup 20250421-132216F|remove archive" ] }, "host" : "pg-primary", @@ -1770,10 +1761,10 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 973 lines of output]", - "P00 INFO: repo1: remove expired backup 20241021-052033F", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20241021-052036F, start = 000000020000000000000008", - "P00 INFO: repo1: 15-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000007", + " [filtered 975 lines of output]", + "P00 INFO: repo1: remove expired backup 20250421-132234F", + "P00 DETAIL: repo1: 16-1 archive retention on backup 20250421-132237F, start = 000000020000000000000008", + "P00 INFO: repo1: 16-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000007", "P00 INFO: expire command end: completed successfully" ] } @@ -1792,7 +1783,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-052040F" + "20250421-132241F" ] } }, @@ -1807,7 +1798,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20241021-052017F|archive retention on backup 20241021-052040F|remove archive" + "expire full backup set 20250421-132216F|archive retention on backup 20250421-132241F|remove archive" ] }, "host" : "pg-primary", @@ -1819,9 +1810,9 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "P00 INFO: repo1: expire full backup 20241021-052036F", - "P00 INFO: repo1: remove expired backup 20241021-052036F", - "P00 INFO: repo1: 15-1 remove archive, start = 000000020000000000000008, stop = 000000020000000000000009", + "P00 INFO: repo1: expire full backup 20250421-132237F", + "P00 INFO: repo1: remove expired backup 20250421-132237F", + "P00 INFO: repo1: 16-1 remove archive, start = 000000020000000000000008, stop = 000000020000000000000009", "P00 INFO: expire command end: completed successfully" ] } @@ -1842,7 +1833,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-block=y", @@ -1886,7 +1877,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-052042F_20241021-052045D" + "20250421-132243F_20250421-132246D" ] } }, @@ -1914,7 +1905,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20241021-052042F_20241021-052045D" + "expire diff backup set 20250421-132243F_20250421-132246D" ] }, "host" : "pg-primary", @@ -1927,10 +1918,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=1538-ca0102ff --log-level-console=info --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 20241021-052042F_20241021-052045D, 20241021-052042F_20241021-052046I", - "P00 INFO: repo1: remove expired backup 20241021-052042F_20241021-052046I", - "P00 INFO: repo1: remove expired backup 20241021-052042F_20241021-052045D", + "P00 INFO: expire command begin 2.55.0: --exec-id=874-6ac36691 --log-level-console=info --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 20250421-132243F_20250421-132246D, 20250421-132243F_20250421-132247I", + "P00 INFO: repo1: remove expired backup 20250421-132243F_20250421-132247I", + "P00 INFO: repo1: remove expired backup 20250421-132243F_20250421-132246D", "P00 INFO: expire command end: completed successfully" ] } @@ -1951,7 +1942,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-block=y", @@ -1982,7 +1973,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-052042F_20241021-052048D" + "20250421-132243F_20250421-132249D" ] } }, @@ -2026,8 +2017,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 = 20241021-052042F_20241021-052050D", - "P00 INFO: diff backup size = 8.3KB, file total = 961", + "P00 INFO: new backup label = 20250421-132243F_20250421-132252D", + "P00 INFO: diff backup size = 8.3KB, file total = 963", "P00 INFO: backup command end: completed successfully", " [filtered 2 lines of output]" ] @@ -2047,7 +2038,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-052042F_20241021-052050D" + "20250421-132243F_20250421-132252D" ] } }, @@ -2062,7 +2053,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20241021-052042F_20241021-052048D|remove archive" + "archive retention on backup 20250421-132243F_20250421-132249D|remove archive" ] }, "host" : "pg-primary", @@ -2073,13 +2064,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.54.0: --exec-id=1614-30620660 --log-level-console=detail --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 20241021-052040F, start = 00000002000000000000000A, stop = 00000002000000000000000B", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20241021-052042F, start = 00000002000000000000000C, stop = 00000002000000000000000D", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20241021-052042F_20241021-052048D, start = 000000020000000000000012, stop = 000000020000000000000013", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20241021-052042F_20241021-052050D, 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 begin 2.55.0: --exec-id=951-57bc7d40 --log-level-console=detail --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: 16-1 archive retention on backup 20250421-132241F, start = 00000002000000000000000A, stop = 00000002000000000000000B", + "P00 DETAIL: repo1: 16-1 archive retention on backup 20250421-132243F, start = 00000002000000000000000C, stop = 00000002000000000000000D", + "P00 DETAIL: repo1: 16-1 archive retention on backup 20250421-132243F_20250421-132249D, start = 000000020000000000000012, stop = 000000020000000000000013", + "P00 DETAIL: repo1: 16-1 archive retention on backup 20250421-132243F_20250421-132252D, start = 000000020000000000000016", + "P00 INFO: repo1: 16-1 remove archive, start = 00000002000000000000000E, stop = 000000020000000000000011", + "P00 INFO: repo1: 16-1 remove archive, start = 000000020000000000000014, stop = 000000020000000000000015", "P00 INFO: expire command end: completed successfully" ] } @@ -2088,7 +2079,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-primary", "load-env" : true, @@ -2120,18 +2111,18 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 DETAIL: check '/var/lib/postgresql/15/demo' exists", + "P00 DETAIL: check '/var/lib/postgresql/16/demo' exists", "P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete", - "P00 INFO: remove invalid files/links/paths from '/var/lib/postgresql/15/demo'", - "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 129 lines of output]", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/base/1/113 - exists and matches backup (bundle 20241021-052042F/1/58072, 8KB, 5.80%) checksum 9c6671806c84144652aa7a1e989bc2cfe3d9bd40", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/base/1/112 - exists and matches backup (bundle 20241021-052042F/1/58160, 8KB, 5.83%) checksum 9890dd22d170e0de4f4d9404aba2557a33b9909b", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/PG_VERSION - exists and matches backup (bundle 20241021-052042F/1/58248, 3B, 5.83%) checksum 587b596f04f7db9c2cad3d6b87dd2b3a05de4f35", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/global/2695 - exists and matches backup (bundle 20241021-052042F/1/58272, 16KB, 5.91%) checksum 843d45d7c839660378249350bae98ab512a70e30", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/global/2694 - exists and matches backup (bundle 20241021-052042F/1/58480, 16KB, 5.98%) checksum 88e1fb6d0708cf9fa40378bf8a02d167d4f3f7e9", - " [filtered 870 lines of output]" + "P00 INFO: remove invalid files/links/paths from '/var/lib/postgresql/16/demo'", + "P00 DETAIL: remove invalid file '/var/lib/postgresql/16/demo/backup_label.old'", + "P00 DETAIL: remove invalid file '/var/lib/postgresql/16/demo/base/1/pg_internal.init'", + " [filtered 14 lines of output]", + "P01 DETAIL: restore file /var/lib/postgresql/16/demo/backup_label (260B, 0.00%) checksum c2b44a40bea599ae0e41169c76589711d996fc04", + "P01 DETAIL: restore file /var/lib/postgresql/16/demo/pg_multixact/members/0000 - exists and matches backup (bundle 20250421-132243F/1/0, 8KB, 0.04%) checksum 0631457264ff7f8d5fb1edc2c0211992a67c73e6", + "P01 DETAIL: restore file /var/lib/postgresql/16/demo/PG_VERSION - exists and matches backup (bundle 20250421-132243F/1/40, 3B, 0.04%) checksum 3596ea087bfdaf52380eae441077572ed289d657", + "P01 DETAIL: restore file /var/lib/postgresql/16/demo/global/pg_filenode.map - exists and matches backup (bundle 20250421-132243F/1/64, 524B, 0.04%) checksum 3de878cf56cdb80345e88da11f91bc6d46f9f804", + "P01 DETAIL: restore file /var/lib/postgresql/16/demo/global/6303 - exists and matches backup (bundle 20250421-132243F/1/232, 16KB, 0.11%) checksum 96cb6929d946c1f99979ee1454d0e507bce1356b", + " [filtered 987 lines of output]" ] } }, @@ -2139,7 +2130,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "host" : "pg-primary", "load-env" : true, @@ -2272,7 +2263,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres du -sh /var/lib/postgresql/15/demo/base/32768" + "sudo -u postgres du -sh /var/lib/postgresql/16/demo/base/32768" ], "host" : "pg-primary", "load-env" : true, @@ -2282,7 +2273,7 @@ "type" : "exe", "value" : { "output" : [ - "7.3M\t/var/lib/postgresql/15/demo/base/32768" + "7.4M\t/var/lib/postgresql/16/demo/base/32768" ] } }, @@ -2300,7 +2291,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-052042F_20241021-052057I" + "20250421-132243F_20250421-132301I" ] } }, @@ -2309,7 +2300,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20241021-052042F_20241021-052057I info" + " --set=20250421-132243F_20250421-132301I info" ], "highlight" : { "filter" : true, @@ -2328,7 +2319,7 @@ "output" : [ " [filtered 12 lines of output]", " repo1: backup size: 2.0MB", - " backup reference list: 20241021-052042F, 20241021-052042F_20241021-052050D", + " backup reference list: 20250421-132243F, 20250421-132243F_20250421-132252D", " database list: postgres (5), test1 (32768), test2 (32769)" ] } @@ -2337,7 +2328,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-primary", "load-env" : true, @@ -2364,7 +2355,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "host" : "pg-primary", "load-env" : true, @@ -2437,7 +2428,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres du -sh /var/lib/postgresql/15/demo/base/32768" + "sudo -u postgres du -sh /var/lib/postgresql/16/demo/base/32768" ], "host" : "pg-primary", "load-env" : true, @@ -2447,7 +2438,7 @@ "type" : "exe", "value" : { "output" : [ - "8.0K\t/var/lib/postgresql/15/demo/base/32768" + "8.0K\t/var/lib/postgresql/16/demo/base/32768" ] } }, @@ -2560,7 +2551,7 @@ "type" : "exe", "value" : { "output" : [ - "2024-10-21 05:21:08.333489+00" + "2025-04-21 13:23:13.75819+00" ] } }, @@ -2637,7 +2628,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-052042F_20241021-052109I" + "20250421-132243F_20250421-132315I" ] } }, @@ -2651,7 +2642,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "20241021-052042F_20241021-052109I" + "20250421-132243F_20250421-132315I" ] }, "host" : "pg-primary", @@ -2665,8 +2656,8 @@ " [filtered 38 lines of output]", " backup reference total: 1 full, 1 diff", "", - " incr backup: 20241021-052042F_20241021-052109I", - " timestamp start/stop: 2024-10-21 05:21:09+00 / 2024-10-21 05:21:11+00", + " incr backup: 20250421-132243F_20250421-132315I", + " timestamp start/stop: 2025-04-21 13:23:15+00 / 2025-04-21 13:23:16+00", " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", " [filtered 2 lines of output]" ] @@ -2676,7 +2667,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-primary", "load-env" : true, @@ -2690,8 +2681,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20241021-052042F_20241021-052109I --target-timeline=current \\", - " --type=time \"--target=2024-10-21 05:21:08.333489+00\" --target-action=promote restore" + " --set=20250421-132243F_20250421-132315I --target-timeline=current \\", + " --type=time \"--target=2025-04-21 13:23:13.75819+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2704,7 +2695,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/log/postgresql/postgresql-15-demo.log" + "sudo rm /var/log/postgresql/postgresql-16-demo.log" ], "host" : "pg-primary", "load-env" : true, @@ -2717,7 +2708,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "err-expect" : "1", "highlight" : { @@ -2739,7 +2730,7 @@ "LOG: database system is ready to accept read-only connections", "LOG: redo done at 0/1A000100 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.02 s", "FATAL: recovery ended before configured recovery target was reached", - "LOG: startup process (PID 1984) exited with exit code 1", + "LOG: startup process (PID 1320) exited with exit code 1", "LOG: terminating any other active server processes", " [filtered 3 lines of output]" ] @@ -2750,7 +2741,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2024-10-21 05:21:08.333489+00\" \\", + " --type=time \"--target=2025-04-21 13:23:13.75819+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2764,7 +2755,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/log/postgresql/postgresql-15-demo.log" + "sudo rm /var/log/postgresql/postgresql-16-demo.log" ], "host" : "pg-primary", "load-env" : true, @@ -2777,7 +2768,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/postgresql/15/demo/postgresql.auto.conf" + "sudo -u postgres cat /var/lib/postgresql/16/demo/postgresql.auto.conf" ], "highlight" : { "filter" : true, @@ -2795,9 +2786,9 @@ "value" : { "output" : [ " [filtered 9 lines of output]", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:21:13", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:23:18", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2024-10-21 05:21:08.333489+00'", + "recovery_target_time = '2025-04-21 13:23:13.75819+00'", "recovery_target_action = 'promote'" ] } @@ -2806,7 +2797,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "host" : "pg-primary", "load-env" : true, @@ -2860,7 +2851,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/log/postgresql/postgresql-15-demo.log" + "sudo -u postgres cat /var/log/postgresql/postgresql-16-demo.log" ], "highlight" : { "filter" : true, @@ -2878,17 +2869,17 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "LOG: database system was interrupted; last known up at 2024-10-21 05:20:58 UTC", + "LOG: database system was interrupted; last known up at 2025-04-21 13:23:02 UTC", "LOG: restored log file \"00000004.history\" from archive", - "LOG: starting point-in-time recovery to 2024-10-21 05:21:08.333489+00", + "LOG: starting point-in-time recovery to 2025-04-21 13:23:13.75819+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", " [filtered 5 lines of output]", "LOG: database system is ready to accept read-only connections", "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: recovery stopping before commit of transaction 734, time 2024-10-21 05:21:09.638222+00", - "LOG: redo done at 0/190253C8 system usage: CPU: user: 0.00 s, system: 0.01 s, elapsed: 0.08 s", - "LOG: last completed transaction was at log time 2024-10-21 05:21:06.989393+00", + "LOG: recovery stopping before commit of transaction 740, time 2025-04-21 13:23:15.21962+00", + "LOG: redo done at 0/19026050 system usage: CPU: user: 0.00 s, system: 0.01 s, elapsed: 0.12 s", + "LOG: last completed transaction was at log time 2025-04-21 13:23:12.423262+00", "LOG: restored log file \"000000040000000000000019\" from archive", "LOG: selected new timeline ID: 5", " [filtered 5 lines of output]" @@ -2899,7 +2890,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-primary", "load-env" : true, @@ -2929,7 +2920,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.54.0: --exec-id=2106-8ff52c62 --log-level-console=info --no-log-timestamp --stanza=demo", + "P00 INFO: stop command begin 2.55.0: --exec-id=1442-2351e0cf --log-level-console=info --no-log-timestamp --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -2956,7 +2947,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.54.0: --exec-id=2113-c5e3e6b1 --log-level-console=info --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.55.0: --exec-id=1449-7a2289ac --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/postgresql/16/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" ] } @@ -2965,7 +2956,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "host" : "pg-primary", "load-env" : true, @@ -2980,9 +2971,6 @@ "host" : "pg-primary", "option" : { "global" : { - "process-max" : { - "value" : "4" - }, "repo2-azure-account" : { "value" : "pgbackrest" }, @@ -3008,10 +2996,9 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", - "process-max=4", "repo1-block=y", "repo1-bundle=y", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -3081,7 +3068,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.54.0: --exec-id=2183-3f343a5b --log-level-console=info --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.55.0: --exec-id=1520-adfe4b22 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/postgresql/16/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" @@ -3110,16 +3097,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.54.0: --exec-id=2191-3bd99381 --log-level-console=info --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.55.0: --exec-id=1528-be60f53e --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/postgresql/16/demo --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 = 00000005000000000000001B, lsn = 0/1B000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000005000000000000001B:00000005000000000000001B", - "P00 INFO: new backup label = 20241021-052124F", - "P00 INFO: full backup size = 29.0MB, file total = 1263", + "P00 INFO: new backup label = 20250421-132331F", + "P00 INFO: full backup size = 29.1MB, file total = 1265", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=2191-3bd99381 --log-level-console=info --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.55.0: --exec-id=1528-be60f53e --log-level-console=info --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" ] } }, @@ -3129,9 +3116,6 @@ "host" : "pg-primary", "option" : { "global" : { - "process-max" : { - "value" : "4" - }, "repo3-path" : { "value" : "/demo-repo" }, @@ -3163,10 +3147,9 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", - "process-max=4", "repo1-block=y", "repo1-bundle=y", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -3284,16 +3267,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.54.0: --exec-id=2242-ab3bc0f1 --log-level-console=info --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.55.0: --exec-id=1577-7000e92d --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/postgresql/16/demo --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 = 00000005000000000000001C, lsn = 0/1C000028", + "P00 INFO: backup start archive = 00000005000000000000001D, lsn = 0/1D000028", " [filtered 3 lines of output]", - "P00 INFO: check archive for segment(s) 00000005000000000000001C:00000005000000000000001D", - "P00 INFO: new backup label = 20241021-052133F", - "P00 INFO: full backup size = 29.0MB, file total = 1263", + "P00 INFO: check archive for segment(s) 00000005000000000000001D:00000005000000000000001D", + "P00 INFO: new backup label = 20250421-132342F", + "P00 INFO: full backup size = 29.1MB, file total = 1265", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=2242-ab3bc0f1 --log-level-console=info --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.55.0: --exec-id=1577-7000e92d --log-level-console=info --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" ] } }, @@ -3311,7 +3294,7 @@ "type" : "exe", "value" : { "output" : [ - "2024-10-21 05:21:39+00" + "2025-04-21 13:23:49+00" ] } }, @@ -3355,7 +3338,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "process-max=4", @@ -3538,7 +3521,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.54.0: --exec-id=2325-6c413111 --log-level-console=info --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.55.0: --exec-id=1658-f71182f2 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/postgresql/16/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", @@ -3546,10 +3529,10 @@ "P00 INFO: backup start archive = 00000005000000000000001E, lsn = 0/1E000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000005000000000000001E:00000005000000000000001F", - "P00 INFO: new backup label = 20241021-052142F", - "P00 INFO: full backup size = 29.0MB, file total = 1263", + "P00 INFO: new backup label = 20250421-132353F", + "P00 INFO: full backup size = 29.1MB, file total = 1265", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=2325-6c413111 --log-level-console=info --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.55.0: --exec-id=1658-f71182f2 --log-level-console=info --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" ] } @@ -3560,9 +3543,6 @@ "host" : "pg-primary", "option" : { "global" : { - "process-max" : { - "value" : "4" - }, "repo5-gcs-bucket" : { "value" : "demo-bucket" }, @@ -3582,7 +3562,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "process-max=4", @@ -3630,7 +3610,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-primary", "load-env" : true, @@ -3727,11 +3707,11 @@ "type" : "exe", "value" : { "output" : [ - "[2024-10-21 05:21:48 UTC] 0B STANDARD e9a16ce2-0532-4441-aa4f-e00a9144beba v3 DEL backup.info", - "[2024-10-21 05:21:39 UTC] 1.0KiB STANDARD e6d4f159-6bb1-4dbb-9520-149f5aa34a77 v2 PUT backup.info", - "[2024-10-21 05:21:33 UTC] 372B STANDARD ade725e0-b54b-4eb5-a15f-af6aa6cbb3df v1 PUT backup.info", - "[2024-10-21 05:21:48 UTC] 0B STANDARD 7753bb93-14d3-4234-9c93-645749e86a9a v3 DEL backup.info.copy", - "[2024-10-21 05:21:39 UTC] 1.0KiB STANDARD f7f44cde-b413-465f-ae5d-8a0ea2eebf04 v2 PUT backup.info.copy" + "[2025-04-21 13:24:01 UTC] 0B STANDARD cc69bf9a-ef6e-4e9d-bdfe-14b8cc7cbe79 v3 DEL backup.info", + "[2025-04-21 13:23:49 UTC] 1.0KiB STANDARD c0a96670-2dbe-42d0-bc9f-e285d9aae810 v2 PUT backup.info", + "[2025-04-21 13:23:42 UTC] 372B STANDARD 078af0c6-1d22-436d-bd92-05af190f796a v1 PUT backup.info", + "[2025-04-21 13:24:01 UTC] 0B STANDARD abb8661b-9150-4de2-8428-8adc361c35f3 v3 DEL backup.info.copy", + "[2025-04-21 13:23:49 UTC] 1.0KiB STANDARD a533578d-eb2c-49a0-bfc6-7e5ae4c2de59 v2 PUT backup.info.copy" ] } }, @@ -3740,7 +3720,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --repo=3 \\", - " --repo-target-time=\"2024-10-21 05:21:39+00\" info" + " --repo-target-time=\"2025-04-21 13:23:49+00\" info" ], "highlight" : { "filter" : true, @@ -3758,11 +3738,11 @@ "value" : { "output" : [ " [filtered 5 lines of output]", - " wal archive min/max (15): 00000005000000000000001C/00000005000000000000001D", + " wal archive min/max (16): 00000005000000000000001C/00000005000000000000001D", "", - " full backup: 20241021-052133F", - " timestamp start/stop: 2024-10-21 05:21:33+00 / 2024-10-21 05:21:38+00", - " wal start/stop: 00000005000000000000001C / 00000005000000000000001D", + " full backup: 20250421-132342F", + " timestamp start/stop: 2025-04-21 13:23:42+00 / 2025-04-21 13:23:48+00", + " wal start/stop: 00000005000000000000001D / 00000005000000000000001D", " repo3: backup set size: 3.9MB, backup size: 3.9MB" ] } @@ -3772,7 +3752,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --repo=3 --delta \\", - " --repo-target-time=\"2024-10-21 05:21:39+00\" --log-level-console=info restore" + " --repo-target-time=\"2025-04-21 13:23:49+00\" --log-level-console=info restore" ], "highlight" : { "filter" : true, @@ -3789,10 +3769,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: restore command begin 2.54.0: --delta --exec-id=2402-3a28238b --log-level-console=info --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-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo5-gcs-bucket=demo-bucket --repo5-gcs-key= --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-path=/demo-repo --repo5-path=/demo-repo --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --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 --repo-target-time=\"2024-10-21 05:21:39+00\" --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --repo5-type=gcs --stanza=demo", - "P00 INFO: repo3: restore backup set 20241021-052133F, recovery will start at 2024-10-21 05:21:33", - "P00 INFO: remove invalid files/links/paths from '/var/lib/postgresql/15/demo'", - "P00 INFO: write updated /var/lib/postgresql/15/demo/postgresql.auto.conf", + "P00 INFO: restore command begin 2.55.0: --delta --exec-id=1738-70f39985 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/postgresql/16/demo --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo5-gcs-bucket=demo-bucket --repo5-gcs-key= --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-path=/demo-repo --repo5-path=/demo-repo --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --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 --repo-target-time=\"2025-04-21 13:23:49+00\" --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --repo5-type=gcs --stanza=demo", + "P00 INFO: repo3: restore backup set 20250421-132342F, recovery will start at 2025-04-21 13:23:42", + "P00 INFO: remove invalid files/links/paths from '/var/lib/postgresql/16/demo'", + "P00 INFO: write updated /var/lib/postgresql/16/demo/postgresql.auto.conf", " [filtered 2 lines of output]" ] } @@ -3801,7 +3781,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "host" : "pg-primary", "load-env" : true, @@ -4152,7 +4132,7 @@ "value" : "pg-primary" }, "pg1-path" : { - "value" : "/var/lib/postgresql/15/demo" + "value" : "/var/lib/postgresql/16/demo" } }, "global" : { @@ -4173,7 +4153,7 @@ "config" : [ "[demo]", "pg1-host=pg-primary", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "repo1-path=/var/lib/pgbackrest", @@ -4189,7 +4169,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/postgresql/15/demo" + "value" : "/var/lib/postgresql/16/demo" } }, "global" : { @@ -4210,7 +4190,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "log-level-file=detail", @@ -4279,7 +4259,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-primary", "load-env" : true, @@ -4305,7 +4285,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "host" : "pg-primary", "load-env" : true, @@ -4357,7 +4337,7 @@ "config" : [ "[demo]", "pg1-host=pg-primary", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "process-max=3", @@ -4406,18 +4386,18 @@ " cipher: none", "", " db (current)", - " wal archive min/max (15): 000000070000000000000023/000000070000000000000025", + " wal archive min/max (16): 000000070000000000000023/000000070000000000000025", "", - " full backup: 20241021-052219F", - " timestamp start/stop: 2024-10-21 05:22:19+00 / 2024-10-21 05:22:23+00", + " full backup: 20250421-132437F", + " timestamp start/stop: 2025-04-21 13:24:37+00 / 2025-04-21 13:24:40+00", " wal start/stop: 000000070000000000000023 / 000000070000000000000023", - " database size: 29.0MB, database backup size: 29.0MB", + " database size: 29.1MB, database backup size: 29.1MB", " repo1: backup set size: 3.9MB, backup size: 3.9MB", "", - " full backup: 20241021-052225F", - " timestamp start/stop: 2024-10-21 05:22:25+00 / 2024-10-21 05:22:29+00", + " full backup: 20250421-132442F", + " timestamp start/stop: 2025-04-21 13:24:42+00 / 2025-04-21 13:24:48+00", " wal start/stop: 000000070000000000000024 / 000000070000000000000025", - " database size: 29.0MB, database backup size: 29.0MB", + " database size: 29.1MB, database backup size: 29.1MB", " repo1: backup set size: 3.9MB, backup size: 3.9MB" ] } @@ -4788,7 +4768,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/postgresql/15/demo" + "value" : "/var/lib/postgresql/16/demo" } }, "global" : { @@ -4808,7 +4788,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "log-level-file=detail", @@ -4820,7 +4800,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_createcluster 15 demo" + "sudo pg_createcluster 16 demo" ], "host" : "pg-standby", "load-env" : true, @@ -4846,7 +4826,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/postgresql/15/demo/postgresql.auto.conf" + "sudo -u postgres cat /var/lib/postgresql/16/demo/postgresql.auto.conf" ], "host" : "pg-standby", "load-env" : true, @@ -4859,24 +4839,24 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:20:23", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:22:24", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:20:52", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:22:54", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:21:13", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:23:18", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-10-21 05:21:50 # recovery_target_time = '2024-10-21 05:21:08.333489+00'", - "# Removed by pgBackRest restore on 2024-10-21 05:21:50 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2025-04-21 13:24:04 # recovery_target_time = '2025-04-21 13:23:13.75819+00'", + "# Removed by pgBackRest restore on 2025-04-21 13:24:04 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:21:50", - "restore_command = 'pgbackrest --repo=3 --repo-target-time=\"2024-10-21 05:21:39+00\" --stanza=demo archive-get %f \"%p\"'", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:24:04", + "restore_command = 'pgbackrest --repo=3 --repo-target-time=\"2025-04-21 13:23:49+00\" --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:22:14", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:24:30", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:22:44", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:25:04", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] } @@ -4885,7 +4865,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /etc/postgresql/15/demo/postgresql.conf" + "cat /root/postgresql.common.conf >> /etc/postgresql/16/demo/postgresql.conf" ], "host" : "pg-standby", "load-env" : true, @@ -4896,7 +4876,7 @@ }, { "key" : { - "file" : "/etc/postgresql/15/demo/postgresql.conf", + "file" : "/etc/postgresql/16/demo/postgresql.conf", "host" : "pg-standby", "option" : { "archive_command" : { @@ -4931,7 +4911,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/log/postgresql/postgresql-15-demo.log" + "sudo rm /var/log/postgresql/postgresql-16-demo.log" ], "host" : "pg-standby", "load-env" : true, @@ -4944,7 +4924,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "host" : "pg-standby", "load-env" : true, @@ -4970,7 +4950,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/log/postgresql/postgresql-15-demo.log" + "sudo -u postgres cat /var/log/postgresql/postgresql-16-demo.log" ], "highlight" : { "filter" : true, @@ -4989,7 +4969,7 @@ "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-10-21 05:22:25 UTC", + "LOG: database system was interrupted; last known up at 2025-04-21 13:24:42 UTC", "LOG: entering standby mode", "LOG: starting backup recovery with redo LSN 0/24000028, checkpoint LSN 0/24000060, on timeline ID 7", "LOG: restored log file \"00000007.history\" from archive", @@ -5073,9 +5053,9 @@ "type" : "exe", "value" : { "output" : [ - " pg_switch_wal | current_timestamp ", - "---------------+------------------------------", - " 0/26019A78 | 2024-10-21 05:22:51.06688+00", + " pg_switch_wal | current_timestamp ", + "---------------+-------------------------------", + " 0/2601A838 | 2025-04-21 13:25:12.350044+00", "(1 row)" ] } @@ -5104,7 +5084,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-10-21 05:22:52.258812+00", + " Important Data | 2025-04-21 13:25:18.355849+00", "(1 row)" ] } @@ -5130,7 +5110,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=1118-32fad2f9 --log-level-console=info --log-level-file=detail --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.55.0: --exec-id=578-68c225ee --log-level-console=info --log-level-file=detail --no-log-timestamp --pg1-path=/var/lib/postgresql/16/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" @@ -5162,7 +5142,7 @@ "cmd" : [ "sudo -u postgres sh -c 'echo \\", " \"host replication replicator 172.17.0.8/32 md5\" \\", - " >> /etc/postgresql/15/demo/pg_hba.conf'" + " >> /etc/postgresql/16/demo/pg_hba.conf'" ], "host" : "pg-primary", "load-env" : true, @@ -5175,7 +5155,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo reload" + "sudo pg_ctlcluster 16 demo reload" ], "host" : "pg-primary", "load-env" : true, @@ -5200,7 +5180,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "recovery-option=primary_conninfo=host=172.17.0.6 port=5432 user=replicator", "", "[global]", @@ -5241,7 +5221,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-standby", "load-env" : true, @@ -5267,7 +5247,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/postgresql/15/demo/postgresql.auto.conf" + "sudo -u postgres cat /var/lib/postgresql/16/demo/postgresql.auto.conf" ], "host" : "pg-standby", "load-env" : true, @@ -5280,24 +5260,24 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:20:23", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:22:24", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:20:52", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:22:54", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:21:13", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:23:18", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-10-21 05:21:50 # recovery_target_time = '2024-10-21 05:21:08.333489+00'", - "# Removed by pgBackRest restore on 2024-10-21 05:21:50 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2025-04-21 13:24:04 # recovery_target_time = '2025-04-21 13:23:13.75819+00'", + "# Removed by pgBackRest restore on 2025-04-21 13:24:04 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:21:50", - "restore_command = 'pgbackrest --repo=3 --repo-target-time=\"2024-10-21 05:21:39+00\" --stanza=demo archive-get %f \"%p\"'", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:24:04", + "restore_command = 'pgbackrest --repo=3 --repo-target-time=\"2025-04-21 13:23:49+00\" --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:22:14", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:24:30", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:22:54", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:25:21", "primary_conninfo = 'host=172.17.0.6 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] @@ -5307,7 +5287,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/log/postgresql/postgresql-15-demo.log" + "sudo rm /var/log/postgresql/postgresql-16-demo.log" ], "host" : "pg-standby", "load-env" : true, @@ -5320,7 +5300,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo start" + "sudo pg_ctlcluster 16 demo start" ], "host" : "pg-standby", "load-env" : true, @@ -5346,7 +5326,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/log/postgresql/postgresql-15-demo.log" + "sudo -u postgres cat /var/log/postgresql/postgresql-16-demo.log" ], "highlight" : { "filter" : true, @@ -5364,7 +5344,7 @@ "value" : { "output" : [ " [filtered 13 lines of output]", - "LOG: consistent recovery state reached at 0/25000050", + "LOG: consistent recovery state reached at 0/25000088", "LOG: database system is ready to accept read-only connections", "LOG: started streaming WAL from primary at 0/27000000 on timeline 7" ] @@ -5399,7 +5379,7 @@ " [filtered 4 lines of output]", " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-10-21 05:23:01.117097+00", + " Important Data | 2025-04-21 13:25:28.605823+00", "(1 row)" ] } @@ -5428,7 +5408,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-10-21 05:23:01.463087+00", + " Important Data | 2025-04-21 13:25:29.119293+00", "(1 row)" ] } @@ -5673,7 +5653,7 @@ "option" : { "demo-alt" : { "pg1-path" : { - "value" : "/var/lib/postgresql/15/demo" + "value" : "/var/lib/postgresql/16/demo" } }, "global" : { @@ -5693,7 +5673,7 @@ "value" : { "config" : [ "[demo-alt]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "log-level-file=detail", @@ -5711,7 +5691,7 @@ "value" : "pg-alt" }, "pg1-path" : { - "value" : "/var/lib/postgresql/15/demo" + "value" : "/var/lib/postgresql/16/demo" } } } @@ -5721,11 +5701,11 @@ "config" : [ "[demo]", "pg1-host=pg-primary", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[demo-alt]", "pg1-host=pg-alt", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "process-max=3", @@ -5739,8 +5719,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres /usr/lib/postgresql/15/bin/initdb \\", - " -D /var/lib/postgresql/15/demo -k -A peer" + "sudo -u postgres /usr/lib/postgresql/16/bin/initdb \\", + " -D /var/lib/postgresql/16/demo -k -A peer" ], "host" : "pg-alt", "load-env" : true, @@ -5753,7 +5733,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_createcluster 15 demo" + "sudo pg_createcluster 16 demo" ], "host" : "pg-alt", "load-env" : true, @@ -5763,9 +5743,9 @@ "type" : "exe", "value" : { "output" : [ - "Configuring already existing cluster (configuration: /etc/postgresql/15/demo, data: /var/lib/postgresql/15/demo, owner: 102:103)", + "Configuring already existing cluster (configuration: /etc/postgresql/16/demo, data: /var/lib/postgresql/16/demo, owner: 102:103)", "Ver Cluster Port Status Owner Data directory Log file", - "15 demo 5432 down postgres /var/lib/postgresql/15/demo /var/log/postgresql/postgresql-15-demo.log" + "16 demo 5432 down postgres /var/lib/postgresql/16/demo /var/log/postgresql/postgresql-16-demo.log" ] } }, @@ -5773,7 +5753,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /etc/postgresql/15/demo/postgresql.conf" + "cat /root/postgresql.common.conf >> /etc/postgresql/16/demo/postgresql.conf" ], "host" : "pg-alt", "load-env" : true, @@ -5784,7 +5764,7 @@ }, { "key" : { - "file" : "/etc/postgresql/15/demo/postgresql.conf", + "file" : "/etc/postgresql/16/demo/postgresql.conf", "host" : "pg-alt", "option" : { "archive_command" : { @@ -5815,7 +5795,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo restart" + "sudo pg_ctlcluster 16 demo restart" ], "host" : "pg-alt", "load-env" : true, @@ -5858,7 +5838,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.54.0: --exec-id=1017-50ec9a1d --log-level-console=info --log-level-file=detail --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-host=repository --stanza=demo-alt", + "P00 INFO: stanza-create command begin 2.55.0: --exec-id=350-4c3a4d5f --log-level-console=info --log-level-file=detail --no-log-timestamp --pg1-path=/var/lib/postgresql/16/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" ] @@ -5885,11 +5865,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=1026-1d69126a --log-level-console=info --log-level-file=detail --no-log-timestamp --repo1-host=repository", + "P00 INFO: check command begin 2.55.0: --exec-id=359-c12a2d8d --log-level-console=info --log-level-file=detail --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-7a89895310b85bd6ac2872a3534359f0a84d0618.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/16-1/0000000100000000/000000010000000000000001-3c1c240bafc52d38daf4d168813a0bca920ab769.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -5915,15 +5895,15 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=1872-8ad80aec --log-level-console=info --no-log-timestamp --repo1-path=/var/lib/pgbackrest", + "P00 INFO: check command begin 2.55.0: --exec-id=1239-b5ee7e8c --log-level-console=info --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 000000070000000000000027 successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000700000000/000000070000000000000027-e47fb3803fdfcd4688cb430234e533f22785ed66.gz' on repo1", + "P00 INFO: WAL segment 000000070000000000000027 successfully archived to '/var/lib/pgbackrest/archive/demo/16-1/0000000700000000/000000070000000000000027-ca01f4409b28706fc8ce995286afd7c3daa2c3e3.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-e0f09a5b4cbf46998ee74d7af3418ec5c45b41a9.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000002 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/16-1/0000000100000000/000000010000000000000002-610d0c18ced4092a83df2dcdc171e191a92be9a2.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -6009,7 +5989,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "archive-async=y", @@ -6054,7 +6034,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "recovery-option=primary_conninfo=host=172.17.0.6 port=5432 user=replicator", "", "[global]", @@ -6093,7 +6073,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo restart" + "sudo pg_ctlcluster 16 demo restart" ], "host" : "pg-standby", "load-env" : true, @@ -6154,10 +6134,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=3007-b1990bca --log-level-console=info --log-level-file=detail --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.55.0: --exec-id=2343-fa56562f --log-level-console=info --log-level-file=detail --no-log-timestamp --pg1-path=/var/lib/postgresql/16/demo --repo1-host=repository --stanza=demo", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 00000007000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000700000000/00000007000000000000002D-38f15b3f76492309595b39de91bc1cce0f9ae0fc.gz' on repo1", + "P00 INFO: WAL segment 00000007000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/16-1/0000000700000000/00000007000000000000002D-9b9ad0e1bb13f7f4499492eed7677a1653428a27.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -6184,13 +6164,13 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.54.0: [/var/lib/postgresql/15/demo/pg_wal] --archive-async --exec-id=2994-79be4cd1 --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: archive-push:async command begin 2.55.0: [/var/lib/postgresql/16/demo/pg_wal] --archive-async --exec-id=2329-fb8679e6 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/16/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: push 1 WAL file(s) to archive: 000000070000000000000028", "P01 DETAIL: pushed WAL file '000000070000000000000028' to the archive", "P00 INFO: archive-push:async command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.54.0: [/var/lib/postgresql/15/demo/pg_wal] --archive-async --exec-id=3011-83e11f0e --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: archive-push:async command begin 2.55.0: [/var/lib/postgresql/16/demo/pg_wal] --archive-async --exec-id=2347-65368df7 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/16/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: push 5 WAL file(s) to archive: 000000070000000000000029...00000007000000000000002D", "P01 DETAIL: pushed WAL file '000000070000000000000029' to the archive", "P02 DETAIL: pushed WAL file '00000007000000000000002A' to the archive", @@ -6236,23 +6216,28 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.54.0: [000000070000000000000024, 000000070000000000000025, 000000070000000000000026, 000000070000000000000027, 000000070000000000000028, 000000070000000000000029, 00000007000000000000002A, 00000007000000000000002B] --archive-async --exec-id=1318-4f5b3c46 --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: archive-get:async command begin 2.55.0: [000000070000000000000024, 000000070000000000000025, 000000070000000000000026, 000000070000000000000027, 000000070000000000000028, 000000070000000000000029, 00000007000000000000002A, 00000007000000000000002B] --archive-async --exec-id=782-e7977f4c --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/16/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000070000000000000024...00000007000000000000002B", - "P02 DETAIL: found 000000070000000000000025 in the repo1: 15-1 archive", - "P01 DETAIL: found 000000070000000000000024 in the repo1: 15-1 archive", - "P02 DETAIL: found 000000070000000000000026 in the repo1: 15-1 archive", - "P01 DETAIL: found 000000070000000000000027 in the repo1: 15-1 archive", + "P01 DETAIL: found 000000070000000000000024 in the repo1: 16-1 archive", + "P02 DETAIL: found 000000070000000000000025 in the repo1: 16-1 archive", + "P01 DETAIL: found 000000070000000000000026 in the repo1: 16-1 archive", + "P02 DETAIL: found 000000070000000000000027 in the repo1: 16-1 archive", "P00 DETAIL: unable to find 000000070000000000000028 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.54.0: [000000070000000000000028, 000000070000000000000029, 00000007000000000000002A, 00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D, 00000007000000000000002E, 00000007000000000000002F] --archive-async --exec-id=1361-58cad89f --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: archive-get:async command begin 2.55.0: [000000070000000000000028, 000000070000000000000029, 00000007000000000000002A, 00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D, 00000007000000000000002E, 00000007000000000000002F] --archive-async --exec-id=825-0652b343 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/16/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", "P00 INFO: get 8 WAL file(s) from archive: 000000070000000000000028...00000007000000000000002F", - "P01 DETAIL: found 000000070000000000000028 in the repo1: 15-1 archive", - "P02 DETAIL: found 000000070000000000000029 in the repo1: 15-1 archive", - "P01 DETAIL: found 00000007000000000000002A in the repo1: 15-1 archive", - "P02 DETAIL: found 00000007000000000000002B in the repo1: 15-1 archive", - "P02 DETAIL: found 00000007000000000000002D in the repo1: 15-1 archive", - "P01 DETAIL: found 00000007000000000000002C in the repo1: 15-1 archive", + "P01 DETAIL: found 000000070000000000000028 in the repo1: 16-1 archive", + "P02 DETAIL: found 000000070000000000000029 in the repo1: 16-1 archive", + "P01 DETAIL: found 00000007000000000000002A in the repo1: 16-1 archive", + "P00 DETAIL: unable to find 00000007000000000000002B in the archive", + "P00 INFO: archive-get:async command end: completed successfully", + " [filtered 2 lines of output]", + "P00 INFO: archive-get:async command begin 2.55.0: [00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D, 00000007000000000000002E, 00000007000000000000002F, 000000070000000000000030, 000000070000000000000031, 000000070000000000000032] --archive-async --exec-id=838-91151505 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/16/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: get 8 WAL file(s) from archive: 00000007000000000000002B...000000070000000000000032", + "P02 DETAIL: found 00000007000000000000002C in the repo1: 16-1 archive", + "P01 DETAIL: found 00000007000000000000002B in the repo1: 16-1 archive", + "P02 DETAIL: found 00000007000000000000002D in the repo1: 16-1 archive", "P00 DETAIL: unable to find 00000007000000000000002E in the archive", "P00 INFO: archive-get:async command end: completed successfully", " [filtered 17 lines of output]" @@ -6287,7 +6272,7 @@ "value" : "pg-standby" }, "pg2-path" : { - "value" : "/var/lib/postgresql/15/demo" + "value" : "/var/lib/postgresql/16/demo" } }, "global" : { @@ -6302,13 +6287,13 @@ "config" : [ "[demo]", "pg1-host=pg-primary", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "pg2-host=pg-standby", - "pg2-path=/var/lib/postgresql/15/demo", + "pg2-path=/var/lib/postgresql/16/demo", "", "[demo-alt]", "pg1-host=pg-alt", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "backup-standby=y", @@ -6346,10 +6331,10 @@ "P00 INFO: wait for replay on the standby to reach 0/2F000028", "P00 INFO: replay on the standby reached 0/2F000028", "P00 INFO: check archive for prior segment 00000007000000000000002E", - "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/15/demo/global/pg_control (8KB, 0.53%) checksum 508e1f2fff5ae31753b61923d6908533b72a91a1", - "P01 DETAIL: match file from prior backup 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 8a07a75452a58d0ad1e11b8d607b50fcec1cbe18", - " [filtered 1276 lines of output]" + "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/16/demo/global/pg_control (8KB, 0.53%) checksum e76644f179dd23ad60eea0e6e5a1dba33c7832a0", + "P01 DETAIL: match file from prior backup pg-primary:/var/lib/postgresql/16/demo/pg_logical/replorigin_checkpoint (8B, 0.53%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/16/demo/base/5/1249 (464KB, 31.38%) checksum ad21eff1041d8672b2fbccf2b8e4af4c4d4cf7b2", + " [filtered 1278 lines of output]" ] } }, @@ -6357,7 +6342,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-primary", "load-env" : true, @@ -6370,7 +6355,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 15 demo stop" + "sudo pg_ctlcluster 16 demo stop" ], "host" : "pg-standby", "load-env" : true, @@ -6383,8 +6368,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres /usr/lib/postgresql/16/bin/initdb \\", - " -D /var/lib/postgresql/16/demo -k -A peer" + "sudo -u postgres /usr/lib/postgresql/17/bin/initdb \\", + " -D /var/lib/postgresql/17/demo -k -A peer" ], "host" : "pg-primary", "load-env" : true, @@ -6397,7 +6382,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_createcluster 16 demo" + "sudo pg_createcluster 17 demo" ], "host" : "pg-primary", "load-env" : true, @@ -6411,13 +6396,13 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres sh -c 'cd /var/lib/postgresql && \\", - " /usr/lib/postgresql/16/bin/pg_upgrade \\", - " --old-bindir=/usr/lib/postgresql/15/bin \\", - " --new-bindir=/usr/lib/postgresql/16/bin \\", - " --old-datadir=/var/lib/postgresql/15/demo \\", - " --new-datadir=/var/lib/postgresql/16/demo \\", - " --old-options=\" -c config_file=/etc/postgresql/15/demo/postgresql.conf\" \\", - " --new-options=\" -c config_file=/etc/postgresql/16/demo/postgresql.conf\"'" + " /usr/lib/postgresql/17/bin/pg_upgrade \\", + " --old-bindir=/usr/lib/postgresql/16/bin \\", + " --new-bindir=/usr/lib/postgresql/17/bin \\", + " --old-datadir=/var/lib/postgresql/16/demo \\", + " --new-datadir=/var/lib/postgresql/17/demo \\", + " --old-options=\" -c config_file=/etc/postgresql/16/demo/postgresql.conf\" \\", + " --new-options=\" -c config_file=/etc/postgresql/17/demo/postgresql.conf\"'" ], "highlight" : { "filter" : true, @@ -6434,7 +6419,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 42 lines of output]", + " [filtered 40 lines of output]", "Checking for extension updates ok", "", "Upgrade Complete", @@ -6448,7 +6433,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /etc/postgresql/16/demo/postgresql.conf" + "cat /root/postgresql.common.conf >> /etc/postgresql/17/demo/postgresql.conf" ], "host" : "pg-primary", "load-env" : true, @@ -6459,7 +6444,7 @@ }, { "key" : { - "file" : "/etc/postgresql/16/demo/postgresql.conf", + "file" : "/etc/postgresql/17/demo/postgresql.conf", "host" : "pg-primary", "option" : { "archive_command" : { @@ -6493,7 +6478,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/postgresql/16/demo" + "value" : "/var/lib/postgresql/17/demo" } } } @@ -6502,7 +6487,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/16/demo", + "pg1-path=/var/lib/postgresql/17/demo", "", "[global]", "archive-async=y", @@ -6525,7 +6510,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/postgresql/16/demo" + "value" : "/var/lib/postgresql/17/demo" } } } @@ -6534,7 +6519,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/postgresql/16/demo", + "pg1-path=/var/lib/postgresql/17/demo", "recovery-option=primary_conninfo=host=172.17.0.6 port=5432 user=replicator", "", "[global]", @@ -6558,10 +6543,10 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/postgresql/16/demo" + "value" : "/var/lib/postgresql/17/demo" }, "pg2-path" : { - "value" : "/var/lib/postgresql/16/demo" + "value" : "/var/lib/postgresql/17/demo" } }, "global" : { @@ -6576,13 +6561,13 @@ "config" : [ "[demo]", "pg1-host=pg-primary", - "pg1-path=/var/lib/postgresql/16/demo", + "pg1-path=/var/lib/postgresql/17/demo", "pg2-host=pg-standby", - "pg2-path=/var/lib/postgresql/16/demo", + "pg2-path=/var/lib/postgresql/17/demo", "", "[demo-alt]", "pg1-host=pg-alt", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "backup-standby=n", @@ -6597,8 +6582,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp /etc/postgresql/15/demo/pg_hba.conf \\", - " /etc/postgresql/16/demo/pg_hba.conf" + "sudo cp /etc/postgresql/16/demo/pg_hba.conf \\", + " /etc/postgresql/17/demo/pg_hba.conf" ], "host" : "pg-primary", "load-env" : true, @@ -6629,7 +6614,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.54.0: --exec-id=3416-1618a4af --log-level-console=info --log-level-file=detail --no-log-timestamp --no-online --pg1-path=/var/lib/postgresql/16/demo --repo1-host=repository --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.55.0: --exec-id=2737-74c8e868 --log-level-console=info --log-level-file=detail --no-log-timestamp --no-online --pg1-path=/var/lib/postgresql/17/demo --repo1-host=repository --stanza=demo", "P00 INFO: stanza-upgrade for stanza 'demo' on repo1", "P00 INFO: stanza-upgrade command end: completed successfully" ] @@ -6639,7 +6624,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 16 demo start" + "sudo pg_ctlcluster 17 demo start" ], "host" : "pg-primary", "load-env" : true, @@ -6678,7 +6663,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_dropcluster 15 demo" + "sudo pg_dropcluster 16 demo" ], "host" : "pg-primary", "load-env" : true, @@ -6691,7 +6676,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_dropcluster 15 demo" + "sudo pg_dropcluster 16 demo" ], "host" : "pg-standby", "load-env" : true, @@ -6704,7 +6689,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_createcluster 16 demo" + "sudo pg_createcluster 17 demo" ], "host" : "pg-standby", "load-env" : true, @@ -6760,7 +6745,7 @@ }, { "key" : { - "file" : "/etc/postgresql/16/demo/postgresql.conf", + "file" : "/etc/postgresql/17/demo/postgresql.conf", "host" : "pg-standby", "option" : { "hot_standby" : { @@ -6779,7 +6764,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo pg_ctlcluster 16 demo start" + "sudo pg_ctlcluster 17 demo start" ], "host" : "pg-standby", "load-env" : true, @@ -6831,13 +6816,13 @@ "config" : [ "[demo]", "pg1-host=pg-primary", - "pg1-path=/var/lib/postgresql/16/demo", + "pg1-path=/var/lib/postgresql/17/demo", "pg2-host=pg-standby", - "pg2-path=/var/lib/postgresql/16/demo", + "pg2-path=/var/lib/postgresql/17/demo", "", "[demo-alt]", "pg1-host=pg-alt", - "pg1-path=/var/lib/postgresql/15/demo", + "pg1-path=/var/lib/postgresql/16/demo", "", "[global]", "backup-standby=y", @@ -6872,7 +6857,7 @@ { "key" : { "id" : "s3", - "image" : "minio/minio:RELEASE.2024-07-15T19-02-30Z", + "image" : "minio/minio", "name" : "s3-server", "option" : "-v {[host-repo-path]}/doc/resource/fake-cert/s3-server.crt:/root/.minio/certs/public.crt:ro -v {[host-repo-path]}/doc/resource/fake-cert/s3-server.key:/root/.minio/certs/private.key:ro -e MINIO_REGION=us-east-1 -e MINIO_DOMAIN=s3.us-east-1.amazonaws.com -e MINIO_BROWSER=off -e MINIO_ACCESS_KEY=accessKey1 -e MINIO_SECRET_KEY=verySecretKey1", "os" : "rhel", @@ -6914,7 +6899,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.54.0" + "sudo mkdir -p /build/pgbackrest-release-2.55.0" ], "host" : "build", "load-env" : true, @@ -6927,7 +6912,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.54.0" + "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.55.0" ], "host" : "build", "load-env" : true, @@ -6953,7 +6938,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo yum install make gcc postgresql12-devel openssl-devel \\", + "sudo yum install meson gcc postgresql13-devel openssl-devel \\", " libxml2-devel lz4-devel libzstd-devel bzip2-devel libyaml-devel libssh2-devel" ], "cmd-extra" : "-y 2>&1", @@ -6968,9 +6953,21 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.54.0/src && ./configure && make" + "meson setup /build/pgbackrest /build/pgbackrest-release-2.55.0" + ], + "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, @@ -7010,7 +7007,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.54.0/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -7138,7 +7135,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.54.0 - General help", + "pgBackRest 2.55.0 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -7162,7 +7159,7 @@ " stanza-upgrade upgrade a stanza", " start allow pgBackRest processes to run", " stop stop pgBackRest processes from running", - " verify verify contents of the repository", + " verify verify contents of a repository", " version get version", "", "Use 'pgbackrest help [command]' for more information." @@ -7173,8 +7170,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres /usr/pgsql-12/bin/initdb \\", - " -D /var/lib/pgsql/12/data -k -A peer" + "sudo -u postgres /usr/pgsql-13/bin/initdb \\", + " -D /var/lib/pgsql/13/data -k -A peer" ], "host" : "pg-primary", "load-env" : true, @@ -7187,7 +7184,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /var/lib/pgsql/12/data/postgresql.conf" + "cat /root/postgresql.common.conf >> /var/lib/pgsql/13/data/postgresql.conf" ], "host" : "pg-primary", "load-env" : true, @@ -7198,7 +7195,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/12/data/postgresql.conf", + "file" : "/var/lib/pgsql/13/data/postgresql.conf", "host" : "pg-primary", "option" : { "log_filename" : { @@ -7220,7 +7217,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/12/data" + "value" : "/var/lib/pgsql/13/data" } }, "global" : { @@ -7234,7 +7231,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data" + "pg1-path=/var/lib/pgsql/13/data" ] } }, @@ -7261,7 +7258,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.54.0 - 'backup' command - 'log-path' option help", + "pgBackRest 2.55.0 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -7328,7 +7325,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-path=/var/lib/pgbackrest" @@ -7337,7 +7334,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/12/data/postgresql.conf", + "file" : "/var/lib/pgsql/13/data/postgresql.conf", "host" : "pg-primary", "option" : { "archive_command" : { @@ -7369,7 +7366,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl restart postgresql-12.service" + "sudo systemctl restart postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -7432,7 +7429,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-path=/var/lib/pgbackrest", @@ -7458,7 +7455,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-path=/var/lib/pgbackrest", @@ -7488,7 +7485,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -7522,7 +7519,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.54.0: --exec-id=1114-a8a71400 --log-level-console=info --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.55.0: --exec-id=1132-b904d6ef --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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" ] @@ -7549,10 +7546,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=1141-cb3a9a8c --log-level-console=info --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.55.0: --exec-id=1159-e5a4570b --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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-d82f7aba24ba8d0a5d2322bb7d75d8da98375e5a.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/13-1/0000000100000000/000000010000000000000001-422bb25a2f87163142f34c61d8545fb377c1275f.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -7573,7 +7570,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -7609,16 +7606,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.54.0: --exec-id=1211-59487bec --log-level-console=info --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.55.0: --exec-id=1230-d6c8d558 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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 = 20241021-050958F", - "P00 INFO: full backup size = 23.5MB, file total = 981", + "P00 INFO: new backup label = 20250421-131256F", + "P00 INFO: full backup size = 23.2MB, file total = 936", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=1211-59487bec --log-level-console=info --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.55.0: --exec-id=1230-d6c8d558 --log-level-console=info --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" ] } }, @@ -7636,7 +7633,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-050958F" + "20250421-131256F" ] } }, @@ -7664,10 +7661,10 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000004:000000010000000000000005", - "P00 INFO: new backup label = 20241021-050958F_20241021-051000D", - "P00 INFO: diff backup size = 8.8KB, file total = 981", + "P00 INFO: new backup label = 20250421-131256F_20250421-131300D", + "P00 INFO: diff backup size = 9.1KB, file total = 936", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=1270-3107b814 --log-level-console=info --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.55.0: --exec-id=1289-be2b5ffd --log-level-console=info --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo" ] } }, @@ -7697,19 +7694,19 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (12): 000000010000000000000001/000000010000000000000005", + " wal archive min/max (13): 000000010000000000000001/000000010000000000000005", "", - " full backup: 20241021-050958F", - " timestamp start/stop: 2024-10-21 05:09:58+00 / 2024-10-21 05:10:00+00", + " full backup: 20250421-131256F", + " timestamp start/stop: 2025-04-21 13:12:56+00 / 2025-04-21 13:12:58+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", + " database size: 23.2MB, database backup size: 23.2MB", + " repo1: backup set size: 2.9MB, backup size: 2.9MB", "", - " diff backup: 20241021-050958F_20241021-051000D", - " timestamp start/stop: 2024-10-21 05:10:00+00 / 2024-10-21 05:10:02+00", + " diff backup: 20250421-131256F_20250421-131300D", + " timestamp start/stop: 2025-04-21 13:13:00+00 / 2025-04-21 13:13:01+00", " wal start/stop: 000000010000000000000004 / 000000010000000000000005", - " database size: 23.5MB, database backup size: 8.8KB", - " repo1: backup set size: 2.8MB, backup size: 688B", + " database size: 23.2MB, database backup size: 9.1KB", + " repo1: backup set size: 2.9MB, backup size: 832B", " backup reference total: 1 full" ] } @@ -7718,7 +7715,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -7731,7 +7728,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres rm /var/lib/pgsql/12/data/global/pg_control" + "sudo -u postgres rm /var/lib/pgsql/13/data/global/pg_control" ], "host" : "pg-primary", "load-env" : true, @@ -7744,7 +7741,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "err-expect" : "1", "host" : "pg-primary", @@ -7758,7 +7755,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl status postgresql-12.service" + "sudo systemctl status postgresql-13.service" ], "err-expect" : "3", "highlight" : { @@ -7776,8 +7773,8 @@ "type" : "exe", "value" : { "output" : [ - "postgresql-12.service - PostgreSQL 12 database server", - " Loaded: loaded (/usr/lib/systemd/system/postgresql-12.service, disabled)", + "postgresql-13.service - PostgreSQL 13 database server", + " Loaded: loaded (/usr/lib/systemd/system/postgresql-13.service, disabled)", " Active: failed (failed)" ] } @@ -7786,7 +7783,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres find /var/lib/pgsql/12/data -mindepth 1 -delete" + "sudo -u postgres find /var/lib/pgsql/13/data -mindepth 1 -delete" ], "host" : "pg-primary", "load-env" : true, @@ -7812,7 +7809,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -7975,7 +7972,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2024-10-21 05:10:02+00 | 000000010000000000000005", + " \"demo\" | 2025-04-21 13:13:01+00 | 000000010000000000000005", "(1 row)" ] } @@ -7996,7 +7993,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-bundle=y", @@ -8058,7 +8055,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-block=y", @@ -8102,7 +8099,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-051015F" + "20250421-131317F" ] } }, @@ -8110,7 +8107,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20241021-051015F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20250421-131317F info" ], "highlight" : { "filter" : false, @@ -8132,15 +8129,15 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (12): 000000020000000000000007/000000020000000000000009", + " wal archive min/max (13): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20241021-051015F", - " timestamp start/stop: 2024-10-21 05:10:15+00 / 2024-10-21 05:10:17+00", + " full backup: 20250421-131317F", + " timestamp start/stop: 2025-04-21 13:13:17+00 / 2025-04-21 13:13:19+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000050", - " database size: 23.5MB, database backup size: 23.5MB", - " repo1: backup size: 2.8MB", - " database list: postgres (13396)", + " database size: 23.2MB, database backup size: 23.2MB", + " repo1: backup size: 2.9MB", + " database list: postgres (13383)", " annotation(s)", " key: value", " source: demo backup" @@ -8151,7 +8148,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20241021-051015F \\", + "sudo -u postgres pgbackrest --stanza=demo --set=20250421-131317F \\", " --annotation=key= --annotation=new_key=new_value annotate" ], "host" : "pg-primary", @@ -8165,7 +8162,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20241021-051015F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20250421-131317F info" ], "highlight" : { "filter" : false, @@ -8187,15 +8184,15 @@ " cipher: aes-256-cbc", "", " db (current)", - " wal archive min/max (12): 000000020000000000000007/000000020000000000000009", + " wal archive min/max (13): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20241021-051015F", - " timestamp start/stop: 2024-10-21 05:10:15+00 / 2024-10-21 05:10:17+00", + " full backup: 20250421-131317F", + " timestamp start/stop: 2025-04-21 13:13:17+00 / 2025-04-21 13:13:19+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000050", - " database size: 23.5MB, database backup size: 23.5MB", - " repo1: backup size: 2.8MB", - " database list: postgres (13396)", + " database size: 23.2MB, database backup size: 23.2MB", + " repo1: backup size: 2.9MB", + " database list: postgres (13383)", " annotation(s)", " new_key: new_value", " source: demo backup" @@ -8218,7 +8215,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-block=y", @@ -8245,7 +8242,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20241021-050958F|remove archive" + "archive retention on backup 20250421-131256F|remove archive" ] }, "host" : "pg-primary", @@ -8256,10 +8253,10 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 993 lines of output]", - "P00 INFO: repo1: remove expired backup 20241021-051013F", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20241021-051015F, start = 000000020000000000000008", - "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000007", + " [filtered 948 lines of output]", + "P00 INFO: repo1: remove expired backup 20250421-131313F", + "P00 DETAIL: repo1: 13-1 archive retention on backup 20250421-131317F, start = 000000020000000000000008", + "P00 INFO: repo1: 13-1 remove archive, start = 000000020000000000000007, stop = 000000020000000000000007", "P00 INFO: expire command end: completed successfully" ] } @@ -8278,7 +8275,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-051019F" + "20250421-131321F" ] } }, @@ -8293,7 +8290,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20241021-050958F|archive retention on backup 20241021-051019F|remove archive" + "expire full backup set 20250421-131256F|archive retention on backup 20250421-131321F|remove archive" ] }, "host" : "pg-primary", @@ -8305,9 +8302,9 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "P00 INFO: repo1: expire full backup 20241021-051015F", - "P00 INFO: repo1: remove expired backup 20241021-051015F", - "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000008, stop = 000000020000000000000009", + "P00 INFO: repo1: expire full backup 20250421-131317F", + "P00 INFO: repo1: remove expired backup 20250421-131317F", + "P00 INFO: repo1: 13-1 remove archive, start = 000000020000000000000008, stop = 000000020000000000000009", "P00 INFO: expire command end: completed successfully" ] } @@ -8328,7 +8325,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-block=y", @@ -8372,7 +8369,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-051021F_20241021-051023D" + "20250421-131323F_20250421-131326D" ] } }, @@ -8400,7 +8397,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20241021-051021F_20241021-051023D" + "expire diff backup set 20250421-131323F_20250421-131326D" ] }, "host" : "pg-primary", @@ -8413,10 +8410,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=2267-0d412f40 --log-level-console=info --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 20241021-051021F_20241021-051023D, 20241021-051021F_20241021-051024I", - "P00 INFO: repo1: remove expired backup 20241021-051021F_20241021-051024I", - "P00 INFO: repo1: remove expired backup 20241021-051021F_20241021-051023D", + "P00 INFO: expire command begin 2.55.0: --exec-id=2288-640159d6 --log-level-console=info --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 20250421-131323F_20250421-131326D, 20250421-131323F_20250421-131328I", + "P00 INFO: repo1: remove expired backup 20250421-131323F_20250421-131328I", + "P00 INFO: repo1: remove expired backup 20250421-131323F_20250421-131326D", "P00 INFO: expire command end: completed successfully" ] } @@ -8437,7 +8434,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-block=y", @@ -8468,7 +8465,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-051021F_20241021-051025D" + "20250421-131323F_20250421-131330D" ] } }, @@ -8512,8 +8509,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 = 20241021-051021F_20241021-051027D", - "P00 INFO: diff backup size = 10.8KB, file total = 981", + "P00 INFO: new backup label = 20250421-131323F_20250421-131332D", + "P00 INFO: diff backup size = 11.4KB, file total = 936", "P00 INFO: backup command end: completed successfully", " [filtered 2 lines of output]" ] @@ -8533,7 +8530,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-051021F_20241021-051027D" + "20250421-131323F_20250421-131332D" ] } }, @@ -8548,7 +8545,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20241021-051021F_20241021-051025D|remove archive" + "archive retention on backup 20250421-131323F_20250421-131330D|remove archive" ] }, "host" : "pg-primary", @@ -8559,13 +8556,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.54.0: --exec-id=2456-ce762eb6 --log-level-console=detail --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 20241021-051019F, start = 00000002000000000000000A, stop = 00000002000000000000000B", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20241021-051021F, start = 00000002000000000000000C, stop = 00000002000000000000000D", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20241021-051021F_20241021-051025D, start = 000000020000000000000012, stop = 000000020000000000000013", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20241021-051021F_20241021-051027D, start = 000000020000000000000016", - "P00 INFO: repo1: 12-1 remove archive, start = 00000002000000000000000E, stop = 000000020000000000000011", - "P00 INFO: repo1: 12-1 remove archive, start = 000000020000000000000014, stop = 000000020000000000000015", + "P00 INFO: expire command begin 2.55.0: --exec-id=2478-d1622894 --log-level-console=detail --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: 13-1 archive retention on backup 20250421-131321F, start = 00000002000000000000000A, stop = 00000002000000000000000B", + "P00 DETAIL: repo1: 13-1 archive retention on backup 20250421-131323F, start = 00000002000000000000000D, stop = 00000002000000000000000D", + "P00 DETAIL: repo1: 13-1 archive retention on backup 20250421-131323F_20250421-131330D, start = 000000020000000000000012, stop = 000000020000000000000013", + "P00 DETAIL: repo1: 13-1 archive retention on backup 20250421-131323F_20250421-131332D, start = 000000020000000000000016", + "P00 INFO: repo1: 13-1 remove archive, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 INFO: repo1: 13-1 remove archive, start = 00000002000000000000000E, stop = 000000020000000000000011", + "P00 INFO: repo1: 13-1 remove archive, start = 000000020000000000000014, stop = 000000020000000000000015", "P00 INFO: expire command end: completed successfully" ] } @@ -8574,7 +8572,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -8606,12 +8604,12 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 DETAIL: check '/var/lib/pgsql/12/data' exists", + "P00 DETAIL: check '/var/lib/pgsql/13/data' exists", "P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete", - "P00 INFO: remove invalid files/links/paths from '/var/lib/pgsql/12/data'", - "P00 DETAIL: remove invalid file '/var/lib/pgsql/12/data/backup_label.old'", - "P00 DETAIL: remove invalid file '/var/lib/pgsql/12/data/base/13396/pg_internal.init'", - " [filtered 1027 lines of output]" + "P00 INFO: remove invalid files/links/paths from '/var/lib/pgsql/13/data'", + "P00 DETAIL: remove invalid file '/var/lib/pgsql/13/data/backup_label.old'", + "P00 DETAIL: remove invalid file '/var/lib/pgsql/13/data/base/13383/pg_internal.init'", + " [filtered 981 lines of output]" ] } }, @@ -8619,7 +8617,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -8750,7 +8748,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres du -sh /var/lib/pgsql/12/data/base/32768" + "sudo -u postgres du -sh /var/lib/pgsql/13/data/base/32768" ], "host" : "pg-primary", "load-env" : true, @@ -8760,7 +8758,7 @@ "type" : "exe", "value" : { "output" : [ - "7.8M\t/var/lib/pgsql/12/data/base/32768" + "7.8M\t/var/lib/pgsql/13/data/base/32768" ] } }, @@ -8778,7 +8776,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-051021F_20241021-051036I" + "20250421-131323F_20250421-131343I" ] } }, @@ -8787,7 +8785,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20241021-051021F_20241021-051036I info" + " --set=20250421-131323F_20250421-131343I info" ], "highlight" : { "filter" : true, @@ -8806,8 +8804,8 @@ "output" : [ " [filtered 12 lines of output]", " repo1: backup size: 1.9MB", - " backup reference list: 20241021-051021F, 20241021-051021F_20241021-051027D", - " database list: postgres (13396), test1 (32768), test2 (32769)" + " backup reference list: 20250421-131323F, 20250421-131323F_20250421-131332D", + " database list: postgres (13383), test1 (32768), test2 (32769)" ] } }, @@ -8815,7 +8813,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -8842,7 +8840,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -8907,7 +8905,7 @@ "type" : "exe", "value" : { "output" : [ - "psql: error: FATAL: relation mapping file \"base/32768/pg_filenode.map\" contains invalid data" + "psql: error: connection to server on socket \"/run/postgresql/.s.PGSQL.5432\" failed: FATAL: relation mapping file \"base/32768/pg_filenode.map\" contains invalid data" ] } }, @@ -8915,7 +8913,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres du -sh /var/lib/pgsql/12/data/base/32768" + "sudo -u postgres du -sh /var/lib/pgsql/13/data/base/32768" ], "host" : "pg-primary", "load-env" : true, @@ -8925,7 +8923,7 @@ "type" : "exe", "value" : { "output" : [ - "16K\t/var/lib/pgsql/12/data/base/32768" + "8.0K\t/var/lib/pgsql/13/data/base/32768" ] } }, @@ -8971,8 +8969,8 @@ " oid | datname ", "-------+-----------", " 1 | template1", - " 13395 | template0", - " 13396 | postgres", + " 13382 | template0", + " 13383 | postgres", " 32769 | test2", "(4 rows)" ] @@ -9037,7 +9035,7 @@ "type" : "exe", "value" : { "output" : [ - "2024-10-21 05:10:48.907566+00" + "2025-04-21 13:13:56.887384+00" ] } }, @@ -9112,7 +9110,7 @@ "type" : "exe", "value" : { "output" : [ - "20241021-051021F_20241021-051050I" + "20250421-131323F_20250421-131358I" ] } }, @@ -9126,7 +9124,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "20241021-051021F_20241021-051050I" + "20250421-131323F_20250421-131358I" ] }, "host" : "pg-primary", @@ -9140,8 +9138,8 @@ " [filtered 38 lines of output]", " backup reference total: 1 full, 1 diff", "", - " incr backup: 20241021-051021F_20241021-051050I", - " timestamp start/stop: 2024-10-21 05:10:50+00 / 2024-10-21 05:10:51+00", + " incr backup: 20250421-131323F_20250421-131358I", + " timestamp start/stop: 2025-04-21 13:13:58+00 / 2025-04-21 13:13:59+00", " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", " [filtered 2 lines of output]" ] @@ -9151,7 +9149,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -9165,8 +9163,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20241021-051021F_20241021-051050I --target-timeline=current \\", - " --type=time \"--target=2024-10-21 05:10:48.907566+00\" --target-action=promote restore" + " --set=20250421-131323F_20250421-131358I --target-timeline=current \\", + " --type=time \"--target=2025-04-21 13:13:56.887384+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -9179,7 +9177,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/lib/pgsql/12/data/log/postgresql.log" + "sudo rm /var/lib/pgsql/13/data/log/postgresql.log" ], "host" : "pg-primary", "load-env" : true, @@ -9192,95 +9190,9 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" - ], - "host" : "pg-primary", - "load-env" : true, - "output" : false, - "run-as-user" : null - }, - "type" : "exe" - }, - { - "key" : { - "bash-wrap" : true, - "cmd" : [ - "sudo -u postgres sleep 2" - ], - "host" : "pg-primary", - "load-env" : true, - "output" : false, - "run-as-user" : null - }, - "type" : "exe" - }, - { - "key" : { - "bash-wrap" : true, - "cmd" : [ - "sudo -u postgres psql -c \"select * from important_table\"" + "sudo systemctl start postgresql-13.service" ], "err-expect" : "1", - "highlight" : { - "filter" : true, - "filter-context" : 2, - "list" : [ - "does not exist" - ] - }, - "host" : "pg-primary", - "load-env" : true, - "output" : true, - "run-as-user" : null - }, - "type" : "exe", - "value" : { - "output" : [ - "ERROR: relation \"important_table\" does not exist", - "LINE 1: select * from important_table", - " ^" - ] - } - }, - { - "key" : { - "bash-wrap" : true, - "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/12/data/log/postgresql.log" - ], - "highlight" : { - "filter" : true, - "filter-context" : 2, - "list" : [ - "starting point-in-time recovery|consistent recovery state reached" - ] - }, - "host" : "pg-primary", - "load-env" : true, - "output" : true, - "run-as-user" : null - }, - "type" : "exe", - "value" : { - "output" : [ - "LOG: database system was interrupted; last known up at 2024-10-21 05:10:50 UTC", - "LOG: starting point-in-time recovery to 2024-10-21 05:10:48.907566+00", - "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: redo starts at 0/1A000028", - "LOG: consistent recovery state reached at 0/1A000100", - "LOG: database system is ready to accept read only connections", - "LOG: redo done at 0/1A000100", - " [filtered 6 lines of output]" - ] - } - }, - { - "key" : { - "bash-wrap" : true, - "cmd" : [ - "sudo systemctl stop postgresql-12.service" - ], "host" : "pg-primary", "load-env" : true, "output" : false, @@ -9288,12 +9200,42 @@ }, "type" : "exe" }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres cat /var/lib/pgsql/13/data/log/postgresql.log" + ], + "highlight" : { + "filter" : true, + "filter-context" : 2, + "list" : [ + "recovery ended before configured recovery target was reached" + ] + }, + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe", + "value" : { + "output" : [ + " [filtered 11 lines of output]", + "LOG: database system is ready to accept read only connections", + "LOG: redo done at 0/1A000100", + "FATAL: recovery ended before configured recovery target was reached", + "LOG: startup process (PID 3443) exited with exit code 1", + "LOG: terminating any other active server processes" + ] + } + }, { "key" : { "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2024-10-21 05:10:48.907566+00\" \\", + " --type=time \"--target=2025-04-21 13:13:56.887384+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -9307,7 +9249,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/lib/pgsql/12/data/log/postgresql.log" + "sudo rm /var/lib/pgsql/13/data/log/postgresql.log" ], "host" : "pg-primary", "load-env" : true, @@ -9320,7 +9262,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/12/data/postgresql.auto.conf" + "sudo -u postgres cat /var/lib/pgsql/13/data/postgresql.auto.conf" ], "highlight" : { "filter" : true, @@ -9338,9 +9280,9 @@ "value" : { "output" : [ " [filtered 9 lines of output]", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:11:01", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:14:05", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2024-10-21 05:10:48.907566+00'", + "recovery_target_time = '2025-04-21 13:13:56.887384+00'", "recovery_target_action = 'promote'" ] } @@ -9349,7 +9291,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -9403,7 +9345,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/12/data/log/postgresql.log" + "sudo -u postgres cat /var/lib/pgsql/13/data/log/postgresql.log" ], "highlight" : { "filter" : true, @@ -9420,19 +9362,19 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2024-10-21 05:10:36 UTC", + " [filtered 5 lines of output]", + "LOG: database system was interrupted; last known up at 2025-04-21 13:13:43 UTC", + "LOG: restored log file \"00000004.history\" from archive", + "LOG: starting point-in-time recovery to 2025-04-21 13:13:56.887384+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"00000005.history\" from archive", - "LOG: starting point-in-time recovery to 2024-10-21 05:10:48.907566+00", - "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"000000040000000000000019\" from archive", - " [filtered 3 lines of output]", + " [filtered 2 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-10-21 05:10:50.218097+00", - "LOG: redo done at 0/1901D158", - "LOG: last completed transaction was at log time 2024-10-21 05:10:47.605687+00", - "LOG: selected new timeline ID: 6", + "LOG: recovery stopping before commit of transaction 495, time 2025-04-21 13:13:58.415355+00", + "LOG: redo done at 0/1901E348", + "LOG: last completed transaction was at log time 2025-04-21 13:13:55.599557+00", + "LOG: selected new timeline ID: 5", "LOG: archive recovery complete", "LOG: database system is ready to accept connections" ] @@ -9442,7 +9384,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -9472,7 +9414,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.54.0: --exec-id=3799-a7bf6a2d --log-level-console=info --no-log-timestamp --stanza=demo", + "P00 INFO: stop command begin 2.55.0: --exec-id=3734-6522fbe8 --log-level-console=info --no-log-timestamp --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -9499,7 +9441,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.54.0: --exec-id=3825-9db0043a --log-level-console=info --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.55.0: --exec-id=3760-e53bdbcf --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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" ] } @@ -9508,7 +9450,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -9523,9 +9465,6 @@ "host" : "pg-primary", "option" : { "global" : { - "process-max" : { - "value" : "4" - }, "repo2-azure-account" : { "value" : "pgbackrest" }, @@ -9551,10 +9490,9 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", - "process-max=4", "repo1-block=y", "repo1-bundle=y", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -9624,7 +9562,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.54.0: --exec-id=3991-4b392490 --log-level-console=info --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.55.0: --exec-id=3926-affd3ca0 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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" @@ -9653,16 +9591,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.54.0: --exec-id=4018-a64ee246 --log-level-console=info --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.55.0: --exec-id=3953-68d03872 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/pgsql/13/data --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", + "P00 INFO: backup start archive = 00000005000000000000001B, lsn = 0/1B000028", " [filtered 3 lines of output]", - "P00 INFO: check archive for segment(s) 00000006000000000000001B:00000006000000000000001B", - "P00 INFO: new backup label = 20241021-051117F", - "P00 INFO: full backup size = 31.1MB, file total = 1287", + "P00 INFO: check archive for segment(s) 00000005000000000000001B:00000005000000000000001B", + "P00 INFO: new backup label = 20250421-131423F", + "P00 INFO: full backup size = 30.8MB, file total = 1229", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=4018-a64ee246 --log-level-console=info --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.55.0: --exec-id=3953-68d03872 --log-level-console=info --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" ] } }, @@ -9672,9 +9610,6 @@ "host" : "pg-primary", "option" : { "global" : { - "process-max" : { - "value" : "4" - }, "repo3-path" : { "value" : "/demo-repo" }, @@ -9706,10 +9641,9 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", - "process-max=4", "repo1-block=y", "repo1-bundle=y", "repo1-cipher-pass=zWaf6XtpjIVZC5444yXB+cgFDFl7MxGlgkZSaoPvTGirhPygu4jOKOXf9LO4vjfO", @@ -9827,16 +9761,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.54.0: --exec-id=4144-e53019a1 --log-level-console=info --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.55.0: --exec-id=4076-d08c3169 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/pgsql/13/data --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 = 00000006000000000000001D, lsn = 0/1D000028", + "P00 INFO: backup start archive = 00000005000000000000001C, lsn = 0/1C000028", " [filtered 3 lines of output]", - "P00 INFO: check archive for segment(s) 00000006000000000000001D:00000006000000000000001D", - "P00 INFO: new backup label = 20241021-051126F", - "P00 INFO: full backup size = 31.1MB, file total = 1287", + "P00 INFO: check archive for segment(s) 00000005000000000000001C:00000005000000000000001D", + "P00 INFO: new backup label = 20250421-131433F", + "P00 INFO: full backup size = 30.8MB, file total = 1229", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=4144-e53019a1 --log-level-console=info --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.55.0: --exec-id=4076-d08c3169 --log-level-console=info --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" ] } }, @@ -9854,7 +9788,7 @@ "type" : "exe", "value" : { "output" : [ - "2024-10-21 05:11:31+00" + "2025-04-21 13:14:40+00" ] } }, @@ -9898,7 +9832,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "process-max=4", @@ -10081,18 +10015,18 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.54.0: --exec-id=4380-52f76aac --log-level-console=info --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.55.0: --exec-id=4309-3d23f2f1 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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", "P00 INFO: execute non-exclusive backup start: backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000006000000000000001E, lsn = 0/1E000028", + "P00 INFO: backup start archive = 00000005000000000000001E, lsn = 0/1E000028", " [filtered 3 lines of output]", - "P00 INFO: check archive for segment(s) 00000006000000000000001E:00000006000000000000001F", - "P00 INFO: new backup label = 20241021-051133F", - "P00 INFO: full backup size = 31.1MB, file total = 1287", + "P00 INFO: check archive for segment(s) 00000005000000000000001E:00000005000000000000001F", + "P00 INFO: new backup label = 20250421-131443F", + "P00 INFO: full backup size = 30.8MB, file total = 1229", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.54.0: --exec-id=4380-52f76aac --log-level-console=info --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.55.0: --exec-id=4309-3d23f2f1 --log-level-console=info --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" ] } @@ -10103,9 +10037,6 @@ "host" : "pg-primary", "option" : { "global" : { - "process-max" : { - "value" : "4" - }, "repo5-gcs-bucket" : { "value" : "demo-bucket" }, @@ -10125,7 +10056,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "process-max=4", @@ -10173,7 +10104,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -10270,11 +10201,11 @@ "type" : "exe", "value" : { "output" : [ - "[2024-10-21 05:11:40 UTC] 0B STANDARD 95eaa71d-8063-4600-afe1-3eb56ec1f2f7 v3 DEL backup.info", - "[2024-10-21 05:11:31 UTC] 1.0KiB STANDARD f17b2b25-28f8-44cc-913e-83546c337648 v2 PUT backup.info", - "[2024-10-21 05:11:25 UTC] 372B STANDARD 8c46925b-db92-439a-a2cb-5a456a0bc769 v1 PUT backup.info", - "[2024-10-21 05:11:40 UTC] 0B STANDARD 779ee29a-3230-4151-8643-1d1ea96f79bc v3 DEL backup.info.copy", - "[2024-10-21 05:11:31 UTC] 1.0KiB STANDARD 475cb12d-522c-4316-a538-f503f30179ea v2 PUT backup.info.copy" + "[2025-04-21 13:14:52 UTC] 0B STANDARD 87e00a49-cfe8-4978-947f-9a557f039513 v3 DEL backup.info", + "[2025-04-21 13:14:40 UTC] 1.0KiB STANDARD 908ea7a5-a84f-4b0d-88cb-c8b17e6c0290 v2 PUT backup.info", + "[2025-04-21 13:14:33 UTC] 372B STANDARD 149d2def-0871-48c7-ba6f-6bad83a9afd4 v1 PUT backup.info", + "[2025-04-21 13:14:52 UTC] 0B STANDARD 05a26eec-7460-419f-9397-6444fae38507 v3 DEL backup.info.copy", + "[2025-04-21 13:14:40 UTC] 1.0KiB STANDARD 4369ef03-d0bd-4e29-8342-03d757acba14 v2 PUT backup.info.copy" ] } }, @@ -10283,7 +10214,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --repo=3 \\", - " --repo-target-time=\"2024-10-21 05:11:31+00\" info" + " --repo-target-time=\"2025-04-21 13:14:40+00\" info" ], "highlight" : { "filter" : true, @@ -10301,12 +10232,12 @@ "value" : { "output" : [ " [filtered 5 lines of output]", - " wal archive min/max (12): 00000006000000000000001C/00000006000000000000001D", + " wal archive min/max (13): 00000005000000000000001C/00000005000000000000001D", "", - " full backup: 20241021-051126F", - " timestamp start/stop: 2024-10-21 05:11:26+00 / 2024-10-21 05:11:30+00", - " wal start/stop: 00000006000000000000001D / 00000006000000000000001D", - " repo3: backup set size: 3.7MB, backup size: 3.7MB" + " full backup: 20250421-131433F", + " timestamp start/stop: 2025-04-21 13:14:33+00 / 2025-04-21 13:14:39+00", + " wal start/stop: 00000005000000000000001C / 00000005000000000000001D", + " repo3: backup set size: 3.8MB, backup size: 3.8MB" ] } }, @@ -10315,7 +10246,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --repo=3 --delta \\", - " --repo-target-time=\"2024-10-21 05:11:31+00\" --log-level-console=info restore" + " --repo-target-time=\"2025-04-21 13:14:40+00\" --log-level-console=info restore" ], "highlight" : { "filter" : true, @@ -10332,10 +10263,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: restore command begin 2.54.0: --delta --exec-id=4612-702becfc --log-level-console=info --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-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo5-gcs-bucket=demo-bucket --repo5-gcs-key= --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-path=/demo-repo --repo5-path=/demo-repo --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --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 --repo-target-time=\"2024-10-21 05:11:31+00\" --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --repo5-type=gcs --stanza=demo", - "P00 INFO: repo3: restore backup set 20241021-051126F, recovery will start at 2024-10-21 05:11:26", - "P00 INFO: remove invalid files/links/paths from '/var/lib/pgsql/12/data'", - "P00 INFO: write updated /var/lib/pgsql/12/data/postgresql.auto.conf", + "P00 INFO: restore command begin 2.55.0: --delta --exec-id=4541-34fb8277 --log-level-console=info --no-log-timestamp --pg1-path=/var/lib/pgsql/13/data --process-max=4 --repo=3 --repo2-azure-account= --repo2-azure-container=demo-container --repo2-azure-key= --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo5-gcs-bucket=demo-bucket --repo5-gcs-key= --repo1-path=/var/lib/pgbackrest --repo2-path=/demo-repo --repo3-path=/demo-repo --repo4-path=/demo-repo --repo5-path=/demo-repo --repo3-s3-bucket=demo-bucket --repo3-s3-endpoint=s3.us-east-1.amazonaws.com --repo3-s3-key= --repo3-s3-key-secret= --repo3-s3-region=us-east-1 --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 --repo-target-time=\"2025-04-21 13:14:40+00\" --repo2-type=azure --repo3-type=s3 --repo4-type=sftp --repo5-type=gcs --stanza=demo", + "P00 INFO: repo3: restore backup set 20250421-131433F, recovery will start at 2025-04-21 13:14:33", + "P00 INFO: remove invalid files/links/paths from '/var/lib/pgsql/13/data'", + "P00 INFO: write updated /var/lib/pgsql/13/data/postgresql.auto.conf", " [filtered 2 lines of output]" ] } @@ -10344,7 +10275,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -10411,7 +10342,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.54.0/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -10606,7 +10537,7 @@ "value" : "tls" }, "pg1-path" : { - "value" : "/var/lib/pgsql/12/data" + "value" : "/var/lib/pgsql/13/data" } }, "global" : { @@ -10646,7 +10577,7 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "repo1-path=/var/lib/pgbackrest", @@ -10667,7 +10598,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/12/data" + "value" : "/var/lib/pgsql/13/data" } }, "global" : { @@ -10715,7 +10646,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "log-level-file=detail", @@ -11043,7 +10974,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -11069,7 +11000,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -11125,7 +11056,7 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "process-max=3", @@ -11179,19 +11110,19 @@ " cipher: none", "", " db (current)", - " wal archive min/max (12): 000000080000000000000023/000000080000000000000025", + " wal archive min/max (13): 000000070000000000000023/000000070000000000000025", "", - " full backup: 20241021-051251F", - " timestamp start/stop: 2024-10-21 05:12:51+00 / 2024-10-21 05:12:55+00", - " wal start/stop: 000000080000000000000023 / 000000080000000000000023", - " database size: 31.1MB, database backup size: 31.1MB", - " repo1: backup set size: 3.7MB, backup size: 3.7MB", + " full backup: 20250421-131610F", + " timestamp start/stop: 2025-04-21 13:16:10+00 / 2025-04-21 13:16:14+00", + " wal start/stop: 000000070000000000000023 / 000000070000000000000023", + " database size: 30.8MB, database backup size: 30.8MB", + " repo1: backup set size: 3.8MB, backup size: 3.8MB", "", - " full backup: 20241021-051256F", - " timestamp start/stop: 2024-10-21 05:12:56+00 / 2024-10-21 05:12:59+00", - " wal start/stop: 000000080000000000000024 / 000000080000000000000025", - " database size: 31.1MB, database backup size: 31.1MB", - " repo1: backup set size: 3.7MB, backup size: 3.7MB" + " full backup: 20250421-131615F", + " timestamp start/stop: 2025-04-21 13:16:15+00 / 2025-04-21 13:16:19+00", + " wal start/stop: 000000070000000000000024 / 000000070000000000000025", + " database size: 30.8MB, database backup size: 30.8MB", + " repo1: backup set size: 3.8MB, backup size: 3.8MB" ] } }, @@ -11353,7 +11284,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.54.0/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -11474,7 +11405,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/12/data" + "value" : "/var/lib/pgsql/13/data" } }, "global" : { @@ -11521,7 +11452,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "log-level-file=detail", @@ -11667,7 +11598,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres mkdir -p -m 700 /var/lib/pgsql/12/data" + "sudo -u postgres mkdir -p -m 700 /var/lib/pgsql/13/data" ], "host" : "pg-standby", "load-env" : true, @@ -11693,7 +11624,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/12/data/postgresql.auto.conf" + "sudo -u postgres cat /var/lib/pgsql/13/data/postgresql.auto.conf" ], "host" : "pg-standby", "load-env" : true, @@ -11706,24 +11637,24 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:10:07", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:13:06", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:10:31", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:13:37", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:11:01", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:14:05", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-10-21 05:11:43 # recovery_target_time = '2024-10-21 05:10:48.907566+00'", - "# Removed by pgBackRest restore on 2024-10-21 05:11:43 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2025-04-21 13:14:55 # recovery_target_time = '2025-04-21 13:13:56.887384+00'", + "# Removed by pgBackRest restore on 2025-04-21 13:14:55 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:11:43", - "restore_command = 'pgbackrest --repo=3 --repo-target-time=\"2024-10-21 05:11:31+00\" --stanza=demo archive-get %f \"%p\"'", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:14:55", + "restore_command = 'pgbackrest --repo=3 --repo-target-time=\"2025-04-21 13:14:40+00\" --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:12:47", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:16:05", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:13:48", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:17:16", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] } @@ -11732,7 +11663,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /var/lib/pgsql/12/data/postgresql.conf" + "cat /root/postgresql.common.conf >> /var/lib/pgsql/13/data/postgresql.conf" ], "host" : "pg-standby", "load-env" : true, @@ -11743,7 +11674,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/12/data/postgresql.conf", + "file" : "/var/lib/pgsql/13/data/postgresql.conf", "host" : "pg-standby", "option" : { "archive_command" : { @@ -11782,7 +11713,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/lib/pgsql/12/data/log/postgresql.log" + "sudo rm /var/lib/pgsql/13/data/log/postgresql.log" ], "host" : "pg-standby", "load-env" : true, @@ -11795,7 +11726,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "host" : "pg-standby", "load-env" : true, @@ -11821,7 +11752,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/12/data/log/postgresql.log" + "sudo -u postgres cat /var/lib/pgsql/13/data/log/postgresql.log" ], "highlight" : { "filter" : true, @@ -11838,12 +11769,14 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2024-10-21 05:12:56 UTC", + " [filtered 4 lines of output]", + "LOG: listening on Unix socket \"/tmp/.s.PGSQL.5432\"", + "LOG: database system was interrupted; last known up at 2025-04-21 13:16:15 UTC", "LOG: entering standby mode", - "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000024\" from archive", + "LOG: restored log file \"00000007.history\" from archive", + "LOG: restored log file \"000000070000000000000024\" from archive", "LOG: redo starts at 0/24000028", - "LOG: restored log file \"000000080000000000000025\" from archive", + "LOG: restored log file \"000000070000000000000025\" from archive", "LOG: consistent recovery state reached at 0/25000050", "LOG: database system is ready to accept read only connections" ] @@ -11926,7 +11859,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/26021840 | 2024-10-21 05:13:54.196795+00", + " 0/26017738 | 2025-04-21 13:17:23.254782+00", "(1 row)" ] } @@ -11955,7 +11888,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-10-21 05:13:55.454868+00", + " Important Data | 2025-04-21 13:17:24.472161+00", "(1 row)" ] } @@ -11981,7 +11914,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=1187-9f24d4c9 --log-level-console=info --log-level-file=detail --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.55.0: --exec-id=1181-83c0863f --log-level-console=info --log-level-file=detail --no-log-timestamp --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: check repo1 (standby)", "P00 INFO: switch wal not performed because this is a standby", "P00 INFO: check command end: completed successfully" @@ -12013,7 +11946,7 @@ "cmd" : [ "sudo -u postgres sh -c 'echo \\", " \"host replication replicator 172.17.0.8/32 md5\" \\", - " >> /var/lib/pgsql/12/data/pg_hba.conf'" + " >> /var/lib/pgsql/13/data/pg_hba.conf'" ], "host" : "pg-primary", "load-env" : true, @@ -12026,7 +11959,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl reload postgresql-12.service" + "sudo systemctl reload postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -12051,7 +11984,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "recovery-option=primary_conninfo=host=172.17.0.6 port=5432 user=replicator", "", "[global]", @@ -12101,7 +12034,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-standby", "load-env" : true, @@ -12127,7 +12060,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/12/data/postgresql.auto.conf" + "sudo -u postgres cat /var/lib/pgsql/13/data/postgresql.auto.conf" ], "host" : "pg-standby", "load-env" : true, @@ -12140,24 +12073,24 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:10:07", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:13:06", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:10:31", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:13:37", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:11:01", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:14:05", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-10-21 05:11:43 # recovery_target_time = '2024-10-21 05:10:48.907566+00'", - "# Removed by pgBackRest restore on 2024-10-21 05:11:43 # recovery_target_action = 'promote'", + "# Removed by pgBackRest restore on 2025-04-21 13:14:55 # recovery_target_time = '2025-04-21 13:13:56.887384+00'", + "# Removed by pgBackRest restore on 2025-04-21 13:14:55 # recovery_target_action = 'promote'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:11:43", - "restore_command = 'pgbackrest --repo=3 --repo-target-time=\"2024-10-21 05:11:31+00\" --stanza=demo archive-get %f \"%p\"'", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:14:55", + "restore_command = 'pgbackrest --repo=3 --repo-target-time=\"2025-04-21 13:14:40+00\" --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:12:47", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:16:05", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:14:00", + "# Recovery settings generated by pgBackRest restore on 2025-04-21 13:17:30", "primary_conninfo = 'host=172.17.0.6 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] @@ -12165,7 +12098,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/12/data/postgresql.conf", + "file" : "/var/lib/pgsql/13/data/postgresql.conf", "host" : "pg-standby", "option" : { "hot_standby" : { @@ -12189,7 +12122,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm /var/lib/pgsql/12/data/log/postgresql.log" + "sudo rm /var/lib/pgsql/13/data/log/postgresql.log" ], "host" : "pg-standby", "load-env" : true, @@ -12202,7 +12135,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-12.service" + "sudo systemctl start postgresql-13.service" ], "host" : "pg-standby", "load-env" : true, @@ -12228,7 +12161,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres cat /var/lib/pgsql/12/data/log/postgresql.log" + "sudo -u postgres cat /var/lib/pgsql/13/data/log/postgresql.log" ], "highlight" : { "filter" : true, @@ -12245,10 +12178,10 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 7 lines of output]", + " [filtered 12 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000026\" from archive", - "LOG: started streaming WAL from primary at 0/27000000 on timeline 8" + "LOG: restored log file \"000000070000000000000026\" from archive", + "LOG: started streaming WAL from primary at 0/27000000 on timeline 7" ] } }, @@ -12280,7 +12213,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-10-21 05:14:06.212656+00", + " Important Data | 2025-04-21 13:17:37.632395+00", "(1 row)" ] } @@ -12309,7 +12242,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-10-21 05:14:06.515391+00", + " Important Data | 2025-04-21 13:17:38.039114+00", "(1 row)" ] } @@ -12346,7 +12279,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.54.0/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-alt", @@ -12467,7 +12400,7 @@ "option" : { "demo-alt" : { "pg1-path" : { - "value" : "/var/lib/pgsql/12/data" + "value" : "/var/lib/pgsql/13/data" } }, "global" : { @@ -12514,7 +12447,7 @@ "value" : { "config" : [ "[demo-alt]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "log-level-file=detail", @@ -12553,7 +12486,7 @@ "value" : "tls" }, "pg1-path" : { - "value" : "/var/lib/pgsql/12/data" + "value" : "/var/lib/pgsql/13/data" } } } @@ -12567,7 +12500,7 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[demo-alt]", "pg1-host=pg-alt", @@ -12575,7 +12508,7 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "process-max=3", @@ -12719,8 +12652,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres /usr/pgsql-12/bin/initdb \\", - " -D /var/lib/pgsql/12/data -k -A peer" + "sudo -u postgres /usr/pgsql-13/bin/initdb \\", + " -D /var/lib/pgsql/13/data -k -A peer" ], "host" : "pg-alt", "load-env" : true, @@ -12733,7 +12666,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /var/lib/pgsql/12/data/postgresql.conf" + "cat /root/postgresql.common.conf >> /var/lib/pgsql/13/data/postgresql.conf" ], "host" : "pg-alt", "load-env" : true, @@ -12744,7 +12677,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/12/data/postgresql.conf", + "file" : "/var/lib/pgsql/13/data/postgresql.conf", "host" : "pg-alt", "option" : { "archive_command" : { @@ -12779,7 +12712,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl restart postgresql-12.service" + "sudo systemctl restart postgresql-13.service" ], "host" : "pg-alt", "load-env" : true, @@ -12822,7 +12755,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.54.0: --exec-id=930-9bc6ce68 --log-level-console=info --log-level-file=detail --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.55.0: --exec-id=947-b37a53d9 --log-level-console=info --log-level-file=detail --no-log-timestamp --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-alt", "P00 INFO: stanza-create for stanza 'demo-alt' on repo1", "P00 INFO: stanza-create command end: completed successfully" ] @@ -12849,11 +12782,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=957-3684cbc9 --log-level-console=info --log-level-file=detail --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.55.0: --exec-id=974-2b58c025 --log-level-console=info --log-level-file=detail --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-c1bea00948bde95d2d55992294fb0f6149f74621.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/13-1/0000000100000000/000000010000000000000001-29488ff35f82cacada9829c78d94ee2e32ee1348.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -12879,15 +12812,15 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=1291-dae8135c --log-level-console=info --no-log-timestamp --repo1-path=/var/lib/pgbackrest", + "P00 INFO: check command begin 2.55.0: --exec-id=1315-e00697ae --log-level-console=info --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 000000080000000000000027 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000800000000/000000080000000000000027-f939f96dee7e1f004d8f853d5c8ffd80642718a4.gz' on repo1", + "P00 INFO: WAL segment 000000070000000000000027 successfully archived to '/var/lib/pgbackrest/archive/demo/13-1/0000000700000000/000000070000000000000027-169f61cb3767208eadc5ca574c2e239df78a7a19.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-d50fe80c45171b5d543ed448c652f9418e693be1.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000002 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/13-1/0000000100000000/000000010000000000000002-28405895feb2380d58e61593cfe240092dd889d0.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -12973,7 +12906,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "archive-async=y", @@ -13027,7 +12960,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "recovery-option=primary_conninfo=host=172.17.0.6 port=5432 user=replicator", "", "[global]", @@ -13075,7 +13008,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl restart postgresql-12.service" + "sudo systemctl restart postgresql-13.service" ], "host" : "pg-standby", "load-env" : true, @@ -13136,10 +13069,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.54.0: --exec-id=5579-64a79ea6 --log-level-console=info --log-level-file=detail --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.55.0: --exec-id=5511-cb21831a --log-level-console=info --log-level-file=detail --no-log-timestamp --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: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 00000008000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000800000000/00000008000000000000002D-f18427145348d3fa39c4a659451af3356294c267.gz' on repo1", + "P00 INFO: WAL segment 00000007000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/13-1/0000000700000000/00000007000000000000002D-4bd363f7546edd3efde7b1ba090b69f1040593dc.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -13166,20 +13099,20 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.54.0: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5548-4f54badb --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: 000000080000000000000028", - "P01 DETAIL: pushed WAL file '000000080000000000000028' to the archive", + "P00 INFO: archive-push:async command begin 2.55.0: [/var/lib/pgsql/13/data/pg_wal] --archive-async --exec-id=5481-f44d1eeb --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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: 000000070000000000000028", + "P01 DETAIL: pushed WAL file '000000070000000000000028' 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.54.0: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5581-c8b87dc0 --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 5 WAL file(s) to archive: 000000080000000000000029...00000008000000000000002D", - "P01 DETAIL: pushed WAL file '000000080000000000000029' to the archive", - "P02 DETAIL: pushed WAL file '00000008000000000000002A' to the archive", - "P02 DETAIL: pushed WAL file '00000008000000000000002C' to the archive", - "P01 DETAIL: pushed WAL file '00000008000000000000002B' to the archive", - "P02 DETAIL: pushed WAL file '00000008000000000000002D' to the archive", + "P00 INFO: archive-push:async command begin 2.55.0: [/var/lib/pgsql/13/data/pg_wal] --archive-async --exec-id=5513-df50761d --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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 5 WAL file(s) to archive: 000000070000000000000029...00000007000000000000002D", + "P02 DETAIL: pushed WAL file '00000007000000000000002A' to the archive", + "P01 DETAIL: pushed WAL file '000000070000000000000029' to the archive", + "P02 DETAIL: pushed WAL file '00000007000000000000002B' to the archive", + "P01 DETAIL: pushed WAL file '00000007000000000000002C' 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" ] @@ -13220,24 +13153,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.54.0: [000000080000000000000024, 000000080000000000000025, 000000080000000000000026, 000000080000000000000027, 000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B] --archive-async --exec-id=1717-1368fc37 --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: 000000080000000000000024...00000008000000000000002B", - "P01 DETAIL: found 000000080000000000000024 in the repo1: 12-1 archive", - "P02 DETAIL: found 000000080000000000000025 in the repo1: 12-1 archive", - "P01 DETAIL: found 000000080000000000000026 in the repo1: 12-1 archive", - "P02 DETAIL: found 000000080000000000000027 in the repo1: 12-1 archive", - "P00 DETAIL: unable to find 000000080000000000000028 in the archive", + "P00 INFO: archive-get:async command begin 2.55.0: [000000070000000000000024, 000000070000000000000025, 000000070000000000000026, 000000070000000000000027, 000000070000000000000028, 000000070000000000000029, 00000007000000000000002A, 00000007000000000000002B] --archive-async --exec-id=1711-e6e77f2e --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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: 000000070000000000000024...00000007000000000000002B", + "P01 DETAIL: found 000000070000000000000024 in the repo1: 13-1 archive", + "P02 DETAIL: found 000000070000000000000025 in the repo1: 13-1 archive", + "P02 DETAIL: found 000000070000000000000027 in the repo1: 13-1 archive", + "P01 DETAIL: found 000000070000000000000026 in the repo1: 13-1 archive", + "P00 DETAIL: unable to find 000000070000000000000028 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.54.0: [000000080000000000000028, 000000080000000000000029, 00000008000000000000002A, 00000008000000000000002B, 00000008000000000000002C, 00000008000000000000002D, 00000008000000000000002E, 00000008000000000000002F] --archive-async --exec-id=1766-7963598b --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: 000000080000000000000028...00000008000000000000002F", - "P01 DETAIL: found 000000080000000000000028 in the repo1: 12-1 archive", - "P02 DETAIL: found 000000080000000000000029 in the repo1: 12-1 archive", - "P01 DETAIL: found 00000008000000000000002A in the repo1: 12-1 archive", - "P02 DETAIL: found 00000008000000000000002B in the repo1: 12-1 archive", - "P01 DETAIL: found 00000008000000000000002C in the repo1: 12-1 archive", - "P02 DETAIL: found 00000008000000000000002D in the repo1: 12-1 archive", - "P00 DETAIL: unable to find 00000008000000000000002E in the archive", + " [filtered 31 lines of output]", + "P00 INFO: archive-get:async command begin 2.55.0: [000000070000000000000028, 000000070000000000000029, 00000007000000000000002A, 00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D, 00000007000000000000002E, 00000007000000000000002F] --archive-async --exec-id=1762-650b709b --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/13/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: 000000070000000000000028...00000007000000000000002F", + "P02 DETAIL: found 000000070000000000000029 in the repo1: 13-1 archive", + "P01 DETAIL: found 000000070000000000000028 in the repo1: 13-1 archive", + "P02 DETAIL: found 00000007000000000000002A in the repo1: 13-1 archive", + "P01 DETAIL: found 00000007000000000000002B in the repo1: 13-1 archive", + "P02 DETAIL: found 00000007000000000000002C in the repo1: 13-1 archive", + "P01 DETAIL: found 00000007000000000000002D in the repo1: 13-1 archive", + "P00 DETAIL: unable to find 00000007000000000000002E in the archive", "P00 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", " [filtered 7 lines of output]" ] @@ -13283,7 +13216,7 @@ "value" : "tls" }, "pg2-path" : { - "value" : "/var/lib/pgsql/12/data" + "value" : "/var/lib/pgsql/13/data" } }, "global" : { @@ -13302,13 +13235,13 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "pg2-host=pg-standby", "pg2-host-ca-file=/etc/pgbackrest/cert/ca.crt", "pg2-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg2-host-key-file=/etc/pgbackrest/cert/client.key", "pg2-host-type=tls", - "pg2-path=/var/lib/pgsql/12/data", + "pg2-path=/var/lib/pgsql/13/data", "", "[demo-alt]", "pg1-host=pg-alt", @@ -13316,7 +13249,7 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "backup-standby=y", @@ -13355,16 +13288,16 @@ "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 = 00000008000000000000002F, lsn = 0/2F000028", + "P00 INFO: backup start archive = 00000007000000000000002F, lsn = 0/2F000028", "P00 INFO: wait for replay on the standby to reach 0/2F000028", "P00 INFO: replay on the standby reached 0/2F000028", - "P00 INFO: check archive for prior segment 00000008000000000000002E", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/log/postgresql.log (9.6KB, 0.40%) checksum ffb1a505a0eeaa9a538dc40e73cf7cd5b920c601", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/global/pg_control (8KB, 0.74%) checksum 4e7be880f104c81088a3141d619049d9e04ff086", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/pg_hba.conf (4.5KB, 0.93%) checksum 65e54ae24bda87b2542351cb16a7fecc7e5aceeb", - "P01 DETAIL: match file from prior backup pg-primary:/var/lib/pgsql/12/data/current_logfiles (26B, 0.94%) checksum 78a9f5c10960f0d91fcd313937469824861795a2", - "P01 DETAIL: match file from prior backup pg-primary:/var/lib/pgsql/12/data/pg_logical/replorigin_checkpoint (8B, 0.94%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - " [filtered 1301 lines of output]" + "P00 INFO: check archive for prior segment 00000007000000000000002E", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/13/data/log/postgresql.log (11.2KB, 0.48%) checksum 0ab0ed392cd1eb096a240e6603b1acdcb8ca54e1", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/13/data/global/pg_control (8KB, 0.83%) checksum 7f9eedf2565b2097757a3f122e168488e41ea3fb", + "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/13/data/pg_hba.conf (4.5KB, 1.02%) checksum 65e54ae24bda87b2542351cb16a7fecc7e5aceeb", + "P01 DETAIL: match file from prior backup pg-primary:/var/lib/pgsql/13/data/current_logfiles (26B, 1.03%) checksum 78a9f5c10960f0d91fcd313937469824861795a2", + "P01 DETAIL: match file from prior backup pg-primary:/var/lib/pgsql/13/data/pg_logical/replorigin_checkpoint (8B, 1.03%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", + " [filtered 1243 lines of output]" ] } }, @@ -13372,7 +13305,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, @@ -13385,7 +13318,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl stop postgresql-12.service" + "sudo systemctl stop postgresql-13.service" ], "host" : "pg-standby", "load-env" : true, @@ -13398,8 +13331,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres /usr/pgsql-13/bin/initdb \\", - " -D /var/lib/pgsql/13/data -k -A peer" + "sudo -u postgres /usr/pgsql-14/bin/initdb \\", + " -D /var/lib/pgsql/14/data -k -A peer" ], "host" : "pg-primary", "load-env" : true, @@ -13413,13 +13346,13 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres sh -c 'cd /var/lib/pgsql && \\", - " /usr/pgsql-13/bin/pg_upgrade \\", - " --old-bindir=/usr/pgsql-12/bin \\", - " --new-bindir=/usr/pgsql-13/bin \\", - " --old-datadir=/var/lib/pgsql/12/data \\", - " --new-datadir=/var/lib/pgsql/13/data \\", - " --old-options=\" -c config_file=/var/lib/pgsql/12/data/postgresql.conf\" \\", - " --new-options=\" -c config_file=/var/lib/pgsql/13/data/postgresql.conf\"'" + " /usr/pgsql-14/bin/pg_upgrade \\", + " --old-bindir=/usr/pgsql-13/bin \\", + " --new-bindir=/usr/pgsql-14/bin \\", + " --old-datadir=/var/lib/pgsql/13/data \\", + " --new-datadir=/var/lib/pgsql/14/data \\", + " --old-options=\" -c config_file=/var/lib/pgsql/13/data/postgresql.conf\" \\", + " --new-options=\" -c config_file=/var/lib/pgsql/14/data/postgresql.conf\"'" ], "highlight" : { "filter" : true, @@ -13436,12 +13369,12 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 66 lines of output]", + " [filtered 68 lines of output]", "Checking for extension updates ok", "", "Upgrade Complete", "----------------", - "Optimizer statistics are not transferred by pg_upgrade so,", + "Optimizer statistics are not transferred by pg_upgrade.", " [filtered 4 lines of output]" ] } @@ -13450,7 +13383,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cat /root/postgresql.common.conf >> /var/lib/pgsql/13/data/postgresql.conf" + "cat /root/postgresql.common.conf >> /var/lib/pgsql/14/data/postgresql.conf" ], "host" : "pg-primary", "load-env" : true, @@ -13461,7 +13394,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/13/data/postgresql.conf", + "file" : "/var/lib/pgsql/14/data/postgresql.conf", "host" : "pg-primary", "option" : { "archive_command" : { @@ -13499,7 +13432,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/13/data" + "value" : "/var/lib/pgsql/14/data" } } } @@ -13508,7 +13441,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/13/data", + "pg1-path=/var/lib/pgsql/14/data", "", "[global]", "archive-async=y", @@ -13540,7 +13473,7 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/13/data" + "value" : "/var/lib/pgsql/14/data" } } } @@ -13549,7 +13482,7 @@ "value" : { "config" : [ "[demo]", - "pg1-path=/var/lib/pgsql/13/data", + "pg1-path=/var/lib/pgsql/14/data", "recovery-option=primary_conninfo=host=172.17.0.6 port=5432 user=replicator", "", "[global]", @@ -13582,10 +13515,10 @@ "option" : { "demo" : { "pg1-path" : { - "value" : "/var/lib/pgsql/13/data" + "value" : "/var/lib/pgsql/14/data" }, "pg2-path" : { - "value" : "/var/lib/pgsql/13/data" + "value" : "/var/lib/pgsql/14/data" } }, "global" : { @@ -13604,13 +13537,13 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/13/data", + "pg1-path=/var/lib/pgsql/14/data", "pg2-host=pg-standby", "pg2-host-ca-file=/etc/pgbackrest/cert/ca.crt", "pg2-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg2-host-key-file=/etc/pgbackrest/cert/client.key", "pg2-host-type=tls", - "pg2-path=/var/lib/pgsql/13/data", + "pg2-path=/var/lib/pgsql/14/data", "", "[demo-alt]", "pg1-host=pg-alt", @@ -13618,7 +13551,7 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "backup-standby=n", @@ -13638,8 +13571,8 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp /var/lib/pgsql/12/data/pg_hba.conf \\", - " /var/lib/pgsql/13/data/pg_hba.conf" + "sudo cp /var/lib/pgsql/13/data/pg_hba.conf \\", + " /var/lib/pgsql/14/data/pg_hba.conf" ], "host" : "pg-primary", "load-env" : true, @@ -13670,7 +13603,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.54.0: --exec-id=6070-bb6915f9 --log-level-console=info --log-level-file=detail --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.55.0: --exec-id=6025-fcfa8929 --log-level-console=info --log-level-file=detail --no-log-timestamp --no-online --pg1-path=/var/lib/pgsql/14/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" ] @@ -13680,7 +13613,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-13.service" + "sudo systemctl start postgresql-14.service" ], "host" : "pg-primary", "load-env" : true, @@ -13693,7 +13626,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl status postgresql-13.service" + "sudo systemctl status postgresql-14.service" ], "host" : "pg-primary", "load-env" : true, @@ -13719,7 +13652,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm -rf /var/lib/pgsql/12/data" + "sudo rm -rf /var/lib/pgsql/13/data" ], "host" : "pg-primary", "load-env" : true, @@ -13732,7 +13665,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo rm -rf /var/lib/pgsql/12/data" + "sudo rm -rf /var/lib/pgsql/13/data" ], "host" : "pg-standby", "load-env" : true, @@ -13745,7 +13678,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres mkdir -p -m 700 /usr/pgsql-13/bin" + "sudo -u postgres mkdir -p -m 700 /usr/pgsql-14/bin" ], "host" : "pg-standby", "load-env" : true, @@ -13802,7 +13735,7 @@ }, { "key" : { - "file" : "/var/lib/pgsql/13/data/postgresql.conf", + "file" : "/var/lib/pgsql/14/data/postgresql.conf", "host" : "pg-standby", "option" : { "hot_standby" : { @@ -13821,7 +13754,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo systemctl start postgresql-13.service" + "sudo systemctl start postgresql-14.service" ], "host" : "pg-standby", "load-env" : true, @@ -13877,13 +13810,13 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/13/data", + "pg1-path=/var/lib/pgsql/14/data", "pg2-host=pg-standby", "pg2-host-ca-file=/etc/pgbackrest/cert/ca.crt", "pg2-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg2-host-key-file=/etc/pgbackrest/cert/client.key", "pg2-host-type=tls", - "pg2-path=/var/lib/pgsql/13/data", + "pg2-path=/var/lib/pgsql/14/data", "", "[demo-alt]", "pg1-host=pg-alt", @@ -13891,7 +13824,7 @@ "pg1-host-cert-file=/etc/pgbackrest/cert/client.crt", "pg1-host-key-file=/etc/pgbackrest/cert/client.key", "pg1-host-type=tls", - "pg1-path=/var/lib/pgsql/12/data", + "pg1-path=/var/lib/pgsql/13/data", "", "[global]", "backup-standby=y", diff --git a/doc/resource/git-history.cache b/doc/resource/git-history.cache index d6d07a638..32bc11eae 100644 --- a/doc/resource/git-history.cache +++ b/doc/resource/git-history.cache @@ -1,9 +1,636 @@ [ + { + "commit": "4bb7cb1ac65a135e3f311ef288f2ad946493266b", + "date": "2025-04-21 09:02:56 -0400", + "subject": "Fix incorrect not-equal comparison in TEST_RESULT_Z_NE().", + "body": "This comparison was not being used for strings in the tests but best to fix it so it does not cause confusion in the future." + }, + { + "commit": "9386920b79971347c6c57589190bf09b591d8b4d", + "date": "2025-04-16 12:26:15 -0500", + "subject": "Add FAQ about exporting self-contained cluster." + }, + { + "commit": "c2f64bb03bdbb2ce883041118dbcfd79da3f1307", + "date": "2025-04-15 16:50:40 -0500", + "subject": "Fix highlight error in user guide.", + "body": "87776bc9 updated the RHEL documentation to PostgreSQL 13/14 but did not update recovery highlighting to be compatible with RHEL. This was not caught because the RHEL documentation was being build as PDF, which does not do highlighting.\n\nInstead build the RHEL documentation as HTML in the first stage (and PDF in the second) so the error is caught.\n\nFinally, fix the RHEL documentation to generate the highlight by concatenating the log." + }, + { + "commit": "8bdba747981e8805a9bf355050f70cdf19e9babc", + "date": "2025-04-14 13:34:35 -0500", + "subject": "Clarify incremental backup expiration.", + "body": "The documentation was a bit misleading regarding how incremental backups are expired. Update the misleading part (\"Differential and Incremental backups are count-based...\") and move the explanation of how incremental expiration works out of differential expiration into the introductory paragraph.\n\nAlso add a note about how full backups are considered as differential for the purpose of expiration." + }, + { + "commit": "565d2e0c47cd21df890a40b3a94a8c865bed76d9", + "date": "2025-04-14 12:29:31 -0500", + "subject": "PostgreSQL 18 experimental support.", + "body": "Support is experimental since PostgreSQL 18 is still in development and has not released a beta, but it may be useful for testing." + }, + { + "commit": "019e4cf8a779ee2572a5227ef2d80c3036f877f9", + "date": "2025-04-14 10:46:55 -0500", + "subject": "Another fix for integration tests on alternate architectures.", + "body": "37544da5 missed another place where 57ffd2df had accidentally hard-coded the integration test architecture to x86_64.\n\nFix the test code to use the correct image based on architecture." + }, + { + "commit": "48a43e76e2657bbdd871268124c5580eb7ce7caa", + "date": "2025-04-11 18:39:56 -0500", + "subject": "Enable format-overflow=2 compiler warning.", + "body": "Warn about calls to formatted input/output functions such as sprintf and vsprintf that might overflow the destination buffer.\n\nThis warning found a few short float buffers. In practice these are unlikely to ever be a problem based on our float usage but best to be safe.\n\nNote that this warning only requires the buffer size to be 317 but it must be 318 to prevent warnings from -Wformat-truncation=2. We are not ready to enable that warning yet but seems better to get the buffer correct now." + }, + { + "commit": "5fe23ff07b0e6e1bea9f36d49b3f03a62a7be861", + "date": "2025-04-11 17:02:14 -0500", + "subject": "Remove implied -Wformat-nonliteral warning.", + "body": "-Wformat-nonliteral is already implied by -format=2." + }, + { + "commit": "9fba07c26dc5ff353f86afc7f7bdf61edf1c8781", + "date": "2025-04-11 16:52:45 -0500", + "subject": "Remove -Wno-implicit-fallthrough and explicitly mark fallthrough.", + "body": "Last time we tried this the markered seems a bit unreliable but __attribute__((fallthrough)) appears to work pretty well." + }, + { + "commit": "a076ee63bd99d1af293c30645f79893579382060", + "date": "2025-04-10 15:29:37 -0500", + "subject": "Remove unmaintained/unused development environment build files.", + "body": "The Vagrantfile has not been maintained in years and the Dockerfile is only used by a single developer. There are instructions for building a development environment in CONTRIBUTING.md so these build files are no longer required." + }, + { + "commit": "dd3a7d99a78d0d604967d90e8a8dbf8915432896", + "date": "2025-04-10 12:08:35 -0500", + "subject": "Recommend not placing spool-path within pg_xlog/pg_wal.", + "body": "This is generally not a good idea and it can cause problems for PostgreSQL tools such as pg_rewind." + }, + { + "commit": "cab4d6fd5c775d6e1a9cd9889d825eee667b5322", + "date": "2025-04-10 10:26:50 -0500", + "subject": "Warn when a value for a multi-key option is overwritten.", + "body": "Some options can contain multiple key/value pairs. However, if if the key is specified again the value will be silently overwritten. In most cases one value per key is appropriate, but it makes sense to warn the user about the overwrite." + }, + { + "commit": "68f22aea6665b9dcbe76dbfaa731f37187e1ce20", + "date": "2025-04-09 14:50:16 -0500", + "subject": "Allow connections to PostgreSQL on abstract domain sockets.", + "body": "Currently the pg-socket-path option is required to be a valid absolute path but this precludes the use of abstract domain sockets.\n\nSet the option type to string so abstract domain sockets are allowed. This removes some validation but libpq will report if the path is invalid and we don't use it for any other purpose." + }, + { + "commit": "20bfd14b73ad6d75b6fb1169565b18dcfa183c9b", + "date": "2025-04-09 12:27:27 -0500", + "subject": "Calculate content-md5 on S3 only when required.", + "body": "The content-md5 header was generated for all requests with content but it is only required for batch delete requests. It is not clear why this header is required when x-amz-content-sha256 is also provided or why it\nis required only for this request but the documentation is clear on the matter. However, the content for these requests is relatively small compared to uploading files so omitting content-md5 where possible will\nsave some CPU cycles.\n\nCurrent AWS S3 and recent Minio don't complain if this header is missing but since it is still required by older versions of Minio and it is specified in the documentation for batch delete it is makes sense to\nkeep it." + }, + { + "commit": "c925832e1737f1b5cac347c482a725a87f2237cb", + "date": "2025-04-09 12:02:19 -0500", + "subject": "Add LSTDEF() macro.", + "body": "This macro allows static List objects to be created which simplifies usage when passing lists to functions. Also, since List objects are commonly used this makes the code base a bit more consistent.\n\nFor now skip static lists that are only used locally within a function since the benefit is not as clear." + }, + { + "commit": "53a45d25c3e60e5067010b2676f5d6216638fbe3", + "date": "2025-04-08 10:45:06 -0500", + "subject": "Fix documentation for specifying multiple stanzas with tls-server-auth.", + "body": "The prior documentation said that multiple stanzas should be specified by repeating the tls-server-auth option. This is incorrect -- in fact a comma-separated list of stanza should be used.\n\nFix the documentation and add a test to confirm this behavior.\n\nIn passing add some const qualifiers that were missing in the relevant code." + }, + { + "commit": "37544da56c711fc0a344d0a292488d4265b9cabc", + "date": "2025-04-07 11:57:00 -0500", + "subject": "Fix integration tests on alternate architectures.", + "body": "57ffd2df accidentally hard-coded the integration test architecture to x86_64 and it was not noticed because in CI all the integration tests run on that architecture.\n\nFix the test code to retrieve the current architecture and use it for integration tests." + }, + { + "commit": "e18ca19895bd3dbb0a6718bb6f01b9e43010fbb7", + "date": "2025-04-04 10:26:03 -0500", + "subject": "Remove extraneous const from cvtIntToZ() prototype." + }, + { + "commit": "aeea81a3883e320d071f72152b86cff9944dd50f", + "date": "2025-04-04 10:07:32 -0500", + "subject": "Fix test logging in storageHelperDryRunInit()." + }, + { + "commit": "cc50e1aecd0ba7b35b451c97ac082fbd3b46591b", + "date": "2025-04-02 15:25:23 -0500", + "subject": "Revert \"full/incremental backup method\".", + "body": "This method was introduced in cad595f but on further reflection it does not seem worth the added complexity just to make restore consistency faster without improving the speed of the overall backup. The most common recovery case is PITR and this method produces diminishing returns as the recovery time gets further from the backup end time.\n\nA better solution (not implemented here) is to copy unmodified files from prior backups. This is much faster than recopying and compressing files from the cluster (especially on object stores with a copy command) and can even be done after the backup window to further reduce WAL replay required for consistency. It also reduces load on the host where the backup is made." + }, + { + "commit": "4a42eec552233f34e0ace251e201a4e7e5021f21", + "date": "2025-04-02 11:59:38 -0500", + "subject": "Set noResetLogLevel in config/parse unit tests where required.", + "body": "This prevents the logging from getting reset so later tests can validate warnings." + }, + { + "commit": "33655095f469d37a34aa7ed33855d1b2fa2e529c", + "date": "2025-03-31 19:30:41 -0500", + "subject": "Use latest Minio image for testing.", + "body": "It has been a while since a Minio bug has broken the tests so go back to testing against the latest version until the trust is broken again." + }, + { + "commit": "dcfe30e322091dae49b00d77c731c9b31f1ae7dd", + "date": "2025-03-31 14:18:29 -0500", + "subject": "Fix instances of \"of of\"." + }, + { + "commit": "b28ae98cec7ae7e881e6476c1cba1ba7e1abc358", + "date": "2025-03-31 12:24:03 -0500", + "subject": "Update unix_socket_directory to unix_socket_directories.", + "body": "unix_socket_directory has not been valid since PostgreSQL 9.2 and since 9.5 is now the minimum supported version there is no reason to document both." + }, + { + "commit": "e4def8845eb5c3fe9fb8cc44d9f64766cfb348c2", + "date": "2025-03-26 08:44:29 -0600", + "subject": "Allow verification of a specified backup.", + "body": "Add support for the verify command --set option. This (internal) option was already accepted without errors but was not implemented.\n\nThe default behavior for verify is to check all the backups present. With the --set option only the specified backup will be verified. If the specified backup label is not valid an error is added to the result and verification is skipped. In addition, only WAL required to make the specified backup consistent will be verified." + }, + { + "commit": "945c7d1eb67a97c00c32d8f121bca93d90c3ec80", + "date": "2025-03-25 12:43:32 -0600", + "subject": "Update verify command summary.", + "body": "The prior text implied that verify could only operate on a single repository. Make the summary more general to indicate that the command can work on any repository." + }, + { + "commit": "1cfafa386c860a8f756c658130de869446445cdd", + "date": "2025-03-25 11:00:53 -0600", + "subject": "Strip version from RHEL label in user guide.", + "body": "RHEL 7 is EOL so remove it from the label. Rather than update the version range just remove it from the label since the user guide is generally applicable to RHEL." + }, + { + "commit": "87776bc9cfb4af369ed22d8a116145cb1e5a5eae", + "date": "2025-03-25 10:28:46 -0600", + "subject": "Update PostgresQL versions in user guide.", + "body": "PostgreSQL 12 is EOL and no longer available in the yum.postgresql.org repository.\n\nUpdate the base and update versions of the RHEL and Debian documentation to better cover supported versions." + }, + { + "commit": "84eb9a742dcf75f071e011946263dedaa985099e", + "date": "2025-03-24 12:21:31 -0600", + "subject": "Clarify behavior of --repo-retention-full-type.", + "body": "Make some clarifications and add explicit documentation for repo-retention-full-type=count." + }, + { + "commit": "5d2c67c3c6975ea3ed08c7425f6e410ae378913f", + "date": "2025-03-21 10:37:20 -0600", + "subject": "Fix block incremental restore issue on non-default repository.", + "body": "If the selected backup to restore was not in the default (lowest number) repository and block incremental was used, then restore would erroneously try to load the file super block list from the default repository. Specifying --repo would fix this since it changed the default repository.\n\nFix by updating the super block read to the specified repository." + }, + { + "commit": "723f900eaa41d58edc5cc58444029ab7c272acb1", + "date": "2025-03-21 09:01:02 -0600", + "subject": "Fix missing return in FUNCTION_LOG_RETURN_VOID().", + "body": "This macro is only ever called last in functions so this is not an active issue, but it makes sense to fix since it would pose a risk for future development." + }, + { + "commit": "d10ad3780a46ae321aa1db4f146655eba1cfda8b", + "date": "2025-03-19 11:17:59 -0600", + "subject": "Fix test logging." + }, + { + "commit": "f00c0d4e853a2384fe9e333daa640659e6cd6d31", + "date": "2025-03-19 09:34:32 -0600", + "subject": "Fix comments in unit tests." + }, + { + "commit": "750a051b7aeccc3dd7ae9c07af2c73cb25057de9", + "date": "2025-02-28 16:53:03 -0600", + "subject": "Add numeric output to version command.", + "body": "Add a new output option to the version command that defaults to text (current behavior) but can be set to num to output the version in a numeric format, e.g. 2055000.\n\nThis makes it easier to compare and identify versions of pgBackRest." + }, + { + "commit": "57ffd2dfcbc47300d61d901789c6d09ffc8e25b2", + "date": "2025-02-28 15:38:05 -0600", + "subject": "Fix multi-architecture unit testing.", + "body": "The Github action we were using for multi-architecture testing stopped working. The project does not seem to be getting regular maintenance so it seems better to roll multi-architecture testing into our existing container builds.\n\nIntroduce multi-architecture builds and testing into our test framework. For now this only works for unit tests -- integration tests will still only run on x86_64. That could be updated in the future but since emulation is so slow it is not clear if it would be useful.\n\nAlso fix an invalid 32-bit checksum. The d11 test had not been running as 32-bit since d8ff89a so the checksum was not updated when it should have been in 48f511d." + }, + { + "commit": "814bf487c3955e877d226faaa22324d3c79863b2", + "date": "2025-02-25 16:37:22 -0600", + "subject": "Add support for GCS requester pays.", + "body": "GCS user projects allow the bucket requester to be billed rather than the bucket owner. This is useful for hosted services that create backups and want to provide direct (probably read-only) access to the backups." + }, + { + "commit": "4db0263fd63274a8168eb4de17b320d2f86251a2", + "date": "2025-02-25 16:12:28 -0600", + "subject": "Add support for S3 requester pays.", + "body": "S3 requester pays allows the bucket requester to be billed rather than the bucket owner. This is useful for hosted services that create backups and want to provide direct (probably read-only) access to the backups." + }, + { + "commit": "7941d6506e26cbfa1979b636554b1b5377f05c20", + "date": "2025-02-25 15:36:55 -0600", + "subject": "Remove unneeded verbiage from option descriptions.", + "body": "\"Setting this option\" didn't really add anything and was inconsistent with other option descriptions." + }, + { + "commit": "f2bbfad29cee8468239d2340d5cf12204e352d10", + "date": "2025-02-21 08:24:57 -0600", + "subject": "Fix case in option summary." + }, + { + "commit": "2155a12a3d861645de5618518350f90962fbc26d", + "date": "2025-02-17 11:51:51 -0600", + "subject": "Add detail logging for expired archive path.", + "body": "When archive expiration has a large number of files to remove it may look like the process has hung, at least at higher log levels.\n\nAdd a log message at detail level to show that progress is being made." + }, + { + "commit": "4dcfa9ef59c5e75c6c0ee83390c64b9a3d4af1fc", + "date": "2025-02-17 10:56:57 -0600", + "subject": "Add detail logging to expire test.", + "body": "This is required to test logging to be added in a subsequent commit." + }, + { + "commit": "82299eb4cd997524eeddef170ad99669ed6651cf", + "date": "2025-02-15 12:00:00 -0600", + "subject": "Clarify requirement for local/remote pgBackRest versions to match." + }, + { + "commit": "47f050f8fd816e57326d881f4253d8a13c0f8da6", + "date": "2025-02-15 11:17:04 -0600", + "subject": "Fix expire archive range logging.", + "body": "The prior logging only output the last path to be removed since start was overwritten as each path was deleted. This had no affect on expire functionality but was confusing since many more files might be expired than the logs indicated.\n\nFix logging so the correct start path is logged." + }, + { + "commit": "ef0a71d629bfd0729f3f8a55f38588ea25c64fb9", + "date": "2025-02-15 11:02:23 -0600", + "subject": "Update Cirrus-CI FreeBSD runner versions." + }, + { + "commit": "aa7210a1830825e0a3e6b6740937357341127a6f", + "date": "2025-02-04 11:15:51 -0500", + "subject": "Change --process-max recommendation for object stores to --repo-bundle.", + "body": "While process-max is as useful for object stores as any other storage type, for file creation time in particular file bundling is far more effective since fewer files are created.\n\nUpdate the recommendation to reflect this." + }, + { + "commit": "922e9f0775c39b64e009251a6bec8ef9b83c190f", + "date": "2025-02-04 10:06:17 -0500", + "subject": "Verify recovery target timeline.", + "body": "If the user picks an invalid timeline (or the default is invalid) they will not discover it until after the restore is complete and recovery starts. In that case they'll receive a message like this:\n\nFATAL: requested timeline 2 is not a child of this server's history\nDETAIL: Latest checkpoint is at 0/7000028 on timeline 1, but in the history of the requested timeline, the server forked off from that timeline at 0/600AA20.\n\nThis message generally causes confusion unless one is familiar with it. In this case 1) a standby was promoted creating a new timeline 2) a new backup was made from the primary 3) the new backup was restored but could not follow the new timeline because the backup was made after the new timeline forked off. Since PostgreSQL 12 following the latest timeline has been the default so this error has become common in split brain situations.\n\nImprove pgBackRest to read the history files and provide better error messages. Now this error is thrown before the restore starts:\n\nERROR: [058]: target timeline 2 forked from backup timeline 1 at 0/600aa20 which is before backup lsn of 0/7000028\n HINT: was the target timeline created by accidentally promoting a standby?\n HINT: was the target timeline created by testing a restore without --archive-mode=off?\n HINT: was the backup made after the target timeline was created?\n\nThis saves time since it happens before the restore and gives more information about what has gone wrong.\n\nIf the backup timeline is not an ancestor of the target timeline the error message is:\n\nERROR: [058]: backup timeline 6, lsn 0/4ffffff is not in the history of target timeline B\n HINT: was the target timeline created by promoting from a timeline < latest?\n\nThis situation should be rare but can happen during complex recovery scenarios where the user is explicitly setting the target time." + }, + { + "commit": "322e764f295f65b2a1189e207f6115471f943b1b", + "date": "2025-01-30 21:43:48 -0500", + "subject": "Add Coverity build to release instructions." + }, + { + "commit": "6e437defa93b8bc43e93aefcc4e7320633ac9651", + "date": "2025-01-30 14:28:28 -0500", + "subject": "Refactor backupBlockIncrMapSize() range handling to satisfy Coverity.", + "body": "Coverity complained about a possible overflow of result in the prior implementation.\n\nIt appears that Coverity was not able to follow the logic through the try block, but refactor and add an assertion to silence the complaint." + }, + { + "commit": "89615eee654388ea046812bfaa30d514b269c5d1", + "date": "2025-01-30 13:59:42 -0500", + "subject": "Refactor loop in restoreManifestMap() to satisfy Coverity.", + "body": "Coverity complained that decrementing targetIdx would result in it equaling UINT_MAX. While this is true it had no impact overall (at it least in the current code) since targetIdx was immediately incremented in the loop.\n\nHowever, Coverity's suggestion is better and safer for future code updates so it makes sense to change it." + }, + { + "commit": "5421ef3e92fb01efdddd235bd7a7c18d7dac6c37", + "date": "2025-01-30 13:48:59 -0500", + "subject": "Add cast to suppress Coverity complaint about volatile used in assert().", + "body": "Coverity had this complaint:\n\nassert_side_effect: Argument openData of ASSERT() has a side effect because the variable is volatile. The containing function might work differently in a non-debug build.\n\nIt appears this can also be fixed by assigning the volatile variable to an automatic but the cast seems to work just as well." + }, + { + "commit": "d5cefb7290c34c64a2b9aa89ff04a718df4ec18b", + "date": "2025-01-29 13:48:26 -0500", + "subject": "Fix error reporting for queries with no results.", + "body": "If a query that expected no results returned an error then it would incorrectly report that no results were expected because the error was interpreted as a result.\n\nSwitch the order of the checks so that an error is reported instead and add a test to prevent regression." + }, + { + "commit": "d50b01b4852d82020b840496603d620b00ea98f9", + "date": "2025-01-28 18:48:11 -0500", + "subject": "Add assertions to satisfy Coverity about possible underflows.", + "body": "Coverity complained about possible underflows so add assertions to demonstrate that the values in question are greater than zero." + }, + { + "commit": "e46374dc7dc90275ff2836f152fb2b976dbe0e2a", + "date": "2025-01-28 15:30:23 -0500", + "subject": "Lower log level of backupDbPing()/dbPing() to trace.", + "body": "These functions get called very frequently even though they generally result in a noop at the protocol level.\n\nLower the log level to reduce noise in the log at debug level." + }, + { + "commit": "e625ed8be2228cb99c3801f9d1776909a2201c5a", + "date": "2025-01-28 09:14:30 -0500", + "subject": "Caveat --tablespace-map-all regarding tablespace creation.", + "body": "If a tablespace is created after the backup starts then it cannot be mapped using --tablespace-map-all since there is no record of it in the manifest.\n\nThis would be extremely complex to fix but it can be documented." + }, + { + "commit": "dde1b0477209512aabe1e9ca58836922a3c1661f", + "date": "2025-01-27 17:14:34 -0500", + "subject": "Add StringId linter.", + "body": "Verify that all StringIds in the project have been generated correctly.\n\nThis also makes it easy to generate new StringIds by copying an existing StringId and modifying the string. The error message will provide the required value." + }, + { + "commit": "d582739d822bbdb705a6a946db6c87675d5c2ccc", + "date": "2025-01-27 15:51:57 -0500", + "subject": "Convert 5-bit test StringId to 6-bit.", + "body": "The original string was valid as either 5-bit or 6-bit but since we're trying to test 6-bit update the string to something only valid for 6-bit." + }, + { + "commit": "6df96f505fd0f70d84b50ad36498c3a4c05a61bc", + "date": "2025-01-23 17:12:05 -0500", + "subject": "Separate version into component parts.", + "body": "This guarantees a consistent version representation and allows the version to be easily represented in other ways." + }, + { + "commit": "6776940c3bbe8b61e851921099354c4e63d80d7b", + "date": "2025-01-23 14:55:44 -0500", + "subject": "Use three part version in development builds.", + "body": "This makes the versioning more consistent and is required by a subsequent commit that will separate the version components." + }, + { + "commit": "e59385718c5bc207e96325a2f9ed06b9b4395218", + "date": "2025-01-23 08:10:37 -0500", + "subject": "Update CI containers to include newest PostgreSQL patch releases." + }, + { + "commit": "6fbb28fa2d615576be78376c7f539921f6b8bc6a", + "date": "2025-01-23 07:58:41 -0500", + "subject": "Do not set recovery_target_timeline=current for PostgreSQL < 12.", + "body": "PostgreSQL < 12 defaults recovery_target_timeline to current but if current is explicitly set it behaves as if latest was set. Since current is not handled in the PostgreSQL code it looks as if there should be an error during the integer conversion but that doesn't happen due to incorrect strtoul() usage (not checking endptr).\n\nHandle this by omitting recovery_target_timeline from recovery.conf when it is explicitly set by the user to current." + }, + { + "commit": "e58d468e27cb13346d50fe32af44ef12a057455b", + "date": "2025-01-21 18:39:51 -0500", + "subject": "Fix typo." + }, + { + "commit": "931435c0177ded2189903385d520d5c8819c4f5e", + "date": "2025-01-21 11:45:50 -0500", + "subject": "Allow backup command to operate on remote repositories.", + "body": "The backup command has always been limited to working only when the repository is local. This was due to some limitations in storage (addressed in 01b81f9) and the protocol helper (addressed in 4a94b6be).\n\nNow that there a no limitations preventing this feature it makes sense to enable it. This allows for more flexibility in where backups are run." + }, + { + "commit": "844f91fe3f3b04464a6a7b1fc7c743800db01933", + "date": "2025-01-20 15:12:27 -0500", + "subject": "Specify length of encoding strings.", + "body": "This saves a byte per string but more importantly makes them match the declaration of encodeHexLookup." + }, + { + "commit": "4bc9376d6fe276a3bf40a5c5e7891676a0c88392", + "date": "2025-01-20 14:19:25 -0500", + "subject": "Remove \"Additional Notes\" header from release notes.", + "body": "This was intended to separate the code changes from documentation and test suite changes but it arguably does not add any clarity.\n\nSince documentation and test suite changes are explicitly marked as such that should be clear enough." + }, + { + "commit": "23bd392bdcf76ecadc0eb9e76b60c34580590fae", + "date": "2025-01-20 14:09:54 -0500", + "subject": "Improve hex encode performance with bytewise lookup.", + "body": "Previously, hex encode looked up each nibble of the input separately. Instead use a larger lookup table containing the two-byte encoding of every possible input byte, resulting in a 1/3 reduction in encoding time.\n\nInspired by and mostly cribbed from PostgreSQL commit e24d7708." + }, + { + "commit": "713f6657d36746221a47989ee2e6ea369fd008dd", + "date": "2025-01-20 10:57:27 -0500", + "subject": "Merge v2.54.2 release." + }, + { + "commit": "7a33d6168b2650515ded488c2e1b7eabd1d942a8", + "date": "2025-01-14 13:10:32 -0500", + "subject": "Replace constant version with macro in backup test module." + }, + { + "commit": "6244f02bb3f44f985df5562a90400b3e7c9b9163", + "date": "2025-01-14 10:50:48 -0500", + "subject": "Update runner versions on Github actions.", + "body": "Ubuntu 20.04 will be EOL soon so update all actions that are using it. Update other actions as far as possible without making too many changes." + }, + { + "commit": "fd23257c6a52acd39b3d2deab8bcf905605dbc12", + "date": "2025-01-06 13:50:14 -0500", + "subject": "Remove extraneous const qualifier." + }, + { + "commit": "b5bb1aa72c3a2fce6b5a024a815db4a09aa421e1", + "date": "2025-01-05 13:32:09 -0500", + "subject": "Remove makefile formatting from editor config.", + "body": "This is no longer required since the makefile has been removed." + }, + { + "commit": "5fac1b405869e126330a99586364517c5917172e", + "date": "2025-01-02 09:11:19 -0500", + "subject": "Update LICENSE.txt and PostgreSQL copyright for 2025." + }, + { + "commit": "4a94b6bef9108ab775c0070571a1fb7dd8883eeb", + "date": "2024-12-27 13:51:50 -0500", + "subject": "Refactor protocol helper.", + "body": "Simplify and improve data structures that track protocol client connections. The prior code could not store pg or repo clients but not both. We don't have a need for that yet, but tracking clients only by hostIdx was not flexible for some upcoming improvements. It is important to be able to identify and free clients very precisely.\n\nIn general this code should be easier to understand and removes duplicated code for local/remote clients." + }, + { + "commit": "13f23f21683eef2d309f76d76cafc1f9b3852693", + "date": "2024-12-26 12:01:59 -0500", + "subject": "Fix issue after disabling bundling with block incremental enabled.", + "body": "When bundling and block incremental are both enabled the bundleRaw flag is set to indicate that headers are omitted (whenever possible) for encryption and compression. This is intended to save space, especially when there are very large numbers of small files.\n\nIf bundling is disabled this flag needs to be preserved so that existing bundles from prior backups are read correctly. However, the prior code was only saving the flag when bundling was enabled, which caused prior backups to be unreadable if bundling was disabled.\n\nFix so that the flag is preserved and backups are not broken." + }, + { + "commit": "9ee3b2c59309fd86e5504374ad9f195bb363736b", + "date": "2024-12-26 10:45:11 -0500", + "subject": "Fix compression type in integration tests.", + "body": "Due to this bug the compression type in integration tests was always set to none. There are sufficient other tests for compression that this was not masking any bugs, but it was obviously not ideal." + }, + { + "commit": "8b9e03d618d748e36ac006a0b0bb633930961512", + "date": "2024-12-23 10:30:41 -0500", + "subject": "Move linkCreate interface function to alphabetical order." + }, + { + "commit": "48ecbe422da95a87c24e125f0f52bd5de2c02f6e", + "date": "2024-12-19 13:52:59 -0500", + "subject": "Clarify behavior of multiple configuration files." + }, + { + "commit": "3210c9283fb7b14f26013dbea05df96e16b77e51", + "date": "2024-12-16 14:55:44 -0500", + "subject": "Clarify that unhandled errors may occur in edge cases." + }, + { + "commit": "690c9803c3fa420d62bb62eccd4ae0f29266ff11", + "date": "2024-12-16 12:56:03 -0500", + "subject": "Add missing const qualifier." + }, + { + "commit": "005c7e974f7966d49fbdc8cbdffcf819f532b96b", + "date": "2024-12-16 12:04:21 -0500", + "subject": "Merge v2.54.1 release." + }, + { + "commit": "4d4d23131c75bf29655f6cd7625c25063ed09408", + "date": "2024-12-15 11:11:04 -0500", + "subject": "Rephrase invitation to star on Github." + }, + { + "commit": "fbb31eefca5b7f79f55ee96517c05159a9cf7390", + "date": "2024-12-11 10:03:52 -0500", + "subject": "Change \"find\" to \"visit\" in introduction." + }, + { + "commit": "5c8296df066564be35d3936610ebff1c332f38da", + "date": "2024-12-10 11:22:45 -0500", + "subject": "Remove reference to disabling network compression in the documentation.", + "body": "Previously setting compress-level-network=0 would disable compression. This worked because gzip disables compression at this level but still transmits the data in gz format.\n\nlz4 does not provide similar functionality so we would need to disable the compression filter entirely. This does not seem worth it however since lz4 compression is very efficient and 0 is the default fast mode." + }, + { + "commit": "d96966065b937b595b6c45d41511f6f28e01a8e3", + "date": "2024-12-09 13:19:55 -0500", + "subject": "Add missing const qualifier." + }, + { + "commit": "0e143ba7e7bf5c2d8c94fd44db57f768d0cdc72d", + "date": "2024-11-27 17:05:31 -0500", + "subject": "Remove --min-gen option from test.pl.", + "body": "This option was useful for the Perl code generation and autoconf generation, which were both slow. These are both gone now and the C code generation is fast enough that there is no need to exclude it.\n\n--dry-run will still prevent certain code generation from running. This may not be necessary any more but removing it should be the subject of a separate commit." + }, + { + "commit": "cad595f9f8e6aaa9b64c9dcad8aa878c0c72a4d6", + "date": "2024-11-26 11:23:43 -0500", + "subject": "Full/incremental backup method.", + "body": "This backup method does a preliminary copy of all files that were last modified prior to a defined interval before calling pg_backup_start(). Then the backup is started as usual and the remainder of the files are copied. The advantage is that generally a smaller set of WAL will be required to make the backup consistent, provided there are some files that have not been recently modified.\r\n\r\nThe length of the prior full backup is used to determine the interval used for the preliminary copy since any files modified within this interval will likely be modified again during the backup. If no prior full backup exists then the interval is set to one day.\r\n\r\nThis feature is being committed as internal-only for the time being." + }, + { + "commit": "0577b0301689bc19d49c4081cc652971de5da8cf", + "date": "2024-11-26 11:03:27 -0500", + "subject": "Use lz4 for protocol compression.", + "body": "lz4 provides much better compression speed and gives similar compression ratios to gz when used at low levels (the gz default was 3)." + }, + { + "commit": "4af42d93b2a0201182d16c5163e9813635d12e3c", + "date": "2024-11-25 10:38:37 -0500", + "subject": "Update release notes for PostgreSQL 17 support.", + "body": "Accurately reflect when different versions of PostgreSQL were supported since an update was required for beta3." + }, + { + "commit": "c351263a1d09829c91fc3f9016fefe666b5b6c62", + "date": "2024-11-22 15:25:43 -0500", + "subject": "Fix typos.", + "body": "Found using `codespell -S *.eps,*.cache,*.xml -L inout,te,fo,bload,fase,collet,hilight,debians,keep-alives` and `typos --hidden --format brief`." + }, + { + "commit": "7f2dfc021c6689a5bddfbd7ed85d64ae93c01324", + "date": "2024-11-18 13:33:03 -0500", + "subject": "Update Fedora test image to Fedora 41." + }, + { + "commit": "33d7681347ccdbaf2c026fd482ed3949d75d447a", + "date": "2024-11-18 10:58:00 -0500", + "subject": "Enable missing-variable-declarations compiler warning.", + "body": "Warn if a global variable is defined without a previous declaration. Use this option to detect global variables that do not have a matching extern declaration in a header file." + }, + { + "commit": "4ae160aa34747128d2a45aa1f31893ebd7b86f3b", + "date": "2024-11-15 09:44:15 -0500", + "subject": "Add wait for async archive log exists check in integration test.", + "body": "They may be a small delay before the log exists, especially on slower platforms. Add a wait so the test does not fail in this case." + }, + { + "commit": "12fe1393159bf63724279f03d43bc0a69ad2b636", + "date": "2024-11-13 17:48:14 -0500", + "subject": "Allow negative values for integer options.", + "body": "This mostly worked but there was a rendering issue that prevented compilation." + }, + { + "commit": "d7c2d2ba1b97bb05ef7d97c4622c92e97282cafd", + "date": "2024-11-13 17:28:21 -0500", + "subject": "Move compression driver param list management to a common module.", + "body": "This code was duplicated in each driver so this means less duplication.\n\nIn addition, some drivers were not creating a parameter list for decompression which meant they could not be used remotely. This is not a currently a bug since none of them were being used remotely, but it was a blocker for using lz4 for protocol compression." + }, + { + "commit": "274bb24a5ab122b599d31dd6cee197995a564c46", + "date": "2024-11-13 09:56:42 -0500", + "subject": "Stabilize async archiving in integration tests.", + "body": "The integration tests could fail if:\r\n\r\n1. After restoring the PostgreSQL instance the recovery process starts, which calls asynchronous archive-get.\r\n2. After archive-get checks the existence of the queue directory, but before writing the WAL file, there are restores when the next test is begun, which leads to the deletion of the queue directory.\r\n3. Since the directory no longer exists, writing the WAL file will fail, and archive-get will write the error file to the queue.\r\n4. A new PostgreSQL instance will start and the recovery process will begin, which requests the WAL file.\r\n5. The new archive-get looks into the queue directory, finds the error file, and throws out the error, after which the PostgreSQL recovery fails because the previous archive-get background process has not finished yet.\r\n\r\nThis patch fixes the problem by using a separate spool directory for each test." + }, + { + "commit": "db912c049c7e4b98ec1cdfa5b4e45b3bbb7d1a6b", + "date": "2024-11-08 10:21:25 -0500", + "subject": "Exclude function void return logging macros from coverage reporting.", + "body": "An in 355e27d6, it makes sense to exclude FUNCTION_(LOG|TEST)_RETURN_VOID() macros when then they are on the last line of a function because in this case they are a noop (but are still used for debugging)." + }, + { + "commit": "c9c73ede9d8182374372c46face4433997e8c0ea", + "date": "2024-11-07 10:30:16 -0500", + "subject": "Fix issue with version/help commands attempting to load pgbackrest.conf.", + "body": "8d6bceb5 refactored version/help to operate more like regular commands in part to simplify the implementation of --version and --help. Unfortunately this had the side effect of these commands also loading pgbackrest.conf which would lead to an error if the file could not be read or parsed.\r\n\r\nAdd a filter to prevent version or help from loading pgbackrest.conf. Also prevent reads from the env to stop any warnings or errors from that source." + }, + { + "commit": "c6785431653d81d793b9c683091bfa20156c0c2f", + "date": "2024-11-07 09:27:02 -0500", + "subject": "Remove conditional compilation for lz4.", + "body": "0c32757f made lz4 required in the meson build but conditional compilation was left in to make reverting easy for packagers just in case.\n\nSince a few releases have gone by without any complaints, remove conditional compilation for lz4." + }, + { + "commit": "355e27d69ce80c87fb9458f8240699ec5ce5dc5e", + "date": "2024-11-02 11:50:30 -0400", + "subject": "Exclude function logging macros from coverage reporting.", + "body": "It makes sense to exclude these from reporting since they are always covered when the function is covered and they are purely for debugging." + }, + { + "commit": "fc5fdb8d358ae09d398922c1a8df44f47c8b40d6", + "date": "2024-11-02 11:36:56 -0400", + "subject": "Fix incorrect log macros.", + "body": "These led to incorrect log output in some cases. Probably not very noticeable, but definitely wrong.\n\nAlso fix types in the log macro comments." + }, + { + "commit": "ed390780685adf1a463c74ee1cd3dad1b3dd9895", + "date": "2024-10-29 14:15:12 +0200", + "subject": "Enable float-equal and init-self compiler warnings.", + "body": "No code changes were required to enable these warnings." + }, + { + "commit": "98670aee8927e4f7125318faeb1f18c4facf51e3", + "date": "2024-10-28 19:13:38 +0200", + "subject": "Enable redundant-decls compiler warning.", + "body": "Warn if anything is declared more than once in the same scope, even when the extra declaration is valid and changes nothing. This is primarily useful for catching missing header ifdef barriers.\n\nMove the environ variable into config/parse.h since it must be declared by us and we use it multiple times." + }, + { + "commit": "9ec9b9d120c8b1113dfad734a006e0f91427cf3f", + "date": "2024-10-28 17:49:55 +0200", + "subject": "Enable missing-prototypes compiler warning.", + "body": "Warn if a global function is defined without a previous prototype declaration. This helps detect when a function that should be static is accidentally declared extern.\n\nMost of the changes are to add missing header files so functions can see their declarations.\n\nIn a some cases functions that should have been static were marked as such. There were only five of these in the core but every little bit counts.\n\nLastly, it was necessary to suppress the warning in the postgres test modules where the function declarations are not available. This is fixable by aligning the module with the auto-generated code in core, but is not a priority." + }, + { + "commit": "21f7d2d3a840852d7964c5684dd04f29ce9cc68a", + "date": "2024-10-28 14:21:38 +0200", + "subject": "Enable cast-qual compiler warning.", + "body": "Warn whenever a pointer is cast so as to remove a type qualifier from the target type. For example, warn if a const char * is cast to an ordinary char *.\n\nMost of the changes for this are fairly rote: just add a const qualifier where needed. In some cases functions needed to be reworked to return non-const where before they had returned const and then cast it back to non-const. None of these patterns appeared to be bugs, but they were certainly misleading.\n\nSome cases (especially excvp() and calls to bz2) could not be fixed because of how functions out of our control are defined. In those cases the warnings have been suppressed and a comment added to detail the exception. This was also done a few places in the tests." + }, + { + "commit": "bb7e1724a95a4bf087bae6782ae255e1583bc9b7", + "date": "2024-10-28 13:21:35 +0200", + "subject": "Update String, Buffer, and Variant constants to work with cast-qual.", + "body": "These three objects can be created as constants at compile time using specialized macros. Unfortunately since the values assigned are also const, cast-qual complained about the cost qualifier being lost.\n\nFix this by creating new structures to be used just for creating these constants. This is not ideal due to the need to keep the duplicated structures in sync, but in practice these structures are almost never modified. Testing should catch any out of sync structures and this feature is valuable enough to keep even though in theory there could be memory safety issues. In practice the APIs prevent const objects from being used in an unsafe way and testing provides a fair assurance of safety. Writing to these consts would be a fatal error even if it did not cause a segfault.\n\nIdeally, we would be able to use warning suppression in these macros to avoid the extra struct, but due to the way they are used it is not possible to add the required pragmas (even using _Pragma).\n\nFinally this construction makes it obvious that something special is being done, rather than it being under the covers." + }, + { + "commit": "a981ef08d70fdd5faf8052a75d2e066ebcca7057", + "date": "2024-10-28 13:20:19 +0200", + "subject": "Fix misplaced volatile qualifiers in GCS authorization JWT generation.", + "body": "The volatile qualifiers should be on the pointers that are stored on the stack, not on the structures that are allocated by OpenSSL functions.\n\nAlso remove all the casts that were required when volatile was in wrong place." + }, + { + "commit": "118f93baab39339a2c22deeb360f28370e139dd6", + "date": "2024-10-28 13:07:35 +0200", + "subject": "Update Cirrus MacOS runner to OpenSSL 3.", + "body": "OpenSSL 1.1 is no longer available in HomeBrew." + }, + { + "commit": "48f511dad339ef9357e00f7bd8e2bf4b7c800dd4", + "date": "2024-10-21 13:56:04 +0300", + "subject": "Remove support for PostgreSQL 9.4.", + "body": "Per our policy to support five EOL versions of PostgreSQL, 9.4 is no longer supported by pgBackRest. Remove all logic associated with 9.4 and update the tests.\r\n\r\nThis includes a small fix in infoPg.c to allow backup.info files with old versions to be saved. This allows expire to function when old versions are present. Even though those older versions cannot be used, they can be expired.\r\n\r\nTests for 9.4 are left in the expire/info tests to demonstrate that these commands work with old versions present." + }, + { + "commit": "89c9baba72fc99616083a7adc4be2c3e2bf9e4dd", + "date": "2024-10-21 13:32:35 +0300", + "subject": "Remove autoconf/make build.", + "body": "2.54.0 is the last release to support the autoconf/make build. Remove the autoconf/make build to reduce maintenance going forward." + }, + { + "commit": "4125f726a857629c4500f82a3989dc1b69977500", + "date": "2024-10-21 09:11:49 +0300", + "subject": "Begin v2.55.0 development." + }, { "commit": "1e5f46b7d9626eadfcf99d08cb984a74085ee0c8", "date": "2024-10-21 08:57:43 +0300", - "subject": "v2.54.0: Target Time for Versioned Storage", - "body": "NOTE TO PACKAGERS: This is last feature release to support the autoconf/make build. Please migrate to meson if you have not already done so. 2.54.X patch releases (if any) will continue to support autoconf/make.\n\nBug Fixes:\n\n* Fix PostgreSQL query performance for large datasets. (Fixed by Thibault Vincent, David Steele. Reviewed by David Christensen, Antoine Millet. Reported by Antoine Millet.)\n\nFeatures:\n\n* Allow repositories on versioned storage to be read at a target time. (Reviewed by Stefan Fercot, David Christensen.)\n* Allow requested standby backup to proceed with no standby. (Reviewed by Stefan Fercot.)\n\nImprovements:\n\n* Summarize backup reference list for info command text output. (Contributed by Stefan Fercot. Reviewed by David Steele.)\n* Refresh web-id token for each S3 authentication. (Contributed by Brent Graveland. Reviewed by David Steele.)\n* Correctly display current values for indexed options in help. (Reviewed by David Christensen.)\n* Save backup.info only when contents have changed. (Reviewed by Stefan Fercot.)\n* Remove limitation on reading files in parallel during restore. (Reviewed by David Christensen.)\n* Improve SFTP error messages. (Contributed by Reid Thompson. Reviewed by David Steele.)\n\nDocumentation Features:\n\n* Add performance tuning section to user guide. (Reviewed by Stefan Fercot.)\n\nDocumentation Improvements:\n\n* Clarify source for data_directory. (Contributed by Stefan Fercot. Reviewed by David Steele. Suggested by Matthias.)\n* Better logic for deciding when a summary should be lower-cased. (Suggested by Daniel Westermann.)" + "subject": "v2.54.0: Target Time for Versioned Storage" }, { "commit": "7effca0d0995844b3b3b89d568c3c8cee7b9ef1e", diff --git a/doc/xml/auto/metric-coverage-report.auto.xml b/doc/xml/auto/metric-coverage-report.auto.xml index fcefa1981..54e4ec79c 100644 --- a/doc/xml/auto/metric-coverage-report.auto.xml +++ b/doc/xml/auto/metric-coverage-report.auto.xml @@ -2,13 +2,13 @@ build/common 23/23 (100.0%) 56/56 (100.0%) - 211/211 (100.0%) + 212/212 (100.0%) build/config 35/35 (100.0%) - 468/468 (100.0%) + 470/470 (100.0%) 977/977 (100.0%) @@ -37,175 +37,175 @@ command 15/15 (100.0%) 94/94 (100.0%) - 192/192 (100.0%) + 187/187 (100.0%) command/annotate 1/1 (100.0%) 12/12 (100.0%) - 31/31 (100.0%) + 30/30 (100.0%) command/archive 15/15 (100.0%) 104/104 (100.0%) - 204/204 (100.0%) + 200/200 (100.0%) command/archive/get 9/9 (100.0%) 200/200 (100.0%) - 434/434 (100.0%) + 433/433 (100.0%) command/archive/push 12/12 (100.0%) 130/130 (100.0%) - 350/350 (100.0%) + 348/348 (100.0%) command/backup 50/50 (100.0%) 796/796 (100.0%) - 1660/1660 (100.0%) + 1644/1644 (100.0%) command/check 13/13 (100.0%) 106/106 (100.0%) - 217/217 (100.0%) + 214/214 (100.0%) command/control 4/4 (100.0%) 34/34 (100.0%) - 51/51 (100.0%) + 48/48 (100.0%) command/expire 10/10 (100.0%) - 240/240 (100.0%) - 362/362 (100.0%) + 242/242 (100.0%) + 359/359 (100.0%) command/help 7/7 (100.0%) - 164/164 (100.0%) - 261/261 (100.0%) + 166/166 (100.0%) + 262/262 (100.0%) command/info 13/13 (100.0%) 366/366 (100.0%) - 669/669 (100.0%) + 668/668 (100.0%) command/local 1/1 (100.0%) --- - 5/5 (100.0%) + 4/4 (100.0%) command/remote 1/1 (100.0%) 6/6 (100.0%) - 19/19 (100.0%) + 18/18 (100.0%) command/repo 9/9 (100.0%) 110/110 (100.0%) - 210/210 (100.0%) + 205/205 (100.0%) command/restore - 33/33 (100.0%) - 684/684 (100.0%) - 1258/1258 (100.0%) + 37/37 (100.0%) + 724/724 (100.0%) + 1343/1343 (100.0%) command/server 6/6 (100.0%) 24/24 (100.0%) - 81/81 (100.0%) + 79/79 (100.0%) command/stanza 5/5 (100.0%) 106/106 (100.0%) - 128/128 (100.0%) + 125/125 (100.0%) command/verify - 21/21 (100.0%) - 314/314 (100.0%) - 660/660 (100.0%) + 22/22 (100.0%) + 356/356 (100.0%) + 721/721 (100.0%) common 144/144 (100.0%) 614/614 (100.0%) - 1331/1331 (100.0%) + 1327/1327 (100.0%) common/compress - 13/13 (100.0%) + 15/15 (100.0%) 24/24 (100.0%) - 75/75 (100.0%) + 92/92 (100.0%) common/compress/bz2 13/13 (100.0%) 20/20 (100.0%) - 133/133 (100.0%) + 123/123 (100.0%) common/compress/gz 13/13 (100.0%) 26/26 (100.0%) - 135/135 (100.0%) + 118/118 (100.0%) common/compress/lz4 15/15 (100.0%) 24/24 (100.0%) - 127/127 (100.0%) + 116/116 (100.0%) common/compress/zst 13/13 (100.0%) 12/12 (100.0%) - 106/106 (100.0%) + 96/96 (100.0%) common/crypto 32/32 (100.0%) 88/88 (100.0%) - 432/432 (100.0%) + 424/424 (100.0%) @@ -219,98 +219,98 @@ common/io 59/59 (100.0%) 174/174 (100.0%) - 512/512 (100.0%) + 499/499 (100.0%) common/io/filter 31/31 (100.0%) 92/92 (100.0%) - 282/282 (100.0%) + 276/276 (100.0%) common/io/http 57/57 (100.0%) 274/274 (100.0%) - 673/673 (100.0%) + 670/670 (100.0%) common/io/socket 28/28 (100.0%) 110/110 (100.0%) - 343/343 (100.0%) + 337/337 (100.0%) common/io/tls 36/36 (100.0%) 114/114 (100.0%) - 399/399 (100.0%) + 393/393 (100.0%) common/type 327/327 (100.0%) 898/898 (100.0%) - 3032/3032 (100.0%) + 3031/3031 (100.0%) config 93/93 (100.0%) - 1000/1000 (100.0%) - 1626/1626 (100.0%) + 1002/1002 (100.0%) + 1625/1625 (100.0%) db 23/23 (100.0%) 118/118 (100.0%) - 322/322 (100.0%) + 317/317 (100.0%) info - 92/92 (100.0%) + 93/93 (100.0%) 938/938 (100.0%) - 2043/2043 (100.0%) + 2032/2032 (100.0%) postgres 36/36 (100.0%) - 130/130 (100.0%) - 335/335 (100.0%) + 126/126 (100.0%) + 329/329 (100.0%) postgres/interface - 5/5 (100.0%) - 12/12 (100.0%) - 40/40 (100.0%) + 4/4 (100.0%) + 10/10 (100.0%) + 35/35 (100.0%) protocol - 62/62 (100.0%) - 264/264 (100.0%) - 891/891 (100.0%) + 60/60 (100.0%) + 268/268 (100.0%) + 862/862 (100.0%) storage 56/56 (100.0%) 250/250 (100.0%) - 628/628 (100.0%) + 621/621 (100.0%) storage/azure 25/25 (100.0%) 138/138 (100.0%) - 399/399 (100.0%) + 392/392 (100.0%) @@ -323,41 +323,41 @@ storage/gcs 34/34 (100.0%) - 176/176 (100.0%) - 578/578 (100.0%) + 182/182 (100.0%) + 576/576 (100.0%) storage/posix 28/28 (100.0%) 167/168 (99.40%) - 334/334 (100.0%) + 324/324 (100.0%) storage/remote 38/38 (100.0%) 128/128 (100.0%) - 581/581 (100.0%) + 572/572 (100.0%) storage/s3 29/29 (100.0%) - 184/184 (100.0%) - 586/586 (100.0%) + 186/186 (100.0%) + 580/580 (100.0%) storage/sftp 32/32 (100.0%) 404/404 (100.0%) - 722/722 (100.0%) + 712/712 (100.0%) TOTAL - 1679/1679 (100.0%) - 10675/10676 (99.99%) - 25320/25320 (100.0%) + 1684/1684 (100.0%) + 10771/10772 (99.99%) + 25231/25231 (100.0%) diff --git a/doc/xml/release/2025/2.55.0.xml b/doc/xml/release/2025/2.55.0.xml index c44cf43c0..f4e4eb8ef 100644 --- a/doc/xml/release/2025/2.55.0.xml +++ b/doc/xml/release/2025/2.55.0.xml @@ -1,4 +1,4 @@ - + @@ -270,7 +270,7 @@ - + @@ -282,11 +282,9 @@ -

Fix documentation for specifying multiple stanzas with tls-server-auth.

+

Fix documentation for specifying multiple stanzas with tls-server-auth.

-
- @@ -330,7 +328,7 @@ -

Caveat --tablespace-map-all regarding tablespace creation.

+

Caveat --tablespace-map-all regarding tablespace creation.

@@ -343,7 +341,7 @@ -

Clarify behavior of --repo-retention-full-type.

+

Clarify behavior of --repo-retention-full-type.

@@ -354,7 +352,7 @@ -

Change --process-max recommendation for object stores to --repo-bundle.

+

Change --process-max recommendation for object stores to --repo-bundle.

@@ -378,7 +376,7 @@ -

Recommend not placing spool-path within pg_xlog/pg_wal.

+

Recommend not placing spool-path within pg_xlog/pg_wal.

diff --git a/meson.build b/meson.build index 4feac4224..e3c4b30ad 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project( 'pgbackrest', ['c'], - version: '2.55.0dev', + version: '2.55.0', license: 'MIT', meson_version: '>=0.47', default_options: [ diff --git a/src/version.h b/src/version.h index 6b34987aa..8854c752e 100644 --- a/src/version.h +++ b/src/version.h @@ -36,9 +36,9 @@ Project version components. PROJECT_VERSION and PROJECT_VERSION_NUM are automati #define PROJECT_VERSION_MAJOR 2 #define PROJECT_VERSION_MINOR 55 #define PROJECT_VERSION_PATCH 0 -#define PROJECT_VERSION_SUFFIX "dev" +#define PROJECT_VERSION_SUFFIX "" -#define PROJECT_VERSION "2.55.0dev" +#define PROJECT_VERSION "2.55.0" #define PROJECT_VERSION_NUM 2055000 #endif diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index aa4b79d29..a488ecb5b 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -1155,11 +1155,15 @@ src/command/restore/restore.c: class: core type: c +src/command/restore/restore.h: + class: core + type: c/h + src/command/restore/timeline.c: class: core type: c -src/command/restore/restore.h: +src/command/restore/timeline.h: class: core type: c/h @@ -1263,6 +1267,14 @@ src/common/compress/bz2/decompress.h: class: core type: c/h +src/common/compress/common.c: + class: core + type: c + +src/common/compress/common.h: + class: core + type: c/h + src/common/compress/gz/common.c: class: core type: c @@ -2607,6 +2619,14 @@ test/src/command/test/define.h: class: test/harness type: c/h +test/src/command/test/lint.c: + class: test/harness + type: c + +test/src/command/test/lint.h: + class: test/harness + type: c/h + test/src/command/test/test.c: class: test/harness type: c @@ -2775,6 +2795,10 @@ test/src/common/harnessPostgres/harness170.c: class: test/harness type: c +test/src/common/harnessPostgres/harness180.c: + class: test/harness + type: c + test/src/common/harnessPostgres/harnessVersion.intern.h: class: test/harness type: c/h