pgBackRest 1.22 commit log

v1.21: Improved Info Output and SSH Port Option

commit   : cbc026418cdc03bbe645a3c44ccf9e40435c62ca    
  
author   : David Steele <[email protected]>    
date     : Tue, 8 Aug 2017 18:09:07 -0400    
  
committer: David Steele <[email protected]>    
date     : Tue, 8 Aug 2017 18:09:07 -0400    

Click here for diff

Bug Fixes:  
  
* The archive_status directory is now recreated on restore to support PostgreSQL 8.3 which does not recreate it automatically like more recent versions do. (Reported by Stephen Frost.)  
* Fixed an issue that could cause the empty archive directory for an old PostgreSQL version to be left behind after a stanza-upgrade. (Fixed by Cynthia Shang.)  
  
Features:  
  
* Modified the info command (both text and JSON output) to display the archive ID and minimum/maximum WAL currently present in the archive for the current and prior, if any, database cluster version. (Contributed by Cynthia Shang.)  
* Added --backup-ssh-port and --db-ssh-port options to support non-default SSH ports. (Contributed by Cynthia Shang.)  
  
Refactoring:  
  
* Retry when S3 returns an internal error (500).  
* Add bIgnoreMissing parameter to Local->manifest().  

M README.md
M doc/resource/exe.cache
M doc/xml/release.xml
M lib/pgBackRest/Config/ConfigHelpData.pm
M lib/pgBackRest/Version.pm
M libc/lib/pgBackRest/LibC.pm
M test/expect/help-help-001.log

Retry when S3 returns an internal error (500).

commit   : 038d47bcc05d3de5b377c330576bcc76648ccb8b    
  
author   : David Steele <[email protected]>    
date     : Tue, 8 Aug 2017 17:15:01 -0400    
  
committer: David Steele <[email protected]>    
date     : Tue, 8 Aug 2017 17:15:01 -0400    

Click here for diff

M doc/xml/release.xml
M lib/pgBackRest/Common/Http/Client.pm
M lib/pgBackRest/Storage/S3/Request.pm
M test/lib/pgBackRestTest/Common/ContainerTest.pm
M test/lib/pgBackRestTest/Common/DefineTest.pm
A test/lib/pgBackRestTest/Module/Storage/StorageS3RequestTest.pm

Generate global fake cert in containers for testing.

commit   : 961f7033d1f82f279e02500506a255c58064fe55    
  
author   : David Steele <[email protected]>    
date     : Tue, 8 Aug 2017 16:26:44 -0400    
  
committer: David Steele <[email protected]>    
date     : Tue, 8 Aug 2017 16:26:44 -0400    

Click here for diff

M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/ContainerTest.pm
M test/lib/pgBackRestTest/Env/S3EnvTest.pm

Consolidate stanza-create and stanza-upgrade tests into new stanza test.

commit   : b6da509c9f909bcbd1c76b6b920b78e5945b9d1e    
  
author   : Cynthia Shang <[email protected]>    
date     : Fri, 4 Aug 2017 16:10:51 -0400    
  
committer: David Steele <[email protected]>    
date     : Fri, 4 Aug 2017 16:10:51 -0400    

Click here for diff

Contributed by Cynthia Shang.  

M doc/xml/release.xml
A test/expect/mock-stanza-001.log
A test/expect/mock-stanza-002.log
A test/expect/mock-stanza-003.log
D test/expect/stanza-create-001.log
D test/expect/stanza-create-002.log
D test/expect/stanza-create-003.log
D test/expect/stanza-upgrade-001.log
D test/expect/stanza-upgrade-002.log
D test/expect/stanza-upgrade-003.log
M test/lib/pgBackRestTest/Common/DefineTest.pm
R052 test/lib/pgBackRestTest/Module/Stanza/StanzaUpgradeTest.pm test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm
R099 test/lib/pgBackRestTest/Module/Stanza/StanzaUnitTest.pm test/lib/pgBackRestTest/Module/Stanza/StanzaAllTest.pm
D test/lib/pgBackRestTest/Module/Stanza/StanzaCreateTest.pm

Fixed an issue that could cause the empty archive directory for an old PostgreSQL version to be left behind after a stanza-upgrade.

commit   : f9bdc092bac8cdfe1c7145c0adf1123ae2ea6dd1    
  
author   : Cynthia Shang <[email protected]>    
date     : Fri, 4 Aug 2017 16:03:55 -0400    
  
committer: David Steele <[email protected]>    
date     : Fri, 4 Aug 2017 16:03:55 -0400    

Click here for diff

Fixed by Cynthia Shang.  

M doc/xml/release.xml
M lib/pgBackRest/Backup/Info.pm
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/Module/Backup/BackupInfoUnitTest.pm

Added --backup-ssh-port and --db-ssh-port options to support non-default SSH ports.

commit   : ce2b18c5b84c506606861010331965ad503af48a    
  
author   : Cynthia Shang <[email protected]>    
date     : Tue, 1 Aug 2017 10:34:53 -0400    
  
committer: David Steele <[email protected]>    
date     : Tue, 1 Aug 2017 10:34:53 -0400    

Click here for diff

Contributed by Cynthia Shang.  

M doc/xml/reference.xml
M doc/xml/release.xml
M lib/pgBackRest/Config/Config.pm
M lib/pgBackRest/Protocol/Helper.pm
M lib/pgBackRest/Protocol/Remote/Master.pm
M test/expect/mock-all-002.log
M test/expect/mock-archive-002.log
M test/expect/stanza-create-002.log
M test/lib/pgBackRestTest/Common/DefineTest.pm
A test/lib/pgBackRestTest/Module/Protocol/ProtocolHelperTest.pm

Update CI code to prevent deprecated VM from being rewritten.

commit   : fa992433da396f8fe3a3c49dfd539d4dd6c54ae1    
  
author   : David Steele <[email protected]>    
date     : Thu, 27 Jul 2017 11:31:42 -0400    
  
committer: David Steele <[email protected]>    
date     : Thu, 27 Jul 2017 11:31:42 -0400    

Click here for diff

M test/lib/pgBackRestTest/Common/CiTest.pm

Use new Travis Trusty image.

commit   : cf3110b0d896c75db775f6b2296c704a54d61142    
  
author   : David Steele <[email protected]>    
date     : Wed, 26 Jul 2017 19:22:54 -0400    
  
committer: David Steele <[email protected]>    
date     : Wed, 26 Jul 2017 19:22:54 -0400    

Click here for diff

M .travis.yml
M doc/xml/release.xml

Use Google DNS in test environment for consistency.

commit   : 14d6974d1b54977ab678d0967c6fa8275b0959c7    
  
author   : David Steele <[email protected]>    
date     : Wed, 26 Jul 2017 13:40:09 -0400    
  
committer: David Steele <[email protected]>    
date     : Wed, 26 Jul 2017 13:40:09 -0400    

Click here for diff

M doc/xml/release.xml
M test/Vagrantfile

Reduce log verbosity in doc.pl.

commit   : 97c4d9ec1874fa2acbb33d6442d62089be07786b    
  
author   : David Steele <[email protected]>    
date     : Wed, 26 Jul 2017 10:22:22 -0400    
  
committer: David Steele <[email protected]>    
date     : Wed, 26 Jul 2017 10:22:22 -0400    

Click here for diff

Reduce verbosity by only logging sections that contain an execute list directly or in a child section.  

M doc/doc.pl
M doc/lib/BackRestDoc/Common/DocExecute.pm
M doc/lib/BackRestDoc/Common/DocRender.pm
M doc/lib/BackRestDoc/Html/DocHtmlPage.pm
M doc/lib/BackRestDoc/Latex/DocLatexSection.pm
M doc/lib/BackRestDoc/Markdown/DocMarkdownRender.pm
M doc/xml/release.xml

Improvements to command/command-line help:

commit   : df7d63368396c1030e178621136f0b304f970987    
  
author   : David Steele <[email protected]>    
date     : Wed, 26 Jul 2017 09:33:10 -0400    
  
committer: David Steele <[email protected]>    
date     : Wed, 26 Jul 2017 09:33:10 -0400    

Click here for diff

* Move repository options into a separate section in command/command-line help. (Suggested by Stephen Frost.)  
* Fix description of --online based on the command context.  
* Remove vestigial repository options from backup command.  

M doc/lib/BackRestDoc/Common/DocConfig.pm
M doc/xml/reference.xml
M doc/xml/release.xml
M lib/pgBackRest/Config/Config.pm
M lib/pgBackRest/Config/ConfigHelp.pm
M lib/pgBackRest/Config/ConfigHelpData.pm
M test/expect/help-help-001.log

Add bIgnoreMissing parameter to Local->manifest().

commit   : 156fd4d54d2387767d298dd295518f847788f845    
  
author   : David Steele <[email protected]>    
date     : Tue, 25 Jul 2017 12:44:38 -0400    
  
committer: David Steele <[email protected]>    
date     : Tue, 25 Jul 2017 12:44:38 -0400    

Click here for diff

M doc/xml/release.xml
M lib/pgBackRest/Protocol/Storage/Remote.pm
M lib/pgBackRest/Storage/Local.pm
M lib/pgBackRest/Storage/Posix/Driver.pm
M test/expect/mock-all-001.log
M test/expect/mock-all-002.log
M test/test.pl

Add creation of /etc/pgbackrest.conf to manual installation instructions.

commit   : 49449feab3d13fa6aedd5271d60e55f3720e8f08    
  
author   : David Steele <[email protected]>    
date     : Mon, 24 Jul 2017 21:14:42 -0400    
  
committer: David Steele <[email protected]>    
date     : Mon, 24 Jul 2017 21:14:42 -0400    

Click here for diff

M doc/xml/release.xml
M doc/xml/user-guide.xml

Debian/Ubuntu documentation now builds on Ubuntu 16.

commit   : cbb749e12a6c752d9172d7038f3f683c84d50d03    
  
author   : David Steele <[email protected]>    
date     : Mon, 24 Jul 2017 21:12:05 -0400    
  
committer: David Steele <[email protected]>    
date     : Mon, 24 Jul 2017 21:12:05 -0400    

Click here for diff

M doc/xml/release.xml
M doc/xml/user-guide.xml
M test/travis.pl

Include archive_status directory in online backups.

commit   : d5c1f02c7289284cb0cd7bd5c79e9e6a2dc8fb69    
  
author   : David Steele <[email protected]>    
date     : Mon, 24 Jul 2017 07:57:47 -0400    
  
committer: David Steele <[email protected]>    
date     : Mon, 24 Jul 2017 07:57:47 -0400    

Click here for diff

The archive_status directory is now recreated on restore to support PostgreSQL 8.3 which does not recreate it automatically like more recent versions do.  
  
Also fixed log checking after PostgreSQL shuts down to include FATAL messages and disallow immediate shutdowns which can throw FATAL errors in the log.  
  
Reported by Stephen Frost.  

M doc/xml/release.xml
M lib/pgBackRest/Manifest.pm
M test/lib/pgBackRestTest/Env/Host/HostDbCommonTest.pm
M test/lib/pgBackRestTest/Env/Host/HostDbTest.pm
M test/lib/pgBackRestTest/Module/Real/RealAllTest.pm

Improved WAL data returned by info command.

commit   : cda3b9821b83b3cc96ad13b63483499ff5a52e42    
  
author   : Cynthia Shang <[email protected]>    
date     : Fri, 21 Jul 2017 17:32:41 -0400    
  
committer: David Steele <[email protected]>    
date     : Fri, 21 Jul 2017 17:32:41 -0400    

Click here for diff

Modified the info command (both text and JSON output) to display the archive ID and minimum/maximum WAL currently present in the archive for the current and prior, if any, database cluster version.  
  
Contributed by Cynthia Shang.  

M doc/xml/release.xml
M lib/pgBackRest/Info.pm
M lib/pgBackRest/Version.pm
M libc/lib/pgBackRest/LibC.pm
M test/expect/mock-all-001.log
M test/expect/mock-all-002.log
M test/expect/mock-all-003.log
M test/expect/stanza-upgrade-001.log
M test/expect/stanza-upgrade-002.log
M test/expect/stanza-upgrade-003.log
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/Module/Info/InfoUnitTest.pm
M test/test.pl