diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 46dc16118..a33209542 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -263,7 +263,7 @@ pgbackrest/test/test.pl --vm-out --module=common --test=wait P00 INFO: P1-T1/1 - vm=none, module=common, test=wait - P00 INFO: test command begin 2.53.1: [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.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 end: completed successfully run 1 - waitNew(), waitMore, and waitFree() L0018 expect AssertError: assertion 'waitTime <= 999999000' failed @@ -306,6 +306,13 @@ pgbackrest/test/test.pl --vm-out --module=common --test=wait L0085 upper range check L0087 free wait + run 1/5 ----- L0090 waitRemainder() + L0092 new wait = 500ms + L0093 check initial wait remainder + L0094 check initial wait remainder + L0098 check updated wait remainder + L0099 check updated wait remainder + TESTS COMPLETED SUCCESSFULLY P00 INFO: P1-T1/1 - vm=none, module=common, test=wait @@ -347,7 +354,7 @@ pgbackrest/test/test.pl --vm-build --vm=u20 --- output --- P00 INFO: test begin on x86_64 - log level info - P00 INFO: Using cached pgbackrest/test:u20-base-20240612A image (a754f9acc98c79a0b0ad3a39a140a752a27ac5e7) ... + P00 INFO: Using cached pgbackrest/test:u20-base-20241016A image (711ee90bf3ea0e8bb054285193811266b9b1f2f3) ... P00 INFO: Building pgbackrest/test:u20-test image ... P00 INFO: Build Complete ``` diff --git a/README.md b/README.md index 7d804dfc2..626dc71fd 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.53.1](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.53.1) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.54.0](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.54.0) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. Please find us on [GitHub](https://github.com/pgbackrest/pgbackrest) and give us a star if you like pgBackRest! diff --git a/doc/RELEASE.md b/doc/RELEASE.md index 5f50e1243..303975d3b 100644 --- a/doc/RELEASE.md +++ b/doc/RELEASE.md @@ -1,5 +1,9 @@ # Release Build Instructions +## Update CI container builds + +If there have been PostgreSQL minor releases since the last pgBackRest release then update the CI containers to include the latest releases. This should be committed before the release. + ## Create a branch to test the release ``` @@ -14,7 +18,7 @@ Edit the latest release in `doc/xml/release.xml`, e.g.: ``` to: ``` - + ``` Edit version in `src/version.h`, e.g.: @@ -23,7 +27,7 @@ Edit version in `src/version.h`, e.g.: ``` to: ``` -#define PROJECT_VERSION "2.14" +#define PROJECT_VERSION "2.14.0" ``` ## Update code counts @@ -91,7 +95,7 @@ pgbackrest/doc/release.pl --deploy Create release notes based on the pattern in prior git commits (this should be automated at some point), e.g. ``` -v2.14: Bug Fix and Improvements +v2.14.0: Bug Fix and Improvements Bug Fixes: @@ -117,7 +121,7 @@ Push release commit to main once CI testing is complete. Create release notes based on pattern in prior releases (this should be automated at some point), e.g. ``` -v2.14: Bug Fix and Improvements +v2.14.0: Bug Fix and Improvements **Bug Fixes**: @@ -138,7 +142,7 @@ The first line will be the release title and the rest will be the body. The tag ## Push web documentation to main and deploy ``` cd pgbackrest/doc/site -git commit -m "v2.14 documentation." +git commit -m "v2.14.0 documentation." git push origin main ``` @@ -165,7 +169,7 @@ Add new release in `doc/xml/release.xml`, e.g.: Edit version in `src/version.h`, e.g.: ``` -#define PROJECT_VERSION "2.14" +#define PROJECT_VERSION "2.14.0" ``` to: ``` diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index bba303ad4..f9c90e319 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -159,7 +159,7 @@ " ", "P00 INFO: P1-T1/1 - vm=none, module=common, test=wait", " ", - " P00 INFO: test command begin 2.53: [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.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 end: completed successfully", " run 1 - waitNew(), waitMore, and waitFree()", " L0018 expect AssertError: assertion 'waitTime <= 999999000' failed", @@ -202,6 +202,13 @@ " L0085 upper range check", " L0087 free wait", " ", + " run 1/5 ----- L0090 waitRemainder()", + " L0092 new wait = 500ms", + " L0093 check initial wait remainder", + " L0094 check initial wait remainder", + " L0098 check updated wait remainder", + " L0099 check updated wait remainder", + " ", " TESTS COMPLETED SUCCESSFULLY", "", "P00 INFO: P1-T1/1 - vm=none, module=common, test=wait", @@ -257,7 +264,7 @@ "value" : { "output" : [ "P00 INFO: test begin on x86_64 - log level info", - "P00 INFO: Using cached pgbackrest/test:u20-base-20240612A image (a754f9acc98c79a0b0ad3a39a140a752a27ac5e7) ...", + "P00 INFO: Using cached pgbackrest/test:u20-base-20241016A image (711ee90bf3ea0e8bb054285193811266b9b1f2f3) ...", "P00 INFO: Building pgbackrest/test:u20-test image ...", "P00 INFO: Build Complete" ] @@ -329,7 +336,6 @@ "id" : "sftp", "image" : "pgbackrest/doc:debian", "name" : "sftp-server", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", "os" : "debian", "update-hosts" : true }, @@ -343,7 +349,6 @@ "id" : "build", "image" : "pgbackrest/doc:debian", "name" : "build", - "option" : "-v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", "os" : "debian", "update-hosts" : true }, @@ -356,7 +361,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.53" + "sudo mkdir -p /build/pgbackrest-release-2.54.0" ], "host" : "build", "load-env" : true, @@ -369,7 +374,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.53" + "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.54.0" ], "host" : "build", "load-env" : true, @@ -423,7 +428,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "meson setup /build/pgbackrest /build/pgbackrest-release-2.53" + "meson setup /build/pgbackrest /build/pgbackrest-release-2.54.0" ], "host" : "build", "load-env" : true, @@ -450,7 +455,7 @@ "id" : "pg1", "image" : "pgbackrest/doc:debian", "name" : "pg-primary", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", + "option" : "-m 512m", "os" : "debian", "update-hosts" : true }, @@ -605,32 +610,32 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.53 - General help", + "pgBackRest 2.54.0 - General help", "", "Usage:", " pgbackrest [options] [command]", "", "Commands:", - " annotate Add or modify backup annotation.", - " archive-get Get a WAL segment from the archive.", - " archive-push Push a WAL segment to the archive.", - " backup Backup a database cluster.", - " check Check the configuration.", - " expire Expire backups that exceed retention.", - " help Get help.", - " info Retrieve information about backups.", - " repo-get Get a file from a repository.", - " repo-ls List files in a repository.", - " restore Restore a database cluster.", - " server pgBackRest server.", - " server-ping Ping pgBackRest server.", - " stanza-create Create the required stanza data.", - " stanza-delete Delete a stanza.", - " stanza-upgrade Upgrade a stanza.", - " start Allow pgBackRest processes to run.", - " stop Stop pgBackRest processes from running.", - " verify Verify contents of the repository.", - " version Get version.", + " annotate add or modify backup annotation", + " archive-get get a WAL segment from the archive", + " archive-push push a WAL segment to the archive", + " backup backup a database cluster", + " check check the configuration", + " expire expire backups that exceed retention", + " help get help", + " info retrieve information about backups", + " repo-get get a file from a repository", + " repo-ls list files in a repository", + " restore restore a database cluster", + " server pgBackRest server", + " server-ping ping pgBackRest server", + " stanza-create create the required stanza data", + " stanza-delete delete a stanza", + " stanza-upgrade upgrade a stanza", + " start allow pgBackRest processes to run", + " stop stop pgBackRest processes from running", + " verify verify contents of the repository", + " version get version", "", "Use 'pgbackrest help [command]' for more information." ] @@ -731,7 +736,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.53 - 'backup' command - 'log-path' option help", + "pgBackRest 2.54.0 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -991,7 +996,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.53: --exec-id=385-2151a003 --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.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 for stanza 'demo' on repo1", "P00 INFO: stanza-create command end: completed successfully" ] @@ -1018,10 +1023,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=393-0a1e9e88 --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.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 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-bc2e9b0c006f6da0faba917dc8d0779a353b0051.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000100000000/000000010000000000000001-77a5c811e1e1c2e907787a1b551b4d9f385bf448.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -1078,16 +1083,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.53: --exec-id=418-d86b8bde --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.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 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 = 20240722-013347F", + "P00 INFO: new backup label = 20241021-052017F", "P00 INFO: full backup size = 21.8MB, file total = 961", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=418-d86b8bde --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.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" ] } }, @@ -1105,7 +1110,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-013347F" + "20241021-052017F" ] } }, @@ -1133,10 +1138,10 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000004:000000010000000000000005", - "P00 INFO: new backup label = 20240722-013347F_20240722-013351D", + "P00 INFO: new backup label = 20241021-052017F_20241021-052020D", "P00 INFO: diff backup size = 8.3KB, file total = 961", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=442-1dede61d --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.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" ] } }, @@ -1168,18 +1173,18 @@ " db (current)", " wal archive min/max (15): 000000010000000000000001/000000010000000000000005", "", - " full backup: 20240722-013347F", - " timestamp start/stop: 2024-07-22 01:33:47+00 / 2024-07-22 01:33:50+00", + " full backup: 20241021-052017F", + " timestamp start/stop: 2024-10-21 05:20:17+00 / 2024-10-21 05:20:19+00", " wal start/stop: 000000010000000000000002 / 000000010000000000000003", " database size: 21.8MB, database backup size: 21.8MB", " repo1: backup set size: 2.9MB, backup size: 2.9MB", "", - " diff backup: 20240722-013347F_20240722-013351D", - " timestamp start/stop: 2024-07-22 01:33:51+00 / 2024-07-22 01:33:53+00", + " diff backup: 20241021-052017F_20241021-052020D", + " timestamp start/stop: 2024-10-21 05:20:20+00 / 2024-10-21 05:20:21+00", " wal start/stop: 000000010000000000000004 / 000000010000000000000005", " database size: 21.8MB, database backup size: 8.3KB", " repo1: backup set size: 2.9MB, backup size: 448B", - " backup reference list: 20240722-013347F" + " backup reference total: 1 full" ] } }, @@ -1432,7 +1437,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2024-07-22 01:33:53+00 | 000000010000000000000005", + " \"demo\" | 2024-10-21 05:20:21+00 | 000000010000000000000005", "(1 row)" ] } @@ -1466,7 +1471,7 @@ "type" : "exe", "value" : { "output" : [ - "1721612033" + "1729488021" ] } }, @@ -1611,7 +1616,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-013408F" + "20241021-052036F" ] } }, @@ -1619,7 +1624,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240722-013408F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20241021-052036F info" ], "highlight" : { "filter" : false, @@ -1643,8 +1648,8 @@ " db (current)", " wal archive min/max (15): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20240722-013408F", - " timestamp start/stop: 2024-07-22 01:34:08+00 / 2024-07-22 01:34:11+00", + " full backup: 20241021-052036F", + " timestamp start/stop: 2024-10-21 05:20:36+00 / 2024-10-21 05:20:38+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000088", " database size: 21.8MB, database backup size: 21.8MB", @@ -1660,7 +1665,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240722-013408F \\", + "sudo -u postgres pgbackrest --stanza=demo --set=20241021-052036F \\", " --annotation=key= --annotation=new_key=new_value annotate" ], "host" : "pg-primary", @@ -1674,7 +1679,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240722-013408F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20241021-052036F info" ], "highlight" : { "filter" : false, @@ -1698,8 +1703,8 @@ " db (current)", " wal archive min/max (15): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20240722-013408F", - " timestamp start/stop: 2024-07-22 01:34:08+00 / 2024-07-22 01:34:11+00", + " full backup: 20241021-052036F", + " timestamp start/stop: 2024-10-21 05:20:36+00 / 2024-10-21 05:20:38+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000088", " database size: 21.8MB, database backup size: 21.8MB", @@ -1754,7 +1759,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20240722-013347F|remove archive" + "archive retention on backup 20241021-052017F|remove archive" ] }, "host" : "pg-primary", @@ -1766,8 +1771,8 @@ "value" : { "output" : [ " [filtered 973 lines of output]", - "P00 INFO: repo1: remove expired backup 20240722-013405F", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20240722-013408F, start = 000000020000000000000008", + "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", "P00 INFO: expire command end: completed successfully" ] @@ -1787,7 +1792,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-013412F" + "20241021-052040F" ] } }, @@ -1802,7 +1807,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20240722-013347F|archive retention on backup 20240722-013412F|remove archive" + "expire full backup set 20241021-052017F|archive retention on backup 20241021-052040F|remove archive" ] }, "host" : "pg-primary", @@ -1814,8 +1819,8 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "P00 INFO: repo1: expire full backup 20240722-013408F", - "P00 INFO: repo1: remove expired backup 20240722-013408F", + "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: expire command end: completed successfully" ] @@ -1881,7 +1886,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-013416F_20240722-013419D" + "20241021-052042F_20241021-052045D" ] } }, @@ -1909,7 +1914,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20240722-013416F_20240722-013419D" + "expire diff backup set 20241021-052042F_20241021-052045D" ] }, "host" : "pg-primary", @@ -1922,10 +1927,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=883-6a5e4efe --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 20240722-013416F_20240722-013419D, 20240722-013416F_20240722-013421I", - "P00 INFO: repo1: remove expired backup 20240722-013416F_20240722-013421I", - "P00 INFO: repo1: remove expired backup 20240722-013416F_20240722-013419D", + "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 end: completed successfully" ] } @@ -1977,7 +1982,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-013416F_20240722-013423D" + "20241021-052042F_20241021-052048D" ] } }, @@ -2019,9 +2024,9 @@ "value" : { "output" : [ " [filtered 6 lines of output]", - "P00 INFO: backup stop archive = 000000020000000000000017, lsn = 0/17000100", - "P00 INFO: check archive for segment(s) 000000020000000000000017:000000020000000000000017", - "P00 INFO: new backup label = 20240722-013416F_20240722-013426D", + "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: backup command end: completed successfully", " [filtered 2 lines of output]" @@ -2042,7 +2047,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-013416F_20240722-013426D" + "20241021-052042F_20241021-052050D" ] } }, @@ -2057,7 +2062,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20240722-013416F_20240722-013423D|remove archive" + "archive retention on backup 20241021-052042F_20241021-052048D|remove archive" ] }, "host" : "pg-primary", @@ -2068,13 +2073,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.53: --exec-id=959-d58b23b3 --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 20240722-013412F, start = 00000002000000000000000A, stop = 00000002000000000000000B", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20240722-013416F, start = 00000002000000000000000C, stop = 00000002000000000000000D", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20240722-013416F_20240722-013423D, start = 000000020000000000000012, stop = 000000020000000000000013", - "P00 DETAIL: repo1: 15-1 archive retention on backup 20240722-013416F_20240722-013426D, start = 000000020000000000000017", + "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 = 000000020000000000000016", + "P00 INFO: repo1: 15-1 remove archive, start = 000000020000000000000014, stop = 000000020000000000000015", "P00 INFO: expire command end: completed successfully" ] } @@ -2120,13 +2125,13 @@ "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 768 lines of output]", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/base/1/113 - exists and matches backup (bundle 20240722-013416F/1/2724632, 8KB, 88.05%) checksum 9c6671806c84144652aa7a1e989bc2cfe3d9bd40", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/base/1/112 - exists and matches backup (bundle 20240722-013416F/1/2724720, 8KB, 88.09%) checksum 9890dd22d170e0de4f4d9404aba2557a33b9909b", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/PG_VERSION - exists and matches backup (bundle 20240722-013416F/1/2724808, 3B, 88.09%) checksum 587b596f04f7db9c2cad3d6b87dd2b3a05de4f35", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/base/5/2608_vm - exists and matches backup (bundle 20240722-013416F/1/2724832, 8KB, 88.13%) checksum 7bb978b40735d83bc26dcc725a834417b70b42a8", - "P01 DETAIL: restore file /var/lib/postgresql/15/demo/base/5/2608_fsm - exists and matches backup (bundle 20240722-013416F/1/2724904, 24KB, 88.23%) checksum 6439cb82c83eba0c7f5cff09af748162b30260aa", - " [filtered 232 lines of output]" + " [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]" ] } }, @@ -2295,7 +2300,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-013416F_20240722-013434I" + "20241021-052042F_20241021-052057I" ] } }, @@ -2304,7 +2309,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20240722-013416F_20240722-013434I info" + " --set=20241021-052042F_20241021-052057I info" ], "highlight" : { "filter" : true, @@ -2323,7 +2328,7 @@ "output" : [ " [filtered 12 lines of output]", " repo1: backup size: 2.0MB", - " backup reference list: 20240722-013416F, 20240722-013416F_20240722-013426D", + " backup reference list: 20241021-052042F, 20241021-052042F_20241021-052050D", " database list: postgres (5), test1 (32768), test2 (32769)" ] } @@ -2555,7 +2560,7 @@ "type" : "exe", "value" : { "output" : [ - "2024-07-22 01:34:45.181046+00" + "2024-10-21 05:21:08.333489+00" ] } }, @@ -2632,7 +2637,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-013416F_20240722-013447I" + "20241021-052042F_20241021-052109I" ] } }, @@ -2646,7 +2651,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "20240722-013416F_20240722-013447I" + "20241021-052042F_20241021-052109I" ] }, "host" : "pg-primary", @@ -2658,10 +2663,10 @@ "value" : { "output" : [ " [filtered 38 lines of output]", - " backup reference list: 20240722-013416F, 20240722-013416F_20240722-013426D", + " backup reference total: 1 full, 1 diff", "", - " incr backup: 20240722-013416F_20240722-013447I", - " timestamp start/stop: 2024-07-22 01:34:47+00 / 2024-07-22 01:34:48+00", + " incr backup: 20241021-052042F_20241021-052109I", + " timestamp start/stop: 2024-10-21 05:21:09+00 / 2024-10-21 05:21:11+00", " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", " [filtered 2 lines of output]" ] @@ -2685,8 +2690,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20240722-013416F_20240722-013447I --target-timeline=current \\", - " --type=time \"--target=2024-07-22 01:34:45.181046+00\" --target-action=promote restore" + " --set=20241021-052042F_20241021-052109I --target-timeline=current \\", + " --type=time \"--target=2024-10-21 05:21:08.333489+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -2732,9 +2737,9 @@ "output" : [ " [filtered 13 lines of output]", "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.01 s", + "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 1325) exited with exit code 1", + "LOG: startup process (PID 1984) exited with exit code 1", "LOG: terminating any other active server processes", " [filtered 3 lines of output]" ] @@ -2745,7 +2750,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2024-07-22 01:34:45.181046+00\" \\", + " --type=time \"--target=2024-10-21 05:21:08.333489+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -2790,9 +2795,9 @@ "value" : { "output" : [ " [filtered 9 lines of output]", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:34:50", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:21:13", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2024-07-22 01:34:45.181046+00'", + "recovery_target_time = '2024-10-21 05:21:08.333489+00'", "recovery_target_action = 'promote'" ] } @@ -2873,17 +2878,17 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "LOG: database system was interrupted; last known up at 2024-07-22 01:34:34 UTC", + "LOG: database system was interrupted; last known up at 2024-10-21 05:20:58 UTC", "LOG: restored log file \"00000004.history\" from archive", - "LOG: starting point-in-time recovery to 2024-07-22 01:34:45.181046+00", + "LOG: starting point-in-time recovery to 2024-10-21 05:21:08.333489+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-07-22 01:34:46.449026+00", - "LOG: redo done at 0/19025398 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.07 s", - "LOG: last completed transaction was at log time 2024-07-22 01:34:43.861386+00", + "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: restored log file \"000000040000000000000019\" from archive", "LOG: selected new timeline ID: 5", " [filtered 5 lines of output]" @@ -2924,7 +2929,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.53: --exec-id=1447-db67de8a --log-level-console=info --no-log-timestamp --stanza=demo", + "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 end: completed successfully" ] } @@ -2951,7 +2956,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.53: --exec-id=1454-b3421dbd --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.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 end: completed successfully" ] } @@ -3044,7 +3049,9 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --repo=2 repo-create" + "sudo -u postgres bash -c 'export AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1;az storage container create -n demo-container \\", + " --connection-string \"DefaultEndpointsProtocol=https;AccountName=pgbackrest;AccountKey=YXpLZXk=\" \\", + " 2>&1'" ], "host" : "pg-primary", "load-env" : true, @@ -3074,7 +3081,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.53: --exec-id=1519-6035a6cb --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.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 for stanza 'demo' on repo1", "P00 INFO: stanza-create for stanza 'demo' on repo2", "P00 INFO: stanza-create command end: completed successfully" @@ -3103,16 +3110,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.53: --exec-id=1527-90f0f1e3 --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.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 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 = 20240722-013500F", + "P00 INFO: new backup label = 20241021-052124F", "P00 INFO: full backup size = 29.0MB, file total = 1263", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=1527-90f0f1e3 --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.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" ] } }, @@ -3205,12 +3212,25 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --repo=3 repo-create" + "mc --insecure alias set s3 https://127.0.0.1 accessKey1 verySecretKey1" ], - "host" : "pg-primary", + "host" : "s3-server", "load-env" : true, "output" : false, - "run-as-user" : null + "run-as-user" : "root" + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "mc --insecure mb --with-versioning s3/demo-bucket" + ], + "host" : "s3-server", + "load-env" : true, + "output" : false, + "run-as-user" : "root" }, "type" : "exe" }, @@ -3264,16 +3284,34 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.53: --exec-id=1585-4e93c380 --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.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 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", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000005000000000000001C:00000005000000000000001D", - "P00 INFO: new backup label = 20240722-013510F", + "P00 INFO: new backup label = 20241021-052133F", "P00 INFO: full backup size = 29.0MB, file total = 1263", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=1585-4e93c380 --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.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" + ] + } + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres psql -Atc \"select date_trunc('seconds', current_timestamp)\"" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe", + "value" : { + "output" : [ + "2024-10-21 05:21:39+00" ] } }, @@ -3500,7 +3538,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.53: --exec-id=1660-66ff8ed6 --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.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 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", @@ -3508,10 +3546,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 = 20240722-013519F", + "P00 INFO: new backup label = 20241021-052142F", "P00 INFO: full backup size = 29.0MB, file total = 1263", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=1660-66ff8ed6 --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.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 end: completed successfully" ] } @@ -3588,12 +3626,196 @@ ] } }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo pg_ctlcluster 15 demo stop" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : false, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres pgbackrest --stanza=demo stop" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres sleep 1" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : false, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres pgbackrest --stanza=demo --repo=3 stanza-delete" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres pgbackrest --stanza=demo --repo=3 info" + ], + "highlight" : { + "filter" : true, + "filter-context" : 2, + "list" : [ + "missing stanza data" + ] + }, + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe", + "value" : { + "output" : [ + "stanza: demo", + " status: error (missing stanza data)", + " cipher: none" + ] + } + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "mc ls --versions s3/demo-bucket/demo-repo/backup/demo/backup.info" + ], + "cmd-extra" : "--insecure", + "highlight" : { + "filter" : true, + "filter-context" : 2, + "list" : [ + "backup\\.info$" + ] + }, + "host" : "s3-server", + "load-env" : true, + "output" : true, + "run-as-user" : "root" + }, + "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" + ] + } + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres pgbackrest --stanza=demo --repo=3 \\", + " --repo-target-time=\"2024-10-21 05:21:39+00\" info" + ], + "highlight" : { + "filter" : true, + "filter-context" : 2, + "list" : [ + "full backup" + ] + }, + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe", + "value" : { + "output" : [ + " [filtered 5 lines of output]", + " wal archive min/max (15): 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", + " repo3: backup set size: 3.9MB, backup size: 3.9MB" + ] + } + }, + { + "key" : { + "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" + ], + "highlight" : { + "filter" : true, + "filter-context" : 2, + "list" : [ + " restore backup set " + ] + }, + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "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", + " [filtered 2 lines of output]" + ] + } + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo pg_ctlcluster 15 demo start" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : false, + "run-as-user" : null + }, + "type" : "exe" + }, { "key" : { "id" : "repo1", "image" : "pgbackrest/doc:debian", "name" : "repository", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", + "option" : "-m 512m", "os" : "debian", "update-hosts" : true }, @@ -4184,17 +4406,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (15): 000000060000000000000025/000000060000000000000027", + " wal archive min/max (15): 000000070000000000000023/000000070000000000000025", "", - " full backup: 20240722-013549F", - " timestamp start/stop: 2024-07-22 01:35:49+00 / 2024-07-22 01:35:53+00", - " wal start/stop: 000000060000000000000025 / 000000060000000000000025", + " full backup: 20241021-052219F", + " timestamp start/stop: 2024-10-21 05:22:19+00 / 2024-10-21 05:22:23+00", + " wal start/stop: 000000070000000000000023 / 000000070000000000000023", " database size: 29.0MB, database backup size: 29.0MB", " repo1: backup set size: 3.9MB, backup size: 3.9MB", "", - " full backup: 20240722-013555F", - " timestamp start/stop: 2024-07-22 01:35:55+00 / 2024-07-22 01:36:00+00", - " wal start/stop: 000000060000000000000026 / 000000060000000000000027", + " full backup: 20241021-052225F", + " timestamp start/stop: 2024-10-21 05:22:25+00 / 2024-10-21 05:22:29+00", + " wal start/stop: 000000070000000000000024 / 000000070000000000000025", " database size: 29.0MB, database backup size: 29.0MB", " repo1: backup set size: 3.9MB, backup size: 3.9MB" ] @@ -4331,7 +4553,7 @@ "id" : "pg2", "image" : "pgbackrest/doc:debian", "name" : "pg-standby", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", + "option" : "-m 512m", "os" : "debian", "update-hosts" : true }, @@ -4637,21 +4859,24 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:33:55", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:20:23", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:34:28", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:20:52", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:34:50", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:21:13", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-07-22 01:35:43 # recovery_target_time = '2024-07-22 01:34:45.181046+00'", - "# Removed by pgBackRest restore on 2024-07-22 01:35:43 # recovery_target_action = 'promote'", + "# 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'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:35:43", + "# 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 2024-10-21 05:22:14", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:36:12", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:22:44", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] } @@ -4764,10 +4989,10 @@ "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-07-22 01:35:55 UTC", + "LOG: database system was interrupted; last known up at 2024-10-21 05:22:25 UTC", "LOG: entering standby mode", - "LOG: starting backup recovery with redo LSN 0/26000028, checkpoint LSN 0/26000060, on timeline ID 6", - "LOG: restored log file \"00000006.history\" from archive", + "LOG: starting backup recovery with redo LSN 0/24000028, checkpoint LSN 0/24000060, on timeline ID 7", + "LOG: restored log file \"00000007.history\" from archive", " [filtered 6 lines of output]" ] } @@ -4848,9 +5073,9 @@ "type" : "exe", "value" : { "output" : [ - " pg_switch_wal | current_timestamp ", - "---------------+-------------------------------", - " 0/28019A10 | 2024-07-22 01:36:19.090228+00", + " pg_switch_wal | current_timestamp ", + "---------------+------------------------------", + " 0/26019A78 | 2024-10-21 05:22:51.06688+00", "(1 row)" ] } @@ -4879,7 +5104,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-07-22 01:36:20.148426+00", + " Important Data | 2024-10-21 05:22:52.258812+00", "(1 row)" ] } @@ -4905,7 +5130,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=458-ff5242a7 --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.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 repo1 (standby)", "P00 INFO: switch wal not performed because this is a standby", "P00 INFO: check command end: completed successfully" @@ -5055,21 +5280,24 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:33:55", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:20:23", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:34:28", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:20:52", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:34:50", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:21:13", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-07-22 01:35:43 # recovery_target_time = '2024-07-22 01:34:45.181046+00'", - "# Removed by pgBackRest restore on 2024-07-22 01:35:43 # recovery_target_action = 'promote'", + "# 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'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:35:43", + "# 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 2024-10-21 05:22:14", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:36:23", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:22:54", "primary_conninfo = 'host=172.17.0.6 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] @@ -5136,9 +5364,9 @@ "value" : { "output" : [ " [filtered 13 lines of output]", - "LOG: consistent recovery state reached at 0/27000088", + "LOG: consistent recovery state reached at 0/25000050", "LOG: database system is ready to accept read-only connections", - "LOG: started streaming WAL from primary at 0/29000000 on timeline 6" + "LOG: started streaming WAL from primary at 0/27000000 on timeline 7" ] } }, @@ -5171,7 +5399,7 @@ " [filtered 4 lines of output]", " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-07-22 01:36:29.090567+00", + " Important Data | 2024-10-21 05:23:01.117097+00", "(1 row)" ] } @@ -5200,7 +5428,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-07-22 01:36:29.419761+00", + " Important Data | 2024-10-21 05:23:01.463087+00", "(1 row)" ] } @@ -5210,7 +5438,7 @@ "id" : "pgalt", "image" : "pgbackrest/doc:debian", "name" : "pg-alt", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", + "option" : "-m 512m", "os" : "debian", "update-hosts" : true }, @@ -5630,7 +5858,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.53: --exec-id=358-31ebc713 --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.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 for stanza 'demo-alt' on repo1", "P00 INFO: stanza-create command end: completed successfully" ] @@ -5657,11 +5885,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=367-a8d5de5e --log-level-console=info --log-level-file=detail --no-log-timestamp --repo1-host=repository", + "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 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-58c00cebab5024384356728342105ce1e720e43a.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/15-1/0000000100000000/000000010000000000000001-7a89895310b85bd6ac2872a3534359f0a84d0618.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -5687,15 +5915,15 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=1198-fbbeeb1a --log-level-console=info --no-log-timestamp --repo1-path=/var/lib/pgbackrest", + "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 stanza 'demo'", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 000000060000000000000029 successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000600000000/000000060000000000000029-d173cb426162c4de3ec6447ac91b41ad7da7ff24.gz' on repo1", + "P00 INFO: WAL segment 000000070000000000000027 successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000700000000/000000070000000000000027-e47fb3803fdfcd4688cb430234e533f22785ed66.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-6f45356a48feb68560a73f2e2fd6fd56de8bdb10.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000002 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/15-1/0000000100000000/000000010000000000000002-e0f09a5b4cbf46998ee74d7af3418ec5c45b41a9.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -5926,10 +6154,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=2232-15bef0a3 --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.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 repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 00000006000000000000002F successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000600000000/00000006000000000000002F-ad1c835af0826fe314ff4ac0f58b9ee4fab128c9.gz' on repo1", + "P00 INFO: WAL segment 00000007000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/15-1/0000000700000000/00000007000000000000002D-38f15b3f76492309595b39de91bc1cce0f9ae0fc.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -5956,18 +6184,20 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.53: [/var/lib/postgresql/15/demo/pg_wal] --archive-async --exec-id=2218-7a064321 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 2 WAL file(s) to archive: 00000006000000000000002A...00000006000000000000002B", - "P02 DETAIL: pushed WAL file '00000006000000000000002B' to the archive", - "P01 DETAIL: pushed WAL file '00000006000000000000002A' to the archive", + "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: 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.53: [/var/lib/postgresql/15/demo/pg_wal] --archive-async --exec-id=2238-aaf81bda --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 00000006000000000000002C...00000006000000000000002F", - "P01 DETAIL: pushed WAL file '00000006000000000000002C' to the archive", - "P02 DETAIL: pushed WAL file '00000006000000000000002D' to the archive", - "P01 DETAIL: pushed WAL file '00000006000000000000002E' to the archive" + "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: 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", + "P01 DETAIL: pushed WAL file '00000007000000000000002B' to the archive", + "P02 DETAIL: pushed WAL file '00000007000000000000002C' to the archive", + "P01 DETAIL: pushed WAL file '00000007000000000000002D' to the archive", + "P00 INFO: archive-push:async command end: completed successfully" ] } }, @@ -6006,26 +6236,26 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.53: [000000060000000000000026, 000000060000000000000027, 000000060000000000000028, 000000060000000000000029, 00000006000000000000002A, 00000006000000000000002B, 00000006000000000000002C, 00000006000000000000002D] --archive-async --exec-id=659-c90bd285 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000060000000000000026...00000006000000000000002D", - "P01 DETAIL: found 000000060000000000000026 in the repo1: 15-1 archive", - "P02 DETAIL: found 000000060000000000000027 in the repo1: 15-1 archive", - "P01 DETAIL: found 000000060000000000000028 in the repo1: 15-1 archive", - "P02 DETAIL: found 000000060000000000000029 in the repo1: 15-1 archive", - "P00 DETAIL: unable to find 00000006000000000000002A in the archive", + "P00 INFO: archive-get:async command 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: 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", + "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.53: [00000006000000000000002A, 00000006000000000000002B, 00000006000000000000002C, 00000006000000000000002D, 00000006000000000000002E, 00000006000000000000002F, 000000060000000000000030, 000000060000000000000031] --archive-async --exec-id=709-02a958d3 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/15/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 00000006000000000000002A...000000060000000000000031", - "P02 DETAIL: found 00000006000000000000002B in the repo1: 15-1 archive", - "P01 DETAIL: found 00000006000000000000002A in the repo1: 15-1 archive", - "P02 DETAIL: found 00000006000000000000002C in the repo1: 15-1 archive", - "P01 DETAIL: found 00000006000000000000002D in the repo1: 15-1 archive", - "P02 DETAIL: found 00000006000000000000002E in the repo1: 15-1 archive", - "P01 DETAIL: found 00000006000000000000002F in the repo1: 15-1 archive", - "P00 DETAIL: unable to find 000000060000000000000030 in the archive", + "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: 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", + "P00 DETAIL: unable to find 00000007000000000000002E in the archive", "P00 INFO: archive-get:async command end: completed successfully", - " [filtered 11 lines of output]" + " [filtered 17 lines of output]" ] } }, @@ -6112,13 +6342,13 @@ "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 = 000000060000000000000031, lsn = 0/31000028", - "P00 INFO: wait for replay on the standby to reach 0/31000028", - "P00 INFO: replay on the standby reached 0/31000028", - "P00 INFO: check archive for prior segment 000000060000000000000030", - "P01 DETAIL: backup file pg-primary:/var/lib/postgresql/15/demo/global/pg_control (8KB, 0.53%) checksum 006ec82d54785edf3c2ef80c741a9b3086e8221d", + "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 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 da07d6e522b4e15858f0049de1de09b16d6ab144", + "P02 DETAIL: backup file pg-standby:/var/lib/postgresql/15/demo/base/5/1249 (456KB, 31.18%) checksum 8a07a75452a58d0ad1e11b8d607b50fcec1cbe18", " [filtered 1276 lines of output]" ] } @@ -6399,7 +6629,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.53: --exec-id=2642-ec4d4c5b --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.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 for stanza 'demo' on repo1", "P00 INFO: stanza-upgrade command end: completed successfully" ] @@ -6422,7 +6652,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pg_lsclusters" + "sudo pg_lsclusters" ], "host" : "pg-primary", "load-env" : true, @@ -6659,7 +6889,6 @@ "id" : "sftp", "image" : "pgbackrest/doc:rhel", "name" : "sftp-server", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", "os" : "rhel", "update-hosts" : true }, @@ -6673,7 +6902,6 @@ "id" : "build", "image" : "pgbackrest/doc:rhel", "name" : "build", - "option" : "-v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", "os" : "rhel", "update-hosts" : true }, @@ -6686,7 +6914,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo mkdir -p /build/pgbackrest-release-2.53" + "sudo mkdir -p /build/pgbackrest-release-2.54.0" ], "host" : "build", "load-env" : true, @@ -6699,7 +6927,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.53" + "sudo cp -r /pgbackrest/* /build/pgbackrest-release-2.54.0" ], "host" : "build", "load-env" : true, @@ -6740,7 +6968,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "cd /build/pgbackrest-release-2.53/src && ./configure && make" + "cd /build/pgbackrest-release-2.54.0/src && ./configure && make" ], "cmd-extra" : "-j 4", "host" : "build", @@ -6755,7 +6983,7 @@ "id" : "pg1", "image" : "pgbackrest/doc:rhel", "name" : "pg-primary", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", + "option" : "-m 512m", "os" : "rhel", "update-hosts" : true }, @@ -6782,7 +7010,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.53/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.54.0/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-primary", @@ -6910,32 +7138,32 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.53 - General help", + "pgBackRest 2.54.0 - General help", "", "Usage:", " pgbackrest [options] [command]", "", "Commands:", - " annotate Add or modify backup annotation.", - " archive-get Get a WAL segment from the archive.", - " archive-push Push a WAL segment to the archive.", - " backup Backup a database cluster.", - " check Check the configuration.", - " expire Expire backups that exceed retention.", - " help Get help.", - " info Retrieve information about backups.", - " repo-get Get a file from a repository.", - " repo-ls List files in a repository.", - " restore Restore a database cluster.", - " server pgBackRest server.", - " server-ping Ping pgBackRest server.", - " stanza-create Create the required stanza data.", - " stanza-delete Delete a stanza.", - " stanza-upgrade Upgrade a stanza.", - " start Allow pgBackRest processes to run.", - " stop Stop pgBackRest processes from running.", - " verify Verify contents of the repository.", - " version Get version.", + " annotate add or modify backup annotation", + " archive-get get a WAL segment from the archive", + " archive-push push a WAL segment to the archive", + " backup backup a database cluster", + " check check the configuration", + " expire expire backups that exceed retention", + " help get help", + " info retrieve information about backups", + " repo-get get a file from a repository", + " repo-ls list files in a repository", + " restore restore a database cluster", + " server pgBackRest server", + " server-ping ping pgBackRest server", + " stanza-create create the required stanza data", + " stanza-delete delete a stanza", + " stanza-upgrade upgrade a stanza", + " start allow pgBackRest processes to run", + " stop stop pgBackRest processes from running", + " verify verify contents of the repository", + " version get version", "", "Use 'pgbackrest help [command]' for more information." ] @@ -7033,7 +7261,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.53 - 'backup' command - 'log-path' option help", + "pgBackRest 2.54.0 - 'backup' command - 'log-path' option help", "", "Path where log files are stored.", "", @@ -7294,7 +7522,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.53: --exec-id=1139-e0615fda --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.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 for stanza 'demo' on repo1", "P00 INFO: stanza-create command end: completed successfully" ] @@ -7321,10 +7549,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=1166-bb40d924 --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.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 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-93862d8ad64ba4d162dd3ac0e272641a4ba344e5.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000100000000/000000010000000000000001-d82f7aba24ba8d0a5d2322bb7d75d8da98375e5a.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -7381,16 +7609,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.53: --exec-id=1236-5db31a10 --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.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 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 = 20240722-012645F", + "P00 INFO: new backup label = 20241021-050958F", "P00 INFO: full backup size = 23.5MB, file total = 981", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=1236-5db31a10 --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.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" ] } }, @@ -7408,7 +7636,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-012645F" + "20241021-050958F" ] } }, @@ -7436,10 +7664,10 @@ "output" : [ " [filtered 7 lines of output]", "P00 INFO: check archive for segment(s) 000000010000000000000004:000000010000000000000005", - "P00 INFO: new backup label = 20240722-012645F_20240722-012649D", + "P00 INFO: new backup label = 20241021-050958F_20241021-051000D", "P00 INFO: diff backup size = 8.8KB, file total = 981", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=1295-e6584353 --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.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" ] } }, @@ -7471,18 +7699,18 @@ " db (current)", " wal archive min/max (12): 000000010000000000000001/000000010000000000000005", "", - " full backup: 20240722-012645F", - " timestamp start/stop: 2024-07-22 01:26:45+00 / 2024-07-22 01:26:48+00", + " full backup: 20241021-050958F", + " timestamp start/stop: 2024-10-21 05:09:58+00 / 2024-10-21 05:10:00+00", " wal start/stop: 000000010000000000000002 / 000000010000000000000003", " database size: 23.5MB, database backup size: 23.5MB", " repo1: backup set size: 2.8MB, backup size: 2.8MB", "", - " diff backup: 20240722-012645F_20240722-012649D", - " timestamp start/stop: 2024-07-22 01:26:49+00 / 2024-07-22 01:26:51+00", + " diff backup: 20241021-050958F_20241021-051000D", + " timestamp start/stop: 2024-10-21 05:10:00+00 / 2024-10-21 05:10:02+00", " wal start/stop: 000000010000000000000004 / 000000010000000000000005", " database size: 23.5MB, database backup size: 8.8KB", - " repo1: backup set size: 2.8MB, backup size: 704B", - " backup reference list: 20240722-012645F" + " repo1: backup set size: 2.8MB, backup size: 688B", + " backup reference total: 1 full" ] } }, @@ -7537,7 +7765,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "Failed to start PostgreSQL" + "failed" ] }, "host" : "pg-primary", @@ -7548,10 +7776,9 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 12 lines of output]", - "Jul 22 01:26:52 pg-primary systemd[1]: postgresql-12.service: Main process exited, code=exited, status=2/INVALIDARGUMENT", - "Jul 22 01:26:52 pg-primary systemd[1]: postgresql-12.service: Failed with result 'exit-code'.", - "Jul 22 01:26:52 pg-primary systemd[1]: Failed to start PostgreSQL 12 database server." + "postgresql-12.service - PostgreSQL 12 database server", + " Loaded: loaded (/usr/lib/systemd/system/postgresql-12.service, disabled)", + " Active: failed (failed)" ] } }, @@ -7748,7 +7975,7 @@ "output" : [ " name | last_successful_backup | last_archived_wal ", "--------+------------------------+--------------------------", - " \"demo\" | 2024-07-22 01:26:51+00 | 000000010000000000000005", + " \"demo\" | 2024-10-21 05:10:02+00 | 000000010000000000000005", "(1 row)" ] } @@ -7875,7 +8102,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-012701F" + "20241021-051015F" ] } }, @@ -7883,7 +8110,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240722-012701F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20241021-051015F info" ], "highlight" : { "filter" : false, @@ -7907,8 +8134,8 @@ " db (current)", " wal archive min/max (12): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20240722-012701F", - " timestamp start/stop: 2024-07-22 01:27:01+00 / 2024-07-22 01:27:04+00", + " full backup: 20241021-051015F", + " timestamp start/stop: 2024-10-21 05:10:15+00 / 2024-10-21 05:10:17+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000050", " database size: 23.5MB, database backup size: 23.5MB", @@ -7924,7 +8151,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240722-012701F \\", + "sudo -u postgres pgbackrest --stanza=demo --set=20241021-051015F \\", " --annotation=key= --annotation=new_key=new_value annotate" ], "host" : "pg-primary", @@ -7938,7 +8165,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --stanza=demo --set=20240722-012701F info" + "sudo -u postgres pgbackrest --stanza=demo --set=20241021-051015F info" ], "highlight" : { "filter" : false, @@ -7962,8 +8189,8 @@ " db (current)", " wal archive min/max (12): 000000020000000000000007/000000020000000000000009", "", - " full backup: 20240722-012701F", - " timestamp start/stop: 2024-07-22 01:27:01+00 / 2024-07-22 01:27:04+00", + " full backup: 20241021-051015F", + " timestamp start/stop: 2024-10-21 05:10:15+00 / 2024-10-21 05:10:17+00", " wal start/stop: 000000020000000000000008 / 000000020000000000000009", " lsn start/stop: 0/8000028 / 0/9000050", " database size: 23.5MB, database backup size: 23.5MB", @@ -8018,7 +8245,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20240722-012645F|remove archive" + "archive retention on backup 20241021-050958F|remove archive" ] }, "host" : "pg-primary", @@ -8030,8 +8257,8 @@ "value" : { "output" : [ " [filtered 993 lines of output]", - "P00 INFO: repo1: remove expired backup 20240722-012658F", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20240722-012701F, start = 000000020000000000000008", + "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", "P00 INFO: expire command end: completed successfully" ] @@ -8051,7 +8278,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-012706F" + "20241021-051019F" ] } }, @@ -8066,7 +8293,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set 20240722-012645F|archive retention on backup 20240722-012706F|remove archive" + "expire full backup set 20241021-050958F|archive retention on backup 20241021-051019F|remove archive" ] }, "host" : "pg-primary", @@ -8078,8 +8305,8 @@ "value" : { "output" : [ " [filtered 11 lines of output]", - "P00 INFO: repo1: expire full backup 20240722-012701F", - "P00 INFO: repo1: remove expired backup 20240722-012701F", + "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: expire command end: completed successfully" ] @@ -8145,7 +8372,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-012709F_20240722-012712D" + "20241021-051021F_20241021-051023D" ] } }, @@ -8173,7 +8400,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set 20240722-012709F_20240722-012712D" + "expire diff backup set 20241021-051021F_20241021-051023D" ] }, "host" : "pg-primary", @@ -8186,10 +8413,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=2302-7dc522ec --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 20240722-012709F_20240722-012712D, 20240722-012709F_20240722-012714I", - "P00 INFO: repo1: remove expired backup 20240722-012709F_20240722-012714I", - "P00 INFO: repo1: remove expired backup 20240722-012709F_20240722-012712D", + "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 end: completed successfully" ] } @@ -8241,7 +8468,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-012709F_20240722-012717D" + "20241021-051021F_20241021-051025D" ] } }, @@ -8285,7 +8512,7 @@ " [filtered 6 lines of output]", "P00 INFO: backup stop archive = 000000020000000000000017, lsn = 0/17000050", "P00 INFO: check archive for segment(s) 000000020000000000000016:000000020000000000000017", - "P00 INFO: new backup label = 20240722-012709F_20240722-012720D", + "P00 INFO: new backup label = 20241021-051021F_20241021-051027D", "P00 INFO: diff backup size = 10.8KB, file total = 981", "P00 INFO: backup command end: completed successfully", " [filtered 2 lines of output]" @@ -8306,7 +8533,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-012709F_20240722-012720D" + "20241021-051021F_20241021-051027D" ] } }, @@ -8321,7 +8548,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20240722-012709F_20240722-012717D|remove archive" + "archive retention on backup 20241021-051021F_20241021-051025D|remove archive" ] }, "host" : "pg-primary", @@ -8332,12 +8559,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.53: --exec-id=2492-41518ea3 --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 20240722-012706F, start = 00000002000000000000000A, stop = 00000002000000000000000B", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20240722-012709F, start = 00000002000000000000000D, stop = 00000002000000000000000D", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20240722-012709F_20240722-012717D, start = 000000020000000000000012, stop = 000000020000000000000013", - "P00 DETAIL: repo1: 12-1 archive retention on backup 20240722-012709F_20240722-012720D, start = 000000020000000000000016", - "P00 INFO: repo1: 12-1 remove archive, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "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 end: completed successfully" @@ -8552,7 +8778,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-012709F_20240722-012727I" + "20241021-051021F_20241021-051036I" ] } }, @@ -8561,7 +8787,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo \\", - " --set=20240722-012709F_20240722-012727I info" + " --set=20241021-051021F_20241021-051036I info" ], "highlight" : { "filter" : true, @@ -8580,7 +8806,7 @@ "output" : [ " [filtered 12 lines of output]", " repo1: backup size: 1.9MB", - " backup reference list: 20240722-012709F, 20240722-012709F_20240722-012720D", + " backup reference list: 20241021-051021F, 20241021-051021F_20241021-051027D", " database list: postgres (13396), test1 (32768), test2 (32769)" ] } @@ -8811,7 +9037,7 @@ "type" : "exe", "value" : { "output" : [ - "2024-07-22 01:27:35.265412+00" + "2024-10-21 05:10:48.907566+00" ] } }, @@ -8886,7 +9112,7 @@ "type" : "exe", "value" : { "output" : [ - "20240722-012709F_20240722-012737I" + "20241021-051021F_20241021-051050I" ] } }, @@ -8900,7 +9126,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "20240722-012709F_20240722-012737I" + "20241021-051021F_20241021-051050I" ] }, "host" : "pg-primary", @@ -8912,10 +9138,10 @@ "value" : { "output" : [ " [filtered 38 lines of output]", - " backup reference list: 20240722-012709F, 20240722-012709F_20240722-012720D", + " backup reference total: 1 full, 1 diff", "", - " incr backup: 20240722-012709F_20240722-012737I", - " timestamp start/stop: 2024-07-22 01:27:37+00 / 2024-07-22 01:27:38+00", + " incr backup: 20241021-051021F_20241021-051050I", + " timestamp start/stop: 2024-10-21 05:10:50+00 / 2024-10-21 05:10:51+00", " wal start/stop: 00000004000000000000001A / 00000004000000000000001A", " [filtered 2 lines of output]" ] @@ -8939,8 +9165,8 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --set=20240722-012709F_20240722-012737I --target-timeline=current \\", - " --type=time \"--target=2024-07-22 01:27:35.265412+00\" --target-action=promote restore" + " --set=20241021-051021F_20241021-051050I --target-timeline=current \\", + " --type=time \"--target=2024-10-21 05:10:48.907566+00\" --target-action=promote restore" ], "host" : "pg-primary", "load-env" : true, @@ -9037,8 +9263,8 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2024-07-22 01:27:37 UTC", - "LOG: starting point-in-time recovery to 2024-07-22 01:27:35.265412+00", + "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", @@ -9067,7 +9293,7 @@ "bash-wrap" : true, "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2024-07-22 01:27:35.265412+00\" \\", + " --type=time \"--target=2024-10-21 05:10:48.907566+00\" \\", " --target-action=promote restore" ], "host" : "pg-primary", @@ -9112,9 +9338,9 @@ "value" : { "output" : [ " [filtered 9 lines of output]", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:27:43", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:11:01", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2024-07-22 01:27:35.265412+00'", + "recovery_target_time = '2024-10-21 05:10:48.907566+00'", "recovery_target_action = 'promote'" ] } @@ -9194,18 +9420,18 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2024-07-22 01:27:27 UTC", + "LOG: database system was interrupted; last known up at 2024-10-21 05:10:36 UTC", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"00000005.history\" from archive", - "LOG: starting point-in-time recovery to 2024-07-22 01:27:35.265412+00", + "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]", "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-07-22 01:27:36.608301+00", - "LOG: redo done at 0/1901D128", - "LOG: last completed transaction was at log time 2024-07-22 01:27:33.924174+00", + "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: archive recovery complete", "LOG: database system is ready to accept connections" @@ -9246,7 +9472,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.53: --exec-id=3845-e8bd5e73 --log-level-console=info --no-log-timestamp --stanza=demo", + "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 end: completed successfully" ] } @@ -9273,7 +9499,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.53: --exec-id=3871-d0f32c81 --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.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 end: completed successfully" ] } @@ -9366,7 +9592,9 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --repo=2 repo-create" + "sudo -u postgres bash -c 'export AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1;az storage container create -n demo-container \\", + " --connection-string \"DefaultEndpointsProtocol=https;AccountName=pgbackrest;AccountKey=YXpLZXk=\" \\", + " 2>&1'" ], "host" : "pg-primary", "load-env" : true, @@ -9396,7 +9624,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.53: --exec-id=4028-62fb2a6c --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.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 for stanza 'demo' on repo1", "P00 INFO: stanza-create for stanza 'demo' on repo2", "P00 INFO: stanza-create command end: completed successfully" @@ -9425,16 +9653,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.53: --exec-id=4055-0d71292d --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.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 WARN: no prior backup exists, incr backup has been changed to full", "P00 INFO: execute non-exclusive backup start: backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 00000006000000000000001B, lsn = 0/1B000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000006000000000000001B:00000006000000000000001B", - "P00 INFO: new backup label = 20240722-012750F", + "P00 INFO: new backup label = 20241021-051117F", "P00 INFO: full backup size = 31.1MB, file total = 1287", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=4055-0d71292d --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.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" ] } }, @@ -9527,12 +9755,25 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres pgbackrest --repo=3 repo-create" + "mc --insecure alias set s3 https://127.0.0.1 accessKey1 verySecretKey1" ], - "host" : "pg-primary", + "host" : "s3-server", "load-env" : true, "output" : false, - "run-as-user" : null + "run-as-user" : "root" + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "mc --insecure mb --with-versioning s3/demo-bucket" + ], + "host" : "s3-server", + "load-env" : true, + "output" : false, + "run-as-user" : "root" }, "type" : "exe" }, @@ -9586,16 +9827,34 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.53: --exec-id=4208-d6e78f5b --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.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 WARN: no prior backup exists, incr backup has been changed to full", "P00 INFO: execute non-exclusive backup start: backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000006000000000000001C, lsn = 0/1C000028", + "P00 INFO: backup start archive = 00000006000000000000001D, lsn = 0/1D000028", " [filtered 3 lines of output]", - "P00 INFO: check archive for segment(s) 00000006000000000000001C:00000006000000000000001D", - "P00 INFO: new backup label = 20240722-012800F", + "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: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=4208-d6e78f5b --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.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" + ] + } + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres psql -Atc \"select date_trunc('seconds', current_timestamp)\"" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe", + "value" : { + "output" : [ + "2024-10-21 05:11:31+00" ] } }, @@ -9822,7 +10081,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.53: --exec-id=4424-644da15b --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.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 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", @@ -9830,10 +10089,10 @@ "P00 INFO: backup start archive = 00000006000000000000001E, lsn = 0/1E000028", " [filtered 3 lines of output]", "P00 INFO: check archive for segment(s) 00000006000000000000001E:00000006000000000000001F", - "P00 INFO: new backup label = 20240722-012810F", + "P00 INFO: new backup label = 20241021-051133F", "P00 INFO: full backup size = 31.1MB, file total = 1287", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.53: --exec-id=4424-644da15b --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.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 end: completed successfully" ] } @@ -9910,12 +10169,196 @@ ] } }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo systemctl stop 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 pgbackrest --stanza=demo stop" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres sleep 1" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : false, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres pgbackrest --stanza=demo --repo=3 stanza-delete" + ], + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe" + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres pgbackrest --stanza=demo --repo=3 info" + ], + "highlight" : { + "filter" : true, + "filter-context" : 2, + "list" : [ + "missing stanza data" + ] + }, + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe", + "value" : { + "output" : [ + "stanza: demo", + " status: error (missing stanza data)", + " cipher: none" + ] + } + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "mc ls --versions s3/demo-bucket/demo-repo/backup/demo/backup.info" + ], + "cmd-extra" : "--insecure", + "highlight" : { + "filter" : true, + "filter-context" : 2, + "list" : [ + "backup\\.info$" + ] + }, + "host" : "s3-server", + "load-env" : true, + "output" : true, + "run-as-user" : "root" + }, + "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" + ] + } + }, + { + "key" : { + "bash-wrap" : true, + "cmd" : [ + "sudo -u postgres pgbackrest --stanza=demo --repo=3 \\", + " --repo-target-time=\"2024-10-21 05:11:31+00\" info" + ], + "highlight" : { + "filter" : true, + "filter-context" : 2, + "list" : [ + "full backup" + ] + }, + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "type" : "exe", + "value" : { + "output" : [ + " [filtered 5 lines of output]", + " wal archive min/max (12): 00000006000000000000001C/00000006000000000000001D", + "", + " 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" + ] + } + }, + { + "key" : { + "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" + ], + "highlight" : { + "filter" : true, + "filter-context" : 2, + "list" : [ + " restore backup set " + ] + }, + "host" : "pg-primary", + "load-env" : true, + "output" : true, + "run-as-user" : null + }, + "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", + " [filtered 2 lines of output]" + ] + } + }, + { + "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" : { "id" : "repo1", "image" : "pgbackrest/doc:rhel", "name" : "repository", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", + "option" : "-m 512m", "os" : "rhel", "update-hosts" : true }, @@ -9968,7 +10411,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.53/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.54.0/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "repository", @@ -10736,17 +11179,17 @@ " cipher: none", "", " db (current)", - " wal archive min/max (12): 000000070000000000000025/000000070000000000000027", + " wal archive min/max (12): 000000080000000000000023/000000080000000000000025", "", - " full backup: 20240722-012913F", - " timestamp start/stop: 2024-07-22 01:29:13+00 / 2024-07-22 01:29:16+00", - " wal start/stop: 000000070000000000000025 / 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: 20240722-012917F", - " timestamp start/stop: 2024-07-22 01:29:17+00 / 2024-07-22 01:29:21+00", - " wal start/stop: 000000070000000000000026 / 000000070000000000000027", + " 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" ] @@ -10883,7 +11326,7 @@ "id" : "pg2", "image" : "pgbackrest/doc:rhel", "name" : "pg-standby", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", + "option" : "-m 512m", "os" : "rhel", "update-hosts" : true }, @@ -10910,7 +11353,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.53/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.54.0/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-standby", @@ -11263,21 +11706,24 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:26:53", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:10:07", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:27:22", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:10:31", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:27:43", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:11:01", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-07-22 01:29:09 # recovery_target_time = '2024-07-22 01:27:35.265412+00'", - "# Removed by pgBackRest restore on 2024-07-22 01:29:09 # recovery_target_action = 'promote'", + "# 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'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:29:09", + "# 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 2024-10-21 05:12:47", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:30:04", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:13:48", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] } @@ -11392,13 +11838,13 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2024-07-22 01:29:17 UTC", + "LOG: database system was interrupted; last known up at 2024-10-21 05:12:56 UTC", "LOG: entering standby mode", - "LOG: restored log file \"00000007.history\" from archive", - "LOG: restored log file \"000000070000000000000026\" from archive", - "LOG: redo starts at 0/26000028", - "LOG: restored log file \"000000070000000000000027\" from archive", - "LOG: consistent recovery state reached at 0/27000050", + "LOG: restored log file \"00000008.history\" from archive", + "LOG: restored log file \"000000080000000000000024\" from archive", + "LOG: redo starts at 0/24000028", + "LOG: restored log file \"000000080000000000000025\" from archive", + "LOG: consistent recovery state reached at 0/25000050", "LOG: database system is ready to accept read only connections" ] } @@ -11480,7 +11926,7 @@ "output" : [ " pg_switch_wal | current_timestamp ", "---------------+-------------------------------", - " 0/28021810 | 2024-07-22 01:30:08.522123+00", + " 0/26021840 | 2024-10-21 05:13:54.196795+00", "(1 row)" ] } @@ -11509,7 +11955,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-07-22 01:30:10.871334+00", + " Important Data | 2024-10-21 05:13:55.454868+00", "(1 row)" ] } @@ -11535,7 +11981,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=1333-20d9d007 --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.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 repo1 (standby)", "P00 INFO: switch wal not performed because this is a standby", "P00 INFO: check command end: completed successfully" @@ -11694,21 +12140,24 @@ "# Do not edit this file manually!", "# It will be overwritten by the ALTER SYSTEM command.", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:26:53", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:10:07", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:27:22", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:10:31", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:27:43", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:11:01", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "# Removed by pgBackRest restore on 2024-07-22 01:29:09 # recovery_target_time = '2024-07-22 01:27:35.265412+00'", - "# Removed by pgBackRest restore on 2024-07-22 01:29:09 # recovery_target_action = 'promote'", + "# 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'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:29:09", + "# 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 2024-10-21 05:12:47", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", "", - "# Recovery settings generated by pgBackRest restore on 2024-07-22 01:30:13", + "# Recovery settings generated by pgBackRest restore on 2024-10-21 05:14:00", "primary_conninfo = 'host=172.17.0.6 port=5432 user=replicator'", "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'" ] @@ -11798,8 +12247,8 @@ "output" : [ " [filtered 7 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000070000000000000028\" from archive", - "LOG: started streaming WAL from primary at 0/29000000 on timeline 7" + "LOG: restored log file \"000000080000000000000026\" from archive", + "LOG: started streaming WAL from primary at 0/27000000 on timeline 8" ] } }, @@ -11831,7 +12280,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-07-22 01:30:17.488594+00", + " Important Data | 2024-10-21 05:14:06.212656+00", "(1 row)" ] } @@ -11860,7 +12309,7 @@ "output" : [ " message | current_timestamp ", "----------------+-------------------------------", - " Important Data | 2024-07-22 01:30:17.770865+00", + " Important Data | 2024-10-21 05:14:06.515391+00", "(1 row)" ] } @@ -11870,7 +12319,7 @@ "id" : "pgalt", "image" : "pgbackrest/doc:rhel", "name" : "pg-alt", - "option" : "-m 512m -v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/$(mktemp -d):/run", + "option" : "-m 512m", "os" : "rhel", "update-hosts" : true }, @@ -11897,7 +12346,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo scp build:/build/pgbackrest-release-2.53/src/pgbackrest /usr/bin" + "sudo scp build:/build/pgbackrest-release-2.54.0/src/pgbackrest /usr/bin" ], "cmd-extra" : "2>&1", "host" : "pg-alt", @@ -12373,7 +12822,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.53: --exec-id=962-bf3a6aba --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.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 for stanza 'demo-alt' on repo1", "P00 INFO: stanza-create command end: completed successfully" ] @@ -12400,11 +12849,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=989-461c1986 --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.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 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-8ff9a46273d8c6948360525e7372be733b51d356.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000001 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/12-1/0000000100000000/000000010000000000000001-c1bea00948bde95d2d55992294fb0f6149f74621.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -12430,15 +12879,15 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=1334-30ac62b3 --log-level-console=info --no-log-timestamp --repo1-path=/var/lib/pgbackrest", + "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 stanza 'demo'", "P00 INFO: check repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 000000070000000000000029 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000700000000/000000070000000000000029-a34074c2994553855198bd34c9d80b0eb1ea211a.gz' on repo1", + "P00 INFO: WAL segment 000000080000000000000027 successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000800000000/000000080000000000000027-f939f96dee7e1f004d8f853d5c8ffd80642718a4.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-f77fef287ca86940335953a7243b0d391d8ca652.gz' on repo1", + "P00 INFO: WAL segment 000000010000000000000002 successfully archived to '/var/lib/pgbackrest/archive/demo-alt/12-1/0000000100000000/000000010000000000000002-d50fe80c45171b5d543ed448c652f9418e693be1.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -12687,10 +13136,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.53: --exec-id=5442-4462beb0 --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.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 repo1 configuration (primary)", "P00 INFO: check repo1 archive for WAL (primary)", - "P00 INFO: WAL segment 00000007000000000000002F successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000700000000/00000007000000000000002F-56dbd1ffa6afa00b816dab2d6262f4153b7b2876.gz' on repo1", + "P00 INFO: WAL segment 00000008000000000000002D successfully archived to '/var/lib/pgbackrest/archive/demo/12-1/0000000800000000/00000008000000000000002D-f18427145348d3fa39c4a659451af3356294c267.gz' on repo1", "P00 INFO: check command end: completed successfully" ] } @@ -12717,26 +13166,20 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push:async command begin 2.53: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5411-3aa684cb --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000007000000000000002A", - "P01 DETAIL: pushed WAL file '00000007000000000000002A' to the archive", + "P00 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 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.53: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5444-ff758d6e --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 4 WAL file(s) to archive: 00000007000000000000002B...00000007000000000000002E", - "P01 DETAIL: pushed WAL file '00000007000000000000002B' to the archive", - "P02 DETAIL: pushed WAL file '00000007000000000000002C' to the archive", - "P01 DETAIL: pushed WAL file '00000007000000000000002D' to the archive", - "P02 DETAIL: pushed WAL file '00000007000000000000002E' to the archive", - "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.53: [/var/lib/pgsql/12/data/pg_wal] --archive-async --exec-id=5452-54dd5115 --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 00000007000000000000002F", - "P01 DETAIL: pushed WAL file '00000007000000000000002F' to the archive", + "P00 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 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" ] @@ -12777,26 +13220,26 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-get:async command begin 2.53: [000000070000000000000026, 000000070000000000000027, 000000070000000000000028, 000000070000000000000029, 00000007000000000000002A, 00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D] --archive-async --exec-id=1872-eb35e8fe --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 000000070000000000000026...00000007000000000000002D", - "P01 DETAIL: found 000000070000000000000026 in the repo1: 12-1 archive", - "P02 DETAIL: found 000000070000000000000027 in the repo1: 12-1 archive", - "P01 DETAIL: found 000000070000000000000028 in the repo1: 12-1 archive", - "P02 DETAIL: found 000000070000000000000029 in the repo1: 12-1 archive", - "P00 DETAIL: unable to find 00000007000000000000002A in the archive", + "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 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", - " [filtered 17 lines of output]", - "P00 INFO: archive-get:async command begin 2.53: [00000007000000000000002A, 00000007000000000000002B, 00000007000000000000002C, 00000007000000000000002D, 00000007000000000000002E, 00000007000000000000002F, 000000070000000000000030, 000000070000000000000031] --archive-async --exec-id=1926-ef9fc22c --log-level-console=off --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/12/data --process-max=2 --repo1-host=repository --repo1-host-ca-file=/etc/pgbackrest/cert/ca.crt --repo1-host-cert-file=/etc/pgbackrest/cert/client.crt --repo1-host-key-file=/etc/pgbackrest/cert/client.key --repo1-host-type=tls --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: get 8 WAL file(s) from archive: 00000007000000000000002A...000000070000000000000031", - "P01 DETAIL: found 00000007000000000000002A in the repo1: 12-1 archive", - "P02 DETAIL: found 00000007000000000000002B in the repo1: 12-1 archive", - "P01 DETAIL: found 00000007000000000000002C in the repo1: 12-1 archive", - "P02 DETAIL: found 00000007000000000000002D in the repo1: 12-1 archive", - "P01 DETAIL: found 00000007000000000000002E in the repo1: 12-1 archive", - "P02 DETAIL: found 00000007000000000000002F in the repo1: 12-1 archive", - "P00 DETAIL: unable to find 000000070000000000000030 in the archive", + " [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", "P00 DETAIL: statistics: {\"socket.client\":{\"total\":1},\"socket.session\":{\"total\":1},\"tls.client\":{\"total\":1},\"tls.session\":{\"total\":1}}", - " [filtered 14 lines of output]" + " [filtered 7 lines of output]" ] } }, @@ -12912,19 +13355,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 = 000000070000000000000031, lsn = 0/31000028", - "P00 INFO: wait for replay on the standby to reach 0/31000028", - "P00 INFO: replay on the standby reached 0/31000028", - "P00 INFO: check archive for prior segment 000000070000000000000030", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/global/pg_control (8KB, 0.34%) checksum a2841109f6c50505d046c36414ff2a7c717cc50c", - "P02 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/2608 (456KB, 19.77%) checksum fdf79152d7ad43993fd0e95f3ab99230b5456da9", - "P03 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/1249 (440KB, 38.52%) checksum 80fa69c6255667377f0514d4931db96c0d023b6c", - "P04 DETAIL: backup file pg-standby:/var/lib/pgsql/12/data/base/13396/2674 (344KB, 53.18%) checksum 82b8cc51aae38a0a0b387a92a9bb094029a58456", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/log/postgresql.log (6.1KB, 53.44%) checksum d377013343fc1c4eae169b17c7651f91f094394a", - "P01 DETAIL: backup file pg-primary:/var/lib/pgsql/12/data/pg_hba.conf (4.5KB, 53.63%) checksum 65e54ae24bda87b2542351cb16a7fecc7e5aceeb", - "P01 DETAIL: match file from prior backup pg-primary:/var/lib/pgsql/12/data/current_logfiles (26B, 53.63%) checksum 78a9f5c10960f0d91fcd313937469824861795a2", - "P01 DETAIL: match file from prior backup pg-primary:/var/lib/pgsql/12/data/pg_logical/replorigin_checkpoint (8B, 53.63%) checksum 347fc8f2df71bd4436e38bd1516ccd7ea0d46532", - " [filtered 1298 lines of output]" + "P00 INFO: backup start archive = 00000008000000000000002F, 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]" ] } }, @@ -13230,7 +13670,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.53: --exec-id=5943-aac48d86 --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.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 for stanza 'demo' on repo1", "P00 INFO: stanza-upgrade command end: completed successfully" ] @@ -13253,7 +13693,7 @@ "key" : { "bash-wrap" : true, "cmd" : [ - "sudo -u postgres systemctl status postgresql-13.service" + "sudo systemctl status postgresql-13.service" ], "host" : "pg-primary", "load-env" : true, diff --git a/doc/resource/git-history.cache b/doc/resource/git-history.cache index e28329f58..44bb4fe2e 100644 --- a/doc/resource/git-history.cache +++ b/doc/resource/git-history.cache @@ -1,4 +1,314 @@ [ + { + "commit": "7effca0d0995844b3b3b89d568c3c8cee7b9ef1e", + "date": "2024-10-20 20:28:54 +0300", + "subject": "Update CI tests for ppc64le/s390x architectures.", + "body": "The action suddenly broken and this appears to be the best work around according to https://github.com/uraimo/run-on-arch-action/issues/155.\n\nUnfortunately the tests take almost twice and long to run, probably because the container needs to be built from scratch." + }, + { + "commit": "9ba2db017348d304f96ce89592fc01f29197e136", + "date": "2024-10-16 12:41:26 +0300", + "subject": "Clarify source for data_directory." + }, + { + "commit": "f76da03eb674af8c05d90abf5c2a7f246f8c9c01", + "date": "2024-10-16 12:14:12 +0300", + "subject": "Update CI containers to include newest PostgreSQL patch releases." + }, + { + "commit": "bd0480ca7d6e5ee56a53a2887d893c41f1a8d132", + "date": "2024-10-16 11:07:21 +0300", + "subject": "Move SFTP test off of PostgreSQL version tested by 32-bit.", + "body": "There have been occasional SFTP authentication failures on 32-bit. We are planning to drop 32-bit support so it does not seem worth chasing these errors down and they are likely timing issues anyway." + }, + { + "commit": "65dfe2407d0c358209a01f06cd4326d0a80d1acb", + "date": "2024-10-12 10:06:40 +0300", + "subject": "Retry socket bind.", + "body": "In the case of a rapid restart it is possible that the socket may not be immediately available, so retry until it becomes available.\n\nThis is particularly useful for testing where sockets are bound and released very rapidly." + }, + { + "commit": "ed72c6f9a1b156b64e05a8fc5e236e6568657d0a", + "date": "2024-10-11 12:05:23 +0300", + "subject": "Render command help summaries the same as option help summaries.", + "body": "Option help summaries do not have initial capitals (except in special cases) and final periods so it makes sense to render the command summaries the same way.\n\nUse the same function for both so they are consistent." + }, + { + "commit": "eb2f279a2998d1ed893c5d8984590ab4997a5f32", + "date": "2024-10-11 11:53:34 +0300", + "subject": "Better logic for deciding when a summary should be lower-cased.", + "body": "The old logic would lower-case PostgreSQL which looked odd. This should be more robust for anything that looks like a proper name of acronym." + }, + { + "commit": "70bda2cfb21130eb589a87cb419fb5f22a71c78a", + "date": "2024-10-10 11:17:35 +0300", + "subject": "Improve SFTP error messages.", + "body": "The numbers by themselves weren't very informative and required looking into the libssh2_sftp.h header file for the definition." + }, + { + "commit": "c8ccaaa755993e3fd5e87148bd0a991acb3050c3", + "date": "2024-10-10 09:48:43 +0300", + "subject": "Fix PostgreSQL query performance for large datasets.", + "body": "The asynchronous logic used to implement the query timeout was misusing PQisBusy(), which caused the wait handler to throttle the consumption of command results. It could introduce a large delay on a query up to `db-timeout` because of the back-off sequence.\r\n\r\nFollowing the recommendation of libpq, fix by polling the client socket for data availability and then continue consuming results and checking for command busyness." + }, + { + "commit": "33fa3965616b1432e5d1d59c489302fa4891a39e", + "date": "2024-10-09 17:57:52 +0300", + "subject": "Refactor Wait object to expose remaining wait as waitRemains().", + "body": "This is useful for code that has its own wait mechanism, e.g. poll(), but still needs a way to track overall time elapsed.\n\nTo keep it simple waitRemains() is called by waitMore()." + }, + { + "commit": "77ae753ef59bd40b9867be21e8519093786c3b85", + "date": "2024-10-09 17:48:00 +0300", + "subject": "Allow fdReady() shim to be run only once with a specified return value.", + "body": "This allows more targeted testing than the prior (still supported) approach." + }, + { + "commit": "6ac4e8dd78f16e93300f7747c4bc8fa8e1a0558b", + "date": "2024-10-09 10:46:45 +0300", + "subject": "Move fd module shim to io module test.", + "body": "The shim is needed in an earlier test and this is a more logical place for it anyway." + }, + { + "commit": "1020bc117ab2e116abb41eebd40216726a3d2561", + "date": "2024-10-08 18:15:34 +0300", + "subject": "Shuffle PostgreSQL versions between test containers.", + "body": "Ubuntu 20.04 has been having consistent errors starting PostgreSQL 10 so move 9.5 to this container instead. An older version makes sense with an older distro.\n\nAlso move PostgreSQL 12 from RHEL 8 since this version will be EOL soon." + }, + { + "commit": "b50ad48fd44ba958a6a71ac0c5fe1b113968e577", + "date": "2024-10-08 11:01:55 +0300", + "subject": "Use systemctl replacement to generate documentation.", + "body": "Containers are notoriously unfriendly to systemctl (really systemd) but we prefer to use systemctl to make our documentation as accurate as possible. This replacement performs all the functions of systemctl without requiring systemd, which great simplifies container configuration and allows the documentation build to work in more environments." + }, + { + "commit": "1ebdcd611d1724feedb23f9de854819ec5499c9f", + "date": "2024-10-08 10:28:01 +0300", + "subject": "Use output path for temp config files during documentation build.", + "body": "Putting the files in the user's home directory was too Linux-centric." + }, + { + "commit": "b3ca2e34823b28862d999f87c4d7346707952a5b", + "date": "2024-10-05 09:41:50 +0300", + "subject": "Correctly display current values for indexed options in help.", + "body": "The current value for an indexed option was always for the first index, e.g. pg1-path. This is likely legacy from before indexing was added (and faithfully copied over from Perl, apparently).\r\n\r\nFix this by enumerating the current values in the option help and displaying in the option list when more than one value exists." + }, + { + "commit": "047e3d0ed95d882b00e2da1640e78e3ba06e1d51", + "date": "2024-10-02 19:49:15 +0300", + "subject": "Finalize catalog number for PostgreSQL 17 release." + }, + { + "commit": "9f97269678091cc43a15920cf8eab34b231ae431", + "date": "2024-10-02 18:02:15 +0300", + "subject": "Use `uname -m` to get architecture for RHEL package in user guide." + }, + { + "commit": "d4ed1884ea5ce54e05f84ab1aacdfc0385538c06", + "date": "2024-09-24 12:33:19 +0300", + "subject": "Reduce logging for help functions.", + "body": "Full debug/trace logging in production is unlikely to be useful but does use space in the binary.\n\nReduce logging to be useful for testing but not be deployed in production." + }, + { + "commit": "cd7711f5e6306778427ced8b796da09398e08015", + "date": "2024-09-20 15:58:18 +0300", + "subject": "Update Cirrus CI MacOS running to Sonoma." + }, + { + "commit": "278319eba3444070123d3f0f277be9234604d937", + "date": "2024-09-20 15:49:26 +0300", + "subject": "Add performance tuning section to user guide.", + "body": "We frequently tell users to enable to these options but they are spread through the documentation and not at all obvious. Hopefully putting them in the quick start will make them more visible and also provide an easy place to link." + }, + { + "commit": "f73c6382752ca8cad43a412a03b6b5f34cf94984", + "date": "2024-09-20 15:21:38 +0300", + "subject": "Skip command-line options in configuration reference.", + "body": "Options that are only valid on the command-line should not appear in the configuration reference because it implies that they can be added to pgbackrest.conf, which is not the case.\n\nMost command-line options were already excluded because they lacked a section, but a few were slipping through." + }, + { + "commit": "b19134dccd5d0dab87b5d45b443f481df00370b1", + "date": "2024-09-17 10:51:21 +0300", + "subject": "Allow repositories on versioned storage to be read at a target time.", + "body": "This feature allows the archive-get, info, repo-get, repo-ls, restore, and verify commands to operate at a point-in-time on versioned buckets in Azure, GCS, and S3. This allows recovery even if a repository has been accidentally or maliciously deleted or corrupted." + }, + { + "commit": "46c1297be344909e900be596a865064233da9f87", + "date": "2024-09-09 15:47:23 +0300", + "subject": "Remove limitation on reading files in parallel during restore.", + "body": "This restriction prevented multiple files being read from a remote simultaneously, which was not supported by the protocol. Although the limitation only applied to remotes, it was applied in all cases for testing purposes and because we planned to fix it.\r\n\r\nProtocol command multiplexing added in df8cbc91 allows files to be read simultaneously from a remote so this restriction is no longer required.\r\n\r\nNote that there is a test for this condition since the prior code had coverage. It might be tricky to ensure that test doesn't go away, but in general we should have enough tests in place to ensure simultaneous reads function as expected." + }, + { + "commit": "a42629f87ab70ffaee8d1241eb50c5ea7154a87d", + "date": "2024-09-09 12:56:52 +0300", + "subject": "Allow requested standby backup to proceed with no standby.", + "body": "Add a \"prefer\" value to the backup-standby option to allow the backup to proceed when no standby is found. Note that this will not help if the standby is responding but fails to sync with the primary after the backup has started.\r\n\r\nIntroduce a new option modifier, bool-like, that allows a boolean option to be converted to a string or string-id option while still allowing the option to act like a boolean on the command-line, e.g. --no-backup-standby." + }, + { + "commit": "b454b9e403526b1f352df964d9206c27d2397df3", + "date": "2024-09-05 11:38:42 +0300", + "subject": "Save backup.info only when contents have changed.", + "body": "This prevents backup.info from being saved again when expire does not make any changes.\n\nMore importantly, as we look to support versioning on object stores, it will be much easier to determine a good point-in-time to use for restore if there are no extraneous saves of backup.info." + }, + { + "commit": "83802ded8c5560a097757c420d0753c50d0edbb3", + "date": "2024-09-01 12:51:27 +0700", + "subject": "Remove invalid const keywords from info/infoBackup module.", + "body": "In these functions infoBackup was marked as const even though it was modified in the function. This was allowed by the compiler because the infoBackup struct was not being directly modified but it still goes against our coding conventions." + }, + { + "commit": "95a4b9e10a3f7a26ebaae22fc6abd79cee14189a", + "date": "2024-09-01 11:21:56 +0700", + "subject": "Refresh web-id token for each S3 authentication.", + "body": "The token file pointed to by the AWS_WEB_IDENTITY_TOKEN_FILE environment variable was read once at startup, but for long operations the token might expire before completion.\r\n\r\nInstead read the token on each S3 authentication so the current token is always used." + }, + { + "commit": "d204bac75d3020251c52c9b7892b47c5b3e7f018", + "date": "2024-08-30 16:23:55 +0700", + "subject": "Refactor storage/remote module to move more repository storage tests.", + "body": "Move tests missed in 3b3886f3." + }, + { + "commit": "0b4371f3ecead992e6140251c658e9fed56a8f37", + "date": "2024-08-30 16:02:04 +0700", + "subject": "Update comment in storage/list module.", + "body": "This aligns better with other comments in the area." + }, + { + "commit": "3b3886f3b81776adfe3fd4970e977f56d0c2b02f", + "date": "2024-08-30 16:00:07 +0700", + "subject": "Refactor storage/remote module to move repository storage tests.", + "body": "Move tests that use functions that are not valid for non-Posix repositories to pg storage.\n\nThis allows for a test storage driver that only implements functions required for repositories." + }, + { + "commit": "b3fed2cfcf4562dde52be28c35e20d7d38171564", + "date": "2024-08-30 15:44:43 +0700", + "subject": "Simplify command/repo tests.", + "body": "Reduce the number of tests that use links and special files. This simplifies future versioning tests." + }, + { + "commit": "94e21893e8b43ef9080246feba5fa89d39e67f0c", + "date": "2024-08-30 15:39:03 +0700", + "subject": "Add hrnSleepRemainder() to time test harness.", + "body": "This function replaces some ad hoc implementations in the tests." + }, + { + "commit": "c40dd5ae41ae800a031715a60c91dd839b39905d", + "date": "2024-08-28 11:07:52 +0700", + "subject": "Improve reporting of partial reads in server test harness.", + "body": "Previously partial reads would be reported as an EOF which was not very helpful.\n\nAlso update error formatting to make requests easier to compare." + }, + { + "commit": "2ce01e57d3f2f294efe9a9ac6c7d357342796a13", + "date": "2024-08-20 20:57:06 +0700", + "subject": "Refactor interface/driver getters for IoRead/Write and StorageRead/Write.", + "body": "Add getters where needed and remove the unused driver member from the StorageRead/Write objects. The new getters are only required for testing but they don't compromise the core code." + }, + { + "commit": "a71d88481c60178de1c10dac2a0d306959675999", + "date": "2024-08-20 20:34:40 +0700", + "subject": "Improve TEST_STORAGE_GET() to allow testing of missing files.", + "body": "Previously a missing file would always throw an error. Now there is the option to return NULL for missing files." + }, + { + "commit": "4eab64fcd926c2b5741d4b44f8b9d9144bf1e3a5", + "date": "2024-08-20 20:14:32 +0700", + "subject": "Improve file removal performed after each unit test.", + "body": "The rm would miss files beginning with a dot which are being used going forward for the versioning test driver.\n\nInstead use find since it will delete all files." + }, + { + "commit": "f6aaa3672b851fa8e70942f332a633f3b42babb7", + "date": "2024-08-20 11:03:24 +0700", + "subject": "Merge v2.53.1 release." + }, + { + "commit": "2b29fe9337e9b2cbde26915c8bfb999b4010560c", + "date": "2024-08-17 12:58:55 +0700", + "subject": "Move getEpoch() to cvtZToTime() and refactor.", + "body": "This function will be needed elsewhere going forward and in any case it makes sense to move this out of the restore module.\n\nRefactor to avoid dependency on a regular expression." + }, + { + "commit": "60f96429b8f58827e3f2d6cd96dc1f6e1725c90c", + "date": "2024-08-16 10:56:07 +0700", + "subject": "Fix segfault on delayed connection errors.", + "body": "Connection errors could cause a segfault if the error was delayed enough to pass the initial call to sckClientOpenWait() and the error was instead thrown by a subsequent call to sckClientOpenWait(), which was not correctly initializing a variable required for error handling.\r\n\r\nWhile this can be produced fairly easily in a test environment, I was unable to craft a unit test to hit this exact condition, probably due to timing. The new code still has full coverage and I added several comments to help prevent regressions." + }, + { + "commit": "04ef43d9ed3e1900a85f0df9475ce6dc04dc9c5f", + "date": "2024-08-13 13:45:24 +0800", + "subject": "Skip local repository duplicate check for SFTP.", + "body": "This check does not make sense for SFTP since the repository will never be local." + }, + { + "commit": "80c9b3001c8f4689837d46783d348a2c839645c0", + "date": "2024-08-13 11:53:12 +0800", + "subject": "PostgreSQL 17beta3 support.", + "body": "This release changed the control and WAL format, which is very unusual for a beta. Update control and WAL versions/structs to match." + }, + { + "commit": "ed9b0c260a6e1f05a17d5d2b86c274afdd2d1b05", + "date": "2024-08-13 11:43:05 +0800", + "subject": "Fix permissions when restore run as root user.", + "body": "When restore was run as the root user the pg_control file would end up with root permissions. This bug was introduced in e634fd8. Fix this by directly overwriting the pg_control temp file rather than doing an atomic write that updates permissions. Also update other parameters to more closely match similar calls.\r\n\r\nThere was also an adjacent error where restore as the root user would fail if the base path did not exist. Fix this by ignoring the missing path since it will be created later and this logic is just trying to find an alternate user for permissions if the user in the manifest does not exist." + }, + { + "commit": "57663536493bfa917e4b1c37d221697a0ddb7a73", + "date": "2024-08-02 15:47:30 +0700", + "subject": "Use Posix driver to complete dummy storage driver.", + "body": "Instead of stub functions, use the Posix driver to make the dummy storage driver interface more functional." + }, + { + "commit": "b306f83493cc859ad15c8f175fc6db2321b79340", + "date": "2024-07-31 18:53:02 +0700", + "subject": "Summarize backup reference list for info command text output.", + "body": "The backup reference list can be very long so it seems better to summarize the list by default for text output and keep the full list when --set is specified." + }, + { + "commit": "c42d484c9d76dfb2baa7b9b462870441e8ad37a0", + "date": "2024-07-30 12:48:32 +0700", + "subject": "Fix typo in user guide." + }, + { + "commit": "8d6bceb5416a702d010fd5db4be9d6dc294cb1d9", + "date": "2024-07-23 16:39:02 +0700", + "subject": "Refactor config parse to remove none command, add version/help options.", + "body": "The none command was a bit confusing since it was only valid when parsing failed but still needed to be added to various switches and logic. Replace with cfgInited() which should make it clearer what state configuration is in.\n\nMake the default command help and convert --version and --help to real options.\n\nCombine version and help output into a single function to simplify processing in main.\n\nAdditional reformatting and a bit of refactoring." + }, + { + "commit": "6c757366c2c7221a9fd571495fa2ec82b4d4da2f", + "date": "2024-07-23 11:50:12 +0700", + "subject": "Simplify main() functions in core, doc, and test.", + "body": "This refactor simplifies the main() functions and puts the more commonly run commands first.\n\nFor core main() also remove code duplication in local/remote role handling." + }, + { + "commit": "faee89206776287a2ba000c43f28ac6479d33689", + "date": "2024-07-23 11:10:54 +0700", + "subject": "Do not allow help for command roles other than main.", + "body": "Previously requesting help for roles other than main would result in a segfault since help.auto.c.inc does not include such help.\n\nPrevent this by erroring when a user requests help for roles other than main.\n\nThis is a bug but it is unlikely to have ever been seen in the field and in any case it has a very low severity since it only impacts a corner-case for the help command." + }, + { + "commit": "ee70c2e26e63ee6299de5a9ca20a3d1ddea036b1", + "date": "2024-07-22 14:17:47 +0700", + "subject": "Remove internal repo-create command.", + "body": "This command was used by the Perl integration tests to create buckets for storage types that required it. Now that the integration tests are written in C they can simply use the same code to create buckets.\n\nThe command was also used in the documentation but there it seems more appropriate to use the corresponding vendor CLI." + }, + { + "commit": "55ca41e13784ef5fdafdb02444969ceb1a699744", + "date": "2024-07-22 12:43:54 +0700", + "subject": "Update protocol and storage/remote modules to recent coding standards.", + "body": "Add const as appropriate." + }, + { + "commit": "df8cbc91c348bc2f746767c87ac5626460fb6f39", + "date": "2024-07-22 11:48:32 +0700", + "subject": "Protocol command multiplexing.", + "body": "Previously it was not possible to read or write two files at the same time on the same remote because the protocol was entirely taken over by the read or write command. Multiple reads are required to make restores efficient when a list of bundled files is being read but blocks need to be retrieved from a separate file or a different part of the same file.\r\n\r\nImprove that situation with sessions that allow related commands to be run with shared state. Also break read/write into separate requests (rather than pushing all data at once) so they can be multiplexed.\r\n\r\nThe disadvantage for read/write is that they now require more back and forth to transfer a file. This is mitigated by sending asynchronous read/write requests to keep both server and client as busy as possible. Reads that can fit into a single buffer are optimized to transfer in a single command. Reads that transfer the entire file can also skip the close command since it is implicit on end-of-file.\r\n\r\nThese changes allow the protocol to be simplified to provide one response per request, which makes the data end message obsolete. Any data sent for the request is now added to the parameters so no data needs to be sent separately to the server outside the request parameters.\r\n\r\nAlso update the Db protocol to use the new sessions. Previously this code had tracked its own sessions." + }, + { + "commit": "e7f4e8d8004f609ab0edda5d7183ccb3e6c55b6a", + "date": "2024-07-22 09:42:33 +0700", + "subject": "Begin v2.54 development." + }, { "commit": "6e8a45f650e303fe74a1e34ee8e76a193dbc6c4a", "date": "2024-07-22 09:33:31 +0700", diff --git a/doc/xml/auto/metric-coverage-report.auto.xml b/doc/xml/auto/metric-coverage-report.auto.xml index d05dbb59e..6976857f7 100644 --- a/doc/xml/auto/metric-coverage-report.auto.xml +++ b/doc/xml/auto/metric-coverage-report.auto.xml @@ -8,8 +8,8 @@ build/config 35/35 (100.0%) - 462/462 (100.0%) - 972/972 (100.0%) + 468/468 (100.0%) + 977/977 (100.0%) @@ -58,21 +58,21 @@ command/archive/get 9/9 (100.0%) 200/200 (100.0%) - 472/472 (100.0%) + 467/467 (100.0%) command/archive/push 12/12 (100.0%) 130/130 (100.0%) - 406/406 (100.0%) + 402/402 (100.0%) command/backup 50/50 (100.0%) - 792/792 (100.0%) - 1898/1898 (100.0%) + 796/796 (100.0%) + 1896/1896 (100.0%) @@ -98,16 +98,16 @@ command/help - 5/5 (100.0%) - 134/134 (100.0%) - 244/244 (100.0%) + 7/7 (100.0%) + 164/164 (100.0%) + 291/291 (100.0%) command/info 13/13 (100.0%) - 342/342 (100.0%) - 712/712 (100.0%) + 366/366 (100.0%) + 738/738 (100.0%) @@ -127,15 +127,15 @@ command/repo 9/9 (100.0%) - 108/108 (100.0%) - 235/235 (100.0%) + 110/110 (100.0%) + 237/237 (100.0%) command/restore - 34/34 (100.0%) - 696/696 (100.0%) - 1449/1449 (100.0%) + 33/33 (100.0%) + 684/684 (100.0%) + 1410/1410 (100.0%) @@ -156,14 +156,14 @@ command/verify 21/21 (100.0%) 314/314 (100.0%) - 762/762 (100.0%) + 756/756 (100.0%) common - 143/143 (100.0%) + 144/144 (100.0%) 614/614 (100.0%) - 1782/1782 (100.0%) + 1789/1789 (100.0%) @@ -218,7 +218,7 @@ common/io 59/59 (100.0%) - 182/182 (100.0%) + 174/174 (100.0%) 739/739 (100.0%) @@ -239,8 +239,8 @@ common/io/socket 28/28 (100.0%) - 104/104 (100.0%) - 442/442 (100.0%) + 110/110 (100.0%) + 446/446 (100.0%) @@ -252,37 +252,37 @@ common/type - 323/323 (100.0%) - 850/850 (100.0%) - 4179/4179 (100.0%) + 327/327 (100.0%) + 898/898 (100.0%) + 4244/4244 (100.0%) config - 92/92 (100.0%) - 1002/1002 (100.0%) - 1957/1957 (100.0%) + 93/93 (100.0%) + 992/992 (100.0%) + 1949/1949 (100.0%) db - 24/24 (100.0%) + 23/23 (100.0%) 118/118 (100.0%) - 440/440 (100.0%) + 412/412 (100.0%) info 92/92 (100.0%) - 936/936 (100.0%) - 2494/2494 (100.0%) + 938/938 (100.0%) + 2501/2501 (100.0%) postgres - 37/37 (100.0%) - 132/132 (100.0%) - 469/469 (100.0%) + 36/36 (100.0%) + 130/130 (100.0%) + 458/458 (100.0%) @@ -294,23 +294,23 @@ protocol - 55/55 (100.0%) - 230/230 (100.0%) - 968/968 (100.0%) + 62/62 (100.0%) + 264/264 (100.0%) + 1127/1127 (100.0%) storage - 54/54 (100.0%) - 228/228 (100.0%) - 805/805 (100.0%) + 56/56 (100.0%) + 250/250 (100.0%) + 850/850 (100.0%) storage/azure 25/25 (100.0%) - 116/116 (100.0%) - 532/532 (100.0%) + 138/138 (100.0%) + 561/561 (100.0%) @@ -323,41 +323,41 @@ storage/gcs 34/34 (100.0%) - 148/148 (100.0%) - 749/749 (100.0%) + 176/176 (100.0%) + 786/786 (100.0%) storage/posix 28/28 (100.0%) 167/168 (99.40%) - 485/485 (100.0%) + 488/488 (100.0%) storage/remote - 35/35 (100.0%) - 120/120 (100.0%) - 801/801 (100.0%) + 38/38 (100.0%) + 128/128 (100.0%) + 785/785 (100.0%) storage/s3 29/29 (100.0%) - 156/156 (100.0%) - 732/732 (100.0%) + 184/184 (100.0%) + 776/776 (100.0%) storage/sftp - 31/31 (100.0%) + 32/32 (100.0%) 404/404 (100.0%) - 836/836 (100.0%) + 911/911 (100.0%) TOTAL - 1661/1661 (100.0%) - 10435/10436 (99.99%) - 31271/31271 (100.0%) + 1679/1679 (100.0%) + 10667/10668 (99.99%) + 31707/31707 (100.0%) diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 95d14224f..a88be9219 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -1,6 +1,6 @@ + @@ -127,7 +127,7 @@ - &v2.54; + &v2.54.0; &v2.53.1; &v2.53; &v2.52.1; diff --git a/doc/xml/release/2024/2.54.xml b/doc/xml/release/2024/2.54.0.xml similarity index 88% rename from doc/xml/release/2024/2.54.xml rename to doc/xml/release/2024/2.54.0.xml index bf46f69a1..6416536a1 100644 --- a/doc/xml/release/2024/2.54.xml +++ b/doc/xml/release/2024/2.54.0.xml @@ -1,5 +1,9 @@ - + + +

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.

+
+ @@ -35,9 +39,7 @@

Allow repositories on versioned storage to be read at a target time.

- - @@ -48,7 +50,9 @@

Allow requested standby backup to proceed with no standby.

+ + @@ -158,6 +162,17 @@

Clarify source for data_directory.

+ + + + + + + + + +

Better logic for deciding when a summary should be lower-cased.

+
diff --git a/meson.build b/meson.build index e9db27ea4..30899e000 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project( 'pgbackrest', ['c'], - version: '2.54dev', + version: '2.54.0', license: 'MIT', meson_version: '>=0.47', default_options: [ diff --git a/src/build/configure.ac b/src/build/configure.ac index ac606073d..738c3003b 100644 --- a/src/build/configure.ac +++ b/src/build/configure.ac @@ -1,7 +1,7 @@ # Initialize configuration # ---------------------------------------------------------------------------------------------------------------------------------- AC_PREREQ([2.71]) -AC_INIT([pgBackRest], [2.54dev]) +AC_INIT([pgBackRest], [2.54.0]) AC_CONFIG_SRCDIR([version.h]) AC_CONFIG_AUX_DIR(build) diff --git a/src/configure b/src/configure index 4597c0649..bbf05420c 100755 --- a/src/configure +++ b/src/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for pgBackRest 2.54dev. +# Generated by GNU Autoconf 2.71 for pgBackRest 2.54.0. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, @@ -607,8 +607,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='pgBackRest' PACKAGE_TARNAME='pgbackrest' -PACKAGE_VERSION='2.54dev' -PACKAGE_STRING='pgBackRest 2.54dev' +PACKAGE_VERSION='2.54.0' +PACKAGE_STRING='pgBackRest 2.54.0' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1272,7 +1272,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pgBackRest 2.54dev to adapt to many kinds of systems. +\`configure' configures pgBackRest 2.54.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1319,7 +1319,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pgBackRest 2.54dev:";; + short | recursive ) echo "Configuration of pgBackRest 2.54.0:";; esac cat <<\_ACEOF @@ -1414,7 +1414,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pgBackRest configure 2.54dev +pgBackRest configure 2.54.0 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1570,7 +1570,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pgBackRest $as_me 2.54dev, which was +It was created by pgBackRest $as_me 2.54.0, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -4982,7 +4982,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pgBackRest $as_me 2.54dev, which was +This file was extended by pgBackRest $as_me 2.54.0, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5046,7 +5046,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -pgBackRest config.status 2.54dev +pgBackRest config.status 2.54.0 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" @@ -5750,4 +5750,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi -# Generated from src/build/configure.ac sha1 d8b1f391e5fa5b61cee1ec74f86773af42bcd860 +# Generated from src/build/configure.ac sha1 70a06187d7c69bc3b9a4f28c1c1b964de1a94b0f diff --git a/src/version.h b/src/version.h index 587561d3e..2d8eccb56 100644 --- a/src/version.h +++ b/src/version.h @@ -33,6 +33,6 @@ will be invalid unless migration functions are written. /*********************************************************************************************************************************** Software version ***********************************************************************************************************************************/ -#define PROJECT_VERSION "2.54dev" +#define PROJECT_VERSION "2.54.0" #endif diff --git a/test/code-count/file-type.yaml b/test/code-count/file-type.yaml index a8eac4082..9dce39b4c 100644 --- a/test/code-count/file-type.yaml +++ b/test/code-count/file-type.yaml @@ -647,7 +647,7 @@ doc/xml/release/2024/2.53.xml: class: doc/source type: xml -doc/xml/release/2024/2.54.xml: +doc/xml/release/2024/2.54.0.xml: class: doc/source type: xml @@ -2847,6 +2847,14 @@ test/src/common/harnessStorage.h: class: test/harness type: c/h +test/src/common/harnessStorageHelper.c: + class: test/harness + type: c + +test/src/common/harnessStorageHelper.h: + class: test/harness + type: c/h + test/src/common/harnessTest.c: class: test/harness type: c