pgbackrest.git / summary / log / commit / refs
commit 1e0ca3056a84abb07214b54ea2945fcdacd65000
Author: David Steele <david@pgmasters.net>
Date: Mon Oct 10 21:35:58 2016 +0000
v1.09: 9.6 Support, Configurability, and Bug Fixes
Bug Fixes:
* Fixed the check command to prevent an error message from being logged if the backup directory does not exist. (Fixed by Cynthia Shang.)
* Fixed error message to properly display the archive command when an invalid archive command is detected. (Reported by Jason O'Donnell.)
* Fixed an issue where the async archiver would not be started if archive-push did not have enough space to queue a new WAL segment. This meant that the queue would never be cleared without manual intervention (such as calling archive-push directly). PostgreSQL now receives errors when there is not enough space to store new WAL segments but the async process will still be started so that space is eventually freed. (Reported by Jens Wilke.)
* Fixed a remote timeout that occurred when a local process generated checksums (during resume or restore) but did not copy files, allowing the remote to go idle. (Reported by Jens Wilke.)
Features:
* Non-exclusive backups will automatically be used on PostgreSQL 9.6.
* Added the cmd-ssh option to allow the ssh client to be specified. (Suggested by Jens Wilke.)
* Added the log-level-stderr option to control whether console log messages are sent to stderr or stdout. By default this is set to warn which represents a change in behavior from previous versions, even though it may be more intuitive. Setting log-level-stderr=off will preserve the old behavior. (Suggested by Sascha Biberhofer.)
* Set application_name to "pgBackRest [command]" for database connections. (Suggested by Jens Wilke.)
* Check that archive_mode is enabled when archive-check option enabled.
Refactoring:
* Clarified error message when unable to acquire pgBackRest advisory lock to make it clear that it is not a PostgreSQL backup lock. (Suggested by Jens Wilke.)
* pgBackRest version number included in command start INFO log output.
* Process ID logged for local process start/stop INFO log output.
README.md | 2 +-
doc/resource/exe.cache | 574 ++++++++++++++++++++++++----------------------
doc/xml/release.xml | 6 +-
lib/pgBackRest/Version.pm | 2 +-
4 files changed, 300 insertions(+), 284 deletions(-)
diff --git a/README.md b/README.md
index c62cbd8ac..436d67969 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.08](https://github.com/pgbackrest/pgbackrest/releases/tag/release/1.08) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
+pgBackRest [v1.09](https://github.com/pgbackrest/pgbackrest/releases/tag/release/1.09) 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 ac934e22b..6f89dbc81 100644
--- a/doc/resource/exe.cache
+++ b/doc/resource/exe.cache
@@ -4,7 +4,7 @@
"user-guide" : [
{
"key" : {
- "image" : "backrest/co6-db-9.4-doc-pre",
+ "image" : "pgbackrest/vagrant/co6-db-9.4-doc-pre",
"mount" : "/backrest:/backrest",
"name" : "db-master",
"os" : "co6",
@@ -90,7 +90,7 @@
{
"key" : {
"cmd" : [
- "sudo cp -r ~/pgbackrest-release-1.08/lib/pgBackRest \\",
+ "sudo cp -r ~/pgbackrest-release-1.09/lib/pgBackRest \\",
" /usr/share/perl5"
],
"host" : "db-master",
@@ -121,7 +121,7 @@
{
"key" : {
"cmd" : [
- "sudo cp ~/pgbackrest-release-1.08/bin/pgbackrest /usr/bin/pgbackrest"
+ "sudo cp ~/pgbackrest-release-1.09/bin/pgbackrest /usr/bin/pgbackrest"
],
"host" : "db-master",
"output" : false
@@ -169,7 +169,7 @@
"type" : "exe",
"value" : {
"output" : [
- "pgBackRest 1.08 - General help",
+ "pgBackRest 1.09 - General help",
"",
"Usage:",
" pgbackrest [options] [command]",
@@ -269,6 +269,11 @@
"db-path" : {
"value" : "/var/lib/pgsql/9.4/data"
}
+ },
+ "global" : {
+ "log-level-stderr" : {
+ "value" : "off"
+ }
}
}
},
@@ -403,10 +408,9 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check start: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo",
+ "P00 INFO: check start 1.09: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo",
"P00 INFO: switch xlog 000000010000000000000001",
- "P00 ERROR: [148]: /var/lib/pgbackrest/backup/demo does not exist",
- "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-d16fcfc06564d78809655451bc6be26e53f0b20f.gz'",
+ "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-5135f45cac289802f73b828f068742ecff19484b.gz'",
"P00 INFO: check stop"
]
}
@@ -432,13 +436,13 @@
"output" : [
"P00 WARN: option retention-full is not set, the repository may run out of space",
" HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum.",
- "P00 INFO: backup start: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo",
+ "P00 INFO: backup start 1.09: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --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 2016-09-14 22:13:59\": backup begins after the next regular checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:03:41\": backup begins after the next regular checkpoint completes",
"P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028",
" [filtered 763 lines of output]",
"P01 INFO: backup file /var/lib/pgsql/9.4/data/base/1/11886 (0B, 99%)",
- "P00 INFO: backup file /var/lib/pgsql/9.4/data/global/pg_control (8KB, 100%) checksum b70a10463c57c6ecacf2fa0bb8dc80ceac6a5da8",
+ "P00 INFO: backup file /var/lib/pgsql/9.4/data/global/pg_control (8KB, 100%) checksum baafb413cae12387934e8d187fbd9b61d69214cb",
"P00 INFO: full backup size = 19.3MB",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
"P00 INFO: backup stop archive = 000000010000000000000002, lsn = 0/20000F0",
@@ -457,7 +461,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221409F"
+ "20161010-210348F"
]
}
},
@@ -480,12 +484,12 @@
"type" : "exe",
"value" : {
"output" : [
- " [filtered 9 lines of output]",
- "P01 INFO: backup file /var/lib/pgsql/9.4/data/backup_label (236B, 11%) checksum 654a358ed7b94162c4955e81856c7bdd89abc162",
- "P00 INFO: backup file /var/lib/pgsql/9.4/data/global/pg_control (8KB, 100%) checksum fc3ff5901abc2010b432d6e8500e3b5043d9a1ca",
- "P00 INFO: diff backup size = 8.9KB",
+ " [filtered 8 lines of output]",
+ "P01 INFO: backup file /var/lib/pgsql/9.4/data/backup_label (236B, 2%) checksum 5a6192518a333ab32711d4b143f8c29e0f3063e4",
+ "P00 INFO: backup file /var/lib/pgsql/9.4/data/global/pg_control (8KB, 100%) checksum 07c77d8533218707d460ab75c1ce5ecf94a49a9d",
+ "P00 INFO: diff backup size = 8.2KB",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
- "P00 INFO: backup stop archive = 000000010000000000000004, lsn = 0/40000F0",
+ "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F0",
" [filtered 4 lines of output]"
]
}
@@ -511,16 +515,16 @@
"stanza: demo",
" status: ok",
"",
- " full backup: 20160914-221409F",
- " start / stop timestamp: 2016-09-14 22:13:59 / 2016-09-14 22:14:09",
+ " full backup: 20161010-210348F",
+ " start / stop timestamp: 2016-10-10 21:03:41 / 2016-10-10 21:03:48",
" database size: 19.3MB, backup size: 19.3MB",
" repository size: 2.2MB, repository backup size: 2.2MB",
"",
- " diff backup: 20160914-221409F_20160914-221413D",
- " start / stop timestamp: 2016-09-14 22:14:09 / 2016-09-14 22:14:13",
- " database size: 19.3MB, backup size: 8.9KB",
- " repository size: 2.2MB, repository backup size: 670B",
- " backup reference list: 20160914-221409F"
+ " diff backup: 20161010-210348F_20161010-210352D",
+ " start / stop timestamp: 2016-10-10 21:03:49 / 2016-10-10 21:03:52",
+ " database size: 19.3MB, backup size: 8.2KB",
+ " repository size: 2.2MB, repository backup size: 343B",
+ " backup reference list: 20161010-210348F"
]
}
},
@@ -659,11 +663,11 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: backup start: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo --type=incr",
- "P00 INFO: last backup label = 20160914-221409F_20160914-221413D, version = 1.08",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:14:29\": backup begins after the next regular checkpoint completes",
+ "P00 INFO: backup start 1.09: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo --type=incr",
+ "P00 INFO: last backup label = 20161010-210348F_20161010-210352D, version = 1.09",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:04:05\": backup begins after the next regular checkpoint completes",
"P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028",
- "P00 INFO: local process 1 start for host db-1",
+ "P01 INFO: local process 1 start for host db-1",
" [filtered 16 lines of output]"
]
}
@@ -712,12 +716,12 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: backup start: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo --start-fast --type=incr",
- "P00 INFO: last backup label = 20160914-221409F_20160914-221432I, version = 1.08",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:14:34\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup start 1.09: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo --start-fast --type=incr",
+ "P00 INFO: last backup label = 20161010-210348F_20161010-210409I, version = 1.09",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:04:11\": backup begins after the requested immediate checkpoint completes",
"P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028",
- "P00 INFO: local process 1 start for host db-1",
- " [filtered 11 lines of output]"
+ "P01 INFO: local process 1 start for host db-1",
+ " [filtered 10 lines of output]"
]
}
},
@@ -752,7 +756,7 @@
"value" : {
"output" : [
" [filtered 4 lines of output]",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:14:38\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:04:15\": backup begins after the requested immediate checkpoint completes",
"P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028",
"P00 ERROR: [122]: unable to create /var/lib/pgbackrest/temp/demo.tmp: Permission denied",
"P00 INFO: backup stop"
@@ -790,11 +794,11 @@
"value" : {
"output" : [
" [filtered 3 lines of output]",
- "P00 INFO: last backup label = 20160914-221409F_20160914-221437I, version = 1.08",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:14:40\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: last backup label = 20161010-210348F_20161010-210414I, version = 1.09",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:04:17\": backup begins after the requested immediate checkpoint completes",
"P00 ERROR: [132]: 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 2016-09-14 22:14:40', 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 2016-10-10 21:04:17', true) as lsn"
]
}
},
@@ -843,13 +847,13 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: backup start: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo --start-fast --stop-auto --type=incr",
- "P00 INFO: last backup label = 20160914-221409F_20160914-221437I, version = 1.08",
- "P00 WARN: the cluster is already in backup mode but no backup process is running. pg_stop_backup() will be called so a new backup can be started.",
+ "P00 INFO: backup start 1.09: --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo --start-fast --stop-auto --type=incr",
+ "P00 INFO: last backup label = 20161010-210348F_20161010-210414I, version = 1.09",
+ "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 2016-09-14 22:14:42\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:04:19\": backup begins after the requested immediate checkpoint completes",
"P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028",
- "P00 INFO: local process 1 start for host db-1",
+ "P01 INFO: local process 1 start for host db-1",
" [filtered 11 lines of output]"
]
}
@@ -890,7 +894,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "archive retention on backup 20160914-221409F|remove archive"
+ "archive retention on backup 20161010-210348F|remove archive"
]
},
"host" : "db-master",
@@ -901,8 +905,8 @@
"output" : [
" [filtered 772 lines of output]",
"P00 INFO: backup stop",
- "P00 INFO: expire start: --log-level-console=detail --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
- "P00 DETAIL: archive retention on backup 20160914-221409F, start = 000000010000000000000002",
+ "P00 INFO: expire start 1.09: --log-level-console=detail --log-level-stderr=off --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
+ "P00 DETAIL: archive retention on backup 20161010-210348F, start = 000000010000000000000002",
"P00 DETAIL: remove archive: start = 000000010000000000000001, stop = 000000010000000000000001",
"P00 INFO: expire stop"
]
@@ -919,7 +923,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221457F"
+ "20161010-210432F"
]
}
},
@@ -933,7 +937,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "expire full backup set\\: 20160914-221409F|archive retention on backup 20160914-221457F|remove archive"
+ "expire full backup set\\: 20161010-210348F|archive retention on backup 20161010-210432F|remove archive"
]
},
"host" : "db-master",
@@ -944,10 +948,10 @@
"output" : [
" [filtered 772 lines of output]",
"P00 INFO: backup stop",
- "P00 INFO: expire start: --log-level-console=info --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
- "P00 INFO: expire full backup set: 20160914-221409F, 20160914-221409F_20160914-221413D, 20160914-221409F_20160914-221432I, 20160914-221409F_20160914-221437I, 20160914-221409F_20160914-221446I",
- "P00 INFO: remove expired backup 20160914-221409F_20160914-221446I",
- "P00 INFO: remove expired backup 20160914-221409F_20160914-221437I",
+ "P00 INFO: expire start 1.09: --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
+ "P00 INFO: expire full backup set: 20161010-210348F, 20161010-210348F_20161010-210352D, 20161010-210348F_20161010-210409I, 20161010-210348F_20161010-210414I, 20161010-210348F_20161010-210424I",
+ "P00 INFO: remove expired backup 20161010-210348F_20161010-210424I",
+ "P00 INFO: remove expired backup 20161010-210348F_20161010-210414I",
" [filtered 3 lines of output]"
]
}
@@ -1000,7 +1004,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221507F_20160914-221512D"
+ "20161010-210439F_20161010-210443D"
]
}
},
@@ -1024,7 +1028,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "expire diff backup set: 20160914-221507F_20160914-221512D"
+ "expire diff backup set: 20161010-210439F_20161010-210443D"
]
},
"host" : "db-master",
@@ -1033,12 +1037,12 @@
"type" : "exe",
"value" : {
"output" : [
- " [filtered 13 lines of output]",
+ " [filtered 12 lines of output]",
"P00 INFO: backup stop",
- "P00 INFO: expire start: --log-level-console=info --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=1 --retention-full=2 --stanza=demo",
- "P00 INFO: expire diff backup set: 20160914-221507F_20160914-221512D, 20160914-221507F_20160914-221518I",
- "P00 INFO: remove expired backup 20160914-221507F_20160914-221518I",
- "P00 INFO: remove expired backup 20160914-221507F_20160914-221512D"
+ "P00 INFO: expire start 1.09: --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=1 --retention-full=2 --stanza=demo",
+ "P00 INFO: expire diff backup set: 20161010-210439F_20161010-210443D, 20161010-210439F_20161010-210448I",
+ "P00 INFO: remove expired backup 20161010-210439F_20161010-210448I",
+ "P00 INFO: remove expired backup 20161010-210439F_20161010-210443D"
]
}
},
@@ -1080,7 +1084,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221507F_20160914-221523D"
+ "20161010-210439F_20161010-210452D"
]
}
},
@@ -1117,10 +1121,10 @@
"output" : [
" [filtered 10 lines of output]",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
- "P00 INFO: backup stop archive = 000000020000000000000014, lsn = 0/14000128",
- "P00 INFO: new backup label = 20160914-221507F_20160914-221528D",
+ "P00 INFO: backup stop archive = 000000020000000000000014, lsn = 0/140000F0",
+ "P00 INFO: new backup label = 20161010-210439F_20161010-210457D",
"P00 INFO: backup stop",
- "P00 INFO: expire start: --log-level-console=info --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=2 --retention-full=2 --stanza=demo"
+ "P00 INFO: expire start 1.09: --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=2 --retention-full=2 --stanza=demo"
]
}
},
@@ -1135,7 +1139,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221507F_20160914-221528D"
+ "20161010-210439F_20161010-210457D"
]
}
},
@@ -1149,7 +1153,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "archive retention on backup 20160914-221507F_20160914-221523D|remove archive"
+ "archive retention on backup 20161010-210439F_20161010-210452D|remove archive"
]
},
"host" : "db-master",
@@ -1158,11 +1162,11 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: expire start: --log-level-console=detail --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 20160914-221457F, start = 00000002000000000000000A, stop = 00000002000000000000000A",
- "P00 DETAIL: archive retention on backup 20160914-221507F, start = 00000002000000000000000C, stop = 00000002000000000000000C",
- "P00 DETAIL: archive retention on backup 20160914-221507F_20160914-221523D, start = 000000020000000000000010, stop = 000000020000000000000010",
- "P00 DETAIL: archive retention on backup 20160914-221507F_20160914-221528D, start = 000000020000000000000014",
+ "P00 INFO: expire start 1.09: --log-level-console=detail --log-level-stderr=off --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 20161010-210432F, start = 00000002000000000000000A, stop = 00000002000000000000000A",
+ "P00 DETAIL: archive retention on backup 20161010-210439F, start = 00000002000000000000000C, stop = 00000002000000000000000C",
+ "P00 DETAIL: archive retention on backup 20161010-210439F_20161010-210452D, start = 000000020000000000000010, stop = 000000020000000000000010",
+ "P00 DETAIL: archive retention on backup 20161010-210439F_20161010-210457D, start = 000000020000000000000014",
"P00 DETAIL: remove archive: start = 00000002000000000000000B, stop = 00000002000000000000000B",
"P00 DETAIL: remove archive: start = 00000002000000000000000D, stop = 00000002000000000000000F",
"P00 DETAIL: remove archive: start = 000000020000000000000011, stop = 000000020000000000000013",
@@ -1199,11 +1203,11 @@
"type" : "exe",
"value" : {
"output" : [
- " [filtered 786 lines of output]",
+ " [filtered 787 lines of output]",
"P01 DETAIL: restore file /var/lib/pgsql/9.4/data/base/1/11886 - exists and is zero size (0B, 99%)",
"P00 INFO: wrote /var/lib/pgsql/9.4/data/recovery.conf",
"P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)",
- "P00 INFO: restore file /var/lib/pgsql/9.4/data/global/pg_control (8KB, 100%) checksum 76995912e5fd1616f45b65ecb7e4edcf40b82a49",
+ "P00 INFO: restore file /var/lib/pgsql/9.4/data/global/pg_control (8KB, 100%) checksum 80c64c6b1ff9cb09493b3725c56a903b9987eff1",
"P00 INFO: restore stop"
]
}
@@ -1505,7 +1509,7 @@
"type" : "exe",
"value" : {
"output" : [
- "2016-09-14 22:16:02.80936+00"
+ "2016-10-10 21:05:26.16957+00"
]
}
},
@@ -1551,7 +1555,7 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2016-09-14 22:16:02.80936+00\" restore"
+ " --type=time \"--target=2016-10-10 21:05:26.16957+00\" restore"
],
"host" : "db-master",
"output" : false
@@ -1587,7 +1591,7 @@
"value" : {
"output" : [
"restore_command = '/usr/bin/pgbackrest --stanza=demo archive-get %f \"%p\"'",
- "recovery_target_time = '2016-09-14 22:16:02.80936+00'"
+ "recovery_target_time = '2016-10-10 21:05:26.16957+00'"
]
}
},
@@ -1654,20 +1658,20 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2016-09-14 22:15:57 UTC",
+ "LOG: database system was interrupted; last known up at 2016-10-10 21:05:22 UTC",
"LOG: creating missing WAL directory \"pg_xlog/archive_status\"",
- "LOG: starting point-in-time recovery to 2016-09-14 22:16:02.80936+00",
+ "LOG: starting point-in-time recovery to 2016-10-10 21:05:26.16957+00",
"LOG: restored log file \"00000004.history\" from archive",
"LOG: restored log file \"000000040000000000000019\" from archive",
"LOG: redo starts at 0/19000028",
"LOG: consistent recovery state reached at 0/190000F0",
"LOG: restored log file \"00000004000000000000001A\" from archive",
- "LOG: recovery stopping before commit of transaction 686, time 2016-09-14 22:16:02.995886+00",
+ "LOG: recovery stopping before commit of transaction 686, time 2016-10-10 21:05:26.284948+00",
"LOG: redo done at 0/1A0157F0",
- "LOG: last completed transaction was at log time 2016-09-14 22:16:02.579762+00",
+ "LOG: last completed transaction was at log time 2016-10-10 21:05:26.056159+00",
"LOG: selected new timeline ID: 5",
"LOG: restored log file \"00000004.history\" from archive",
- " [filtered 4 lines of output]"
+ " [filtered 3 lines of output]"
]
}
},
@@ -1710,7 +1714,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221507F_20160914-221601D"
+ "20161010-210439F_20161010-210525D"
]
}
},
@@ -1738,7 +1742,7 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2016-09-14 22:16:02.80936+00\" restore"
+ " --type=time \"--target=2016-10-10 21:05:26.16957+00\" restore"
],
"host" : "db-master",
"output" : false
@@ -1818,16 +1822,16 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2016-09-14 22:16:13 UTC",
+ "LOG: database system was interrupted; last known up at 2016-10-10 21:05:34 UTC",
"LOG: creating missing WAL directory \"pg_xlog/archive_status\"",
- "LOG: starting point-in-time recovery to 2016-09-14 22:16:02.80936+00",
+ "LOG: starting point-in-time recovery to 2016-10-10 21:05:26.16957+00",
"LOG: restored log file \"00000005.history\" from archive",
"LOG: restored log file \"00000005000000000000001B\" from archive",
"LOG: redo starts at 0/1B000028",
"LOG: consistent recovery state reached at 0/1B0000F0",
"LOG: redo done at 0/1B0000F0",
"LOG: restored log file \"00000005000000000000001B\" from archive",
- " [filtered 8 lines of output]"
+ " [filtered 7 lines of output]"
]
}
},
@@ -1840,7 +1844,7 @@
"filter" : false,
"filter-context" : 2,
"list" : [
- "20160914-221507F_20160914-221601D"
+ "20161010-210439F_20161010-210525D"
]
},
"host" : "db-master",
@@ -1852,39 +1856,39 @@
"stanza: demo",
" status: ok",
"",
- " full backup: 20160914-221457F",
- " start / stop timestamp: 2016-09-14 22:14:48 / 2016-09-14 22:14:57",
+ " full backup: 20161010-210432F",
+ " start / stop timestamp: 2016-10-10 21:04:25 / 2016-10-10 21:04:32",
" database size: 19.3MB, backup size: 19.3MB",
" repository size: 2.2MB, repository backup size: 2.2MB",
"",
- " full backup: 20160914-221507F",
- " start / stop timestamp: 2016-09-14 22:14:58 / 2016-09-14 22:15:07",
+ " full backup: 20161010-210439F",
+ " start / stop timestamp: 2016-10-10 21:04:33 / 2016-10-10 21:04:39",
" database size: 19.3MB, backup size: 19.3MB",
" repository size: 2.2MB, repository backup size: 2.2MB",
"",
- " diff backup: 20160914-221507F_20160914-221528D",
- " start / stop timestamp: 2016-09-14 22:15:25 / 2016-09-14 22:15:28",
- " database size: 19.3MB, backup size: 11.7KB",
- " repository size: 2.2MB, repository backup size: 1.1KB",
- " backup reference list: 20160914-221507F",
+ " diff backup: 20161010-210439F_20161010-210457D",
+ " start / stop timestamp: 2016-10-10 21:04:54 / 2016-10-10 21:04:57",
+ " database size: 19.3MB, backup size: 10.1KB",
+ " repository size: 2.2MB, repository backup size: 1KB",
+ " backup reference list: 20161010-210439F",
"",
- " incr backup: 20160914-221507F_20160914-221545I",
- " start / stop timestamp: 2016-09-14 22:15:38 / 2016-09-14 22:15:45",
+ " incr backup: 20161010-210439F_20161010-210511I",
+ " start / stop timestamp: 2016-10-10 21:05:06 / 2016-10-10 21:05:11",
" database size: 31.9MB, backup size: 12.7MB",
" repository size: 3.7MB, repository backup size: 1.5MB",
- " backup reference list: 20160914-221507F",
+ " backup reference list: 20161010-210439F",
"",
- " diff backup: 20160914-221507F_20160914-221601D",
- " start / stop timestamp: 2016-09-14 22:15:56 / 2016-09-14 22:16:01",
+ " diff backup: 20161010-210439F_20161010-210525D",
+ " start / stop timestamp: 2016-10-10 21:05:21 / 2016-10-10 21:05:25",
" database size: 25.7MB, backup size: 6.5MB",
" repository size: 3MB, repository backup size: 790.1KB",
- " backup reference list: 20160914-221507F",
+ " backup reference list: 20161010-210439F",
"",
- " incr backup: 20160914-221507F_20160914-221617I",
- " start / stop timestamp: 2016-09-14 22:16:12 / 2016-09-14 22:16:17",
+ " incr backup: 20161010-210439F_20161010-210537I",
+ " start / stop timestamp: 2016-10-10 21:05:33 / 2016-10-10 21:05:37",
" database size: 25.6MB, backup size: 1.9MB",
- " repository size: 3MB, repository backup size: 214.8KB",
- " backup reference list: 20160914-221507F, 20160914-221507F_20160914-221601D"
+ " repository size: 3MB, repository backup size: 214.7KB",
+ " backup reference list: 20161010-210439F, 20161010-210439F_20161010-210525D"
]
}
},
@@ -1902,8 +1906,8 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2016-09-14 22:16:02.80936+00\" \\",
- " --set=20160914-221507F_20160914-221601D restore"
+ " --type=time \"--target=2016-10-10 21:05:26.16957+00\" \\",
+ " --set=20161010-210439F_20161010-210525D restore"
],
"host" : "db-master",
"output" : false
@@ -1983,17 +1987,17 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2016-09-14 22:15:57 UTC",
+ "LOG: database system was interrupted; last known up at 2016-10-10 21:05:22 UTC",
"LOG: creating missing WAL directory \"pg_xlog/archive_status\"",
- "LOG: starting point-in-time recovery to 2016-09-14 22:16:02.80936+00",
+ "LOG: starting point-in-time recovery to 2016-10-10 21:05:26.16957+00",
"LOG: restored log file \"00000004.history\" from archive",
"LOG: restored log file \"000000040000000000000019\" from archive",
"LOG: redo starts at 0/19000028",
"LOG: consistent recovery state reached at 0/190000F0",
"LOG: restored log file \"00000004000000000000001A\" from archive",
- "LOG: recovery stopping before commit of transaction 686, time 2016-09-14 22:16:02.995886+00",
+ "LOG: recovery stopping before commit of transaction 686, time 2016-10-10 21:05:26.284948+00",
"LOG: redo done at 0/1A0157F0",
- "LOG: last completed transaction was at log time 2016-09-14 22:16:02.579762+00",
+ "LOG: last completed transaction was at log time 2016-10-10 21:05:26.056159+00",
"LOG: restored log file \"00000005.history\" from archive",
"LOG: restored log file \"00000006.history\" from archive",
" [filtered 5 lines of output]"
@@ -2002,7 +2006,7 @@
},
{
"key" : {
- "image" : "backrest/co6-backup-doc-pre",
+ "image" : "pgbackrest/vagrant/co6-backup-doc-pre",
"mount" : "/backrest:/backrest",
"name" : "backup",
"os" : "co6",
@@ -2050,6 +2054,9 @@
}
},
"global" : {
+ "log-level-stderr" : {
+ "value" : "off"
+ },
"start-fast" : {
"value" : "y"
}
@@ -2087,6 +2094,9 @@
"backup-user" : {
"value" : "backrest"
},
+ "log-level-stderr" : {
+ "value" : "off"
+ },
"repo-path" : {
"value" : "/var/lib/pgbackrest"
}
@@ -2135,12 +2145,7 @@
"host" : "backup",
"output" : true
},
- "type" : "exe",
- "value" : {
- "output" : [
- "P00 ERROR: [148]: /var/lib/pgbackrest/backup/demo does not exist"
- ]
- }
+ "type" : "exe"
},
{
"key" : {
@@ -2277,9 +2282,9 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check start: --backup-host=backup --backup-user=backrest --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo",
+ "P00 INFO: check start 1.09: --backup-host=backup --backup-user=backrest --db-path=/var/lib/pgsql/9.4/data --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo",
"P00 INFO: switch xlog 00000008000000000000001F",
- "P00 INFO: WAL segment 00000008000000000000001F successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/00000008000000000000001F-b239c502ad31c4defa67ae603a162b1d1e61ad00.gz'",
+ "P00 INFO: WAL segment 00000008000000000000001F successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/00000008000000000000001F-772efae48fb9f4058122a96b11a55f2b72d84ca7.gz'",
"P00 INFO: check stop"
]
}
@@ -2391,7 +2396,7 @@
},
{
"key" : {
- "image" : "backrest/co6-db-9.4-doc-pre",
+ "image" : "pgbackrest/vagrant/co6-db-9.4-doc-pre",
"mount" : "/backrest:/backrest",
"name" : "db-standby",
"os" : "co6",
@@ -2419,6 +2424,9 @@
"backup-host" : {
"value" : "backup"
},
+ "log-level-stderr" : {
+ "value" : "off"
+ },
"repo-path" : {
"value" : "/var/lib/pgbackrest"
}
@@ -2529,7 +2537,7 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2016-09-14 22:17:07 UTC",
+ "LOG: database system was interrupted; last known up at 2016-10-10 21:06:18 UTC",
"LOG: creating missing WAL directory \"pg_xlog/archive_status\"",
"LOG: entering standby mode",
"LOG: restored log file \"00000008.history\" from archive",
@@ -2609,7 +2617,7 @@
"output" : [
" pg_switch_xlog | now ",
"----------------+-------------------------------",
- " 0/20017990 | 2016-09-14 22:17:56.033458+00",
+ " 0/20017958 | 2016-10-10 21:06:42.336931+00",
"(1 row)"
]
}
@@ -2635,7 +2643,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2016-09-14 22:18:00.680846+00",
+ " Important Data | 2016-10-10 21:06:46.421901+00",
"(1 row)"
]
}
@@ -2860,7 +2868,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2016-09-14 22:18:12.907213+00",
+ " Important Data | 2016-10-10 21:06:56.571751+00",
"(1 row)"
]
}
@@ -2886,7 +2894,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2016-09-14 22:18:13.350198+00",
+ " Important Data | 2016-10-10 21:06:56.788607+00",
"(1 row)"
]
}
@@ -2951,22 +2959,22 @@
"value" : {
"output" : [
" [filtered 4 lines of output]",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:18:14\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:06:57\": backup begins after the requested immediate checkpoint completes",
"P00 INFO: backup start archive = 000000080000000000000022, lsn = 0/22000028",
"P00 INFO: wait for replay on the standby to reach 0/22000028",
"P00 INFO: replay on the standby reached 0/220000C8",
- "P00 INFO: local process 1 start for host db-1",
- "P00 INFO: local process 2 start for host db-2",
+ "P01 INFO: local process 1 start for host db-1",
+ "P02 INFO: local process 2 start for host db-2",
"P01 INFO: backup file db-master:/var/lib/pgsql/9.4/data/pg_hba.conf (4.1KB, 0%) checksum 58731e81ad21675e504278f39333f56620a52837",
- "P01 INFO: backup file db-master:/var/lib/pgsql/9.4/data/pg_log/postgresql.log (2.1KB, 0%) checksum 18c1423f9610b31315260341331aaedf001066e1",
- "P00 INFO: local process 1 stop for db-1",
- "P01 INFO: backup file db-master:/var/lib/pgsql/9.4/data/backup_label (238B, 0%) checksum 8a231bb4edeeaaf3871c36561a9b83e495b6d309",
+ "P01 INFO: backup file db-master:/var/lib/pgsql/9.4/data/pg_log/postgresql.log (2.2KB, 0%) checksum 3faa51ebf1039d3a3e36aca34a372d91d08bab45",
+ "P01 INFO: local process 1 stop for db-1",
+ "P01 INFO: backup file db-master:/var/lib/pgsql/9.4/data/backup_label (238B, 0%) checksum b2fe0ce2e0f1a4f76d495c5be221451f21ea691b",
"P02 INFO: backup file db-standby:/var/lib/pgsql/9.4/data/base/12140/12008 (392KB, 20%) checksum 48d12083de4b3c0595038110410bb82c5b77e34b",
"P02 INFO: backup file db-standby:/var/lib/pgsql/9.4/data/base/12140/11890 (344KB, 38%) checksum a0171ce874ca3b1351c0082a19832ce84eda0ff0",
" [filtered 26 lines of output]",
- "P00 INFO: local process 2 stop for db-2",
+ "P02 INFO: local process 2 stop for db-2",
"P02 INFO: backup file db-standby:/var/lib/pgsql/9.4/data/base/12140/32771 (0B, 99%)",
- "P00 INFO: backup file db-master:/var/lib/pgsql/9.4/data/global/pg_control (8KB, 100%) checksum 2c457903a98d39e527c4977461ce9e600c341402",
+ "P00 INFO: backup file db-master:/var/lib/pgsql/9.4/data/global/pg_control (8KB, 100%) checksum 2841d65b26545ed2e113a9c21f2c15ab3ce86d26",
"P00 INFO: incr backup size = 1.8MB",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
" [filtered 5 lines of output]"
@@ -2981,7 +2989,7 @@
"user-guide" : [
{
"key" : {
- "image" : "backrest/u14-db-9.4-doc-pre",
+ "image" : "pgbackrest/vagrant/u14-db-9.4-doc-pre",
"mount" : "/backrest:/backrest",
"name" : "db-master",
"os" : "u14",
@@ -3066,7 +3074,7 @@
{
"key" : {
"cmd" : [
- "sudo cp -r ~/pgbackrest-release-1.08/lib/pgBackRest \\",
+ "sudo cp -r ~/pgbackrest-release-1.09/lib/pgBackRest \\",
" /usr/share/perl5"
],
"host" : "db-master",
@@ -3097,7 +3105,7 @@
{
"key" : {
"cmd" : [
- "sudo cp ~/pgbackrest-release-1.08/bin/pgbackrest /usr/bin/pgbackrest"
+ "sudo cp ~/pgbackrest-release-1.09/bin/pgbackrest /usr/bin/pgbackrest"
],
"host" : "db-master",
"output" : false
@@ -3145,7 +3153,7 @@
"type" : "exe",
"value" : {
"output" : [
- "pgBackRest 1.08 - General help",
+ "pgBackRest 1.09 - General help",
"",
"Usage:",
" pgbackrest [options] [command]",
@@ -3231,6 +3239,11 @@
"db-path" : {
"value" : "/var/lib/postgresql/9.4/demo"
}
+ },
+ "global" : {
+ "log-level-stderr" : {
+ "value" : "off"
+ }
}
}
},
@@ -3364,10 +3377,9 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check start: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo",
+ "P00 INFO: check start 1.09: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo",
"P00 INFO: switch xlog 000000010000000000000001",
- "P00 ERROR: [148]: /var/lib/pgbackrest/backup/demo does not exist",
- "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-735ef5f4bcf5ae26ae7d2583e812ea6fdf2e3de1.gz'",
+ "P00 INFO: WAL segment 000000010000000000000001 successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000100000000/000000010000000000000001-0c3ecb0600ef7f803a1ab99756a2931e99b37e12.gz'",
"P00 INFO: check stop"
]
}
@@ -3393,13 +3405,13 @@
"output" : [
"P00 WARN: option retention-full is not set, the repository may run out of space",
" HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum.",
- "P00 INFO: backup start: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo",
+ "P00 INFO: backup start 1.09: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --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 2016-09-14 22:18:52\": backup begins after the next regular checkpoint completes",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:07:29\": backup begins after the next regular checkpoint completes",
"P00 INFO: backup start archive = 000000010000000000000002, lsn = 0/2000028",
" [filtered 759 lines of output]",
"P01 INFO: backup file /var/lib/postgresql/9.4/demo/base/1/11885 (0B, 99%)",
- "P00 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 100%) checksum 7edc8d9f90c5abbc2fb5791bd9ae9da4739ac6e8",
+ "P00 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 100%) checksum d7cf38ee1cd9f64d10f8cde0dd667a55c85c0712",
"P00 INFO: full backup size = 19.3MB",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
"P00 INFO: backup stop archive = 000000010000000000000002, lsn = 0/20000F0",
@@ -3418,7 +3430,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221900F"
+ "20161010-210736F"
]
}
},
@@ -3442,11 +3454,11 @@
"value" : {
"output" : [
" [filtered 8 lines of output]",
- "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 2%) checksum f2ff365e921dc88889e26fdc44fbdbf438af8a09",
- "P00 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 100%) checksum 294d48b39ef845f5cbb38137d860e9db09203595",
+ "P01 INFO: backup file /var/lib/postgresql/9.4/demo/backup_label (236B, 2%) checksum fb5fb7eb6874731c5ed01f89f362c7a8820df298",
+ "P00 INFO: backup file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 100%) checksum c5d6dcb8d4e0caff65a5a823120509fa37a41eb2",
"P00 INFO: diff backup size = 8.2KB",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
- "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/3000128",
+ "P00 INFO: backup stop archive = 000000010000000000000003, lsn = 0/30000F0",
" [filtered 4 lines of output]"
]
}
@@ -3472,16 +3484,16 @@
"stanza: demo",
" status: ok",
"",
- " full backup: 20160914-221900F",
- " start / stop timestamp: 2016-09-14 22:18:52 / 2016-09-14 22:19:00",
+ " full backup: 20161010-210736F",
+ " start / stop timestamp: 2016-10-10 21:07:29 / 2016-10-10 21:07:36",
" database size: 19.3MB, backup size: 19.3MB",
" repository size: 2.2MB, repository backup size: 2.2MB",
"",
- " diff backup: 20160914-221900F_20160914-221904D",
- " start / stop timestamp: 2016-09-14 22:19:01 / 2016-09-14 22:19:04",
+ " diff backup: 20161010-210736F_20161010-210740D",
+ " start / stop timestamp: 2016-10-10 21:07:37 / 2016-10-10 21:07:40",
" database size: 19.3MB, backup size: 8.2KB",
- " repository size: 2.2MB, repository backup size: 343B",
- " backup reference list: 20160914-221900F"
+ " repository size: 2.2MB, repository backup size: 339B",
+ " backup reference list: 20161010-210736F"
]
}
},
@@ -3601,11 +3613,11 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: backup start: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo --type=incr",
- "P00 INFO: last backup label = 20160914-221900F_20160914-221904D, version = 1.08",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:19:20\": backup begins after the next regular checkpoint completes",
- "P00 INFO: backup start archive = 000000020000000000000005, lsn = 0/5000028",
- "P00 INFO: local process 1 start for host db-1",
+ "P00 INFO: backup start 1.09: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo --type=incr",
+ "P00 INFO: last backup label = 20161010-210736F_20161010-210740D, version = 1.09",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:07:52\": backup begins after the next regular checkpoint completes",
+ "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028",
+ "P01 INFO: local process 1 start for host db-1",
" [filtered 15 lines of output]"
]
}
@@ -3654,11 +3666,11 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: backup start: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo --start-fast --type=incr",
- "P00 INFO: last backup label = 20160914-221900F_20160914-221923I, version = 1.08",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:19:25\": backup begins after the requested immediate checkpoint completes",
- "P00 INFO: backup start archive = 000000020000000000000006, lsn = 0/6000028",
- "P00 INFO: local process 1 start for host db-1",
+ "P00 INFO: backup start 1.09: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo --start-fast --type=incr",
+ "P00 INFO: last backup label = 20161010-210736F_20161010-210756I, version = 1.09",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:07:57\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028",
+ "P01 INFO: local process 1 start for host db-1",
" [filtered 10 lines of output]"
]
}
@@ -3694,8 +3706,8 @@
"value" : {
"output" : [
" [filtered 4 lines of output]",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:19:29\": backup begins after the requested immediate checkpoint completes",
- "P00 INFO: backup start archive = 000000020000000000000007, lsn = 0/7000028",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:08:01\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028",
"P00 ERROR: [122]: unable to create /var/lib/pgbackrest/temp/demo.tmp: Permission denied",
"P00 INFO: backup stop"
]
@@ -3732,11 +3744,11 @@
"value" : {
"output" : [
" [filtered 3 lines of output]",
- "P00 INFO: last backup label = 20160914-221900F_20160914-221928I, version = 1.08",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:19:31\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: last backup label = 20161010-210736F_20161010-210800I, version = 1.09",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:08:03\": backup begins after the requested immediate checkpoint completes",
"P00 ERROR: [132]: 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 2016-09-14 22:19:31', 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 2016-10-10 21:08:03', true) as lsn"
]
}
},
@@ -3785,13 +3797,13 @@
"value" : {
"output" : [
" [filtered 2 lines of output]",
- "P00 INFO: backup start: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo --start-fast --stop-auto --type=incr",
- "P00 INFO: last backup label = 20160914-221900F_20160914-221928I, version = 1.08",
- "P00 WARN: the cluster is already in backup mode but no backup process is running. pg_stop_backup() will be called so a new backup can be started.",
+ "P00 INFO: backup start 1.09: --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo --start-fast --stop-auto --type=incr",
+ "P00 INFO: last backup label = 20161010-210736F_20161010-210800I, version = 1.09",
+ "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 2016-09-14 22:19:33\": backup begins after the requested immediate checkpoint completes",
- "P00 INFO: backup start archive = 000000020000000000000008, lsn = 0/8000028",
- "P00 INFO: local process 1 start for host db-1",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:08:05\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup start archive = 000000020000000000000009, lsn = 0/9000028",
+ "P01 INFO: local process 1 start for host db-1",
" [filtered 10 lines of output]"
]
}
@@ -3832,7 +3844,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "archive retention on backup 20160914-221900F|remove archive"
+ "archive retention on backup 20161010-210736F|remove archive"
]
},
"host" : "db-master",
@@ -3843,8 +3855,8 @@
"output" : [
" [filtered 768 lines of output]",
"P00 INFO: backup stop",
- "P00 INFO: expire start: --log-level-console=detail --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
- "P00 DETAIL: archive retention on backup 20160914-221900F, start = 000000010000000000000002",
+ "P00 INFO: expire start 1.09: --log-level-console=detail --log-level-stderr=off --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
+ "P00 DETAIL: archive retention on backup 20161010-210736F, start = 000000010000000000000002",
"P00 DETAIL: remove archive: start = 000000010000000000000001, stop = 000000010000000000000001",
"P00 INFO: expire stop"
]
@@ -3861,7 +3873,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221947F"
+ "20161010-210816F"
]
}
},
@@ -3875,7 +3887,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "expire full backup set\\: 20160914-221900F|archive retention on backup 20160914-221947F|remove archive"
+ "expire full backup set\\: 20161010-210736F|archive retention on backup 20161010-210816F|remove archive"
]
},
"host" : "db-master",
@@ -3886,10 +3898,10 @@
"output" : [
" [filtered 768 lines of output]",
"P00 INFO: backup stop",
- "P00 INFO: expire start: --log-level-console=info --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
- "P00 INFO: expire full backup set: 20160914-221900F, 20160914-221900F_20160914-221904D, 20160914-221900F_20160914-221923I, 20160914-221900F_20160914-221928I, 20160914-221900F_20160914-221937I",
- "P00 INFO: remove expired backup 20160914-221900F_20160914-221937I",
- "P00 INFO: remove expired backup 20160914-221900F_20160914-221928I",
+ "P00 INFO: expire start 1.09: --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-full=2 --stanza=demo",
+ "P00 INFO: expire full backup set: 20161010-210736F, 20161010-210736F_20161010-210740D, 20161010-210736F_20161010-210756I, 20161010-210736F_20161010-210800I, 20161010-210736F_20161010-210809I",
+ "P00 INFO: remove expired backup 20161010-210736F_20161010-210809I",
+ "P00 INFO: remove expired backup 20161010-210736F_20161010-210800I",
" [filtered 3 lines of output]"
]
}
@@ -3942,7 +3954,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221956F_20160914-222001D"
+ "20161010-210823F_20161010-210827D"
]
}
},
@@ -3966,7 +3978,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "expire diff backup set: 20160914-221956F_20160914-222001D"
+ "expire diff backup set: 20161010-210823F_20161010-210827D"
]
},
"host" : "db-master",
@@ -3977,10 +3989,10 @@
"output" : [
" [filtered 12 lines of output]",
"P00 INFO: backup stop",
- "P00 INFO: expire start: --log-level-console=info --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=1 --retention-full=2 --stanza=demo",
- "P00 INFO: expire diff backup set: 20160914-221956F_20160914-222001D, 20160914-221956F_20160914-222007I",
- "P00 INFO: remove expired backup 20160914-221956F_20160914-222007I",
- "P00 INFO: remove expired backup 20160914-221956F_20160914-222001D"
+ "P00 INFO: expire start 1.09: --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=1 --retention-full=2 --stanza=demo",
+ "P00 INFO: expire diff backup set: 20161010-210823F_20161010-210827D, 20161010-210823F_20161010-210831I",
+ "P00 INFO: remove expired backup 20161010-210823F_20161010-210831I",
+ "P00 INFO: remove expired backup 20161010-210823F_20161010-210827D"
]
}
},
@@ -4022,7 +4034,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221956F_20160914-222011D"
+ "20161010-210823F_20161010-210835D"
]
}
},
@@ -4059,10 +4071,10 @@
"output" : [
" [filtered 9 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/12000128",
- "P00 INFO: new backup label = 20160914-221956F_20160914-222017D",
+ "P00 INFO: backup stop archive = 000000020000000000000012, lsn = 0/120000F0",
+ "P00 INFO: new backup label = 20161010-210823F_20161010-210840D",
"P00 INFO: backup stop",
- "P00 INFO: expire start: --log-level-console=info --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=2 --retention-full=2 --stanza=demo"
+ "P00 INFO: expire start 1.09: --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --retention-archive=2 --retention-diff=2 --retention-full=2 --stanza=demo"
]
}
},
@@ -4077,7 +4089,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221956F_20160914-222017D"
+ "20161010-210823F_20161010-210840D"
]
}
},
@@ -4091,7 +4103,7 @@
"filter" : true,
"filter-context" : 2,
"list" : [
- "archive retention on backup 20160914-221956F_20160914-222011D|remove archive"
+ "archive retention on backup 20161010-210823F_20161010-210835D|remove archive"
]
},
"host" : "db-master",
@@ -4100,12 +4112,12 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: expire start: --log-level-console=detail --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 20160914-221947F, start = 000000020000000000000009, stop = 000000020000000000000009",
- "P00 DETAIL: archive retention on backup 20160914-221956F, start = 00000002000000000000000A, stop = 00000002000000000000000A",
- "P00 DETAIL: archive retention on backup 20160914-221956F_20160914-222011D, start = 00000002000000000000000E, stop = 00000002000000000000000E",
- "P00 DETAIL: archive retention on backup 20160914-221956F_20160914-222017D, start = 000000020000000000000012",
- "P00 DETAIL: remove archive: start = 00000002000000000000000B, stop = 00000002000000000000000D",
+ "P00 INFO: expire start 1.09: --log-level-console=detail --log-level-stderr=off --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 20161010-210816F, start = 00000002000000000000000A, stop = 00000002000000000000000A",
+ "P00 DETAIL: archive retention on backup 20161010-210823F, start = 00000002000000000000000B, stop = 00000002000000000000000B",
+ "P00 DETAIL: archive retention on backup 20161010-210823F_20161010-210835D, start = 00000002000000000000000E, stop = 00000002000000000000000E",
+ "P00 DETAIL: archive retention on backup 20161010-210823F_20161010-210840D, start = 000000020000000000000012",
+ "P00 DETAIL: remove archive: start = 00000002000000000000000C, stop = 00000002000000000000000D",
"P00 DETAIL: remove archive: start = 00000002000000000000000F, stop = 000000020000000000000011",
"P00 INFO: expire stop"
]
@@ -4150,7 +4162,7 @@
"P01 DETAIL: restore file /var/lib/postgresql/9.4/demo/base/1/11885 - exists and is zero size (0B, 99%)",
"P00 INFO: wrote /var/lib/postgresql/9.4/demo/recovery.conf",
"P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)",
- "P00 INFO: restore file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 100%) checksum 4435a2bff8fd027f0b07673a1d21d7a0a08fc617",
+ "P00 INFO: restore file /var/lib/postgresql/9.4/demo/global/pg_control (8KB, 100%) checksum 37890ec3622494e3a026f77d4a5a0df7495097c2",
"P00 INFO: restore stop"
]
}
@@ -4452,7 +4464,7 @@
"type" : "exe",
"value" : {
"output" : [
- "2016-09-14 22:20:56.007702+00"
+ "2016-10-10 21:09:10.911238+00"
]
}
},
@@ -4498,7 +4510,7 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2016-09-14 22:20:56.007702+00\" restore"
+ " --type=time \"--target=2016-10-10 21:09:10.911238+00\" restore"
],
"host" : "db-master",
"output" : false
@@ -4534,7 +4546,7 @@
"value" : {
"output" : [
"restore_command = '/usr/bin/pgbackrest --stanza=demo archive-get %f \"%p\"'",
- "recovery_target_time = '2016-09-14 22:20:56.007702+00'"
+ "recovery_target_time = '2016-10-10 21:09:10.911238+00'"
]
}
},
@@ -4601,19 +4613,19 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2016-09-14 22:20:51 UTC",
+ "LOG: database system was interrupted; last known up at 2016-10-10 21:09:07 UTC",
"LOG: creating missing WAL directory \"pg_xlog/archive_status\"",
- "LOG: starting point-in-time recovery to 2016-09-14 22:20:56.007702+00",
+ "LOG: starting point-in-time recovery to 2016-10-10 21:09:10.911238+00",
"LOG: restored log file \"00000004.history\" from archive",
"LOG: incomplete startup packet",
- " [filtered 3 lines of output]",
- "FATAL: the database system is starting up",
+ " [filtered 2 lines of output]",
+ "LOG: consistent recovery state reached at 0/170000F0",
"LOG: restored log file \"000000040000000000000018\" from archive",
- "LOG: recovery stopping before commit of transaction 686, time 2016-09-14 22:20:56.265593+00",
+ "LOG: recovery stopping before commit of transaction 686, time 2016-10-10 21:09:11.072776+00",
"LOG: redo done at 0/180157F0",
- "LOG: last completed transaction was at log time 2016-09-14 22:20:55.778517+00",
+ "LOG: last completed transaction was at log time 2016-10-10 21:09:10.767899+00",
+ "FATAL: the database system is starting up",
"LOG: selected new timeline ID: 5",
- "LOG: restored log file \"00000004.history\" from archive",
" [filtered 6 lines of output]"
]
}
@@ -4657,7 +4669,7 @@
"type" : "exe",
"value" : {
"output" : [
- "20160914-221956F_20160914-222055D"
+ "20161010-210823F_20161010-210910D"
]
}
},
@@ -4685,7 +4697,7 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2016-09-14 22:20:56.007702+00\" restore"
+ " --type=time \"--target=2016-10-10 21:09:10.911238+00\" restore"
],
"host" : "db-master",
"output" : false
@@ -4765,9 +4777,9 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2016-09-14 22:21:07 UTC",
+ "LOG: database system was interrupted; last known up at 2016-10-10 21:09:20 UTC",
"LOG: creating missing WAL directory \"pg_xlog/archive_status\"",
- "LOG: starting point-in-time recovery to 2016-09-14 22:20:56.007702+00",
+ "LOG: starting point-in-time recovery to 2016-10-10 21:09:10.911238+00",
"LOG: restored log file \"00000005.history\" from archive",
"LOG: incomplete startup packet",
"LOG: restored log file \"000000050000000000000019\" from archive",
@@ -4788,7 +4800,7 @@
"filter" : false,
"filter-context" : 2,
"list" : [
- "20160914-221956F_20160914-222055D"
+ "20161010-210823F_20161010-210910D"
]
},
"host" : "db-master",
@@ -4800,39 +4812,39 @@
"stanza: demo",
" status: ok",
"",
- " full backup: 20160914-221947F",
- " start / stop timestamp: 2016-09-14 22:19:39 / 2016-09-14 22:19:47",
+ " full backup: 20161010-210816F",
+ " start / stop timestamp: 2016-10-10 21:08:10 / 2016-10-10 21:08:16",
" database size: 19.3MB, backup size: 19.3MB",
" repository size: 2.2MB, repository backup size: 2.2MB",
"",
- " full backup: 20160914-221956F",
- " start / stop timestamp: 2016-09-14 22:19:48 / 2016-09-14 22:19:56",
+ " full backup: 20161010-210823F",
+ " start / stop timestamp: 2016-10-10 21:08:17 / 2016-10-10 21:08:23",
" database size: 19.3MB, backup size: 19.3MB",
" repository size: 2.2MB, repository backup size: 2.2MB",
"",
- " diff backup: 20160914-221956F_20160914-222017D",
- " start / stop timestamp: 2016-09-14 22:20:13 / 2016-09-14 22:20:17",
+ " diff backup: 20161010-210823F_20161010-210840D",
+ " start / stop timestamp: 2016-10-10 21:08:36 / 2016-10-10 21:08:40",
" database size: 19.3MB, backup size: 8.2KB",
- " repository size: 2.2MB, repository backup size: 346B",
- " backup reference list: 20160914-221956F",
+ " repository size: 2.2MB, repository backup size: 347B",
+ " backup reference list: 20161010-210823F",
"",
- " incr backup: 20160914-221956F_20160914-222037I",
- " start / stop timestamp: 2016-09-14 22:20:30 / 2016-09-14 22:20:37",
+ " incr backup: 20161010-210823F_20161010-210855I",
+ " start / stop timestamp: 2016-10-10 21:08:49 / 2016-10-10 21:08:55",
" database size: 31.8MB, backup size: 12.7MB",
" repository size: 3.7MB, repository backup size: 1.5MB",
- " backup reference list: 20160914-221956F",
+ " backup reference list: 20161010-210823F",
"",
- " diff backup: 20160914-221956F_20160914-222055D",
- " start / stop timestamp: 2016-09-14 22:20:50 / 2016-09-14 22:20:55",
+ " diff backup: 20161010-210823F_20161010-210910D",
+ " start / stop timestamp: 2016-10-10 21:09:06 / 2016-10-10 21:09:10",
" database size: 25.7MB, backup size: 6.5MB",
" repository size: 3MB, repository backup size: 788.6KB",
- " backup reference list: 20160914-221956F",
+ " backup reference list: 20161010-210823F",
"",
- " incr backup: 20160914-221956F_20160914-222110I",
- " start / stop timestamp: 2016-09-14 22:21:07 / 2016-09-14 22:21:10",
+ " incr backup: 20161010-210823F_20161010-210922I",
+ " start / stop timestamp: 2016-10-10 21:09:19 / 2016-10-10 21:09:22",
" database size: 25.6MB, backup size: 1.9MB",
" repository size: 2.9MB, repository backup size: 214.3KB",
- " backup reference list: 20160914-221956F, 20160914-221956F_20160914-222055D"
+ " backup reference list: 20161010-210823F, 20161010-210823F_20161010-210910D"
]
}
},
@@ -4850,8 +4862,8 @@
"key" : {
"cmd" : [
"sudo -u postgres pgbackrest --stanza=demo --delta \\",
- " --type=time \"--target=2016-09-14 22:20:56.007702+00\" \\",
- " --set=20160914-221956F_20160914-222055D restore"
+ " --type=time \"--target=2016-10-10 21:09:10.911238+00\" \\",
+ " --set=20161010-210823F_20161010-210910D restore"
],
"host" : "db-master",
"output" : false
@@ -4931,26 +4943,26 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2016-09-14 22:20:51 UTC",
+ "LOG: database system was interrupted; last known up at 2016-10-10 21:09:07 UTC",
"LOG: creating missing WAL directory \"pg_xlog/archive_status\"",
- "LOG: starting point-in-time recovery to 2016-09-14 22:20:56.007702+00",
+ "LOG: starting point-in-time recovery to 2016-10-10 21:09:10.911238+00",
"LOG: restored log file \"00000004.history\" from archive",
"LOG: incomplete startup packet",
- " [filtered 3 lines of output]",
- "FATAL: the database system is starting up",
+ " [filtered 2 lines of output]",
+ "LOG: consistent recovery state reached at 0/170000F0",
"LOG: restored log file \"000000040000000000000018\" from archive",
- "LOG: recovery stopping before commit of transaction 686, time 2016-09-14 22:20:56.265593+00",
+ "LOG: recovery stopping before commit of transaction 686, time 2016-10-10 21:09:11.072776+00",
"LOG: redo done at 0/180157F0",
- "LOG: last completed transaction was at log time 2016-09-14 22:20:55.778517+00",
+ "LOG: last completed transaction was at log time 2016-10-10 21:09:10.767899+00",
+ "FATAL: the database system is starting up",
"LOG: restored log file \"00000005.history\" from archive",
- "LOG: restored log file \"00000006.history\" from archive",
- " [filtered 8 lines of output]"
+ " [filtered 9 lines of output]"
]
}
},
{
"key" : {
- "image" : "backrest/u14-backup-doc-pre",
+ "image" : "pgbackrest/vagrant/u14-backup-doc-pre",
"mount" : "/backrest:/backrest",
"name" : "backup",
"os" : "u14",
@@ -4998,6 +5010,9 @@
}
},
"global" : {
+ "log-level-stderr" : {
+ "value" : "off"
+ },
"start-fast" : {
"value" : "y"
}
@@ -5035,6 +5050,9 @@
"backup-user" : {
"value" : "backrest"
},
+ "log-level-stderr" : {
+ "value" : "off"
+ },
"repo-path" : {
"value" : "/var/lib/pgbackrest"
}
@@ -5083,12 +5101,7 @@
"host" : "backup",
"output" : true
},
- "type" : "exe",
- "value" : {
- "output" : [
- "P00 ERROR: [148]: /var/lib/pgbackrest/backup/demo does not exist"
- ]
- }
+ "type" : "exe"
},
{
"key" : {
@@ -5225,9 +5238,9 @@
"type" : "exe",
"value" : {
"output" : [
- "P00 INFO: check start: --backup-host=backup --backup-user=backrest --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --repo-path=/var/lib/pgbackrest --stanza=demo",
- "P00 INFO: switch xlog 00000008000000000000001E",
- "P00 INFO: WAL segment 00000008000000000000001E successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/00000008000000000000001E-d76a5a05f87dbf84b82ec0cb5e05521afd37b9cd.gz'",
+ "P00 INFO: check start 1.09: --backup-host=backup --backup-user=backrest --db-path=/var/lib/postgresql/9.4/demo --log-level-console=info --log-level-stderr=off --repo-path=/var/lib/pgbackrest --stanza=demo",
+ "P00 INFO: switch xlog 00000008000000000000001D",
+ "P00 INFO: WAL segment 00000008000000000000001D successfully stored in the archive at '/var/lib/pgbackrest/archive/demo/9.4-1/0000000800000000/00000008000000000000001D-91c05b117e97531d3a8e42739901dfa8a0efcd17.gz'",
"P00 INFO: check stop"
]
}
@@ -5339,7 +5352,7 @@
},
{
"key" : {
- "image" : "backrest/u14-db-9.4-doc-pre",
+ "image" : "pgbackrest/vagrant/u14-db-9.4-doc-pre",
"mount" : "/backrest:/backrest",
"name" : "db-standby",
"os" : "u14",
@@ -5388,6 +5401,9 @@
"backup-host" : {
"value" : "backup"
},
+ "log-level-stderr" : {
+ "value" : "off"
+ },
"repo-path" : {
"value" : "/var/lib/pgbackrest"
}
@@ -5500,16 +5516,16 @@
"type" : "exe",
"value" : {
"output" : [
- "LOG: database system was interrupted; last known up at 2016-09-14 22:22:05 UTC",
+ "LOG: database system was interrupted; last known up at 2016-10-10 21:10:07 UTC",
"LOG: creating missing WAL directory \"pg_xlog/archive_status\"",
"LOG: entering standby mode",
- "LOG: incomplete startup packet",
"LOG: restored log file \"00000008.history\" from archive",
- " [filtered 2 lines of output]",
- "LOG: redo starts at 0/1D000028",
- "LOG: consistent recovery state reached at 0/1D0000F0",
+ "LOG: incomplete startup packet",
+ "LOG: restored log file \"00000008000000000000001C\" from archive",
+ "LOG: redo starts at 0/1C000028",
+ "LOG: consistent recovery state reached at 0/1C0000F0",
"LOG: database system is ready to accept read only connections",
- "LOG: restored log file \"00000008000000000000001E\" from archive"
+ "LOG: restored log file \"00000008000000000000001D\" from archive"
]
}
},
@@ -5581,7 +5597,7 @@
"output" : [
" pg_switch_xlog | now ",
"----------------+-------------------------------",
- " 0/1F017990 | 2016-09-14 22:22:38.947007+00",
+ " 0/1E017990 | 2016-10-10 21:10:32.802443+00",
"(1 row)"
]
}
@@ -5607,7 +5623,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2016-09-14 22:22:41.328703+00",
+ " Important Data | 2016-10-10 21:10:36.423567+00",
"(1 row)"
]
}
@@ -5783,10 +5799,10 @@
"type" : "exe",
"value" : {
"output" : [
- " [filtered 11 lines of output]",
+ " [filtered 9 lines of output]",
+ "LOG: restored log file \"00000008000000000000001D\" from archive",
"LOG: restored log file \"00000008000000000000001E\" from archive",
- "LOG: restored log file \"00000008000000000000001F\" from archive",
- "LOG: started streaming WAL from primary at 0/20000000 on timeline 8"
+ "LOG: started streaming WAL from primary at 0/1F000000 on timeline 8"
]
}
},
@@ -5815,7 +5831,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2016-09-14 22:22:54.155025+00",
+ " Important Data | 2016-10-10 21:10:44.760232+00",
"(1 row)"
]
}
@@ -5841,7 +5857,7 @@
"output" : [
" message | now ",
"----------------+-------------------------------",
- " Important Data | 2016-09-14 22:22:54.609891+00",
+ " Important Data | 2016-10-10 21:10:44.942433+00",
"(1 row)"
]
}
@@ -5906,20 +5922,20 @@
"value" : {
"output" : [
" [filtered 4 lines of output]",
- "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-09-14 22:22:56\": backup begins after the requested immediate checkpoint completes",
- "P00 INFO: backup start archive = 000000080000000000000021, lsn = 0/21000028",
- "P00 INFO: wait for replay on the standby to reach 0/21000028",
- "P00 INFO: replay on the standby reached 0/210000C8",
- "P00 INFO: local process 1 start for host db-1",
- "P00 INFO: local process 2 start for host db-2",
- "P00 INFO: local process 1 stop for db-1",
- "P01 INFO: backup file db-master:/var/lib/postgresql/9.4/demo/backup_label (238B, 0%) checksum 0e510fed19118b75f2d388154cb529011f6265b5",
- "P02 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/12007 (392KB, 20%) checksum cca28e2285617f18e4632bd97e80b944d25e84a4",
- "P02 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/11889 (344KB, 38%) checksum e74efcf5780e4df35609f4ee00f599aa620172fc",
+ "P00 INFO: execute exclusive pg_start_backup() with label \"pgBackRest backup started at 2016-10-10 21:10:45\": backup begins after the requested immediate checkpoint completes",
+ "P00 INFO: backup start archive = 000000080000000000000020, lsn = 0/20000028",
+ "P00 INFO: wait for replay on the standby to reach 0/20000028",
+ "P00 INFO: replay on the standby reached 0/20000100",
+ "P01 INFO: local process 1 start for host db-1",
+ "P02 INFO: local process 2 start for host db-2",
+ "P01 INFO: local process 1 stop for db-1",
+ "P01 INFO: backup file db-master:/var/lib/postgresql/9.4/demo/backup_label (238B, 0%) checksum 41bc0bfc7279bfdccfbd5b29ff4756835a49913f",
+ "P02 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/12007 (392KB, 20%) checksum 6d51543c467d204f7c0282c8e81487ad171d4f32",
+ "P02 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/11889 (344KB, 38%) checksum 7782684b828ae5470ab57d977e3da931d968e2e7",
" [filtered 26 lines of output]",
- "P00 INFO: local process 2 stop for db-2",
+ "P02 INFO: local process 2 stop for db-2",
"P02 INFO: backup file db-standby:/var/lib/postgresql/9.4/demo/base/12139/32771 (0B, 99%)",
- "P00 INFO: backup file db-master:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 100%) checksum 64ec46ec334614665a35521ce2e1d9ef291cb659",
+ "P00 INFO: backup file db-master:/var/lib/postgresql/9.4/demo/global/pg_control (8KB, 100%) checksum f192e38106c3da22c11f9bf9ddebc31836a4f75a",
"P00 INFO: incr backup size = 1.8MB",
"P00 INFO: execute exclusive pg_stop_backup() and wait for all WAL segments to archive",
" [filtered 5 lines of output]"
diff --git a/doc/xml/release.xml b/doc/xml/release.xml
index fa57bedb5..30a94e442 100644
--- a/doc/xml/release.xml
+++ b/doc/xml/release.xml
@@ -123,7 +123,7 @@
</contributor-list>
<release-list>
- <release date="XXXX-XX-XX" version="1.09dev" title="UNDER DEVELOPMENT">
+ <release date="2016-10-10" version="1.09" title="9.6 Support, Configurability, and Bug Fixes">
<release-core-list>
<release-bug-list>
<release-item>
@@ -169,7 +169,7 @@
<release-item-ideator id="wilke.jens"/>
</release-item-contributor-list>
- <p>Added the <br-option>cmd-ssh</br-option> to allow the ssh client to be specified.</p>
+ <p>Added the <br-option>cmd-ssh</br-option> option to allow the ssh client to be specified.</p>
</release-item>
<release-item>
@@ -223,7 +223,7 @@
</release-item>
<release-item>
- <p>Added <setting>--dev</setting> option to <file>doc.pl</file> to easily add <id>dev</id> keyword to documentation builds.</p>
+ <p>Added <setting>dev</setting> option to <file>doc.pl</file> to easily add the <id>dev</id> keyword to documentation builds.</p>
</release-item>
</release-feature-list>
</release-doc-list>
diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm
index 863659111..c5cd78934 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.09dev';
+use constant BACKREST_VERSION => '1.09';
push @EXPORT, qw(BACKREST_VERSION);
# Format Format Number
[parent: 49a5e8a3f597]