pgbackrest.git / summary / log / commit / refs
commit df1ec0aaeb02fb1359f5f893dad8af06c2e05eeb
Author: David Steele <david@pgmasters.net>
Date: Sun Sep 03 21:42:00 2017 +0000
v1.23: Multiple Standbys and PostgreSQL 10 Support
Bug Fixes:
* Fixed an issue that could cause compression to abort on growing files. (Reported by Jesper St John, Aleksandr Rogozin.)
* Fixed an issue with keep-alives not being sent to the remote from the local process. (Reported by William Cox.)
Features:
* Up to seven standbys can be configured for backup from standby. (Contributed by Cynthia Shang.)
* PostgreSQL 10 support.
* Allow content-length (in addition to chunked encoding) when reading XML data to improve compatibility with third-party S3 gateways. (Suggested by Victor Gdalevich.)
Refactoring:
* Configuration rules are now pulled from the C library when present.
* Increase HTTP timeout for S3.
* Add HTTP retries to harden against transient S3 network errors.
README.md | 2 +-
doc/resource/exe.cache | 680 +++++++++++++++++++++++-----------------------
doc/xml/release.xml | 20 +-
lib/pgBackRest/Version.pm | 2 +-
4 files changed, 344 insertions(+), 360 deletions(-)
diff --git a/README.md b/README.md
index 656cbb387..750590bfd 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 [v1.22](https://github.com/pgbackrest/pgbackrest/releases/tag/release/1.22) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
+pgBackRest [v1.23](https://github.com/pgbackrest/pgbackrest/releases/tag/release/1.23) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
## Features
diff --git a/doc/resource/exe.cache b/doc/resource/exe.cache
index eb602d202..36fc89c68 100644
--- a/doc/resource/exe.cache
+++ b/doc/resource/exe.cache
@@ -99,7 +99,7 @@
{
"key" : {
"cmd" : [
- "sudo cp -r /root/pgbackrest-release-1.22/lib/pgBackRest \\",
+ "sudo cp -r /root/pgbackrest-release-1.23/lib/pgBackRest \\",
" /usr/share/perl5"
],
"host" : "db-master",
@@ -130,7 +130,7 @@
{
"key" : {
"cmd" : [
- "sudo cp /root/pgbackrest-release-1.22/bin/pgbackrest /usr/bin/pgbackrest"
+ "sudo cp /root/pgbackrest-release-1.23/bin/pgbackrest /usr/bin/pgbackrest"
],
"host" : "db-master",
"output" : false
@@ -208,7 +208,7 @@
"type" : "exe",
"value" : {
"output" : [
- "pgBackRest 1.22 - General help",
+ "pgBackRest 1.23 - General help",
"",
"Usage:",
" pgbackrest [options] [command]",
@@ -476,7 +476,7 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: stanza-create command begin 1.22: --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --no-log-timestamp --repo-path=/var/lib/pgbackrest --stanza=demo",
+ "P00 INFO: stanza-create command begin 1.23: --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --no-log-timestamp --repo-path=/var/lib/pgbackrest --stanza=demo",
"P00 INFO: stanza-create command end: completed successfully"
]
}
@@ -499,8 +499,8 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check command begin 1.22: --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-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-5e245b0f30360aa99bb985a82af5687a5d822e6b.gz'",
+ "P00 INFO: check command begin 1.23: --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-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-a6082a8c0ad6f84a3b6854cdfd9d1786dbf871c0.gz'",
"P00 INFO: check command end: completed successfully"
]
}
@@ -524,14 +524,14 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --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 2017-08-09 15:34:53\": backup begins after the next regular checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:28:50\": backup begins after the next regular checkpoint completes",
"P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028",
" [filtered 854 lines of output]",
- "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/13085 (0B, 100%)",
- "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/13080 (0B, 100%)",
- "P00 INFO: full backup size = 21.5MB",
+ "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)",
+ "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)",
+ "P00 INFO: full backup size = 20.7MB",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
"P00 INFO: backup stop archive = 000000010000000000000002, lsn = 0/20000F8",
" [filtered 4 lines of output]"
@@ -549,7 +549,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-153453F"
+ "20170903-212850F"
]
}
},
@@ -573,11 +573,11 @@
"value" : {
"output" : [
" [filtered 4 lines of output]",
- "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 45ed7e21af16bad6dc37dc5307e3c12601695c24",
- "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum bf4f00a62fe1ce397f27d54bd49227e6b58ea8d7",
+ "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 4937d688df54d48bf0b37f6c81ec03eb3ede3c5c",
+ "P01 INFO: backup file /var/lib/pgsql/9.5/data/backup_label (236B, 100%) checksum a5d7851244380ec01429976dfcd7859eac3145e6",
"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/30000F8",
+ "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/3000130",
" [filtered 4 lines of output]"
]
}
@@ -606,18 +606,18 @@
" db (current)",
" wal archive min/max (9.5-1): 000000010000000000000002 / 000000010000000000000003",
"",
- " full backup: 20170809-153453F",
- " timestamp start/stop: 2017-08-09 15:34:53 / 2017-08-09 15:34:58",
+ " full backup: 20170903-212850F",
+ " timestamp start/stop: 2017-09-03 21:28:50 / 2017-09-03 21:28:55",
" wal start/stop: 000000010000000000000002 / 000000010000000000000002",
- " database size: 21.5MB, backup size: 21.5MB",
- " repository size: 2.4MB, repository backup size: 2.4MB",
+ " database size: 20.7MB, backup size: 20.7MB",
+ " repository size: 2.3MB, repository backup size: 2.3MB",
"",
- " diff backup: 20170809-153453F_20170809-153459D",
- " timestamp start/stop: 2017-08-09 15:34:59 / 2017-08-09 15:35:02",
+ " diff backup: 20170903-212850F_20170903-212856D",
+ " timestamp start/stop: 2017-09-03 21:28:56 / 2017-09-03 21:29:00",
" wal start/stop: 000000010000000000000003 / 000000010000000000000003",
- " database size: 21.5MB, backup size: 8.2KB",
- " repository size: 2.4MB, repository backup size: 348B",
- " backup reference list: 20170809-153453F"
+ " database size: 20.7MB, backup size: 8.2KB",
+ " repository size: 2.3MB, repository backup size: 344B",
+ " backup reference list: 20170903-212850F"
]
}
},
@@ -755,11 +755,11 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --type=incr",
- "P00 INFO: last backup label = 20170809-153453F_20170809-153459D, version = 1.22",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:35:14\": 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/base/13247/pg_internal.init (119.6KB, 71%) checksum 43c3686b711d3af4475d9824802a3cc497da7bd4",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --type=incr",
+ "P00 INFO: last backup label = 20170903-212850F_20170903-212856D, version = 1.23",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:29:12\": backup begins after the next regular checkpoint completes",
+ "P00 INFO: backup start archive = 000000020000000000000005, lsn = 0/5000028",
+ "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/12378/pg_internal.init (119.6KB, 71%) checksum f21c95103a2645f1e8eb0b0844e7040c4b5b3161",
" [filtered 14 lines of output]"
]
}
@@ -808,11 +808,11 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --type=incr",
- "P00 INFO: last backup label = 20170809-153453F_20170809-153514I, version = 1.22",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:35:18\": 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 f60e7c2f4dbf4cf17242345732f4c6acc2d6aa73",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --type=incr",
+ "P00 INFO: last backup label = 20170903-212850F_20170903-212912I, version = 1.23",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:29:16\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028",
+ "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 97%) checksum 83cca92b10c5764bfd5c79f34ec31a6f4b65f90e",
" [filtered 8 lines of output]"
]
}
@@ -848,9 +848,9 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:35:23\": 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/20170809-153453F_20170809-153523I': Permission denied",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:29:21\": 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/20170903-212850F_20170903-212921I': Permission denied",
"P00 INFO: backup command end: aborted with exception [047]"
]
}
@@ -885,12 +885,12 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --type=incr",
- "P00 INFO: last backup label = 20170809-153453F_20170809-153518I, version = 1.22",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:35:25\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --type=incr",
+ "P00 INFO: last backup label = 20170903-212850F_20170903-212916I, version = 1.23",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:29:23\": 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 2017-08-09 15:35:25', 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 2017-09-03 21:29:23', true) as lsn"
]
}
},
@@ -939,13 +939,13 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr",
- "P00 INFO: last backup label = 20170809-153453F_20170809-153518I, version = 1.22",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr",
+ "P00 INFO: last backup label = 20170903-212850F_20170903-212916I, version = 1.23",
"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 2017-08-09 15:35:27\": 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, 84%) checksum ab1fb92a1b14441bbc553517fa1c368c23fcf5fb",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:29:25\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028",
+ "P01 INFO: backup file /var/lib/pgsql/9.5/data/global/pg_control (8KB, 85%) checksum 0229f7479418f28b7ef47bf9a3e5ad00dfe1b983",
" [filtered 9 lines of output]"
]
}
@@ -986,7 +986,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "archive retention on backup 20170809-153453F|remove archive"
+ "archive retention on backup 20170903-212850F|remove archive"
]
},
"host" : "db-master",
@@ -997,8 +997,8 @@
"output" : [
" [filtered 863 lines of output]",
"P00 INFO: backup command end: completed successfully",
- "P00 INFO: expire command begin 1.22: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
- "P00 DETAIL: archive retention on backup 20170809-153453F, archiveId = 9.5-1, start = 000000010000000000000002",
+ "P00 INFO: expire command begin 1.23: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
+ "P00 DETAIL: archive retention on backup 20170903-212850F, archiveId = 9.5-1, start = 000000010000000000000002",
"P00 DETAIL: no archive to remove, archiveId = 9.5-1",
"P00 INFO: expire command end: completed successfully"
]
@@ -1015,7 +1015,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-153532F"
+ "20170903-212930F"
]
}
},
@@ -1029,7 +1029,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "expire full backup set\\: 20170809-153453F|archive retention on backup 20170809-153532F|remove archive"
+ "expire full backup set\\: 20170903-212850F|archive retention on backup 20170903-212930F|remove archive"
]
},
"host" : "db-master",
@@ -1040,10 +1040,10 @@
"output" : [
" [filtered 863 lines of output]",
"P00 INFO: backup command end: completed successfully",
- "P00 INFO: expire command begin 1.22: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
- "P00 INFO: expire full backup set: 20170809-153453F, 20170809-153453F_20170809-153459D, 20170809-153453F_20170809-153514I, 20170809-153453F_20170809-153518I, 20170809-153453F_20170809-153527I",
- "P00 INFO: remove expired backup 20170809-153453F_20170809-153527I",
- "P00 INFO: remove expired backup 20170809-153453F_20170809-153518I",
+ "P00 INFO: expire command begin 1.23: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
+ "P00 INFO: expire full backup set: 20170903-212850F, 20170903-212850F_20170903-212856D, 20170903-212850F_20170903-212912I, 20170903-212850F_20170903-212916I, 20170903-212850F_20170903-212925I",
+ "P00 INFO: remove expired backup 20170903-212850F_20170903-212925I",
+ "P00 INFO: remove expired backup 20170903-212850F_20170903-212916I",
" [filtered 3 lines of output]"
]
}
@@ -1096,7 +1096,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-153540F_20170809-153548D"
+ "20170903-212937F_20170903-212946D"
]
}
},
@@ -1120,7 +1120,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "expire diff backup set: 20170809-153540F_20170809-153548D"
+ "expire diff backup set: 20170903-212937F_20170903-212946D"
]
},
"host" : "db-master",
@@ -1131,10 +1131,10 @@
"output" : [
" [filtered 10 lines of output]",
"P00 INFO: backup command end: completed successfully",
- "P00 INFO: expire command begin 1.22: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=1 --retention-full=2 --stanza=demo",
- "P00 INFO: expire diff backup set: 20170809-153540F_20170809-153548D, 20170809-153540F_20170809-153552I",
- "P00 INFO: remove expired backup 20170809-153540F_20170809-153552I",
- "P00 INFO: remove expired backup 20170809-153540F_20170809-153548D"
+ "P00 INFO: expire command begin 1.23: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=1 --retention-full=2 --stanza=demo",
+ "P00 INFO: expire diff backup set: 20170903-212937F_20170903-212946D, 20170903-212937F_20170903-212951I",
+ "P00 INFO: remove expired backup 20170903-212937F_20170903-212951I",
+ "P00 INFO: remove expired backup 20170903-212937F_20170903-212946D"
]
}
},
@@ -1176,7 +1176,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-153540F_20170809-153557D"
+ "20170903-212937F_20170903-212956D"
]
}
},
@@ -1213,10 +1213,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 = 000000020000000000000012, lsn = 0/120000F8",
- "P00 INFO: new backup label = 20170809-153540F_20170809-153602D",
+ "P00 INFO: backup stop archive = 000000020000000000000010, lsn = 0/100000F8",
+ "P00 INFO: new backup label = 20170903-212937F_20170903-213002D",
"P00 INFO: backup command end: completed successfully",
- "P00 INFO: expire command begin 1.22: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=2 --retention-full=2 --stanza=demo"
+ "P00 INFO: expire command begin 1.23: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=2 --retention-full=2 --stanza=demo"
]
}
},
@@ -1231,7 +1231,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-153540F_20170809-153602D"
+ "20170903-212937F_20170903-213002D"
]
}
},
@@ -1245,7 +1245,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "archive retention on backup 20170809-153540F_20170809-153557D|remove archive"
+ "archive retention on backup 20170903-212937F_20170903-212956D|remove archive"
]
},
"host" : "db-master",
@@ -1254,13 +1254,13 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: expire command begin 1.22: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=1 --retention-archive-type=diff --retention-diff=2 --retention-full=2 --stanza=demo",
- "P00 DETAIL: archive retention on backup 20170809-153532F, archiveId = 9.5-1, start = 00000002000000000000000A, stop = 00000002000000000000000A",
- "P00 DETAIL: archive retention on backup 20170809-153540F, archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000B",
- "P00 DETAIL: archive retention on backup 20170809-153540F_20170809-153557D, archiveId = 9.5-1, start = 00000002000000000000000F, stop = 00000002000000000000000F",
- "P00 DETAIL: archive retention on backup 20170809-153540F_20170809-153602D, archiveId = 9.5-1, start = 000000020000000000000012",
- "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000C, stop = 00000002000000000000000E",
- "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 000000020000000000000010, stop = 000000020000000000000011",
+ "P00 INFO: expire command begin 1.23: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=1 --retention-archive-type=diff --retention-diff=2 --retention-full=2 --stanza=demo",
+ "P00 DETAIL: archive retention on backup 20170903-212930F, archiveId = 9.5-1, start = 000000020000000000000009, stop = 000000020000000000000009",
+ "P00 DETAIL: archive retention on backup 20170903-212937F, archiveId = 9.5-1, start = 00000002000000000000000A, stop = 00000002000000000000000A",
+ "P00 DETAIL: archive retention on backup 20170903-212937F_20170903-212956D, archiveId = 9.5-1, start = 00000002000000000000000D, stop = 00000002000000000000000D",
+ "P00 DETAIL: archive retention on backup 20170903-212937F_20170903-213002D, archiveId = 9.5-1, start = 000000020000000000000010",
+ "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000B, stop = 00000002000000000000000C",
+ "P00 DETAIL: remove archive: archiveId = 9.5-1, start = 00000002000000000000000E, stop = 00000002000000000000000F",
"P00 INFO: expire command end: completed successfully"
]
}
@@ -1294,8 +1294,8 @@
"type" : "exe",
"value" : {
"output" : [
- " [filtered 878 lines of output]",
- "P01 DETAIL: restore file /var/lib/pgsql/9.5/data/base/1/13080 - exists and is zero size (0B, 100%)",
+ " [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)",
"P00 INFO: restore command end: completed successfully"
@@ -1405,7 +1405,7 @@
"type" : "exe",
"value" : {
"output" : [
- "7.1M\t/var/lib/pgsql/9.5/data/base/16384"
+ "6.9M\t/var/lib/pgsql/9.5/data/base/16384"
]
}
},
@@ -1542,8 +1542,8 @@
" oid | datname ",
"-------+-----------",
" 1 | template1",
- " 13242 | template0",
- " 13247 | postgres",
+ " 12373 | template0",
+ " 12378 | postgres",
" 16385 | test2",
"(4 rows)"
]
@@ -1599,7 +1599,7 @@
"type" : "exe",
"value" : {
"output" : [
- "2017-08-09 15:36:36.342953+00"
+ "2017-09-03 21:30:36.307009+00"
]
}
},
@@ -1645,7 +1645,7 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2017-08-09 15:36:36.342953+00\" restore"
+ " --type=time \"--target=2017-09-03 21:30:36.307009+00\" restore"
],
"host" : "db-master",
"output" : false
@@ -1681,7 +1681,7 @@
"value" : {
"output" : [
"restore_command = '/usr/bin/pgbackrest --stanza=demo archive-get %f \"%p\"'",
- "recovery_target_time = '2017-08-09 15:36:36.342953+00'"
+ "recovery_target_time = '2017-09-03 21:30:36.307009+00'"
]
}
},
@@ -1748,16 +1748,16 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2017-08-09 15:36:31 UTC",
- "LOG: starting point-in-time recovery to 2017-08-09 15:36:36.342953+00",
+ "LOG: database system was interrupted; last known up at 2017-09-03 21:30:31 UTC",
+ "LOG: starting point-in-time recovery to 2017-09-03 21:30:36.307009+00",
"LOG: restored log file \"00000004.history\" from archive",
- "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 1763, time 2017-08-09 15:36:36.459081+00",
- "LOG: redo done at 0/1801CF08",
- "LOG: last completed transaction was at log time 2017-08-09 15:36:36.222106+00",
+ "LOG: restored log file \"000000040000000000000015\" from archive",
+ "LOG: redo starts at 0/15000028",
+ "LOG: consistent recovery state reached at 0/150000F8",
+ "LOG: restored log file \"000000040000000000000016\" from archive",
+ "LOG: recovery stopping before commit of transaction 627, time 2017-09-03 21:30:36.406358+00",
+ "LOG: redo done at 0/1601CF08",
+ "LOG: last completed transaction was at log time 2017-09-03 21:30:36.198516+00",
"LOG: selected new timeline ID: 5",
"LOG: restored log file \"00000004.history\" from archive",
" [filtered 3 lines of output]"
@@ -1803,7 +1803,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-153540F_20170809-153630D"
+ "20170903-212937F_20170903-213030D"
]
}
},
@@ -1831,7 +1831,7 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2017-08-09 15:36:36.342953+00\" restore"
+ " --type=time \"--target=2017-09-03 21:30:36.307009+00\" restore"
],
"host" : "db-master",
"output" : false
@@ -1911,14 +1911,14 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2017-08-09 15:36:45 UTC",
- "LOG: starting point-in-time recovery to 2017-08-09 15:36:36.342953+00",
+ "LOG: database system was interrupted; last known up at 2017-09-03 21:30:45 UTC",
+ "LOG: starting point-in-time recovery to 2017-09-03 21:30:36.307009+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/190000F8",
- "LOG: redo done at 0/190000F8",
- "LOG: restored log file \"000000050000000000000019\" from archive",
+ "LOG: restored log file \"000000050000000000000017\" from archive",
+ "LOG: redo starts at 0/17000028",
+ "LOG: consistent recovery state reached at 0/170000F8",
+ "LOG: redo done at 0/170000F8",
+ "LOG: restored log file \"000000050000000000000017\" from archive",
" [filtered 7 lines of output]"
]
}
@@ -1932,7 +1932,7 @@
"filter" : false,
"filter-context" : 2,
"list" : [
- "20170809-153540F_20170809-153630D"
+ "20170903-212937F_20170903-213030D"
]
},
"host" : "db-master",
@@ -1945,47 +1945,47 @@
" status: ok",
"",
" db (current)",
- " wal archive min/max (9.5-1): 00000002000000000000000A / 000000050000000000000019",
+ " wal archive min/max (9.5-1): 000000020000000000000009 / 000000050000000000000017",
"",
- " full backup: 20170809-153532F",
- " timestamp start/stop: 2017-08-09 15:35:32 / 2017-08-09 15:35:38",
- " wal start/stop: 00000002000000000000000A / 00000002000000000000000A",
- " database size: 21.5MB, backup size: 21.5MB",
- " repository size: 2.4MB, repository backup size: 2.4MB",
+ " full backup: 20170903-212930F",
+ " timestamp start/stop: 2017-09-03 21:29:30 / 2017-09-03 21:29:36",
+ " wal start/stop: 000000020000000000000009 / 000000020000000000000009",
+ " database size: 20.7MB, backup size: 20.7MB",
+ " repository size: 2.3MB, repository backup size: 2.3MB",
"",
- " full backup: 20170809-153540F",
- " timestamp start/stop: 2017-08-09 15:35:40 / 2017-08-09 15:35:45",
- " wal start/stop: 00000002000000000000000B / 00000002000000000000000B",
- " database size: 21.5MB, backup size: 21.5MB",
- " repository size: 2.4MB, repository backup size: 2.4MB",
+ " full backup: 20170903-212937F",
+ " timestamp start/stop: 2017-09-03 21:29:37 / 2017-09-03 21:29:43",
+ " wal start/stop: 00000002000000000000000A / 00000002000000000000000A",
+ " database size: 20.7MB, backup size: 20.7MB",
+ " repository size: 2.3MB, repository backup size: 2.3MB",
"",
- " diff backup: 20170809-153540F_20170809-153602D",
- " timestamp start/stop: 2017-08-09 15:36:02 / 2017-08-09 15:36:06",
- " wal start/stop: 000000020000000000000012 / 000000020000000000000012",
- " database size: 21.5MB, backup size: 9.9KB",
- " repository size: 2.4MB, repository backup size: 965B",
- " backup reference list: 20170809-153540F",
+ " diff backup: 20170903-212937F_20170903-213002D",
+ " timestamp start/stop: 2017-09-03 21:30:02 / 2017-09-03 21:30:06",
+ " wal start/stop: 000000020000000000000010 / 000000020000000000000010",
+ " database size: 20.7MB, backup size: 9.8KB",
+ " repository size: 2.3MB, repository backup size: 945B",
+ " backup reference list: 20170903-212937F",
"",
- " incr backup: 20170809-153540F_20170809-153615I",
- " timestamp start/stop: 2017-08-09 15:36:15 / 2017-08-09 15:36:20",
- " wal start/stop: 000000030000000000000014 / 000000030000000000000014",
- " database size: 35.4MB, backup size: 14.1MB",
- " repository size: 4.1MB, repository backup size: 1.6MB",
- " backup reference list: 20170809-153540F",
+ " incr backup: 20170903-212937F_20170903-213015I",
+ " timestamp start/stop: 2017-09-03 21:30:15 / 2017-09-03 21:30:20",
+ " wal start/stop: 000000030000000000000012 / 000000030000000000000012",
+ " database size: 34.1MB, backup size: 13.5MB",
+ " repository size: 3.9MB, repository backup size: 1.5MB",
+ " backup reference list: 20170903-212937F",
"",
- " diff backup: 20170809-153540F_20170809-153630D",
- " timestamp start/stop: 2017-08-09 15:36:30 / 2017-08-09 15:36:34",
- " wal start/stop: 000000040000000000000017 / 000000040000000000000017",
- " database size: 28.6MB, backup size: 7.2MB",
- " repository size: 3.3MB, repository backup size: 867.6KB",
- " backup reference list: 20170809-153540F",
+ " diff backup: 20170903-212937F_20170903-213030D",
+ " timestamp start/stop: 2017-09-03 21:30:30 / 2017-09-03 21:30:34",
+ " wal start/stop: 000000040000000000000015 / 000000040000000000000015",
+ " database size: 27.5MB, backup size: 7MB",
+ " repository size: 3.1MB, repository backup size: 838.6KB",
+ " backup reference list: 20170903-212937F",
"",
- " incr backup: 20170809-153540F_20170809-153644I",
- " timestamp start/stop: 2017-08-09 15:36:44 / 2017-08-09 15:36:47",
- " wal start/stop: 000000050000000000000019 / 000000050000000000000019",
- " database size: 28.4MB, backup size: 2.1MB",
- " repository size: 3.2MB, repository backup size: 223.6KB",
- " backup reference list: 20170809-153540F, 20170809-153540F_20170809-153630D"
+ " incr backup: 20170903-212937F_20170903-213044I",
+ " timestamp start/stop: 2017-09-03 21:30:44 / 2017-09-03 21:30:47",
+ " wal start/stop: 000000050000000000000017 / 000000050000000000000017",
+ " database size: 27.4MB, backup size: 2.1MB",
+ " repository size: 3.1MB, repository backup size: 223.7KB",
+ " backup reference list: 20170903-212937F, 20170903-212937F_20170903-213030D"
]
}
},
@@ -2003,8 +2003,8 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2017-08-09 15:36:36.342953+00\" \\",
- " --set=20170809-153540F_20170809-153630D restore"
+ " --type=time \"--target=2017-09-03 21:30:36.307009+00\" \\",
+ " --set=20170903-212937F_20170903-213030D restore"
],
"host" : "db-master",
"output" : false
@@ -2084,16 +2084,16 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2017-08-09 15:36:31 UTC",
- "LOG: starting point-in-time recovery to 2017-08-09 15:36:36.342953+00",
+ "LOG: database system was interrupted; last known up at 2017-09-03 21:30:31 UTC",
+ "LOG: starting point-in-time recovery to 2017-09-03 21:30:36.307009+00",
"LOG: restored log file \"00000004.history\" from archive",
- "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 1763, time 2017-08-09 15:36:36.459081+00",
- "LOG: redo done at 0/1801CF08",
- "LOG: last completed transaction was at log time 2017-08-09 15:36:36.222106+00",
+ "LOG: restored log file \"000000040000000000000015\" from archive",
+ "LOG: redo starts at 0/15000028",
+ "LOG: consistent recovery state reached at 0/150000F8",
+ "LOG: restored log file \"000000040000000000000016\" from archive",
+ "LOG: recovery stopping before commit of transaction 627, time 2017-09-03 21:30:36.406358+00",
+ "LOG: redo done at 0/1601CF08",
+ "LOG: last completed transaction was at log time 2017-09-03 21:30:36.198516+00",
"LOG: restored log file \"00000005.history\" from archive",
"LOG: restored log file \"00000006.history\" from archive",
" [filtered 5 lines of output]"
@@ -2197,7 +2197,7 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: stanza-create command begin 1.22: --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --no-log-timestamp --repo-path=/ --repo-s3-bucket=demo-bucket --repo-s3-endpoint=s3.amazonaws.com --repo-s3-region=us-east-1 --no-repo-s3-verify-ssl --repo-type=s3 --stanza=demo",
+ "P00 INFO: stanza-create command begin 1.23: --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --no-log-timestamp --repo-path=/ --repo-s3-bucket=demo-bucket --repo-s3-endpoint=s3.amazonaws.com --repo-s3-region=us-east-1 --no-repo-s3-verify-ssl --repo-type=s3 --stanza=demo",
"P00 INFO: stanza-create command end: completed successfully"
]
}
@@ -2221,16 +2221,16 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --process-max=4 --repo-path=/ --repo-s3-bucket=demo-bucket --repo-s3-endpoint=s3.amazonaws.com --repo-s3-region=us-east-1 --no-repo-s3-verify-ssl --repo-type=s3 --retention-diff=2 --retention-full=2 --stanza=demo --start-fast --stop-auto",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --process-max=4 --repo-path=/ --repo-s3-bucket=demo-bucket --repo-s3-endpoint=s3.amazonaws.com --repo-s3-region=us-east-1 --no-repo-s3-verify-ssl --repo-type=s3 --retention-diff=2 --retention-full=2 --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 2017-08-09 15:37:07\": backup begins after the requested immediate checkpoint completes",
- "P00 INFO: backup start archive = 000000070000000000000019, lsn = 0/19000028",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:31:06\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup start archive = 000000070000000000000017, lsn = 0/17000028",
" [filtered 1122 lines of output]",
- "P02 INFO: backup file /var/lib/pgsql/9.5/data/base/1/13085 (0B, 100%)",
- "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/13080 (0B, 100%)",
- "P00 INFO: full backup size = 28.5MB",
+ "P01 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12216 (0B, 100%)",
+ "P03 INFO: backup file /var/lib/pgsql/9.5/data/base/1/12211 (0B, 100%)",
+ "P00 INFO: full backup size = 27.4MB",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
- "P00 INFO: backup stop archive = 000000070000000000000019, lsn = 0/19000130",
+ "P00 INFO: backup stop archive = 000000070000000000000017, lsn = 0/17000130",
" [filtered 4 lines of output]"
]
}
@@ -2562,8 +2562,8 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check command begin 1.22: --backup-host=backup --backup-user=backrest --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --stanza=demo",
- "P00 INFO: WAL segment 000000080000000000000024 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/000000080000000000000024-cd7dbb56cdf21decda241e995dda984cbb6b524a.gz'",
+ "P00 INFO: check command begin 1.23: --backup-host=backup --backup-user=backrest --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --stanza=demo",
+ "P00 INFO: WAL segment 000000080000000000000022 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.5-1/0000000800000000/000000080000000000000022-d1b35a5dc89483916d8d0c0672054b5ac6ff479e.gz'",
"P00 INFO: check command end: completed successfully"
]
}
@@ -2587,24 +2587,19 @@
"value" : {
"output" : [
"-------------------PROCESS START-------------------",
- "P00 INFO: archive-push command begin 1.22: --archive-async --backup-host=backup --backup-user=backrest --db-path=/var/lib/pgsql/9.5/data --log-level-file=detail --log-level-stderr=off --no-log-timestamp --process-max=2 --spool-path=/var/spool/pgbackrest --stanza=demo",
- "P00 INFO: push 2 WAL file(s) to archive: 00000008000000000000001F...000000080000000000000020",
+ "P00 INFO: archive-push command begin 1.23: --archive-async --backup-host=backup --backup-user=backrest --db1-path=/var/lib/pgsql/9.5/data --log-level-file=detail --log-level-stderr=off --no-log-timestamp --process-max=2 --spool-path=/var/spool/pgbackrest --stanza=demo",
+ "P00 INFO: push 3 WAL file(s) to archive: 00000008000000000000001D...00000008000000000000001F",
+ "P01 DETAIL: pushed WAL file 00000008000000000000001D to archive",
+ "P02 DETAIL: pushed WAL file 00000008000000000000001E to archive",
"P01 DETAIL: pushed WAL file 00000008000000000000001F to archive",
- "P02 DETAIL: pushed WAL file 000000080000000000000020 to archive",
"P00 INFO: archive-push command end: completed successfully",
"",
"-------------------PROCESS START-------------------",
- "P00 INFO: archive-push command begin 1.22: --archive-async --backup-host=backup --backup-user=backrest --db-path=/var/lib/pgsql/9.5/data --log-level-file=detail --log-level-stderr=off --no-log-timestamp --process-max=2 --spool-path=/var/spool/pgbackrest --stanza=demo",
- "P00 INFO: push 3 WAL file(s) to archive: 000000080000000000000021...000000080000000000000023",
+ "P00 INFO: archive-push command begin 1.23: --archive-async --backup-host=backup --backup-user=backrest --db1-path=/var/lib/pgsql/9.5/data --log-level-file=detail --log-level-stderr=off --no-log-timestamp --process-max=2 --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",
- "P01 DETAIL: pushed WAL file 000000080000000000000021 to archive",
- "P02 DETAIL: pushed WAL file 000000080000000000000023 to archive",
- "P00 INFO: archive-push command end: completed successfully",
- "",
- "-------------------PROCESS START-------------------",
- "P00 INFO: archive-push command begin 1.22: --archive-async --backup-host=backup --backup-user=backrest --db-path=/var/lib/pgsql/9.5/data --log-level-file=detail --log-level-stderr=off --no-log-timestamp --process-max=2 --spool-path=/var/spool/pgbackrest --stanza=demo",
- "P00 INFO: push 1 WAL file(s) to archive: 000000080000000000000024",
- "P01 DETAIL: pushed WAL file 000000080000000000000024 to archive",
"P00 INFO: archive-push command end: completed successfully"
]
}
@@ -2707,19 +2702,19 @@
" status: ok",
"",
" db (current)",
- " wal archive min/max (9.5-1): 000000080000000000000025 / 000000080000000000000026",
+ " wal archive min/max (9.5-1): 000000080000000000000023 / 000000080000000000000024",
"",
- " full backup: 20170809-153811F",
- " timestamp start/stop: 2017-08-09 15:38:11 / 2017-08-09 15:38:20",
- " wal start/stop: 000000080000000000000025 / 000000080000000000000025",
- " database size: 28.5MB, backup size: 28.5MB",
- " repository size: 3.2MB, repository backup size: 3.2MB",
+ " full backup: 20170903-213211F",
+ " timestamp start/stop: 2017-09-03 21:32:11 / 2017-09-03 21:32:19",
+ " wal start/stop: 000000080000000000000023 / 000000080000000000000023",
+ " database size: 27.4MB, backup size: 27.4MB",
+ " repository size: 3.1MB, repository backup size: 3.1MB",
"",
- " full backup: 20170809-153822F",
- " timestamp start/stop: 2017-08-09 15:38:22 / 2017-08-09 15:38:30",
- " wal start/stop: 000000080000000000000026 / 000000080000000000000026",
- " database size: 28.5MB, backup size: 28.5MB",
- " repository size: 3.2MB, repository backup size: 3.2MB"
+ " full backup: 20170903-213222F",
+ " timestamp start/stop: 2017-09-03 21:32:22 / 2017-09-03 21:32:28",
+ " wal start/stop: 000000080000000000000024 / 000000080000000000000024",
+ " database size: 27.4MB, backup size: 27.4MB",
+ " repository size: 3.1MB, repository backup size: 3.1MB"
]
}
},
@@ -2966,12 +2961,12 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2017-08-09 15:38:23 UTC",
+ "LOG: database system was interrupted; last known up at 2017-09-03 21:32:22 UTC",
"LOG: entering standby mode",
"LOG: restored log file \"00000008.history\" from archive",
- "LOG: restored log file \"000000080000000000000026\" from archive",
- "LOG: redo starts at 0/26000028",
- "LOG: consistent recovery state reached at 0/260000F8",
+ "LOG: restored log file \"000000080000000000000024\" from archive",
+ "LOG: redo starts at 0/24000028",
+ "LOG: consistent recovery state reached at 0/240000F8",
"LOG: database system is ready to accept read only connections"
]
}
@@ -3042,9 +3037,9 @@
"type" : "exe",
"value" : {
"output" : [
- " pg_switch_xlog | now ",
- "----------------+-------------------------------",
- " 0/2701CDA8 | 2017-08-09 15:38:47.926967+00",
+ " pg_switch_xlog | now ",
+ "----------------+------------------------------",
+ " 0/2501CDA8 | 2017-09-03 21:32:54.09532+00",
"(1 row)"
]
}
@@ -3070,7 +3065,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2017-08-09 15:38:50.787844+00",
+ " Important Data | 2017-09-03 21:32:56.986849+00",
"(1 row)"
]
}
@@ -3093,7 +3088,7 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check command begin 1.22: --backup-host=backup --db-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo",
+ "P00 INFO: check command begin 1.23: --backup-host=backup --db1-path=/var/lib/pgsql/9.5/data --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo",
"P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully",
"P00 INFO: check command end: completed successfully"
]
@@ -3288,8 +3283,8 @@
"output" : [
" [filtered 6 lines of output]",
"LOG: database system is ready to accept read only connections",
- "LOG: restored log file \"000000080000000000000027\" from archive",
- "LOG: started streaming WAL from primary at 0/28000000 on timeline 8"
+ "LOG: restored log file \"000000080000000000000025\" from archive",
+ "LOG: started streaming WAL from primary at 0/26000000 on timeline 8"
]
}
},
@@ -3318,7 +3313,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2017-08-09 15:39:00.947792+00",
+ " Important Data | 2017-09-03 21:33:06.907979+00",
"(1 row)"
]
}
@@ -3344,7 +3339,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2017-08-09 15:39:01.112933+00",
+ " Important Data | 2017-09-03 21:33:07.057257+00",
"(1 row)"
]
}
@@ -3411,20 +3406,19 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:39:01\": backup begins after the requested immediate checkpoint completes",
- "P00 INFO: backup start archive = 000000080000000000000029, lsn = 0/29000028",
- "P00 INFO: wait for replay on the standby to reach 0/29000028",
- "P00 INFO: replay on the standby reached 0/290000D0",
- "P01 INFO: backup file db-master:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum e6cf318ecbc9690ac60e94690fa962b95942dca6",
- "P01 INFO: backup file db-master:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (4.3KB, 0%) checksum 4724a89a22178b859ef8c7bdf2ae234a5676944e",
- "P01 INFO: backup file db-master:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 0%) checksum dbda288edbce6486fab7ca9f9db0864316754bee",
- "P02 INFO: backup file db-standby:/var/lib/pgsql/9.5/data/base/13247/2608 (432KB, 20%) checksum 108e1d595e69df5fb3cd8bc7e51fcce32c2d5c3b",
- "P04 INFO: backup file db-standby:/var/lib/pgsql/9.5/data/base/13247/1249 (360KB, 37%) checksum 5f9eb70276046d0442d2ad913e5ca248711b4d20",
- "P03 INFO: backup file db-standby:/var/lib/pgsql/9.5/data/base/13247/2674 (360KB, 53%) checksum 2f508858ca09b0e8d4646e10d1ca29903e510b5e",
- "P01 INFO: backup file db-master:/var/lib/pgsql/9.5/data/backup_label (238B, 53%) checksum 1edd6359b7421aeb4f0ba8ea32eb766c654b5475",
- "P02 INFO: backup file db-standby:/var/lib/pgsql/9.5/data/base/13247/2673 (320KB, 68%) checksum a8ee9dee2fec92a0a5b29abcabdcb214df6313de",
- "P03 INFO: backup file db-standby:/var/lib/pgsql/9.5/data/base/13247/1259 (104KB, 73%) checksum c7cd64602929ee446cce5947626e67fd90993f64",
- " [filtered 33 lines of output]"
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:33:07\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup start archive = 000000080000000000000027, lsn = 0/27000028",
+ "P00 INFO: wait for replay on the standby to reach 0/27000028",
+ "P00 INFO: replay on the standby reached 0/270000D0",
+ "P01 INFO: backup file db-master:/var/lib/pgsql/9.5/data/global/pg_control (8KB, 0%) checksum cae6dcb82397e2aef079c7b55d79f1b993a3426d",
+ "P01 INFO: backup file db-master:/var/lib/pgsql/9.5/data/pg_log/postgresql.log (4.3KB, 0%) checksum 829fe4b9ee7a14762eb593bc8b13999c6847c917",
+ "P03 INFO: backup file db-standby:/var/lib/pgsql/9.5/data/base/12378/2674 (360KB, 17%) checksum 307c758b88aefab6a9ce078aaa4595572785b8ab",
+ "P01 INFO: backup file db-master:/var/lib/pgsql/9.5/data/pg_hba.conf (4.1KB, 17%) checksum dbda288edbce6486fab7ca9f9db0864316754bee",
+ "P02 INFO: backup file db-standby:/var/lib/pgsql/9.5/data/base/12378/2608 (432KB, 37%) checksum c502d75d66d405d78f3263e4526558ec5bf9d9c6",
+ "P01 INFO: backup file db-master:/var/lib/pgsql/9.5/data/backup_label (238B, 37%) checksum 19717911701f61c02469f54aaf35bab7e3ce7f3a",
+ "P02 INFO: backup file db-standby:/var/lib/pgsql/9.5/data/base/12378/2658 (112KB, 42%) checksum 594c3456d99405c5f88f7bc7885c9cb1d640856d",
+ "P03 INFO: backup file db-standby:/var/lib/pgsql/9.5/data/base/12378/2673 (320KB, 57%) checksum bf38f3496cb234793741c9750027ade909699b36",
+ " [filtered 34 lines of output]"
]
}
},
@@ -3686,8 +3680,8 @@
"type" : "exe",
"value" : {
"output" : [
- "2017-08-09 15:39:22.281 P00 INFO: stanza-upgrade command begin 1.22: --no-backup-standby --db-host=db-master --db-path=/var/lib/pgsql/9.6/data --db-user=postgres --db2-host=db-standby --db2-path=/var/lib/pgsql/9.6/data --db2-user=postgres --log-level-console=info --no-online --repo-path=/var/lib/pgbackrest --stanza=demo",
- "2017-08-09 15:39:23.036 P00 INFO: stanza-upgrade command end: completed successfully"
+ "P00 INFO: stanza-upgrade command begin 1.23: --no-backup-standby --db1-host=db-master --db1-path=/var/lib/pgsql/9.6/data --db1-user=postgres --db2-host=db-standby --db2-path=/var/lib/pgsql/9.6/data --db2-user=postgres --log-level-console=info --no-log-timestamp --no-online --repo-path=/var/lib/pgbackrest --stanza=demo",
+ "P00 INFO: stanza-upgrade command end: completed successfully"
]
}
},
@@ -3717,7 +3711,7 @@
"type" : "exe",
"value" : {
"output" : [
- "postgresql-9.6 (pid 4311) is running..."
+ "postgresql-9.6 (pid 4415) is running..."
]
}
},
@@ -3974,7 +3968,7 @@
{
"key" : {
"cmd" : [
- "sudo cp -r /root/pgbackrest-release-1.22/lib/pgBackRest \\",
+ "sudo cp -r /root/pgbackrest-release-1.23/lib/pgBackRest \\",
" /usr/share/perl5"
],
"host" : "db-master",
@@ -4005,7 +3999,7 @@
{
"key" : {
"cmd" : [
- "sudo cp /root/pgbackrest-release-1.22/bin/pgbackrest /usr/bin/pgbackrest"
+ "sudo cp /root/pgbackrest-release-1.23/bin/pgbackrest /usr/bin/pgbackrest"
],
"host" : "db-master",
"output" : false
@@ -4083,7 +4077,7 @@
"type" : "exe",
"value" : {
"output" : [
- "pgBackRest 1.22 - General help",
+ "pgBackRest 1.23 - General help",
"",
"Usage:",
" pgbackrest [options] [command]",
@@ -4344,7 +4338,7 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: stanza-create command begin 1.22: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --no-log-timestamp --repo-path=/var/lib/pgbackrest --stanza=demo",
+ "P00 INFO: stanza-create command begin 1.23: --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --no-log-timestamp --repo-path=/var/lib/pgbackrest --stanza=demo",
"P00 INFO: stanza-create command end: completed successfully"
]
}
@@ -4367,8 +4361,8 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check command begin 1.22: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-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-47565dd662f716e200efeccee67faf25db6a8a24.gz'",
+ "P00 INFO: check command begin 1.23: --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-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-7d20ff5ccb2c12584f1710a9a546f5afcc8e8ac5.gz'",
"P00 INFO: check command end: completed successfully"
]
}
@@ -4392,9 +4386,9 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --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 2017-08-09 15:40:20\": backup begins after the next regular checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:34:27\": backup begins after the next regular checkpoint completes",
"P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028",
" [filtered 757 lines of output]",
"P01 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11895 (0B, 100%)",
@@ -4417,7 +4411,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-154020F"
+ "20170903-213427F"
]
}
},
@@ -4441,8 +4435,8 @@
"value" : {
"output" : [
" [filtered 4 lines of output]",
- "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum ac45515060e2d7dae1f05449b88f068555ac56db",
- "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 100%) checksum 7e8f8068f067d591109ebf5a77724d9a26ff34fa",
+ "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 9724470ec0b9e4f126a303d4845bf11d05eb6404",
+ "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 100%) checksum fb318e319e75661bf1d7954cf7a7eec88b9a16b4",
"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/30000F0",
@@ -4474,18 +4468,18 @@
" db (current)",
" wal archive min/max (9.4-1): 000000010000000000000002 / 000000010000000000000003",
"",
- " full backup: 20170809-154020F",
- " timestamp start/stop: 2017-08-09 15:40:20 / 2017-08-09 15:40:25",
+ " full backup: 20170903-213427F",
+ " timestamp start/stop: 2017-09-03 21:34:27 / 2017-09-03 21:34:32",
" wal start/stop: 000000010000000000000002 / 000000010000000000000002",
" database size: 19.3MB, backup size: 19.3MB",
" repository size: 2.2MB, repository backup size: 2.2MB",
"",
- " diff backup: 20170809-154020F_20170809-154026D",
- " timestamp start/stop: 2017-08-09 15:40:26 / 2017-08-09 15:40:29",
+ " diff backup: 20170903-213427F_20170903-213433D",
+ " timestamp start/stop: 2017-09-03 21:34:33 / 2017-09-03 21:34:36",
" wal start/stop: 000000010000000000000003 / 000000010000000000000003",
" database size: 19.3MB, backup size: 8.2KB",
- " repository size: 2.2MB, repository backup size: 346B",
- " backup reference list: 20170809-154020F"
+ " repository size: 2.2MB, repository backup size: 344B",
+ " backup reference list: 20170903-213427F"
]
}
},
@@ -4604,11 +4598,11 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --type=incr",
- "P00 INFO: last backup label = 20170809-154020F_20170809-154026D, version = 1.22",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:40:40\": backup begins after the next regular checkpoint completes",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --type=incr",
+ "P00 INFO: last backup label = 20170903-213427F_20170903-213433D, version = 1.23",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:34:47\": 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/base/12139/pg_internal.init (115.2KB, 72%) checksum e405e7be8f849bbc3b05f8638582bc41743cd94d",
+ "P01 INFO: backup file /var/lib/postgresql/9.4/demo/base/12139/pg_internal.init (115.2KB, 72%) checksum 0a8999bdda6c8b69a9eb2d34aac1c5e26eda47ea",
" [filtered 13 lines of output]"
]
}
@@ -4657,11 +4651,11 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --type=incr",
- "P00 INFO: last backup label = 20170809-154020F_20170809-154040I, version = 1.22",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:40:44\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --type=incr",
+ "P00 INFO: last backup label = 20170903-213427F_20170903-213447I, version = 1.23",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:34:51\": 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 c12d0a764482306b76eddbcdf4d76b29011b4a2d",
+ "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 09f403fce1c542666a9ef8982b4fb7fdc09ad877",
" [filtered 8 lines of output]"
]
}
@@ -4697,9 +4691,9 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:40:48\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:34:55\": 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/20170809-154020F_20170809-154048I': Permission denied",
+ "P00 ERROR: [047]: unable to create path '/var/lib/pgbackrest/backup/demo/20170903-213427F_20170903-213455I': Permission denied",
"P00 INFO: backup command end: aborted with exception [047]"
]
}
@@ -4734,12 +4728,12 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --type=incr",
- "P00 INFO: last backup label = 20170809-154020F_20170809-154044I, version = 1.22",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:40:50\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --type=incr",
+ "P00 INFO: last backup label = 20170903-213427F_20170903-213451I, version = 1.23",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:34:57\": 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 2017-08-09 15:40:50', 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 2017-09-03 21:34:57', true) as lsn"
]
}
},
@@ -4788,13 +4782,13 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr",
- "P00 INFO: last backup label = 20170809-154020F_20170809-154044I, version = 1.22",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-full=2 --stanza=demo --start-fast --stop-auto --type=incr",
+ "P00 INFO: last backup label = 20170903-213427F_20170903-213451I, version = 1.23",
"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 2017-08-09 15:40:52\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:34:58\": 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 b6adbc4a870d37e36812f562f9e9a11445285145",
+ "P01 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 97%) checksum 8d583e9f1010cbb549b2326985b1de0092caea99",
" [filtered 8 lines of output]"
]
}
@@ -4835,7 +4829,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "archive retention on backup 20170809-154020F|remove archive"
+ "archive retention on backup 20170903-213427F|remove archive"
]
},
"host" : "db-master",
@@ -4846,8 +4840,8 @@
"output" : [
" [filtered 766 lines of output]",
"P00 INFO: backup command end: completed successfully",
- "P00 INFO: expire command begin 1.22: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
- "P00 DETAIL: archive retention on backup 20170809-154020F, archiveId = 9.4-1, start = 000000010000000000000002",
+ "P00 INFO: expire command begin 1.23: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
+ "P00 DETAIL: archive retention on backup 20170903-213427F, archiveId = 9.4-1, start = 000000010000000000000002",
"P00 DETAIL: no archive to remove, archiveId = 9.4-1",
"P00 INFO: expire command end: completed successfully"
]
@@ -4864,7 +4858,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-154057F"
+ "20170903-213504F"
]
}
},
@@ -4878,7 +4872,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "expire full backup set\\: 20170809-154020F|archive retention on backup 20170809-154057F|remove archive"
+ "expire full backup set\\: 20170903-213427F|archive retention on backup 20170903-213504F|remove archive"
]
},
"host" : "db-master",
@@ -4889,10 +4883,10 @@
"output" : [
" [filtered 766 lines of output]",
"P00 INFO: backup command end: completed successfully",
- "P00 INFO: expire command begin 1.22: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
- "P00 INFO: expire full backup set: 20170809-154020F, 20170809-154020F_20170809-154026D, 20170809-154020F_20170809-154040I, 20170809-154020F_20170809-154044I, 20170809-154020F_20170809-154052I",
- "P00 INFO: remove expired backup 20170809-154020F_20170809-154052I",
- "P00 INFO: remove expired backup 20170809-154020F_20170809-154044I",
+ "P00 INFO: expire command begin 1.23: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
+ "P00 INFO: expire full backup set: 20170903-213427F, 20170903-213427F_20170903-213433D, 20170903-213427F_20170903-213447I, 20170903-213427F_20170903-213451I, 20170903-213427F_20170903-213458I",
+ "P00 INFO: remove expired backup 20170903-213427F_20170903-213458I",
+ "P00 INFO: remove expired backup 20170903-213427F_20170903-213451I",
" [filtered 3 lines of output]"
]
}
@@ -4945,7 +4939,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-154103F_20170809-154111D"
+ "20170903-213510F_20170903-213517D"
]
}
},
@@ -4969,7 +4963,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "expire diff backup set: 20170809-154103F_20170809-154111D"
+ "expire diff backup set: 20170903-213510F_20170903-213517D"
]
},
"host" : "db-master",
@@ -4980,10 +4974,10 @@
"output" : [
" [filtered 10 lines of output]",
"P00 INFO: backup command end: completed successfully",
- "P00 INFO: expire command begin 1.22: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=1 --retention-full=2 --stanza=demo",
- "P00 INFO: expire diff backup set: 20170809-154103F_20170809-154111D, 20170809-154103F_20170809-154115I",
- "P00 INFO: remove expired backup 20170809-154103F_20170809-154115I",
- "P00 INFO: remove expired backup 20170809-154103F_20170809-154111D"
+ "P00 INFO: expire command begin 1.23: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=1 --retention-full=2 --stanza=demo",
+ "P00 INFO: expire diff backup set: 20170903-213510F_20170903-213517D, 20170903-213510F_20170903-213521I",
+ "P00 INFO: remove expired backup 20170903-213510F_20170903-213521I",
+ "P00 INFO: remove expired backup 20170903-213510F_20170903-213517D"
]
}
},
@@ -5025,7 +5019,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-154103F_20170809-154119D"
+ "20170903-213510F_20170903-213525D"
]
}
},
@@ -5063,9 +5057,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 = 20170809-154103F_20170809-154124D",
+ "P00 INFO: new backup label = 20170903-213510F_20170903-213530D",
"P00 INFO: backup command end: completed successfully",
- "P00 INFO: expire command begin 1.22: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=2 --retention-full=2 --stanza=demo"
+ "P00 INFO: expire command begin 1.23: --log-level-console=info --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=2 --retention-full=2 --stanza=demo"
]
}
},
@@ -5080,7 +5074,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-154103F_20170809-154124D"
+ "20170903-213510F_20170903-213530D"
]
}
},
@@ -5094,7 +5088,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "archive retention on backup 20170809-154103F_20170809-154119D|remove archive"
+ "archive retention on backup 20170903-213510F_20170903-213525D|remove archive"
]
},
"host" : "db-master",
@@ -5103,11 +5097,11 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: expire command begin 1.22: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=1 --retention-archive-type=diff --retention-diff=2 --retention-full=2 --stanza=demo",
- "P00 DETAIL: archive retention on backup 20170809-154057F, archiveId = 9.4-1, start = 00000002000000000000000A, stop = 00000002000000000000000A",
- "P00 DETAIL: archive retention on backup 20170809-154103F, archiveId = 9.4-1, start = 00000002000000000000000B, stop = 00000002000000000000000B",
- "P00 DETAIL: archive retention on backup 20170809-154103F_20170809-154119D, archiveId = 9.4-1, start = 00000002000000000000000E, stop = 00000002000000000000000E",
- "P00 DETAIL: archive retention on backup 20170809-154103F_20170809-154124D, archiveId = 9.4-1, start = 000000020000000000000012",
+ "P00 INFO: expire command begin 1.23: --log-level-console=detail --log-level-stderr=off --no-log-timestamp --repo-path=/var/lib/pgbackrest --retention-archive=1 --retention-archive-type=diff --retention-diff=2 --retention-full=2 --stanza=demo",
+ "P00 DETAIL: archive retention on backup 20170903-213504F, archiveId = 9.4-1, start = 00000002000000000000000A, stop = 00000002000000000000000A",
+ "P00 DETAIL: archive retention on backup 20170903-213510F, archiveId = 9.4-1, start = 00000002000000000000000B, stop = 00000002000000000000000B",
+ "P00 DETAIL: archive retention on backup 20170903-213510F_20170903-213525D, archiveId = 9.4-1, start = 00000002000000000000000E, stop = 00000002000000000000000E",
+ "P00 DETAIL: archive retention on backup 20170903-213510F_20170903-213530D, 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"
@@ -5454,7 +5448,7 @@
"type" : "exe",
"value" : {
"output" : [
- "2017-08-09 15:41:57.747828+00"
+ "2017-09-03 21:36:03.665349+00"
]
}
},
@@ -5500,7 +5494,7 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2017-08-09 15:41:57.747828+00\" restore"
+ " --type=time \"--target=2017-09-03 21:36:03.665349+00\" restore"
],
"host" : "db-master",
"output" : false
@@ -5536,7 +5530,7 @@
"value" : {
"output" : [
"restore_command = '/usr/bin/pgbackrest --stanza=demo archive-get %f \"%p\"'",
- "recovery_target_time = '2017-08-09 15:41:57.747828+00'"
+ "recovery_target_time = '2017-09-03 21:36:03.665349+00'"
]
}
},
@@ -5603,16 +5597,16 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2017-08-09 15:41:52 UTC",
- "LOG: starting point-in-time recovery to 2017-08-09 15:41:57.747828+00",
+ "LOG: database system was interrupted; last known up at 2017-09-03 21:35:58 UTC",
+ "LOG: starting point-in-time recovery to 2017-09-03 21:36:03.665349+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 2017-08-09 15:41:57.90768+00",
+ "LOG: recovery stopping before commit of transaction 686, time 2017-09-03 21:36:03.82082+00",
"LOG: redo done at 0/180157F0",
- "LOG: last completed transaction was at log time 2017-08-09 15:41:57.624246+00",
+ "LOG: last completed transaction was at log time 2017-09-03 21:36:03.503484+00",
"LOG: selected new timeline ID: 5",
"LOG: restored log file \"00000004.history\" from archive",
" [filtered 4 lines of output]"
@@ -5658,7 +5652,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20170809-154103F_20170809-154151D"
+ "20170903-213510F_20170903-213557D"
]
}
},
@@ -5686,7 +5680,7 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2017-08-09 15:41:57.747828+00\" restore"
+ " --type=time \"--target=2017-09-03 21:36:03.665349+00\" restore"
],
"host" : "db-master",
"output" : false
@@ -5766,15 +5760,15 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2017-08-09 15:42:06 UTC",
- "LOG: starting point-in-time recovery to 2017-08-09 15:41:57.747828+00",
+ "LOG: database system was interrupted; last known up at 2017-09-03 21:36:12 UTC",
+ "LOG: starting point-in-time recovery to 2017-09-03 21:36:03.665349+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: redo done at 0/190000F0",
"LOG: incomplete startup packet",
- " [filtered 8 lines of output]"
+ " [filtered 10 lines of output]"
]
}
},
@@ -5787,7 +5781,7 @@
"filter" : false,
"filter-context" : 2,
"list" : [
- "20170809-154103F_20170809-154151D"
+ "20170903-213510F_20170903-213557D"
]
},
"host" : "db-master",
@@ -5802,45 +5796,45 @@
" db (current)",
" wal archive min/max (9.4-1): 00000002000000000000000A / 000000050000000000000019",
"",
- " full backup: 20170809-154057F",
- " timestamp start/stop: 2017-08-09 15:40:57 / 2017-08-09 15:41:02",
+ " full backup: 20170903-213504F",
+ " timestamp start/stop: 2017-09-03 21:35:04 / 2017-09-03 21:35:09",
" wal start/stop: 00000002000000000000000A / 00000002000000000000000A",
" database size: 19.3MB, backup size: 19.3MB",
" repository size: 2.2MB, repository backup size: 2.2MB",
"",
- " full backup: 20170809-154103F",
- " timestamp start/stop: 2017-08-09 15:41:03 / 2017-08-09 15:41:09",
+ " full backup: 20170903-213510F",
+ " timestamp start/stop: 2017-09-03 21:35:10 / 2017-09-03 21:35:15",
" wal start/stop: 00000002000000000000000B / 00000002000000000000000B",
" database size: 19.3MB, backup size: 19.3MB",
" repository size: 2.2MB, repository backup size: 2.2MB",
"",
- " diff backup: 20170809-154103F_20170809-154124D",
- " timestamp start/stop: 2017-08-09 15:41:24 / 2017-08-09 15:41:27",
+ " diff backup: 20170903-213510F_20170903-213530D",
+ " timestamp start/stop: 2017-09-03 21:35:30 / 2017-09-03 21:35:33",
" wal start/stop: 000000020000000000000012 / 000000020000000000000012",
" database size: 19.3MB, backup size: 8.2KB",
- " repository size: 2.2MB, repository backup size: 349B",
- " backup reference list: 20170809-154103F",
+ " repository size: 2.2MB, repository backup size: 347B",
+ " backup reference list: 20170903-213510F",
"",
- " incr backup: 20170809-154103F_20170809-154136I",
- " timestamp start/stop: 2017-08-09 15:41:36 / 2017-08-09 15:41:41",
+ " incr backup: 20170903-213510F_20170903-213542I",
+ " timestamp start/stop: 2017-09-03 21:35:42 / 2017-09-03 21:35:47",
" wal start/stop: 000000030000000000000014 / 000000030000000000000014",
" database size: 31.8MB, backup size: 12.7MB",
" repository size: 3.7MB, repository backup size: 1.5MB",
- " backup reference list: 20170809-154103F",
+ " backup reference list: 20170903-213510F",
"",
- " diff backup: 20170809-154103F_20170809-154151D",
- " timestamp start/stop: 2017-08-09 15:41:51 / 2017-08-09 15:41:56",
+ " diff backup: 20170903-213510F_20170903-213557D",
+ " timestamp start/stop: 2017-09-03 21:35:57 / 2017-09-03 21:36:02",
" wal start/stop: 000000040000000000000017 / 000000040000000000000017",
" database size: 25.7MB, backup size: 6.5MB",
- " repository size: 3MB, repository backup size: 793.6KB",
- " backup reference list: 20170809-154103F",
+ " repository size: 3MB, repository backup size: 793.5KB",
+ " backup reference list: 20170903-213510F",
"",
- " incr backup: 20170809-154103F_20170809-154205I",
- " timestamp start/stop: 2017-08-09 15:42:05 / 2017-08-09 15:42:08",
+ " incr backup: 20170903-213510F_20170903-213611I",
+ " timestamp start/stop: 2017-09-03 21:36:11 / 2017-09-03 21:36:14",
" wal start/stop: 000000050000000000000019 / 000000050000000000000019",
" database size: 25.6MB, backup size: 1.9MB",
" repository size: 3MB, repository backup size: 215.3KB",
- " backup reference list: 20170809-154103F, 20170809-154103F_20170809-154151D"
+ " backup reference list: 20170903-213510F, 20170903-213510F_20170903-213557D"
]
}
},
@@ -5858,8 +5852,8 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2017-08-09 15:41:57.747828+00\" \\",
- " --set=20170809-154103F_20170809-154151D restore"
+ " --type=time \"--target=2017-09-03 21:36:03.665349+00\" \\",
+ " --set=20170903-213510F_20170903-213557D restore"
],
"host" : "db-master",
"output" : false
@@ -5939,16 +5933,16 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2017-08-09 15:41:52 UTC",
- "LOG: starting point-in-time recovery to 2017-08-09 15:41:57.747828+00",
+ "LOG: database system was interrupted; last known up at 2017-09-03 21:35:58 UTC",
+ "LOG: starting point-in-time recovery to 2017-09-03 21:36:03.665349+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 2017-08-09 15:41:57.90768+00",
+ "LOG: recovery stopping before commit of transaction 686, time 2017-09-03 21:36:03.82082+00",
"LOG: redo done at 0/180157F0",
- "LOG: last completed transaction was at log time 2017-08-09 15:41:57.624246+00",
+ "LOG: last completed transaction was at log time 2017-09-03 21:36:03.503484+00",
"LOG: restored log file \"00000005.history\" from archive",
"LOG: restored log file \"00000006.history\" from archive",
" [filtered 7 lines of output]"
@@ -6052,7 +6046,7 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: stanza-create command begin 1.22: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --no-log-timestamp --repo-path=/ --repo-s3-bucket=demo-bucket --repo-s3-endpoint=s3.amazonaws.com --repo-s3-region=us-east-1 --no-repo-s3-verify-ssl --repo-type=s3 --stanza=demo",
+ "P00 INFO: stanza-create command begin 1.23: --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --no-log-timestamp --repo-path=/ --repo-s3-bucket=demo-bucket --repo-s3-endpoint=s3.amazonaws.com --repo-s3-region=us-east-1 --no-repo-s3-verify-ssl --repo-type=s3 --stanza=demo",
"P00 INFO: stanza-create command end: completed successfully"
]
}
@@ -6076,13 +6070,13 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: backup command begin 1.22: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --process-max=4 --repo-path=/ --repo-s3-bucket=demo-bucket --repo-s3-endpoint=s3.amazonaws.com --repo-s3-region=us-east-1 --no-repo-s3-verify-ssl --repo-type=s3 --retention-diff=2 --retention-full=2 --stanza=demo --start-fast --stop-auto",
+ "P00 INFO: backup command begin 1.23: --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --process-max=4 --repo-path=/ --repo-s3-bucket=demo-bucket --repo-s3-endpoint=s3.amazonaws.com --repo-s3-region=us-east-1 --no-repo-s3-verify-ssl --repo-type=s3 --retention-diff=2 --retention-full=2 --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 2017-08-09 15:42:27\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:36:33\": backup begins after the requested immediate checkpoint completes",
"P00 INFO: backup start archive = 000000070000000000000019, lsn = 0/19000028",
" [filtered 998 lines of output]",
- "P02 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11907 (0B, 100%)",
- "P01 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/11885 (0B, 100%)",
+ "P01 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11895 (0B, 100%)",
"P00 INFO: full backup size = 25.6MB",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
"P00 INFO: backup stop archive = 000000070000000000000019, lsn = 0/19000128",
@@ -6417,8 +6411,8 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check command begin 1.22: --backup-host=backup --backup-user=backrest --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --stanza=demo",
- "P00 INFO: WAL segment 000000080000000000000025 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/000000080000000000000025-9484aca4c0967fa29dcc8c700654fe080082ce5d.gz'",
+ "P00 INFO: check command begin 1.23: --backup-host=backup --backup-user=backrest --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-file=detail --log-level-stderr=off --no-log-timestamp --stanza=demo",
+ "P00 INFO: WAL segment 000000080000000000000025 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/000000080000000000000025-74a59fd208deeed3edbfeeb264fc881062809565.gz'",
"P00 INFO: check command end: completed successfully"
]
}
@@ -6442,19 +6436,19 @@
"value" : {
"output" : [
"-------------------PROCESS START-------------------",
- "P00 INFO: archive-push command begin 1.22: --archive-async --backup-host=backup --backup-user=backrest --db-path=/var/lib/postgresql/9.4/demo --log-level-file=detail --log-level-stderr=off --no-log-timestamp --process-max=2 --spool-path=/var/spool/pgbackrest --stanza=demo",
+ "P00 INFO: archive-push command begin 1.23: --archive-async --backup-host=backup --backup-user=backrest --db1-path=/var/lib/postgresql/9.4/demo --log-level-file=detail --log-level-stderr=off --no-log-timestamp --process-max=2 --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",
+ "P02 DETAIL: pushed WAL file 000000080000000000000021 to archive",
+ "P01 DETAIL: pushed WAL file 000000080000000000000022 to archive",
"P00 INFO: archive-push command end: completed successfully",
"",
"-------------------PROCESS START-------------------",
- "P00 INFO: archive-push command begin 1.22: --archive-async --backup-host=backup --backup-user=backrest --db-path=/var/lib/postgresql/9.4/demo --log-level-file=detail --log-level-stderr=off --no-log-timestamp --process-max=2 --spool-path=/var/spool/pgbackrest --stanza=demo",
+ "P00 INFO: archive-push command begin 1.23: --archive-async --backup-host=backup --backup-user=backrest --db1-path=/var/lib/postgresql/9.4/demo --log-level-file=detail --log-level-stderr=off --no-log-timestamp --process-max=2 --spool-path=/var/spool/pgbackrest --stanza=demo",
"P00 INFO: push 3 WAL file(s) to archive: 000000080000000000000023...000000080000000000000025",
- "P01 DETAIL: pushed WAL file 000000080000000000000023 to archive",
"P02 DETAIL: pushed WAL file 000000080000000000000024 to archive",
- "P01 DETAIL: pushed WAL file 000000080000000000000025 to archive",
+ "P01 DETAIL: pushed WAL file 000000080000000000000023 to archive",
+ "P02 DETAIL: pushed WAL file 000000080000000000000025 to archive",
"P00 INFO: archive-push command end: completed successfully"
]
}
@@ -6559,14 +6553,14 @@
" db (current)",
" wal archive min/max (9.4-1): 000000080000000000000026 / 000000080000000000000027",
"",
- " full backup: 20170809-154329F",
- " timestamp start/stop: 2017-08-09 15:43:29 / 2017-08-09 15:43:36",
+ " full backup: 20170903-213736F",
+ " timestamp start/stop: 2017-09-03 21:37:36 / 2017-09-03 21:37:43",
" wal start/stop: 000000080000000000000026 / 000000080000000000000026",
" database size: 25.6MB, backup size: 25.6MB",
" repository size: 3MB, repository backup size: 3MB",
"",
- " full backup: 20170809-154338F",
- " timestamp start/stop: 2017-08-09 15:43:38 / 2017-08-09 15:43:44",
+ " full backup: 20170903-213745F",
+ " timestamp start/stop: 2017-09-03 21:37:45 / 2017-09-03 21:37:52",
" wal start/stop: 000000080000000000000027 / 000000080000000000000027",
" database size: 25.6MB, backup size: 25.6MB",
" repository size: 3MB, repository backup size: 3MB"
@@ -6841,7 +6835,7 @@
"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 2017-08-09 15:43:39 UTC",
+ "LOG: database system was interrupted; last known up at 2017-09-03 21:37:46 UTC",
"LOG: entering standby mode",
"LOG: restored log file \"00000008.history\" from archive",
"LOG: incomplete startup packet",
@@ -6920,7 +6914,7 @@
"output" : [
" pg_switch_xlog | now ",
"----------------+------------------------------",
- " 0/280199E0 | 2017-08-09 15:44:04.79833+00",
+ " 0/280199E0 | 2017-09-03 21:38:13.15324+00",
"(1 row)"
]
}
@@ -6946,7 +6940,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2017-08-09 15:44:08.119237+00",
+ " Important Data | 2017-09-03 21:38:15.648454+00",
"(1 row)"
]
}
@@ -6969,7 +6963,7 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check command begin 1.22: --backup-host=backup --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo",
+ "P00 INFO: check command begin 1.23: --backup-host=backup --db1-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --no-log-timestamp --stanza=demo",
"P00 INFO: switch xlog cannot be performed on the standby, all other checks passed successfully",
"P00 INFO: check command end: completed successfully"
]
@@ -7177,7 +7171,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2017-08-09 15:44:17.275471+00",
+ " Important Data | 2017-09-03 21:38:24.805031+00",
"(1 row)"
]
}
@@ -7203,7 +7197,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2017-08-09 15:44:17.443021+00",
+ " Important Data | 2017-09-03 21:38:24.970255+00",
"(1 row)"
]
}
@@ -7270,22 +7264,16 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-08-09 15:44:18\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2017-09-03 21:38:25\": backup begins after the requested immediate checkpoint completes",
"P00 INFO: backup start archive = 00000008000000000000002A, lsn = 0/2A0000C8",
"P00 INFO: wait for replay on the standby to reach 0/2A0000C8",
"P00 INFO: replay on the standby reached 0/2A000168",
- "P04 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/12009 (240KB, 12%) checksum 5195cf2f508f878c8652884b61726099f9204363",
- "P03 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/11889 (344KB, 30%) checksum 74a36286869d638ebdcb83222500f13bb8dcd84c",
- " [filtered 21 lines of output]",
- "P03 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/32773 (8KB, 78%) checksum 2f6559f53a3c3bfcc69b700f5f992d11d63dfe13",
- "P04 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/32768 (8KB, 78%) checksum c1630af818ce43d5076e6755d866446da647cd14",
- "P01 INFO: backup file db-master:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 79%) checksum e9c154f58702fe7af23c854d03a1ac81477e9ea7",
- "P03 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/11900_vm (8KB, 79%) checksum cc206f9dc843810c852c88cf82c838297463f562",
- "P04 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/32778 (0B, 79%)",
- "P01 INFO: backup file db-master:/var/lib/postgresql/9.4/demo/backup_label (238B, 79%) checksum acd72e89bc662be61ba4281658c242477187a000",
- "P02 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/12007 (392KB, 100%) checksum f564034faaa6f8df65c98672d2840bc5d17d091a",
- "P03 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/32771 (0B, 100%)",
- " [filtered 8 lines of output]"
+ "P01 INFO: backup file db-master:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 0%) checksum 7107d8a1d83406f0970d2c48f884c82496116baf",
+ "P03 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/11889 (344KB, 18%) checksum 62ff1462a0320fa26bcb6e8dcaff1aab87d737ce",
+ "P01 INFO: backup file db-master:/var/lib/postgresql/9.4/demo/backup_label (238B, 18%) checksum 44e02c6b4e47bb7612a0ea44a88c6956ed9ce496",
+ "P02 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/12007 (392KB, 38%) checksum ab24248d1d73b7a40f1bffb35237bed8b74bc615",
+ "P03 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/12010 (232KB, 50%) checksum c020c4f632a4ddaaf1d9d8d235881242b73fd3b7",
+ " [filtered 34 lines of output]"
]
}
},
@@ -7580,8 +7568,8 @@
"type" : "exe",
"value" : {
"output" : [
- "2017-08-09 15:45:38.164 P00 INFO: stanza-upgrade command begin 1.22: --no-backup-standby --db-host=db-master --db-path=/var/lib/postgresql/9.5/demo --db-user=postgres --db2-host=db-standby --db2-path=/var/lib/postgresql/9.5/demo --db2-user=postgres --log-level-console=info --no-online --repo-path=/var/lib/pgbackrest --stanza=demo",
- "2017-08-09 15:45:38.871 P00 INFO: stanza-upgrade command end: completed successfully"
+ "P00 INFO: stanza-upgrade command begin 1.23: --no-backup-standby --db1-host=db-master --db1-path=/var/lib/postgresql/9.5/demo --db1-user=postgres --db2-host=db-standby --db2-path=/var/lib/postgresql/9.5/demo --db2-user=postgres --log-level-console=info --no-log-timestamp --no-online --repo-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 9333f612a..8cbcd5907 100644
--- a/doc/xml/release.xml
+++ b/doc/xml/release.xml
@@ -10,7 +10,7 @@
</intro>
<release-list>
- <release date="XXXX-XX-XX" version="1.23dev" title="UNDER DEVELOPMENT">
+ <release date="2017-09-03" version="1.23" title="Multiple Standbys and PostgreSQL 10 Support">
<release-core-list>
<release-bug-list>
<release-item>
@@ -54,6 +54,10 @@
</release-feature-list>
<release-refactor-list>
+ <release-item>
+ <p>Configuration rules are now pulled from the C library when present.</p>
+ </release-item>
+
<release-item>
<p>Increase HTTP timeout for S3.</p>
</release-item>
@@ -76,10 +80,6 @@
</release-bug-list>
<release-refactor-list>
- <release-item>
- <p>Configuration rules are now pulled from the C library when present.</p>
- </release-item>
-
<release-item>
<p>Move contributor list to the end of <file>release.xml</file> for convenience.</p>
</release-item>
@@ -89,7 +89,7 @@
<release-test-list>
<release-bug-list>
<release-item>
- <p>Changed log test order to ignore unimportant log errors while shutting down <postgres/>.</p>
+ <p>Change log test order to ignore unimportant log errors while shutting down <postgres/>.</p>
</release-item>
<release-item>
@@ -99,11 +99,7 @@
<release-refactor-list>
<release-item>
- <p>Updated Docker build in <file>Vagrantfile</file>.</p>
- </release-item>
-
- <release-item>
- <p>Ignore auto-generated C code.</p>
+ <p>Update Docker build in <file>Vagrantfile</file>.</p>
</release-item>
<release-item>
@@ -111,7 +107,7 @@
</release-item>
<release-item>
- <p>Simplified smart logic for C Library and package builds.</p>
+ <p>Simplify smart logic for C Library and package builds.</p>
</release-item>
</release-refactor-list>
</release-test-list>
diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm
index e6206faf3..c1350f83f 100644
--- a/lib/pgBackRest/Version.pm
+++ b/lib/pgBackRest/Version.pm
@@ -35,7 +35,7 @@ use constant BACKREST_BIN => abs_path(
# 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 => '1.23dev';
+use constant BACKREST_VERSION => '1.23';
push @EXPORT, qw(BACKREST_VERSION);
# Format Format Number
[parent: eea2ccc3ab52]