diff --git a/README.md b/README.md index 4eb583f41..49c14509a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ pgBackRest aims to be a simple, reliable backup and restore system that can seam Instead of relying on traditional backup tools like tar and rsync, pgBackRest implements all backup features internally and uses a custom protocol for communicating with remote systems. Removing reliance on tar and rsync allows for better solutions to database-specific backup challenges. The custom remote protocol allows for more flexibility and limits the types of connections that are required to perform a backup which increases security. -pgBackRest [v2.00](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.00) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. +pgBackRest [v2.01](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.01) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. pgBackRest v1 will receive bugs fixes only until EOL. Documentation for v1 can be found [here](http://www.pgbackrest.org/1). diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache index d1cc8e632..e2ba9272a 100644 --- a/doc/resource/exe.cache +++ b/doc/resource/exe.cache @@ -101,7 +101,7 @@ { "key" : { "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.00" + "sudo mkdir /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -111,7 +111,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/build /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/build /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -121,7 +121,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/lib /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/lib /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -131,7 +131,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/libc /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/libc /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -141,7 +141,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/src /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/src /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -151,7 +151,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /root/pgbackrest-release-2.00/lib/pgBackRest \\", + "sudo cp -r /root/pgbackrest-release-2.01/lib/pgBackRest \\", " /usr/share/perl5" ], "host" : "pg-primary", @@ -232,7 +232,7 @@ { "key" : { "cmd" : [ - "sudo sh -c 'cd /root/pgbackrest-release-2.00/libc && \\", + "sudo sh -c 'cd /root/pgbackrest-release-2.01/libc && \\", " perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none'" ], "host" : "pg-primary", @@ -243,7 +243,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc test" + "sudo make -C /root/pgbackrest-release-2.01/libc test" ], "host" : "pg-primary", "output" : false @@ -253,7 +253,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc install" + "sudo make -C /root/pgbackrest-release-2.01/libc install" ], "host" : "pg-primary", "output" : false @@ -263,7 +263,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src" + "sudo make -C /root/pgbackrest-release-2.01/src" ], "host" : "pg-primary", "output" : false @@ -273,7 +273,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src install" + "sudo make -C /root/pgbackrest-release-2.01/src install" ], "host" : "pg-primary", "output" : false @@ -291,7 +291,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.00 - General help", + "pgBackRest 2.01 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -585,7 +585,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -608,8 +608,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-52800277026a3840175feefcd44ae6cd47746ec7.gz'", + "P00 INFO: check command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000100000000/000000010000000000000001-365637d48d5940b3d34658957cc949b77cf38030.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -633,9 +633,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:08:54\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:06:10\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 851 lines of output]", "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", @@ -658,7 +658,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-030854F" + "20180320-000610F" ] } }, @@ -682,8 +682,8 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum c9470f467259fc9cb9f1d4dc8053c1e3fd0a3f46", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum 5d8ba1b9a0affca59f09c60b92e8461d5edcca8b", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 7e9b3a469439ee054b8a404c20d65d11bc99c22b", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum fc1f53d72c25f867821dd7013a634e05885bb4c7", "P00 INFO: diff backup size = 8.2KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000010000000000000004, lsn = 0/40000F8", @@ -715,18 +715,18 @@ " db (current)", " wal archive min/max (9.5-1): 000000010000000000000002 / 000000010000000000000004", "", - " full backup: 20180224-030854F", - " timestamp start/stop: 2018-02-24 03:08:54 / 2018-02-24 03:09:00", + " full backup: 20180320-000610F", + " timestamp start/stop: 2018-03-20 00:06:10 / 2018-03-20 00:06:15", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 20.5MB, backup size: 20.5MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20180224-030854F_20180224-030901D", - " timestamp start/stop: 2018-02-24 03:09:01 / 2018-02-24 03:09:04", + " diff backup: 20180320-000610F_20180320-000616D", + " timestamp start/stop: 2018-03-20 00:06:16 / 2018-03-20 00:06:20", " wal start/stop: 000000010000000000000004 / 000000010000000000000004", " database size: 20.5MB, backup size: 8.2KB", " repository size: 2.4MB, repository backup size: 400B", - " backup reference list: 20180224-030854F" + " backup reference list: 20180320-000610F" ] } }, @@ -864,9 +864,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20180224-030854F_20180224-030901D, version = 2.00", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:09:19\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20180320-000610F_20180320-000616D, version = 2.01", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:06:35\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", "P01 INFO: backup file /var/lib/pgsql/9.5/data/pg_multixact/offsets/0000 (8KB, 31%) checksum 0631457264ff7f8d5fb1edc2c0211992a67c73e6", " [filtered 11 lines of output]" @@ -919,11 +919,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20180224-030854F_20180224-030919I, version = 2.00", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:09:23\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20180320-000610F_20180320-000635I, version = 2.01", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:06:39\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 64f09cbf82c05ad40c8101f15f08c4cfb0eaa650", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum bb387f3c80e51b3a86746433b0fcb51b6c1dc72d", " [filtered 8 lines of output]" ] } @@ -959,9 +959,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:09:28\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:06:44\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", - "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20180224-030854F_20180224-030928I': Permission denied", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20180320-000610F_20180320-000644I': Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -996,12 +996,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20180224-030854F_20180224-030923I, version = 2.00", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:09:30\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20180320-000610F_20180320-000639I, version = 2.01", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:06:46\": backup begins after the requested immediate checkpoint completes", "P00 ERROR: [057]: ERROR: a backup is already in progress", " HINT: Run pg_stop_backup() and try again.:", - " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text from pg_start_backup('pgBackRest backup started at 2018-02-24 03:09:30', true) as lsn" + " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text from pg_start_backup('pgBackRest backup started at 2018-03-20 00:06:46', true) as lsn" ] } }, @@ -1052,13 +1052,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", - "P00 INFO: last backup label = 20180224-030854F_20180224-030923I, version = 2.00", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", + "P00 INFO: last backup label = 20180320-000610F_20180320-000639I, version = 2.01", "P00 WARN: the cluster is already in backup mode but no pgBackRest backup process is running. pg_stop_backup() will be called so a new backup can be started.", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:09:32\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:06:48\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 85%) checksum ea7d4cf7de186400bc66d2a9a1d7d2cfa57f21b4", + "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 85%) checksum 780c4dee67fd64882d212825bc18e6ffbc0ee8fb", " [filtered 9 lines of output]" ] } @@ -1101,7 +1101,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20180224-030854F|remove archive" + "archive retention on backup 20180320-000610F|remove archive" ] }, "host" : "pg-primary", @@ -1112,8 +1112,8 @@ "output" : [ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.00: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20180224-030854F, archiveId = 9.5-1, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.01: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20180320-000610F, archiveId = 9.5-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.5-1", "P00 INFO: expire command end: completed successfully" ] @@ -1130,7 +1130,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-030938F" + "20180320-000653F" ] } }, @@ -1144,7 +1144,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20180224-030854F|archive retention on backup 20180224-030938F|remove archive" + "expire full backup set\\: 20180320-000610F|archive retention on backup 20180320-000653F|remove archive" ] }, "host" : "pg-primary", @@ -1155,10 +1155,10 @@ "output" : [ " [filtered 860 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=2 --repo1-retention-full=2 --stanza=demo", - "P00 INFO: expire full backup set: 20180224-030854F, 20180224-030854F_20180224-030901D, 20180224-030854F_20180224-030919I, 20180224-030854F_20180224-030923I, 20180224-030854F_20180224-030932I", - "P00 INFO: remove expired backup 20180224-030854F_20180224-030932I", - "P00 INFO: remove expired backup 20180224-030854F_20180224-030923I", + "P00 INFO: expire command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire full backup set: 20180320-000610F, 20180320-000610F_20180320-000616D, 20180320-000610F_20180320-000635I, 20180320-000610F_20180320-000639I, 20180320-000610F_20180320-000648I", + "P00 INFO: remove expired backup 20180320-000610F_20180320-000648I", + "P00 INFO: remove expired backup 20180320-000610F_20180320-000639I", " [filtered 3 lines of output]" ] } @@ -1213,7 +1213,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-030946F_20180224-030956D" + "20180320-000701F_20180320-000710D" ] } }, @@ -1237,7 +1237,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20180224-030946F_20180224-030956D" + "expire diff backup set: 20180320-000701F_20180320-000710D" ] }, "host" : "pg-primary", @@ -1248,10 +1248,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=2 --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", - "P00 INFO: expire diff backup set: 20180224-030946F_20180224-030956D, 20180224-030946F_20180224-031000I", - "P00 INFO: remove expired backup 20180224-030946F_20180224-031000I", - "P00 INFO: remove expired backup 20180224-030946F_20180224-030956D" + "P00 INFO: expire command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire diff backup set: 20180320-000701F_20180320-000710D, 20180320-000701F_20180320-000714I", + "P00 INFO: remove expired backup 20180320-000701F_20180320-000714I", + "P00 INFO: remove expired backup 20180320-000701F_20180320-000710D" ] } }, @@ -1295,7 +1295,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-030946F_20180224-031005D" + "20180320-000701F_20180320-000719D" ] } }, @@ -1332,10 +1332,10 @@ "output" : [ " [filtered 8 lines of output]", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000020000000000000013, lsn = 0/130000F8", - "P00 INFO: new backup label = 20180224-030946F_20180224-031012D", + "P00 INFO: backup stop archive = 000000020000000000000012, lsn = 0/120000F8", + "P00 INFO: new backup label = 20180320-000701F_20180320-000724D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=2 --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo" + "P00 INFO: expire command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo" ] } }, @@ -1350,7 +1350,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-030946F_20180224-031012D" + "20180320-000701F_20180320-000724D" ] } }, @@ -1364,7 +1364,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20180224-030946F_20180224-031005D|remove archive" + "archive retention on backup 20180320-000701F_20180320-000719D|remove archive" ] }, "host" : "pg-primary", @@ -1373,14 +1373,14 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.00: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20180224-030938F, archiveId = 9.5-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", - "P00 DETAIL: archive retention on backup 20180224-030946F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", - "P00 DETAIL: archive retention on backup 20180224-030946F_20180224-031005D, archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000010", - "P00 DETAIL: archive retention on backup 20180224-030946F_20180224-031012D, archiveId = 9.5-1, start = 000000020000000000000013", + "P00 INFO: expire command begin 2.01: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20180320-000653F, archiveId = 9.5-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", + "P00 DETAIL: archive retention on backup 20180320-000701F, archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000C", + "P00 DETAIL: archive retention on backup 20180320-000701F_20180320-000719D, archiveId = 9.5-1, start = 00000002000000000000000F, stop = 00000002000000000000000F", + "P00 DETAIL: archive retention on backup 20180320-000701F_20180320-000724D, archiveId = 9.5-1, start = 000000020000000000000012", "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000F", - "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000011, stop = 000000020000000000000012", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000E", + "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000011", "P00 INFO: expire command end: completed successfully" ] } @@ -1414,7 +1414,7 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 879 lines of output]", + " [filtered 877 lines of output]", "P01 DETAIL: restore file /var/lib/pgsql/9.5/data/base/1/12211 - exists and is zero size (0B, 100%)", "P00 INFO: write /var/lib/pgsql/9.5/data/recovery.conf", "P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)", @@ -1719,7 +1719,7 @@ "type" : "exe", "value" : { "output" : [ - "2018-02-24 03:10:50.799366+00" + "2018-03-20 00:08:02.310193+00" ] } }, @@ -1765,7 +1765,7 @@ "key" : { "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2018-02-24 03:10:50.799366+00\" restore" + " --type=time \"--target=2018-03-20 00:08:02.310193+00\" restore" ], "host" : "pg-primary", "output" : false @@ -1801,7 +1801,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2018-02-24 03:10:50.799366+00'" + "recovery_target_time = '2018-03-20 00:08:02.310193+00'" ] } }, @@ -1868,16 +1868,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2018-02-24 03:10:44 UTC", - "LOG: starting point-in-time recovery to 2018-02-24 03:10:50.799366+00", + "LOG: database system was interrupted; last known up at 2018-03-20 00:07:56 UTC", + "LOG: starting point-in-time recovery to 2018-03-20 00:08:02.310193+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000019\" from archive", - "LOG: redo starts at 0/19000028", - "LOG: consistent recovery state reached at 0/190000F8", - "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: recovery stopping before commit of transaction 627, time 2018-02-24 03:10:50.964541+00", - "LOG: redo done at 0/1A022FF8", - "LOG: last completed transaction was at log time 2018-02-24 03:10:50.642437+00", + "LOG: restored log file \"000000040000000000000017\" from archive", + "LOG: redo starts at 0/17000028", + "LOG: consistent recovery state reached at 0/170000F8", + "LOG: restored log file \"000000040000000000000018\" from archive", + "LOG: recovery stopping before commit of transaction 627, time 2018-03-20 00:08:02.421161+00", + "LOG: redo done at 0/18022FF8", + "LOG: last completed transaction was at log time 2018-03-20 00:08:02.206459+00", "LOG: selected new timeline ID: 5", "LOG: restored log file \"00000004.history\" from archive", " [filtered 3 lines of output]" @@ -1923,7 +1923,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-030946F_20180224-031043D" + "20180320-000701F_20180320-000755D" ] } }, @@ -1951,7 +1951,7 @@ "key" : { "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2018-02-24 03:10:50.799366+00\" restore" + " --type=time \"--target=2018-03-20 00:08:02.310193+00\" restore" ], "host" : "pg-primary", "output" : false @@ -2031,14 +2031,14 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2018-02-24 03:11:01 UTC", - "LOG: starting point-in-time recovery to 2018-02-24 03:10:50.799366+00", + "LOG: database system was interrupted; last known up at 2018-03-20 00:08:12 UTC", + "LOG: starting point-in-time recovery to 2018-03-20 00:08:02.310193+00", "LOG: restored log file \"00000005.history\" from archive", - "LOG: restored log file \"00000005000000000000001B\" from archive", - "LOG: redo starts at 0/1B000028", - "LOG: consistent recovery state reached at 0/1B0000F8", - "LOG: redo done at 0/1B0000F8", - "LOG: restored log file \"00000005000000000000001B\" from archive", + "LOG: restored log file \"000000050000000000000019\" from archive", + "LOG: redo starts at 0/19000028", + "LOG: consistent recovery state reached at 0/190000F8", + "LOG: redo done at 0/190000F8", + "LOG: restored log file \"000000050000000000000019\" from archive", " [filtered 7 lines of output]" ] } @@ -2052,7 +2052,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20180224-030946F_20180224-031043D" + "20180320-000701F_20180320-000755D" ] }, "host" : "pg-primary", @@ -2065,47 +2065,47 @@ " status: ok", "", " db (current)", - " wal archive min/max (9.5-1): 00000002000000000000000A / 00000005000000000000001B", + " wal archive min/max (9.5-1): 00000002000000000000000A / 000000050000000000000019", "", - " full backup: 20180224-030938F", - " timestamp start/stop: 2018-02-24 03:09:38 / 2018-02-24 03:09:45", + " full backup: 20180320-000653F", + " timestamp start/stop: 2018-03-20 00:06:53 / 2018-03-20 00:07:00", " wal start/stop: 00000002000000000000000A / 00000002000000000000000A", " database size: 20.5MB, backup size: 20.5MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " full backup: 20180224-030946F", - " timestamp start/stop: 2018-02-24 03:09:46 / 2018-02-24 03:09:53", + " full backup: 20180320-000701F", + " timestamp start/stop: 2018-03-20 00:07:01 / 2018-03-20 00:07:07", " wal start/stop: 00000002000000000000000C / 00000002000000000000000C", " database size: 20.5MB, backup size: 20.5MB", " repository size: 2.4MB, repository backup size: 2.4MB", "", - " diff backup: 20180224-030946F_20180224-031012D", - " timestamp start/stop: 2018-02-24 03:10:12 / 2018-02-24 03:10:15", - " wal start/stop: 000000020000000000000013 / 000000020000000000000013", + " diff backup: 20180320-000701F_20180320-000724D", + " timestamp start/stop: 2018-03-20 00:07:24 / 2018-03-20 00:07:28", + " wal start/stop: 000000020000000000000012 / 000000020000000000000012", " database size: 20.5MB, backup size: 9.8KB", " repository size: 2.4MB, repository backup size: 1KB", - " backup reference list: 20180224-030946F", + " backup reference list: 20180320-000701F", "", - " incr backup: 20180224-030946F_20180224-031025I", - " timestamp start/stop: 2018-02-24 03:10:25 / 2018-02-24 03:10:31", - " wal start/stop: 000000030000000000000016 / 000000030000000000000016", + " incr backup: 20180320-000701F_20180320-000738I", + " timestamp start/stop: 2018-03-20 00:07:38 / 2018-03-20 00:07:44", + " wal start/stop: 000000030000000000000014 / 000000030000000000000014", " database size: 33.9MB, backup size: 13.4MB", " repository size: 4MB, repository backup size: 1.6MB", - " backup reference list: 20180224-030946F", + " backup reference list: 20180320-000701F", "", - " diff backup: 20180224-030946F_20180224-031043D", - " timestamp start/stop: 2018-02-24 03:10:43 / 2018-02-24 03:10:48", - " wal start/stop: 000000040000000000000019 / 000000040000000000000019", + " diff backup: 20180320-000701F_20180320-000755D", + " timestamp start/stop: 2018-03-20 00:07:55 / 2018-03-20 00:08:00", + " wal start/stop: 000000040000000000000017 / 000000040000000000000017", " database size: 27.2MB, backup size: 6.7MB", " repository size: 3.2MB, repository backup size: 820KB", - " backup reference list: 20180224-030946F", + " backup reference list: 20180320-000701F", "", - " incr backup: 20180224-030946F_20180224-031100I", - " timestamp start/stop: 2018-02-24 03:11:00 / 2018-02-24 03:11:04", - " wal start/stop: 00000005000000000000001B / 00000005000000000000001B", + " incr backup: 20180320-000701F_20180320-000811I", + " timestamp start/stop: 2018-03-20 00:08:11 / 2018-03-20 00:08:15", + " wal start/stop: 000000050000000000000019 / 000000050000000000000019", " database size: 27.2MB, backup size: 2MB", " repository size: 3.2MB, repository backup size: 209.3KB", - " backup reference list: 20180224-030946F, 20180224-030946F_20180224-031043D" + " backup reference list: 20180320-000701F, 20180320-000701F_20180320-000755D" ] } }, @@ -2123,8 +2123,8 @@ "key" : { "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2018-02-24 03:10:50.799366+00\" \\", - " --set=20180224-030946F_20180224-031043D restore" + " --type=time \"--target=2018-03-20 00:08:02.310193+00\" \\", + " --set=20180320-000701F_20180320-000755D restore" ], "host" : "pg-primary", "output" : false @@ -2204,16 +2204,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2018-02-24 03:10:44 UTC", - "LOG: starting point-in-time recovery to 2018-02-24 03:10:50.799366+00", + "LOG: database system was interrupted; last known up at 2018-03-20 00:07:56 UTC", + "LOG: starting point-in-time recovery to 2018-03-20 00:08:02.310193+00", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000019\" from archive", - "LOG: redo starts at 0/19000028", - "LOG: consistent recovery state reached at 0/190000F8", - "LOG: restored log file \"00000004000000000000001A\" from archive", - "LOG: recovery stopping before commit of transaction 627, time 2018-02-24 03:10:50.964541+00", - "LOG: redo done at 0/1A022FF8", - "LOG: last completed transaction was at log time 2018-02-24 03:10:50.642437+00", + "LOG: restored log file \"000000040000000000000017\" from archive", + "LOG: redo starts at 0/17000028", + "LOG: consistent recovery state reached at 0/170000F8", + "LOG: restored log file \"000000040000000000000018\" from archive", + "LOG: recovery stopping before commit of transaction 627, time 2018-03-20 00:08:02.421161+00", + "LOG: redo done at 0/18022FF8", + "LOG: last completed transaction was at log time 2018-03-20 00:08:02.206459+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 5 lines of output]" @@ -2348,7 +2348,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-create command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -2372,16 +2372,16 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/ --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=4 --repo1-cipher-type=none --repo1-path=/ --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:11:27\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000007000000000000001B, lsn = 0/1B000028", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:08:37\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000070000000000000019, lsn = 0/19000028", " [filtered 1119 lines of output]", - "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", + "P04 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)", "P02 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)", "P00 INFO: full backup size = 27.3MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 00000007000000000000001B, lsn = 0/1B000130", + "P00 INFO: backup stop archive = 000000070000000000000019, lsn = 0/19000130", " [filtered 4 lines of output]" ] } @@ -2414,7 +2414,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -2437,7 +2437,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-delete command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -2499,7 +2499,7 @@ { "key" : { "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.00" + "sudo mkdir /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -2509,7 +2509,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/build /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/build /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -2519,7 +2519,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/lib /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/lib /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -2529,7 +2529,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/libc /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/libc /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -2539,7 +2539,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/src /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/src /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -2549,7 +2549,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /root/pgbackrest-release-2.00/lib/pgBackRest \\", + "sudo cp -r /root/pgbackrest-release-2.01/lib/pgBackRest \\", " /usr/share/perl5" ], "host" : "repository", @@ -2630,7 +2630,7 @@ { "key" : { "cmd" : [ - "sudo sh -c 'cd /root/pgbackrest-release-2.00/libc && \\", + "sudo sh -c 'cd /root/pgbackrest-release-2.01/libc && \\", " perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none'" ], "host" : "repository", @@ -2641,7 +2641,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc test" + "sudo make -C /root/pgbackrest-release-2.01/libc test" ], "host" : "repository", "output" : false @@ -2651,7 +2651,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc install" + "sudo make -C /root/pgbackrest-release-2.01/libc install" ], "host" : "repository", "output" : false @@ -2661,7 +2661,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src" + "sudo make -C /root/pgbackrest-release-2.01/src" ], "host" : "repository", "output" : false @@ -2671,7 +2671,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src install" + "sudo make -C /root/pgbackrest-release-2.01/src install" ], "host" : "repository", "output" : false @@ -3095,8 +3095,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.00: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 000000080000000000000027 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/000000080000000000000027-d59862d816b67209ccd63ad9734b2205115b420c.gz'", + "P00 INFO: check command begin 2.01: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 000000080000000000000025 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/000000080000000000000025-794b3e85ba26e8069db739ac867d1c1636907372.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -3120,24 +3120,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.00: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 2 WAL file(s) to archive: 000000080000000000000022...000000080000000000000023", - "P02 DETAIL: pushed WAL file 000000080000000000000023 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000022 to archive", + "P00 INFO: archive-push command begin 2.01: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 3 WAL file(s) to archive: 000000080000000000000020...000000080000000000000022", + "P02 DETAIL: pushed WAL file 000000080000000000000021 to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000020 to archive", + "P02 DETAIL: pushed WAL file 000000080000000000000022 to archive", "P00 INFO: archive-push command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.00: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 3 WAL file(s) to archive: 000000080000000000000024...000000080000000000000026", - "P02 DETAIL: pushed WAL file 000000080000000000000025 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000024 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000026 to archive", + "P00 INFO: archive-push command begin 2.01: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 2 WAL file(s) to archive: 000000080000000000000023...000000080000000000000024", + "P02 DETAIL: pushed WAL file 000000080000000000000024 to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000023 to archive", "P00 INFO: archive-push command end: completed successfully", "", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.00: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000027", - "P01 DETAIL: pushed WAL file 000000080000000000000027 to archive", + "P00 INFO: archive-push command begin 2.01: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000025", + "P01 DETAIL: pushed WAL file 000000080000000000000025 to archive", "P00 INFO: archive-push command end: completed successfully" ] } @@ -3240,17 +3240,17 @@ " status: ok", "", " db (current)", - " wal archive min/max (9.5-1): 000000080000000000000028 / 000000080000000000000029", + " wal archive min/max (9.5-1): 000000080000000000000026 / 000000080000000000000027", "", - " full backup: 20180224-031320F", - " timestamp start/stop: 2018-02-24 03:13:20 / 2018-02-24 03:13:29", - " wal start/stop: 000000080000000000000028 / 000000080000000000000028", + " full backup: 20180320-001019F", + " timestamp start/stop: 2018-03-20 00:10:19 / 2018-03-20 00:10:28", + " wal start/stop: 000000080000000000000026 / 000000080000000000000026", " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.1MB, repository backup size: 3.1MB", "", - " full backup: 20180224-031331F", - " timestamp start/stop: 2018-02-24 03:13:31 / 2018-02-24 03:13:39", - " wal start/stop: 000000080000000000000029 / 000000080000000000000029", + " full backup: 20180320-001030F", + " timestamp start/stop: 2018-03-20 00:10:30 / 2018-03-20 00:10:38", + " wal start/stop: 000000080000000000000027 / 000000080000000000000027", " database size: 27.3MB, backup size: 27.3MB", " repository size: 3.1MB, repository backup size: 3.1MB" ] @@ -3384,7 +3384,7 @@ { "key" : { "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.00" + "sudo mkdir /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -3394,7 +3394,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/build /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/build /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -3404,7 +3404,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/lib /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/lib /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -3414,7 +3414,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/libc /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/libc /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -3424,7 +3424,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/src /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/src /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -3434,7 +3434,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /root/pgbackrest-release-2.00/lib/pgBackRest \\", + "sudo cp -r /root/pgbackrest-release-2.01/lib/pgBackRest \\", " /usr/share/perl5" ], "host" : "pg-standby", @@ -3515,7 +3515,7 @@ { "key" : { "cmd" : [ - "sudo sh -c 'cd /root/pgbackrest-release-2.00/libc && \\", + "sudo sh -c 'cd /root/pgbackrest-release-2.01/libc && \\", " perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none'" ], "host" : "pg-standby", @@ -3526,7 +3526,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc test" + "sudo make -C /root/pgbackrest-release-2.01/libc test" ], "host" : "pg-standby", "output" : false @@ -3536,7 +3536,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc install" + "sudo make -C /root/pgbackrest-release-2.01/libc install" ], "host" : "pg-standby", "output" : false @@ -3546,7 +3546,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src" + "sudo make -C /root/pgbackrest-release-2.01/src" ], "host" : "pg-standby", "output" : false @@ -3556,7 +3556,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src install" + "sudo make -C /root/pgbackrest-release-2.01/src install" ], "host" : "pg-standby", "output" : false @@ -3775,12 +3775,12 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2018-02-24 03:13:32 UTC", + "LOG: database system was interrupted; last known up at 2018-03-20 00:10:31 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", - "LOG: restored log file \"000000080000000000000029\" from archive", - "LOG: redo starts at 0/29000028", - "LOG: consistent recovery state reached at 0/29000130", + "LOG: restored log file \"000000080000000000000027\" from archive", + "LOG: redo starts at 0/27000028", + "LOG: consistent recovery state reached at 0/27000130", "LOG: database system is ready to accept read only connections" ] } @@ -3851,9 +3851,9 @@ "type" : "exe", "value" : { "output" : [ - " pg_switch_xlog | now ", - "----------------+-------------------------------", - " 0/2A01AF50 | 2018-02-24 03:14:17.138448+00", + " pg_switch_xlog | now ", + "----------------+------------------------------", + " 0/2801AF50 | 2018-03-20 00:11:13.86664+00", "(1 row)" ] } @@ -3877,9 +3877,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+-------------------------------", - " Important Data | 2018-02-24 03:14:18.991956+00", + " message | now ", + "----------------+------------------------------", + " Important Data | 2018-03-20 00:11:15.74974+00", "(1 row)" ] } @@ -3902,7 +3902,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/pgsql/9.5/data --repo1-host=repository --stanza=demo", "P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -4099,8 +4099,8 @@ "output" : [ " [filtered 6 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"00000008000000000000002A\" from archive", - "LOG: started streaming WAL from primary at 0/2B000000 on timeline 8" + "LOG: restored log file \"000000080000000000000028\" from archive", + "LOG: started streaming WAL from primary at 0/29000000 on timeline 8" ] } }, @@ -4129,7 +4129,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2018-02-24 03:14:31.736838+00", + " Important Data | 2018-03-20 00:11:28.275949+00", "(1 row)" ] } @@ -4155,7 +4155,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2018-02-24 03:14:31.971326+00", + " Important Data | 2018-03-20 00:11:28.461057+00", "(1 row)" ] } @@ -4222,19 +4222,22 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:14:32\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000008000000000000002C, lsn = 0/2C000028", - "P00 INFO: wait for replay on the standby to reach 0/2C000028", - "P00 INFO: replay on the standby reached 0/2C0000D0", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum ae93b4b315e8cefaad5be7f2749091573f0c12f8", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (4.6KB, 0%) checksum 6c6363ced1e03b357734464e4c6071efb4297bd6", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 0%) checksum dbda288edbce6486fab7ca9f9db0864316754bee", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (360KB, 17%) checksum 74bf643e44190d7b2f4099d66559c321313fbcdf", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 37%) checksum 3612e41345f0fcea4114d573711672ca0cb08a66", - "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 37%) checksum 29ed1d669b5e1e289f169e5307080efc634e0afc", - "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2673 (320KB, 52%) checksum 248f09860c56b267c452287d89b0c6e353d96fe9", - "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2658 (112KB, 58%) checksum 41aaef23f56815e1de5887a2edf01cb9978cb28f", - " [filtered 33 lines of output]" + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:11:29\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000008000000000000002A, lsn = 0/2A000028", + "P00 INFO: wait for replay on the standby to reach 0/2A000028", + "P00 INFO: replay on the standby reached 0/2A0000D0", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 20%) checksum 43dc37e1adc99cd565209efc74fa53cae1f2aae1", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 20%) checksum 27b52c0ee696a882bd06a233e2a11686e6d40489", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1249 (360KB, 37%) checksum 365e91049e35e27294acbf44c7704d2cd05cb423", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (4.6KB, 37%) checksum 94b761b366be33010711c922eff2abb72e6ff43c", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2673 (320KB, 52%) checksum abf621f5689a53727703458fe9d57a725bc6e853", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (360KB, 69%) checksum f9962cca45f890610e12caca675813ede8a0f5ed", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 69%) checksum dbda288edbce6486fab7ca9f9db0864316754bee", + "P04 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2658 (112KB, 74%) checksum 1ef341fcf8155b1e3e5253df3236168d6368fa29", + "P01 INFO: backup file pg-primary:/var/lib/pgsql/9.5/data/backup_label (238B, 74%) checksum 2dc8a970435f1bb5edbc7dd9e8a06010ff5d05f2", + "P02 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/1259 (104KB, 79%) checksum 988c7e55688e8206c1be12cf85e08f7da94c1db6", + "P03 INFO: backup file pg-standby:/var/lib/pgsql/9.5/data/base/12378/2659 (72KB, 83%) checksum a0eef2a57b5b7df72bce3acdc8ec39d88f149512", + " [filtered 30 lines of output]" ] } }, @@ -4491,7 +4494,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.00: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-host-user=postgres --pg2-host-user=postgres --pg1-path=/var/lib/pgsql/9.6/data --pg2-path=/var/lib/pgsql/9.6/data --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.01: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-host-user=postgres --pg2-host-user=postgres --pg1-path=/var/lib/pgsql/9.6/data --pg2-path=/var/lib/pgsql/9.6/data --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } @@ -4522,7 +4525,7 @@ "type" : "exe", "value" : { "output" : [ - "postgresql-9.6 (pid 4951) is running..." + "postgresql-9.6 (pid 4948) is running..." ] } }, @@ -4786,7 +4789,7 @@ { "key" : { "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.00" + "sudo mkdir /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -4796,7 +4799,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/build /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/build /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -4806,7 +4809,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/lib /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/lib /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -4816,7 +4819,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/libc /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/libc /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -4826,7 +4829,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/src /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/src /root/pgbackrest-release-2.01" ], "host" : "pg-primary", "output" : false @@ -4836,7 +4839,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /root/pgbackrest-release-2.00/lib/pgBackRest \\", + "sudo cp -r /root/pgbackrest-release-2.01/lib/pgBackRest \\", " /usr/share/perl5" ], "host" : "pg-primary", @@ -4917,7 +4920,7 @@ { "key" : { "cmd" : [ - "sudo sh -c 'cd /root/pgbackrest-release-2.00/libc && \\", + "sudo sh -c 'cd /root/pgbackrest-release-2.01/libc && \\", " perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none'" ], "host" : "pg-primary", @@ -4928,7 +4931,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc test" + "sudo make -C /root/pgbackrest-release-2.01/libc test" ], "host" : "pg-primary", "output" : false @@ -4938,7 +4941,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc install" + "sudo make -C /root/pgbackrest-release-2.01/libc install" ], "host" : "pg-primary", "output" : false @@ -4948,7 +4951,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src" + "sudo make -C /root/pgbackrest-release-2.01/src" ], "host" : "pg-primary", "output" : false @@ -4958,7 +4961,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src install" + "sudo make -C /root/pgbackrest-release-2.01/src install" ], "host" : "pg-primary", "output" : false @@ -4976,7 +4979,7 @@ "type" : "exe", "value" : { "output" : [ - "pgBackRest 2.00 - General help", + "pgBackRest 2.01 - General help", "", "Usage:", " pgbackrest [options] [command]", @@ -5267,7 +5270,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-create command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -5290,8 +5293,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", - "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-b504dac3ea8482235222d146836966b2e5009eef.gz'", + "P00 INFO: check command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-3543f1551a7643d0892c0a27fddef588f24fc1c1.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -5315,9 +5318,9 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:16:15\": backup begins after the next regular checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:13:05\": backup begins after the next regular checkpoint completes", "P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028", " [filtered 754 lines of output]", "P01 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11895 (0B, 100%)", @@ -5340,7 +5343,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-031615F" + "20180320-001305F" ] } }, @@ -5364,11 +5367,11 @@ "value" : { "output" : [ " [filtered 4 lines of output]", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 6a9370cc4ff3da4c8c7227e51187edcebb167712", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 100%) checksum 6aacc5c0499b64682e9e667d39a13950b0e8d299", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum d64c883c4b0664ab2528bf7e6f1df82cc48b0308", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 100%) checksum ff8e781310f038470e768e41c0fbae409a987cbd", "P00 INFO: diff backup size = 8.2KB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/3000128", + "P00 INFO: backup stop archive = 000000010000000000000004, lsn = 0/40000F0", " [filtered 4 lines of output]" ] } @@ -5395,20 +5398,20 @@ " status: ok", "", " db (current)", - " wal archive min/max (9.4-1): 000000010000000000000002 / 000000010000000000000003", + " wal archive min/max (9.4-1): 000000010000000000000002 / 000000010000000000000004", "", - " full backup: 20180224-031615F", - " timestamp start/stop: 2018-02-24 03:16:15 / 2018-02-24 03:16:20", + " full backup: 20180320-001305F", + " timestamp start/stop: 2018-03-20 00:13:05 / 2018-03-20 00:13:10", " wal start/stop: 000000010000000000000002 / 000000010000000000000002", " database size: 19.2MB, backup size: 19.2MB", " repository size: 2.2MB, repository backup size: 2.2MB", "", - " diff backup: 20180224-031615F_20180224-031621D", - " timestamp start/stop: 2018-02-24 03:16:21 / 2018-02-24 03:16:24", - " wal start/stop: 000000010000000000000003 / 000000010000000000000003", + " diff backup: 20180320-001305F_20180320-001311D", + " timestamp start/stop: 2018-03-20 00:13:11 / 2018-03-20 00:13:14", + " wal start/stop: 000000010000000000000004 / 000000010000000000000004", " database size: 19.2MB, backup size: 8.2KB", " repository size: 2.2MB, repository backup size: 400B", - " backup reference list: 20180224-031615F" + " backup reference list: 20180320-001305F" ] } }, @@ -5527,10 +5530,10 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", - "P00 INFO: last backup label = 20180224-031615F_20180224-031621D, version = 2.00", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:16:36\": backup begins after the next regular checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000005, lsn = 0/5000028", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --type=incr", + "P00 INFO: last backup label = 20180320-001305F_20180320-001311D, version = 2.01", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:13:26\": backup begins after the next regular checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", "P01 INFO: backup file /var/lib/postgresql/9.4/demo/pg_multixact/offsets/0000 (8KB, 33%) checksum 0631457264ff7f8d5fb1edc2c0211992a67c73e6", " [filtered 10 lines of output]" ] @@ -5582,11 +5585,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20180224-031615F_20180224-031636I, version = 2.00", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:16:41\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum ce2dc256590189b39d01b3b14d0fa8c276b1ab38", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20180320-001305F_20180320-001326I, version = 2.01", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:13:30\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 33dfd47798b7959b0e8de89de53938b29672ffae", " [filtered 8 lines of output]" ] } @@ -5622,9 +5625,9 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:16:46\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028", - "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20180224-031615F_20180224-031646I': Permission denied", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:13:34\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", + "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20180320-001305F_20180320-001334I': Permission denied", "P00 INFO: backup command end: aborted with exception [047]" ] } @@ -5659,12 +5662,12 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", - "P00 INFO: last backup label = 20180224-031615F_20180224-031641I, version = 2.00", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:16:48\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --type=incr", + "P00 INFO: last backup label = 20180320-001305F_20180320-001330I, version = 2.01", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:13:36\": backup begins after the requested immediate checkpoint completes", "P00 ERROR: [057]: ERROR: a backup is already in progress", " HINT: Run pg_stop_backup() and try again.:", - " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text from pg_start_backup('pgBackRest backup started at 2018-02-24 03:16:48', true) as lsn" + " select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text from pg_start_backup('pgBackRest backup started at 2018-03-20 00:13:36', true) as lsn" ] } }, @@ -5715,13 +5718,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", - "P00 INFO: last backup label = 20180224-031615F_20180224-031641I, version = 2.00", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr", + "P00 INFO: last backup label = 20180320-001305F_20180320-001330I, version = 2.01", "P00 WARN: the cluster is already in backup mode but no pgBackRest backup process is running. pg_stop_backup() will be called so a new backup can be started.", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:16:50\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028", - "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum f03d5817a872566b0fedcdd58597e342ab063a8e", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:13:38\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028", + "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 2bb3f7cb57a717f41bc60542ea8e629a22410a70", " [filtered 8 lines of output]" ] } @@ -5764,7 +5767,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20180224-031615F|remove archive" + "archive retention on backup 20180320-001305F|remove archive" ] }, "host" : "pg-primary", @@ -5775,8 +5778,8 @@ "output" : [ " [filtered 763 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.00: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20180224-031615F, archiveId = 9.4-1, start = 000000010000000000000002", + "P00 INFO: expire command begin 2.01: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20180320-001305F, archiveId = 9.4-1, start = 000000010000000000000002", "P00 DETAIL: no archive to remove, archiveId = 9.4-1", "P00 INFO: expire command end: completed successfully" ] @@ -5793,7 +5796,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-031655F" + "20180320-001343F" ] } }, @@ -5807,7 +5810,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire full backup set\\: 20180224-031615F|archive retention on backup 20180224-031655F|remove archive" + "expire full backup set\\: 20180320-001305F|archive retention on backup 20180320-001343F|remove archive" ] }, "host" : "pg-primary", @@ -5818,10 +5821,10 @@ "output" : [ " [filtered 763 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=2 --repo1-retention-full=2 --stanza=demo", - "P00 INFO: expire full backup set: 20180224-031615F, 20180224-031615F_20180224-031621D, 20180224-031615F_20180224-031636I, 20180224-031615F_20180224-031641I, 20180224-031615F_20180224-031650I", - "P00 INFO: remove expired backup 20180224-031615F_20180224-031650I", - "P00 INFO: remove expired backup 20180224-031615F_20180224-031641I", + "P00 INFO: expire command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire full backup set: 20180320-001305F, 20180320-001305F_20180320-001311D, 20180320-001305F_20180320-001326I, 20180320-001305F_20180320-001330I, 20180320-001305F_20180320-001338I", + "P00 INFO: remove expired backup 20180320-001305F_20180320-001338I", + "P00 INFO: remove expired backup 20180320-001305F_20180320-001330I", " [filtered 3 lines of output]" ] } @@ -5876,7 +5879,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-031703F_20180224-031712D" + "20180320-001349F_20180320-001356D" ] } }, @@ -5900,7 +5903,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "expire diff backup set: 20180224-031703F_20180224-031712D" + "expire diff backup set: 20180320-001349F_20180320-001356D" ] }, "host" : "pg-primary", @@ -5911,10 +5914,10 @@ "output" : [ " [filtered 10 lines of output]", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=2 --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", - "P00 INFO: expire diff backup set: 20180224-031703F_20180224-031712D, 20180224-031703F_20180224-031716I", - "P00 INFO: remove expired backup 20180224-031703F_20180224-031716I", - "P00 INFO: remove expired backup 20180224-031703F_20180224-031712D" + "P00 INFO: expire command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=1 --repo1-retention-full=2 --stanza=demo", + "P00 INFO: expire diff backup set: 20180320-001349F_20180320-001356D, 20180320-001349F_20180320-001401I", + "P00 INFO: remove expired backup 20180320-001349F_20180320-001401I", + "P00 INFO: remove expired backup 20180320-001349F_20180320-001356D" ] } }, @@ -5958,7 +5961,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-031703F_20180224-031721D" + "20180320-001349F_20180320-001405D" ] } }, @@ -5996,9 +5999,9 @@ " [filtered 7 lines of output]", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000020000000000000012, lsn = 0/120000F0", - "P00 INFO: new backup label = 20180224-031703F_20180224-031727D", + "P00 INFO: new backup label = 20180320-001349F_20180320-001410D", "P00 INFO: backup command end: completed successfully", - "P00 INFO: expire command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=2 --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo" + "P00 INFO: expire command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo" ] } }, @@ -6013,7 +6016,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-031703F_20180224-031727D" + "20180320-001349F_20180320-001410D" ] } }, @@ -6027,7 +6030,7 @@ "filter" : true, "filter-context" : 2, "list" : [ - "archive retention on backup 20180224-031703F_20180224-031721D|remove archive" + "archive retention on backup 20180320-001349F_20180320-001405D|remove archive" ] }, "host" : "pg-primary", @@ -6036,12 +6039,11 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: expire command begin 2.00: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", - "P00 DETAIL: archive retention on backup 20180224-031655F, archiveId = 9.4-1, start = 000000020000000000000009, stop = 000000020000000000000009", - "P00 DETAIL: archive retention on backup 20180224-031703F, archiveId = 9.4-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", - "P00 DETAIL: archive retention on backup 20180224-031703F_20180224-031721D, archiveId = 9.4-1, start = 00000002000000000000000E, stop = 00000002000000000000000E", - "P00 DETAIL: archive retention on backup 20180224-031703F_20180224-031727D, archiveId = 9.4-1, start = 000000020000000000000012", - "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", + "P00 INFO: expire command begin 2.01: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/var/lib/pgbackrest --repo1-retention-archive=1 --repo1-retention-archive-type=diff --repo1-retention-diff=2 --repo1-retention-full=2 --stanza=demo", + "P00 DETAIL: archive retention on backup 20180320-001343F, archiveId = 9.4-1, start = 00000002000000000000000A, stop = 00000002000000000000000A", + "P00 DETAIL: archive retention on backup 20180320-001349F, archiveId = 9.4-1, start = 00000002000000000000000B, stop = 00000002000000000000000B", + "P00 DETAIL: archive retention on backup 20180320-001349F_20180320-001405D, archiveId = 9.4-1, start = 00000002000000000000000E, stop = 00000002000000000000000E", + "P00 DETAIL: archive retention on backup 20180320-001349F_20180320-001410D, archiveId = 9.4-1, start = 000000020000000000000012", "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 00000002000000000000000C, stop = 00000002000000000000000D", "P00 DETAIL: remove archive: archiveId = 9.4-1, start = 00000002000000000000000F, stop = 000000020000000000000011", "P00 INFO: expire command end: completed successfully" @@ -6388,7 +6390,7 @@ "type" : "exe", "value" : { "output" : [ - "2018-02-24 03:18:06.179914+00" + "2018-03-20 00:14:45.019624+00" ] } }, @@ -6434,7 +6436,7 @@ "key" : { "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2018-02-24 03:18:06.179914+00\" restore" + " --type=time \"--target=2018-03-20 00:14:45.019624+00\" restore" ], "host" : "pg-primary", "output" : false @@ -6470,7 +6472,7 @@ "value" : { "output" : [ "restore_command = 'pgbackrest --stanza=demo archive-get %f \"%p\"'", - "recovery_target_time = '2018-02-24 03:18:06.179914+00'" + "recovery_target_time = '2018-03-20 00:14:45.019624+00'" ] } }, @@ -6537,16 +6539,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2018-02-24 03:18:00 UTC", - "LOG: starting point-in-time recovery to 2018-02-24 03:18:06.179914+00", + "LOG: database system was interrupted; last known up at 2018-03-20 00:14:40 UTC", + "LOG: starting point-in-time recovery to 2018-03-20 00:14:45.019624+00", "LOG: restored log file \"00000004.history\" from archive", "LOG: restored log file \"000000040000000000000017\" from archive", " [filtered 2 lines of output]", "LOG: incomplete startup packet", "LOG: restored log file \"000000040000000000000018\" from archive", - "LOG: recovery stopping before commit of transaction 686, time 2018-02-24 03:18:06.353393+00", + "LOG: recovery stopping before commit of transaction 686, time 2018-03-20 00:14:45.182277+00", "LOG: redo done at 0/180157F0", - "LOG: last completed transaction was at log time 2018-02-24 03:18:06.022834+00", + "LOG: last completed transaction was at log time 2018-03-20 00:14:44.86087+00", "LOG: selected new timeline ID: 5", "LOG: restored log file \"00000004.history\" from archive", " [filtered 4 lines of output]" @@ -6592,7 +6594,7 @@ "type" : "exe", "value" : { "output" : [ - "20180224-031703F_20180224-031759D" + "20180320-001349F_20180320-001439D" ] } }, @@ -6620,7 +6622,7 @@ "key" : { "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2018-02-24 03:18:06.179914+00\" restore" + " --type=time \"--target=2018-03-20 00:14:45.019624+00\" restore" ], "host" : "pg-primary", "output" : false @@ -6700,15 +6702,15 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2018-02-24 03:18:16 UTC", - "LOG: starting point-in-time recovery to 2018-02-24 03:18:06.179914+00", + "LOG: database system was interrupted; last known up at 2018-03-20 00:14:55 UTC", + "LOG: starting point-in-time recovery to 2018-03-20 00:14:45.019624+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"000000050000000000000019\" from archive", "LOG: redo starts at 0/19000028", "LOG: consistent recovery state reached at 0/190000F0", - "LOG: incomplete startup packet", "LOG: redo done at 0/190000F0", - " [filtered 10 lines of output]" + "LOG: incomplete startup packet", + " [filtered 9 lines of output]" ] } }, @@ -6721,7 +6723,7 @@ "filter" : false, "filter-context" : 2, "list" : [ - "20180224-031703F_20180224-031759D" + "20180320-001349F_20180320-001439D" ] }, "host" : "pg-primary", @@ -6734,47 +6736,47 @@ " status: ok", "", " db (current)", - " wal archive min/max (9.4-1): 000000020000000000000009 / 000000050000000000000019", + " wal archive min/max (9.4-1): 00000002000000000000000A / 000000050000000000000019", "", - " full backup: 20180224-031655F", - " timestamp start/stop: 2018-02-24 03:16:55 / 2018-02-24 03:17:01", - " wal start/stop: 000000020000000000000009 / 000000020000000000000009", + " full backup: 20180320-001343F", + " timestamp start/stop: 2018-03-20 00:13:43 / 2018-03-20 00:13:48", + " wal start/stop: 00000002000000000000000A / 00000002000000000000000A", " database size: 19.2MB, backup size: 19.2MB", " repository size: 2.2MB, repository backup size: 2.2MB", "", - " full backup: 20180224-031703F", - " timestamp start/stop: 2018-02-24 03:17:03 / 2018-02-24 03:17:09", + " full backup: 20180320-001349F", + " timestamp start/stop: 2018-03-20 00:13:49 / 2018-03-20 00:13:54", " wal start/stop: 00000002000000000000000B / 00000002000000000000000B", " database size: 19.2MB, backup size: 19.2MB", " repository size: 2.2MB, repository backup size: 2.2MB", "", - " diff backup: 20180224-031703F_20180224-031727D", - " timestamp start/stop: 2018-02-24 03:17:27 / 2018-02-24 03:17:30", + " diff backup: 20180320-001349F_20180320-001410D", + " timestamp start/stop: 2018-03-20 00:14:10 / 2018-03-20 00:14:13", " wal start/stop: 000000020000000000000012 / 000000020000000000000012", " database size: 19.2MB, backup size: 8.2KB", " repository size: 2.2MB, repository backup size: 400B", - " backup reference list: 20180224-031703F", + " backup reference list: 20180320-001349F", "", - " incr backup: 20180224-031703F_20180224-031741I", - " timestamp start/stop: 2018-02-24 03:17:41 / 2018-02-24 03:17:47", + " incr backup: 20180320-001349F_20180320-001422I", + " timestamp start/stop: 2018-03-20 00:14:22 / 2018-03-20 00:14:27", " wal start/stop: 000000030000000000000014 / 000000030000000000000014", " database size: 31.7MB, backup size: 12.5MB", " repository size: 3.7MB, repository backup size: 1.5MB", - " backup reference list: 20180224-031703F", + " backup reference list: 20180320-001349F", "", - " diff backup: 20180224-031703F_20180224-031759D", - " timestamp start/stop: 2018-02-24 03:17:59 / 2018-02-24 03:18:04", + " diff backup: 20180320-001349F_20180320-001439D", + " timestamp start/stop: 2018-03-20 00:14:39 / 2018-03-20 00:14:43", " wal start/stop: 000000040000000000000017 / 000000040000000000000017", " database size: 25.5MB, backup size: 6.3MB", " repository size: 3MB, repository backup size: 771.6KB", - " backup reference list: 20180224-031703F", + " backup reference list: 20180320-001349F", "", - " incr backup: 20180224-031703F_20180224-031815I", - " timestamp start/stop: 2018-02-24 03:18:15 / 2018-02-24 03:18:18", + " incr backup: 20180320-001349F_20180320-001454I", + " timestamp start/stop: 2018-03-20 00:14:54 / 2018-03-20 00:14:57", " wal start/stop: 000000050000000000000019 / 000000050000000000000019", " database size: 25.5MB, backup size: 1.7MB", " repository size: 3MB, repository backup size: 200.8KB", - " backup reference list: 20180224-031703F, 20180224-031703F_20180224-031759D" + " backup reference list: 20180320-001349F, 20180320-001349F_20180320-001439D" ] } }, @@ -6792,8 +6794,8 @@ "key" : { "cmd" : [ "sudo -u postgres pgbackrest --stanza=demo --delta \\", - " --type=time \"--target=2018-02-24 03:18:06.179914+00\" \\", - " --set=20180224-031703F_20180224-031759D restore" + " --type=time \"--target=2018-03-20 00:14:45.019624+00\" \\", + " --set=20180320-001349F_20180320-001439D restore" ], "host" : "pg-primary", "output" : false @@ -6873,16 +6875,16 @@ "type" : "exe", "value" : { "output" : [ - "LOG: database system was interrupted; last known up at 2018-02-24 03:18:00 UTC", - "LOG: starting point-in-time recovery to 2018-02-24 03:18:06.179914+00", + "LOG: database system was interrupted; last known up at 2018-03-20 00:14:40 UTC", + "LOG: starting point-in-time recovery to 2018-03-20 00:14:45.019624+00", + "FATAL: the database system is starting up", "LOG: restored log file \"00000004.history\" from archive", - "LOG: restored log file \"000000040000000000000017\" from archive", - " [filtered 2 lines of output]", + " [filtered 3 lines of output]", "LOG: incomplete startup packet", "LOG: restored log file \"000000040000000000000018\" from archive", - "LOG: recovery stopping before commit of transaction 686, time 2018-02-24 03:18:06.353393+00", + "LOG: recovery stopping before commit of transaction 686, time 2018-03-20 00:14:45.182277+00", "LOG: redo done at 0/180157F0", - "LOG: last completed transaction was at log time 2018-02-24 03:18:06.022834+00", + "LOG: last completed transaction was at log time 2018-03-20 00:14:44.86087+00", "LOG: restored log file \"00000005.history\" from archive", "LOG: restored log file \"00000006.history\" from archive", " [filtered 7 lines of output]" @@ -7017,7 +7019,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-create command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-create command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-create command end: completed successfully" ] } @@ -7041,13 +7043,13 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: backup command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=4 --repo1-cipher-type=none --repo1-path=/ --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", + "P00 INFO: backup command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=4 --repo1-cipher-type=none --repo1-path=/ --repo1-retention-diff=2 --repo1-retention-full=2 --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo --start-fast --stop-auto", "P00 WARN: no prior backup exists, incr backup has been changed to full", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:18:42\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:15:18\": backup begins after the requested immediate checkpoint completes", "P00 INFO: backup start archive = 000000070000000000000019, lsn = 0/19000028", " [filtered 995 lines of output]", - "P03 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11895 (0B, 100%)", - "P04 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11885 (0B, 100%)", + "P02 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11905 (0B, 100%)", + "P03 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11907 (0B, 100%)", "P00 INFO: full backup size = 25.5MB", "P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive", "P00 INFO: backup stop archive = 000000070000000000000019, lsn = 0/19000128", @@ -7083,7 +7085,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stop command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stop command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stop command end: completed successfully" ] } @@ -7106,7 +7108,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-delete command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", + "P00 INFO: stanza-delete command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-cipher-type=none --repo1-path=/ --repo1-s3-bucket=demo-bucket --repo1-s3-endpoint=s3.amazonaws.com --repo1-s3-key= --repo1-s3-key-secret= --repo1-s3-region=us-east-1 --no-repo1-s3-verify-ssl --repo1-type=s3 --stanza=demo", "P00 INFO: stanza-delete command end: completed successfully" ] } @@ -7157,7 +7159,7 @@ { "key" : { "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.00" + "sudo mkdir /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -7167,7 +7169,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/build /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/build /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -7177,7 +7179,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/lib /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/lib /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -7187,7 +7189,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/libc /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/libc /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -7197,7 +7199,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/src /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/src /root/pgbackrest-release-2.01" ], "host" : "repository", "output" : false @@ -7207,7 +7209,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /root/pgbackrest-release-2.00/lib/pgBackRest \\", + "sudo cp -r /root/pgbackrest-release-2.01/lib/pgBackRest \\", " /usr/share/perl5" ], "host" : "repository", @@ -7288,7 +7290,7 @@ { "key" : { "cmd" : [ - "sudo sh -c 'cd /root/pgbackrest-release-2.00/libc && \\", + "sudo sh -c 'cd /root/pgbackrest-release-2.01/libc && \\", " perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none'" ], "host" : "repository", @@ -7299,7 +7301,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc test" + "sudo make -C /root/pgbackrest-release-2.01/libc test" ], "host" : "repository", "output" : false @@ -7309,7 +7311,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc install" + "sudo make -C /root/pgbackrest-release-2.01/libc install" ], "host" : "repository", "output" : false @@ -7319,7 +7321,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src" + "sudo make -C /root/pgbackrest-release-2.01/src" ], "host" : "repository", "output" : false @@ -7329,7 +7331,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src install" + "sudo make -C /root/pgbackrest-release-2.01/src install" ], "host" : "repository", "output" : false @@ -7753,8 +7755,8 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.00: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", - "P00 INFO: WAL segment 000000080000000000000025 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/000000080000000000000025-103b658b480cd8446eb10f05722680420c7927b3.gz'", + "P00 INFO: check command begin 2.01: --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", + "P00 INFO: WAL segment 000000080000000000000026 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/000000080000000000000026-9dd1f997ce8f9211974d215e29cf5a8b855d92b3.gz'", "P00 INFO: check command end: completed successfully" ] } @@ -7778,20 +7780,24 @@ "value" : { "output" : [ "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.00: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 5 WAL file(s) to archive: 000000080000000000000020...000000080000000000000024", - "P02 DETAIL: pushed WAL file 000000080000000000000021 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000020 to archive", + "P00 INFO: archive-push command begin 2.01: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 3 WAL file(s) to archive: 000000080000000000000021...000000080000000000000023", "P02 DETAIL: pushed WAL file 000000080000000000000022 to archive", - "P01 DETAIL: pushed WAL file 000000080000000000000023 to archive", - "P02 DETAIL: pushed WAL file 000000080000000000000024 to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000021 to archive", + "P02 DETAIL: pushed WAL file 000000080000000000000023 to archive", "P00 INFO: archive-push command end: completed successfully", "", - " [filtered 4 lines of output]", "-------------------PROCESS START-------------------", - "P00 INFO: archive-push command begin 2.00: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", - "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000025", - "P01 DETAIL: pushed WAL file 000000080000000000000025 to archive", + "P00 INFO: archive-push command begin 2.01: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 2 WAL file(s) to archive: 000000080000000000000024...000000080000000000000025", + "P02 DETAIL: pushed WAL file 000000080000000000000025 to archive", + "P01 DETAIL: pushed WAL file 000000080000000000000024 to archive", + "P00 INFO: archive-push command end: completed successfully", + "", + "-------------------PROCESS START-------------------", + "P00 INFO: archive-push command begin 2.01: --archive-async --log-level-console=warn --log-level-file=detail --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --process-max=2 --repo1-host=repository --spool-path=/var/spool/pgbackrest --stanza=demo", + "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000026", + "P01 DETAIL: pushed WAL file 000000080000000000000026 to archive", "P00 INFO: archive-push command end: completed successfully" ] } @@ -7894,17 +7900,17 @@ " status: ok", "", " db (current)", - " wal archive min/max (9.4-1): 000000080000000000000027 / 000000080000000000000028", + " wal archive min/max (9.4-1): 000000080000000000000028 / 000000080000000000000029", "", - " full backup: 20180224-032012F", - " timestamp start/stop: 2018-02-24 03:20:12 / 2018-02-24 03:20:21", - " wal start/stop: 000000080000000000000027 / 000000080000000000000027", + " full backup: 20180320-001642F", + " timestamp start/stop: 2018-03-20 00:16:42 / 2018-03-20 00:16:50", + " wal start/stop: 000000080000000000000028 / 000000080000000000000028", " database size: 25.5MB, backup size: 25.5MB", " repository size: 3MB, repository backup size: 3MB", "", - " full backup: 20180224-032023F", - " timestamp start/stop: 2018-02-24 03:20:23 / 2018-02-24 03:20:31", - " wal start/stop: 000000080000000000000028 / 000000080000000000000028", + " full backup: 20180320-001652F", + " timestamp start/stop: 2018-03-20 00:16:52 / 2018-03-20 00:16:59", + " wal start/stop: 000000080000000000000029 / 000000080000000000000029", " database size: 25.5MB, backup size: 25.5MB", " repository size: 3MB, repository backup size: 3MB" ] @@ -8037,7 +8043,7 @@ { "key" : { "cmd" : [ - "sudo mkdir /root/pgbackrest-release-2.00" + "sudo mkdir /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -8047,7 +8053,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/build /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/build /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -8057,7 +8063,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/lib /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/lib /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -8067,7 +8073,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/libc /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/libc /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -8077,7 +8083,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /backrest/src /root/pgbackrest-release-2.00" + "sudo cp -r /backrest/src /root/pgbackrest-release-2.01" ], "host" : "pg-standby", "output" : false @@ -8087,7 +8093,7 @@ { "key" : { "cmd" : [ - "sudo cp -r /root/pgbackrest-release-2.00/lib/pgBackRest \\", + "sudo cp -r /root/pgbackrest-release-2.01/lib/pgBackRest \\", " /usr/share/perl5" ], "host" : "pg-standby", @@ -8168,7 +8174,7 @@ { "key" : { "cmd" : [ - "sudo sh -c 'cd /root/pgbackrest-release-2.00/libc && \\", + "sudo sh -c 'cd /root/pgbackrest-release-2.01/libc && \\", " perl Makefile.PL INSTALLMAN1DIR=none INSTALLMAN3DIR=none'" ], "host" : "pg-standby", @@ -8179,7 +8185,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc test" + "sudo make -C /root/pgbackrest-release-2.01/libc test" ], "host" : "pg-standby", "output" : false @@ -8189,7 +8195,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/libc install" + "sudo make -C /root/pgbackrest-release-2.01/libc install" ], "host" : "pg-standby", "output" : false @@ -8199,7 +8205,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src" + "sudo make -C /root/pgbackrest-release-2.01/src" ], "host" : "pg-standby", "output" : false @@ -8209,7 +8215,7 @@ { "key" : { "cmd" : [ - "sudo make -C /root/pgbackrest-release-2.00/src install" + "sudo make -C /root/pgbackrest-release-2.01/src install" ], "host" : "pg-standby", "output" : false @@ -8430,13 +8436,13 @@ "output" : [ "LOG: could not bind IPv6 socket: Cannot assign requested address", "HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.", - "LOG: database system was interrupted; last known up at 2018-02-24 03:20:24 UTC", + "LOG: database system was interrupted; last known up at 2018-03-20 00:16:53 UTC", "LOG: entering standby mode", "LOG: restored log file \"00000008.history\" from archive", "LOG: incomplete startup packet", - "LOG: restored log file \"000000080000000000000028\" from archive", - "LOG: redo starts at 0/28000028", - "LOG: consistent recovery state reached at 0/28000128", + "LOG: restored log file \"000000080000000000000029\" from archive", + "LOG: redo starts at 0/29000028", + "LOG: consistent recovery state reached at 0/29000128", "LOG: database system is ready to accept read only connections" ] } @@ -8509,7 +8515,7 @@ "output" : [ " pg_switch_xlog | now ", "----------------+-------------------------------", - " 0/290199E0 | 2018-02-24 03:21:00.192647+00", + " 0/2A0199E0 | 2018-03-20 00:17:28.430251+00", "(1 row)" ] } @@ -8533,9 +8539,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+------------------------------", - " Important Data | 2018-02-24 03:21:02.61888+00", + " message | now ", + "----------------+-------------------------------", + " Important Data | 2018-03-20 00:17:34.988692+00", "(1 row)" ] } @@ -8558,7 +8564,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: check command begin 2.00: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", + "P00 INFO: check command begin 2.01: --log-level-console=info --log-level-stderr=off --no-log-timestamp --pg1-path=/var/lib/postgresql/9.4/demo --repo1-host=repository --stanza=demo", "P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully", "P00 INFO: check command end: completed successfully" ] @@ -8734,10 +8740,10 @@ "type" : "exe", "value" : { "output" : [ - " [filtered 10 lines of output]", + " [filtered 9 lines of output]", "LOG: database system is ready to accept read only connections", - "LOG: restored log file \"000000080000000000000029\" from archive", - "LOG: started streaming WAL from primary at 0/2A000000 on timeline 8" + "LOG: restored log file \"00000008000000000000002A\" from archive", + "LOG: started streaming WAL from primary at 0/2B000000 on timeline 8" ] } }, @@ -8764,9 +8770,9 @@ "type" : "exe", "value" : { "output" : [ - " message | now ", - "----------------+----------------------------", - " Important Data | 2018-02-24 03:21:15.839+00", + " message | now ", + "----------------+-------------------------------", + " Important Data | 2018-03-20 00:17:46.077739+00", "(1 row)" ] } @@ -8792,7 +8798,7 @@ "output" : [ " message | now ", "----------------+-------------------------------", - " Important Data | 2018-02-24 03:21:16.079546+00", + " Important Data | 2018-03-20 00:17:46.333002+00", "(1 row)" ] } @@ -8859,16 +8865,17 @@ "value" : { "output" : [ " [filtered 2 lines of output]", - "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-02-24 03:21:16\": backup begins after the requested immediate checkpoint completes", - "P00 INFO: backup start archive = 00000008000000000000002B, lsn = 0/2B0000C8", - "P00 INFO: wait for replay on the standby to reach 0/2B0000C8", - "P00 INFO: replay on the standby reached 0/2B000168", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 0%) checksum a7cda6baa26dd8a475eec1644889ba576880763e", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11889 (344KB, 18%) checksum 22ee810ec3f50fd8d2865253a7830032497aef03", - "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/backup_label (238B, 18%) checksum bdd6b18ba4f123872a4e4c987b486ff92e181a4b", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/12010 (232KB, 30%) checksum cac23d0c355cdcc0dee9412b1570b4a373e2ee3d", - "P03 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11891 (128KB, 36%) checksum cd9badfb2b1a911d60367345e967a63989bbe45f", - " [filtered 34 lines of output]" + "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2018-03-20 00:17:47\": backup begins after the requested immediate checkpoint completes", + "P00 INFO: backup start archive = 00000008000000000000002C, lsn = 0/2C0000C8", + "P00 INFO: wait for replay on the standby to reach 0/2C0000C8", + "P00 INFO: replay on the standby reached 0/2C000168", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/12007 (392KB, 20%) checksum bc70f685fbac13fe44177419cd01f86b4fa93165", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 20%) checksum 3527ba100189801ef33ed2c69c4e960e25065016", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/12010 (232KB, 32%) checksum 7942be329b7fd64c7b84de7c5d9f17cde491c7dd", + "P01 INFO: backup file pg-primary:/var/lib/postgresql/9.4/demo/backup_label (238B, 32%) checksum cacb1ae43120aaae237e7dfeb0b91bb8cf262dc9", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11891 (128KB, 39%) checksum cd83363e762186bf64d2867a3a7a55b359dbcfbb", + "P02 INFO: backup file pg-standby:/var/lib/postgresql/9.4/demo/base/12139/11892 (88KB, 43%) checksum 48841ee2c6fcee738cf9bcb10d4c93a325fb2fc7", + " [filtered 33 lines of output]" ] } }, @@ -9155,7 +9162,7 @@ "type" : "exe", "value" : { "output" : [ - "P00 INFO: stanza-upgrade command begin 2.00: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-host-user=postgres --pg2-host-user=postgres --pg1-path=/var/lib/postgresql/9.5/demo --pg2-path=/var/lib/postgresql/9.5/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", + "P00 INFO: stanza-upgrade command begin 2.01: --no-backup-standby --log-level-console=info --log-level-stderr=off --no-log-timestamp --no-online --pg1-host=pg-primary --pg2-host=pg-standby --pg1-host-user=postgres --pg2-host-user=postgres --pg1-path=/var/lib/postgresql/9.5/demo --pg2-path=/var/lib/postgresql/9.5/demo --repo1-path=/var/lib/pgbackrest --stanza=demo", "P00 INFO: stanza-upgrade command end: completed successfully" ] } diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 36e27adc3..215e6c2f2 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -12,7 +12,7 @@ - + @@ -44,7 +44,7 @@ -

Fix issue where specifying log-level-stderr > warn would cause a local/remote process to error on exit due to output found on stderr when none was expected. The max value for a local/remote process is now error since there's no reason for these processes to emit warnings.

+

Fix issue where specifying log-level-stderr > warn would cause a local/remote process to error on exit due to output found on stderr when none was expected. The max value for a local/remote process is now error since there is no reason for these processes to emit warnings.

@@ -101,7 +101,7 @@ -

Enable -Wswitch-enum, -Wconversion, -Wformat=2, and -Wformat-nonliteral and silence new warnings.

+

Enable -Wswitch-enum, -Wconversion, -Wformat=2, -Wformat-nonliteral, and -Wformat-signedness and silence new warnings.

@@ -165,7 +165,7 @@ -

Use clang for static code analysis during lint testing. Nothing found except for some functions that should have been marked __noreturn__.

+

Use clang for static code analysis. Nothing found initially except for some functions that should have been marked __noreturn__.

diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index 9b3a65aa6..db75fca9d 100644 --- a/lib/pgBackRest/Version.pm +++ b/lib/pgBackRest/Version.pm @@ -39,7 +39,7 @@ push @EXPORT, qw(backrestBin backrestBinSet); # Defines the current version of the BackRest executable. The version number is used to track features but does not affect what # repositories or manifests can be read - that's the job of the format number. #----------------------------------------------------------------------------------------------------------------------------------- -use constant BACKREST_VERSION => '2.01dev'; +use constant BACKREST_VERSION => '2.01'; push @EXPORT, qw(BACKREST_VERSION); # Format Format Number diff --git a/libc/lib/pgBackRest/LibCAuto.pm b/libc/lib/pgBackRest/LibCAuto.pm index 56c67c95f..c119255fb 100644 --- a/libc/lib/pgBackRest/LibCAuto.pm +++ b/libc/lib/pgBackRest/LibCAuto.pm @@ -6,7 +6,7 @@ package pgBackRest::LibCAuto; # Library version (.999 indicates development version) sub libcAutoVersion { - return '2.01.999'; + return '2.01'; } # Configuration option value constants diff --git a/src/version.h b/src/version.h index 99aed2b20..15ad086d8 100644 --- a/src/version.h +++ b/src/version.h @@ -17,6 +17,6 @@ Standard binary name /*********************************************************************************************************************************** Version of the software. Currently this value is maintained in Version.pm and updated by test.pl. ***********************************************************************************************************************************/ -#define PGBACKREST_VERSION "2.01dev" +#define PGBACKREST_VERSION "2.01" #endif