pgBackRest 1.0 commit log

  
commit   : 9ab0dd80f70cc69a6edc9e61b6053752a789fde3    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 14 Apr 2016 23:04:20 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 14 Apr 2016 23:04:20 -0400    

Click here for diff

  
* This flag day release breaks compatibility with older versions of pgBackRest. The manifest format, on-disk structure, configuration scheme, and the exe/path names have all changed. You must create a new repository to hold backups for this version of pgBackRest and keep your older repository for a time in case you need to do a restore. Restores from the prior repository will require the prior version of pgBackRest but because of name changes it is possible to have 1.00 and a prior version of pgBackRest installed at the same time. See the notes below for more detailed information on what has changed.  
  
* Implemented a new configuration scheme which should be far simpler to use. See the User Guide and Configuration Reference for details but for a simple configuration all options can now be placed in the stanza section. Options that are shared between stanzas can be placed in the [global] section. More complex configurations can still make use of command sections though this should be a rare use case.  
  
* The repo-path option now always refers to the repository where backups and archive are stored, whether local or remote, so the repo-remote-path option has been removed. The new spool-path option can be used to define a location for queueing WAL segments when archiving asynchronously. A local repository is no longer required.  
  
* The default configuration filename is now pgbackrest.conf instead of pg_backrest.conf. This was done for consistency with other naming changes but also to prevent old config files from being loaded accidentally when migrating to 1.00.  
  
* The default repository name was changed from /var/lib/backup to /var/lib/pgbackrest.  
  
* Lock files are now stored in /tmp/pgbackrest by default. These days /run/pgbackrest is the preferred location but that would require init scripts which are not part of this release. The lock-path option can be used to configure the lock directory.  
  
* Log files are now stored in /var/log/pgbackrest by default and no longer have the date appended so they can be managed with logrotate. The log-path option can be used to configure the lock directory.  
  
* Executable filename changed from pg_backrest to pgbackrest.  
  
* All files and directories linked from PGDATA are now included in the backup. By default links will be restored directly into PGDATA as files or directories. The --link-all option can be used to restore all links to their original locations. The --link-map option can be used to remap a link to a new location.  
  
* Removed --tablespace option and replaced with --tablespace-map-all option which should more clearly indicate its function.  
  
* Added detail log level which will output more information than info without being as verbose as debug.  
  

New manifest format.

  
commit   : 9457e15347b05b4565074a3455f9edc4d1edaae3    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 14 Apr 2016 22:50:02 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 14 Apr 2016 22:50:02 -0400    

Click here for diff

  
* All files and directories linked from PGDATA are now included in the backup. By default links will be restored directly into PGDATA as files or directories. The --link-all option can be used to restore all links to their original locations. The --link-map option can be used to remap a link to a new location.  
  
* Removed --tablespace option and replaced with --tablespace-map-all option which should more clearly indicate its function.  
  
* Added detail log level which will output more information than info without being as verbose as debug.  
  

Fixed some inaccurate statements in the user guide. Fixed typo in documentation code comments.

  
commit   : 9a7d8b26cceb435d69378dd4bdc4eab74af11167    
  
author   : Cynthia Shang <cynthia.shang@crunchydata.com>    
date     : Thu, 14 Apr 2016 13:50:58 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 14 Apr 2016 13:50:58 -0400    

Click here for diff

  
  

New simpler configuration and consistent project/exe/path naming.

  
commit   : 18fd25233b1db7b3197f5d8dc537d239dcfc7aba    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 14 Apr 2016 09:30:54 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 14 Apr 2016 09:30:54 -0400    

Click here for diff

  
* The repo-path option now always refers to the repository where backups and archive are stored, whether local or remote, so the repo-remote-path option has been removed. The new spool-path option can be used to define a location for queueing WAL segments when archiving asynchronously. Otherwise, a local repository is no longer required.  
  
* Implemented a new config format which should be far simpler to use. See the User Guide and Configuration Reference for details but for a simple configuration all options can now be placed in the stanza section. Options that are shared between stanzas can be placed in the [global] section. More complex configurations can still make use of command sections though this should be a rare use case.  
  
* The default configuration filename is now pgbackrest.conf instead of pg_backrest.conf. This was done for consistency with other naming changes but also to prevent old config files from being loaded accidentally.  
  
* The default repository name was changed from /var/lib/backup to /var/lib/pgbackrest.  
  
* Lock files are now stored in /tmp/pgbackrest by default. These days /run/pgbackrest would be the preferred location but that would require init scripts which are not part of this release. The lock-path option can be used to configure the lock directory.  
  
* Log files are now stored in /var/log/pgbackrest by default and no longer have the date appended so they can be managed with logrotate. The log-path option can be used to configure the lock directory.  
  
* Executable filename changed from pg_backrest to pgbackrest.  
  

Migrated many functions from File.pm to FileCommon.pm.

  
commit   : 885797e4b58a675487a3531ba16908c1d1e9f970    
  
author   : David Steele <david@pgmasters.net>    
date     : Wed, 13 Apr 2016 19:09:35 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 13 Apr 2016 19:09:35 -0400    

Click here for diff

  
This makes make the migrated file functions available to parts of the code that don't have access to a File object.  They still exist as wrappers in the File object to support remote calls.  
  

Changed some TBD comments from urgent to whenever.

  
commit   : be8487dbad8a52f8b1f5083e3d7e2e3e47140dce    
  
author   : David Steele <david@pgmasters.net>    
date     : Wed, 13 Apr 2016 19:05:31 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 13 Apr 2016 19:05:31 -0400    

Click here for diff

  
  

Change spacing in expect logs to accommodate DETAIL level.

  
commit   : 723abadb750c78b661c9d29404455d4a95cfc7aa    
  
author   : David Steele <david@pgmasters.net>    
date     : Wed, 13 Apr 2016 18:55:34 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 13 Apr 2016 18:55:34 -0400    

Click here for diff

  
  

Test VM build improvements.

  
commit   : 64b2858bb50c6b5f5f3cc6934c6dab671c203bbe    
  
author   : David Steele <david@pgmasters.net>    
date     : Wed, 13 Apr 2016 18:47:29 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 13 Apr 2016 18:47:29 -0400    

Click here for diff

  
* Specific VMs can now be built by using --vm along with --vm-build.  
* Docker caching can be disabled with --vm-force.  
* ControlMaster is now used for al VMs to improve test speed.  
  

Improved error handling when remote closes unexpectedly.

  
commit   : 0e4fdda6d8f7da0b737f2ffd3f0d1ad9ec3a33ab    
  
author   : David Steele <david@pgmasters.net>    
date     : Tue, 12 Apr 2016 15:50:25 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Tue, 12 Apr 2016 15:50:25 -0400    

Click here for diff

  
In conditions where an error is known to have occurred wait to try and capture the error in the first call that detects the error.  Due to timing sometimes the error could be caught later, which worked, but it made the functionality inconsistent in testing.  
  

Closed #184: Change test/log directory to test/expect.

  
commit   : 8adbcccd02d133f9650486019911f41afe80100d    
  
author   : David Steele <david@pgmasters.net>    
date     : Wed, 6 Apr 2016 10:00:11 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 6 Apr 2016 10:00:11 -0400    

Click here for diff

  
This should make it clearer that these are expect logs for regression testing.  
  

Next development cycle.

  
commit   : aacc369e4fc5ff40c8731f47303c547934315988    
  
author   : David Steele <david@pgmasters.net>    
date     : Wed, 6 Apr 2016 09:41:33 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 6 Apr 2016 09:41:33 -0400    

Click here for diff