2015-01-23  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Update the ChangeLog file

	Prepared version 1.4.0

2015-01-20  Francesco Canovai  <francesco.canovai@2ndquadrant.it>

	Updated spec files for RHEL7

2015-01-16  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Delete basebackup dir as last action of a delete.
	Split the delete operation: remove the PGDATA directory first,
	then the related WAL files and, at last, the basebackup directory.

2015-01-13  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Add minimum_redundancy tests in test_retention_policy.py

2015-01-13  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Fix calculation of deduplication ratio

2015-01-12  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Update the ChangeLog file

	Prepared documentation for version 1.4.0-alpha1

2015-01-11  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Store deduplication effects for incremental backup
	When incremental backup is enabled and uses hard links
	(reuse_backup = link), output of 'backup' command reports
	the effects of deduplication. The metrict is stored along
	the backup.info file in the 'deduplicated_size' field.

	IMPORTANT: this metric refers to the increment in size
	of the current backup from the previous backup and reflects
	only the situation at backup time.

2015-01-10  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Prepared version 1.4.0-alpha1

	Updated copyright to 2015

2015-01-09  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix smart_copy of tablespaces when using bwlimit option

2015-01-07  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Add dedicated exception for PostgreSQL connection errors

2015-01-08  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Fix missing argument error in retention policies backup_status method
	Improve test coverage for retention_policy.py module

2015-01-07  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Remove logging of tracebacks on error during backup

2015-01-05  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Avoid logging of tracebacks during smart copy
	While retrieving the list of files on destination for smart copy, log
	any failure as error instead of exception

2014-12-22  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Unit tests for BackupInfo object

2014-12-24  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Change the way BackupInfo are created for testing
	Merge the method build_test_backup_info and the mock_backup_info.
	Now we use real BackupInfo objects instead of a Mock

2011-12-07  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Incremental base backup implementation
	Add support for reuse_backup global/server option, accepting
	three possible values:

	* off:  no incremental backup support (default)
	* copy: uses the last available backup as source (preventing unmodified
	        files from being copied)
	* link: same as copy but uses hard links on destination, if the filesystem
	        on the backup server allows it (reducing the occupied space)

	Add support for command line '--reuse-backup' option (default: link).

2014-12-24  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Allow last_archived_wal to be any xlog file
	Correctly show any xlog file as last_archived_wal for
	pre-pg_stat_archiver cases.
	Improve testing and docstrings for barman/xlog.py module.

2014-12-09  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Improve robustness of ssh_command and conninfo options

2014-12-18  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	pg_stat_archiver support for PostgreSQL 9.4
	Integrate pg_stat_archiver with PostgreSQL 9.4 servers for
	the barman check, show-server and status commands.

2014-11-28  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Improve robustness of retention policy unit tests

2014-12-16  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Fixes retention policies delete bug (#58)
	The method responsible for deleting obsolete backup in
	retention policies enforement, will not raise anymore
	the 'NoneType object is not iterable'. This prevents
	barman from terminating abruptly.

2014-11-28  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Pass list of available backups to retention policy code

2014-12-02  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Include history files in WAL management

2014-12-04  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Added a util method to find an executable in system path.
	If rsync is not present on system, a proper error message is
	displayed to the user when a command using rsync is issued

2014-12-09  Giulio Calacoci  <giulio.calacoci@2ndquadrant.com>

	Changed behaviour if pg_ident.conf is missing from an error to a warning

2014-10-22  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Remove code to replace output stream when quiet
	Previously the '-q' option was handled replacing the standard output
	stream with one which trows away averything it gets. Now it is not
	needed anymore because we haver a proper output module.

2014-09-26  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Remove all remaining output done by yield
	Migrate all the remaining part using yeld to do output to using the new
	output module.

2014-10-07  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Ignore fsync EINVAL errors on directories (#55)
	On some filesystem doing a fsync on a directory raises an EINVAL error.
	Ignoring it is usually safe.

2014-09-23  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Modified output module to access protected properties: quiet and debug

2014-09-10  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix bash autocompleter
	Minor changes:
	* Some code formatting adjustments

	Move cron retention policy management to a separate method

2014-09-05  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix dates in rpm changelog

2014-09-03  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Calculate backup WAL statistics only if the WALs are already processed

2014-09-02  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Change default LockFile behaviour to raise if fails acquisition

2014-09-01  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Invoke WAL maintenance after a successful backup
	* At the end of the 'barman backup' command, maintenance operations
	  are automatically started for successful backups (equivalent to
	  manually executing a 'barman cron' command, just for that server)

	* Trashing of unuseful WALs (part of 'barman cron') has been changed
	  as follows:

	  * in case of one or more backups, delete WAL files older than
	    the start WAL of the first backup
	  * otherwise, trash WAL files in case of exclusive backup server
	    (that is, not concurrent)

2014-09-03  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Remove redundant server argument from HookScriptRunner.env_from_wal_info()

2014-08-27  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Add relpath() and fullpath() methods in WalInfoFile
	* Remove 'full_path' attribute in WalInfoFile
	* Add 'relpath()' method to WalInfoFile, which returns the
	  relative path of a WAL file within the 'wals_directory' directory
	* Add 'fullpath()' method to WalInfoFile, which returns the
	  full path of a WAL file within a server installation (requires
	  a server object)

2014-08-23  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Updated version in .spec file

2014-08-20  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Add build_config_from_dicts to testing_helpers module

	Make Config.Server, WalFileInfo and BackupInfo objects json encodable

2014-08-20  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Added unit to JSON representation of a retention policy

	Started version 1.3.4-alpha.1

2014-08-18  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Update the ChangeLog file

	Fixed typo in release date

2014-08-13  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Prepared version 1.3.3

2014-08-12  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Add an unit-test for Server.get_wal_full_path() method

2014-08-12  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Refactored building of full path of a WAL file

2014-08-01  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Report which file is about to be archived before actually doing it

2014-07-25  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Remove traceback from output when Barman is interrupted by CTRL-c

	Avoid flushing/fsyncing read only files
	Fixes: #49 EXCEPTION: [Errno 9] Bad file descriptor

2014-07-24  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Added Barman's version number to 'barman diagnose'

2014-07-22  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Move xlogdb_parse_line method in WalFileInfo class

2014-07-23  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Cleanup output API status at the end of test_output.py

2014-07-22  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Estimates WAL production rate for a backup

2014-07-18  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Removed duplicate log message at the end of  'barman recover' wal segments copy

	Fix datetime.timedelta json serialization in 'barman diagnose' command

2014-07-17  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

2014-07-17  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Prepared version 1.3.3-alpha.1 docs

2014-07-17  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Really fix "ssh" version detection in "barman diagnose" command

2014-07-16  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Add command line options for retry of backup/recover copy
	Implemented the --retry-times (including --no-retry) and --retry-sleep
	command line options for backup/recovery copy

	Emit warnings in case of unexptected configuration options

2014-07-14  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Reduce the verbosity of the log for "barman cron"
	Currently the "barman cron" command emits one log line for
	every WAL file that's archived (including the server name
	as a prefix). No log line is emitted for an empty cron run.

	Make recovery --target-time option more resilient to wrongly formatted values
	Workaround a bug in dateutil.parser.parse() implementation
	ref: https://bugs.launchpad.net/dateutil/+bug/1247643

	Improved logging for "barman recover" command

	Default log prefix now contains barman process ID (pid)

2014-07-16  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix "ssh" version detection in "barman diagnose" command

2014-07-11  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix wrong variable name in BackupManager.delete_wal()

2014-07-09  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Add unit test for LockFile object and server.xlogdb() call
	Minor changes:
	 - converted test_xlog.py to py.test style

2014-07-11  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Make sure remote WAL destination path is a directory
	Add a trailing slash to the remote WAL destination path, in
	order to ensure it is a directory

2014-07-07  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Fix serialisation of CvsOption during "barman diagnose" command

2014-07-11  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Use a WalFileInfo object when decoding an xlogdb line

	Add --no-human-readable to rsync --list-only invocation
	In rsync >= 3.1.0 the --list-only format changed adding digit
	groupings by default in "size" field. To obtain the pre 3.1.0 behavior
	you need to add --no-human-readable
	Ref: http://ftp.samba.org/pub/rsync/src/rsync-3.1.0-NEWS

2014-07-09  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Log any hook script failure with its output at warning level

2014-07-08  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Wraps xlogdb() code in a try/finally block

2014-06-28  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix wait parameter logic in LockFile class
	In previous versions the wait argument on the LockFile constructor was
	mistakenly ignored, actually preventing the usage of a waiting lock
	through the Context Manager interface

	Always use utils.mkpath() to create directories that could already exist
	Minor changes:
	 - In retry_backup_copy log the exception which caused the failure

2014-06-27  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Really ignore vanished files errors in rsync smart copy routine

2014-06-27  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Added info messages for the four phases of the new rsync smart copy
	Minor changes:
	- Fix unit tests for basebackup_retry_* config values

	Updated documentation for 1.3.3-alpha1

	Set default for basebackup_retry_times to 0
	For compatibility with previous Barman versions, set
	basebackup_retry_times to 0 as default value.

2014-06-26  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Make sure timestamps are tz-aware anywhere in the code
	Minor changes:
	 - Add basic unit tests for retention policies

2014-06-26  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Close all open descriptors but std{in,out,err} when spawning a child process
	Minor changes:
	 - Remove some dead code
	 - fix missing 'last_backup_maximum_age' as global option

2014-06-24  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Display compression ratio for WALs in show-backup

2014-06-23  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Improved Nagios output for check command

2014-06-25  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Manage KeyboardInterrupt exception in 'barman backup'

2014-06-23  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Added support for PostgreSQL 8.3

2014-06-24  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Updated rpm packaging spec to work with pre-releases
	Minor changes:
	- add rsync dependency to barman.spec file

2014-05-29  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Support for comma separated list options
	Added support for a new data type in configuration options:
	comma separated list values. The first option to be implemented
	is backup_options, now accepting a list of values.

2014-06-18  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Decode binary strings in command_wrapper
	This fixes python2.7 and python3 compatibility

	Minor changes:
	- make scripts/release.sh python3 compatible

2014-06-10  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Support for 'last_backup_max_age'
	This new global/server option allows administrators
	to set the max age of the last backup, making it easier
	to detect any issues with periodical backup execution.

2014-06-18  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Support for "smart" incremental recovery
	Avoid invoking rsync with --checksum option during recovery,
	while maintaining the same level of safety by splitting the
	copy operation in multiple steps.
	Barman will only use the --checksum option on files having identical
	time and size that have been modified after the start of the backup.
	This change greatly improves the speed of "incremental" recovery.

	Minor changes:
	- disable --checksum even for backup. During a backup the rsync
	  destination directory is empty, so it is safe to go with a plain
	  rsync
	- Put a ".barman-recover.info" with backup metadata inside the
	  destination directory during recover.

	Use Postgres' server time for both begin_time and end_time
	Minor changes:
	- make sure exceptions during backup are logged with stacktraces
	- commit on disk the backup status just after issuing the PostgreSQL
	  start_backup command

	Change version to 1.3.3-alpha.1

2014-06-09  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Added fsync() for backup and cron operations

2014-06-06  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix parsing of 'basebackup_retry_times' and 'basebackup_retry_sleep' options

2014-05-30  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Fix for #43 recovery.conf not copied on remote recovery

2014-05-08  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Retry option for base backup
	If a network error happens during rsync, add the ability
	to retry a defined number of time.

	Two options have been added:
	 * basebackup_retry_times: INT (> 0, default 1)
	     maximum number or retry before giving up
	 * basebackup_retry_sleep: INT (> 0, default 10)
	     wait time (seconds) before retrying, after an error

2014-05-29  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Improve robustness of backup code
	Improve error message about stop_backup failure

2014-04-23  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	fixed missing pre/post archive parameters. #41 on sourceforge

2014-04-15  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

	Update unit tests to match current rsync flags

2014-04-15  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Prepared source code for version 1.3.2

2014-04-15  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Added checks for pg_extension (>= 9.1) and pg_is_in_recovery (>= 9.0)

2014-04-11  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

2014-04-10  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Always pass --checksum to rsync invocations

	Emit a warning if backup_options is set to an invalid value

	Clarify some "permission denied" error

2014-04-08  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Cosmetic change: Pgespresso -> pgespresso

2014-04-07  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update RPM spec file for 1.3.1

2014-04-04  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Prepared documentation for version 1.3.1

2014-04-04  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix 'barman diagnose' python3 support

	Improved logging and error reporting

2014-04-03  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Fixed SourceForge bug #36: Unhandled exception for minimum redundancy

2014-04-03  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Empty strings are now treated as None in Barman configuration

2014-04-02  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Removed spurious "file not found" message in cron output

	Add release information to 'barman diagnose'

	Sort 'barman show-server' output

	Use a Tablespace object to carry tablespace information

2014-03-26  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Protect during recovery tablespaces inside PGDATA
	* When performing a recovery operation, tablespaces that will be recovered
	  inside the new destination directory (PGDATA) are be 'protected' by
	  rsync. This avoids overwrites by rsync when copying PGDATA content.
	* Add debug messages to FS class

2014-03-24  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Implementation of 'barman diagnose' command (JSON output)

2014-03-21  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Concurrent backup using the 'pgespresso' extension
	* Fix bwlimit tablespaces backup (missing destination directory)
	* Purge unused wal files at first backup in concurrent mode
	* Exclusion of recovery.conf during backup

2014-03-19  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix unhandled exception in recover when destination dir is not writable

2014-02-19  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Make -q command line switch working again
	Also demote "another cron is running" message from error to info level.

2014-02-02  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

	Update RPM spec file for release 1.3.0

	Review of NEWS and AUTHORS files

2014-01-31  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Updated files for final release

2014-01-30  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Improve error messages during remote recovery

2014-01-29  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Use fsync to avoid xlog.db file corruption (Closes #32)

	Add network_compression configuration option (Closes #19)
	When network_compression is enabled, all network transfers are done
	using compression (if available).

2014-01-29  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Check directories exist before executing a backup (#14)

2014-01-28  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Reduce log verbosity during initialisation phase

2014-01-28  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Load configuration files after logger initialisation

2014-01-21  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Avoid tablespaces inside pgdata directory from being copied twice

2014-01-09  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Generalise recovery operations (local/remote)

2014-01-28  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Reviewed documentation of WAL archive hook scripts

2014-01-07  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Add pre_archive_script and post_archive_scrip hook scripts

2014-01-23  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Refactor the LockFile management class to report permission errors.

	Fix 'Invalid cross-device link' error in cron when incoming is on a different filesystem (merge request #4 by Holger Hamann)

2014-01-22  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Port 'show-server' command to the new output interface

2014-01-21  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Updated copyright (2014)

2014-01-17  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Port 'status' and 'list-server' commands to the new output interface

2014-01-09  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Port the 'show-backup' command to the new output interface

2014-01-16  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Added implementation for backup command --immediate-checkpoint option and immediate_checkpoint configuration option

2014-01-08  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Bump version number and add release notes for 1.3.0

2013-11-27  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	Add unit tests for infofile and compression modules
	Fix some python3 compatibility bugs highlighted by the tests

2013-10-18  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Move barman._pretty_size() to barman.utils.pretty_size()

2014-01-03  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Implement BackupInfo as a FieldListFile and move it in infofile module.

2014-01-07  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Refactor output to a dedicate module.
	The following commands have been ported to the new interface:

	 * backup
	 * check
	 * list-backup

	A special NagiosOutputWriter has been added to support Nagios compatible
	output for the check command

	WARNING: this code doesn't run due to a circular dependency. The issue
	will be fixed in the next commit

2013-09-12  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Isolate subrocesses' stdin/stdout in command_wrappers module

2014-01-07  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Refactor hooks management

2013-09-12  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Split out logging configuration and userid enforcement from the configuration class.

2013-12-16  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Added rebuild-xlogdb command man page

2013-11-08  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Implement the rebuild-xlogdb command. (Closes #27)

2013-11-19  Giulio Calacoci  <giulio.calacoci@2ndquadrant.it>

	added documentation for tablespaces relocation (#22)

2013-10-30  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Added TODO list

2013-09-05  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

	Bump version to 1.2.3

2013-08-29  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Updated README and man page

	Added stub of release notes

2013-08-26  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Initial Python 3 support

	Update setup.py to support py.test and recent setuptools

2013-08-24  Damon Snyder  <damonsnyder@users.sourceforge.net>

	27: Addresses potential corruption of WAL xlog.db files.
	In barman.lockfile.release() the file is unlinked (deleted). This effectively
	nullifies any future attempts to lock the file by a blocking process by deleting
	the open file table entry upon which the flock is based.

	This commit removes the unlink and instead unlocks the file and then closes the file
	descriptor leaving the lock file and open file table entry intact.

2013-08-22  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Add support for restore target name (PostgreSQL 9.1+)

2013-08-21  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	PostgreSQL version in backup.info file is an integer

	Make WAL sequence calculation compatible with PostgreSQL 9.3
	With PostgreSQL 9.3 WAL files are written in a continuous stream,
	rather than skipping the last 16MB segment every 4GB, meaning WAL
	filenames may end in FF.

2013-06-24  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

	Fix config file parser tests

	Bump version to 1.2.2

	Fix python 2.6 compatibility

	Fix history in spec file

2013-06-17  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update RPM spec file

2013-06-13  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

	Fix remote recovery with bwlimit on a tablespace

2013-06-07  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Added the "tablespace_bandwidth_limit" option

2013-06-12  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Updated docs and man pages for 1.2.1

	Prepared NEWS file for 1.2.1 release

2013-04-26  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Added the "bandwidth_limit" global/server option which allows to limit the I/O bandwidth (in KBPS) for backup and recovery operations

	Added /etc/barman/barman.conf as default location

2013-03-13  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Removed duplicate message for previous backup in show command

2013-03-07  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Cosmetic change in message for "all" reserved section

2013-02-08  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Avoid triggering the minimum_redundancy check on FAILED backups

	Add BARMAN_VERSION to hook script environment

2013-01-31  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

	Update RPM's spec files

2013-01-30  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Finalised files for version 1.2.0

2013-01-28  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Forbid the usage of 'all' word as server name

2013-01-11  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Added basic support for Nagios plugin output for check command through the --nagios option

2013-01-28  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Add @expects_obj decorator to cli function as required by the upcoming Argh 1.0 API

2013-01-11  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Migratte to new argh api.
	Now barman requires arg => 0.21.2 and argcomplete-

2013-01-11  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Prepared release notes

2012-12-18  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix typo in doc/barman.conf

2012-12-14  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Return failure exit code if backup command fails in any way

2012-12-14  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Prepared copyright lines for 2013

	Updated documentation and man pages

	Added retention policy examples in configuration file

2012-12-13  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Q/A on retention policy code

2012-12-12  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix configuration parser unit tests

	Exit with error if an invalid server name is passed in any command which takes a list of server

2012-12-08  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Add retention status to show-backup and list-backup commands

	Auto-management of retention policies for base backups
	Using the report() method for retention policies, enforce retention
	policy through cron (if policy mode is 'auto'), by deleting OBSOLETE
	backups.

	Retention status and report() method for retention policies
	Created the following states for retention policies:
	VALID, OBSOLETE, NONE and POTENTIALLY_OBSOLETE (an
	object which is OBSOLETE but cannot be removed
	automatically due to minimum_redundancy requirements).
	Created the report() method for the retention policy
	base class, which exected the _backup_report() method
	for base backups and the _wal_report() method for WAL
	retention policies (currently not enforced).
	The report method iterates through the DONE backups
	and according to the retention policy, classifies
	the backup. RedundancyRetentionPolicy uses the number
	of backups, RecoveryWindowRetentionPolicy uses the
	time window and the recoverability point concept.

	Integrated minimum_redundancy with "barman check"

	Initialisation of retention policies for a server
	Added the _init_retention_policies() method in the
	Server class constructor, which integrates with
	the new RetentionPolicy classes and performs
	syntax checking.
	Integrated retention policies with log, 'barman check'
	and 'barman status'.

	String representation conforms to retention syntax
	The string representation produces now a syntax-valid
	retention policy configuration string.
	The previous __str__ method has been renamed into debug()
	SimpleWALRetentionPolicy objects are now created from
	the server's main retention policy by the factory class.

2012-12-07  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Add the global/server option minimum_redundancy. Check it is >= 0. Guarantees that when delete is performed (or retention policies are enforced), this is the minimum number of backups to be kept for that server.

	Add support for retention_policy_mode global/server option which defines the method for enforcing retention policies (currently only "auto", in future versions "manual" will be allowed)

	Added first stub of retention policy classes

	Started version 1.2.0

2012-12-04  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix unit config tests

	Update the ChangeLog file

	Add ssl_*_file and unix_socket_directory to dangerous options list

	Display tablespace's oid in show-backup output

	Alphabetically sort servers in all commands output

	Don't give up on first error in 'barman check all' command

2012-12-03  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Added sorting of files in configuration directory

2012-11-29  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix regression in barman check command when configuration_files_directory is None

	Update rpm files to 1.1.2 release

2012-11-29  Carlo Ascani  <carlo.ascani@2ndquadrant.it>

	Update README

2012-11-29  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Prepared files for release

2012-11-28  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Add the configuration_files_directory option which allows to include multiple files from a directory

2012-11-29  Carlo Ascani  <carlo.ascani@2ndquadrant.it>

	Update README

2012-11-28  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update NEWS file

2012-11-05  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Added support for list-backup all

2012-11-04  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Added latest/oldest for show-backup, delete, list-files and recover commands

	Added get_first_backup and get_last_backup functions to Server class

	Added application_name management for PostgreSQL >= 9.0

2012-11-13  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Switched to version 1.1.2

	Continue if a WAL file is not found during delete (bug #18)

2012-11-04  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Includes version 90200 for tablespace new function

2012-10-16  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

	Update NEWS file and rpm package

	Bump version to 1.1.1

	Add more information about the failing line in xlogdb_parse_line errors

2012-10-15  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fix two bug on recover command

2012-10-12  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Update the ChangeLog file

	Update rpm changelog

	Make recover fail if an invalid tablespace relocation rule is given

	Remove unused imports from cli.py

2012-10-11  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Updated version to 1.1.0

	Fixes bug #12

2012-10-11  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Fail fast on recover command if the destination directory contains the ':' character (Closes: #4)

	Fix typo in recovery messages

	Report an informative message when pg_start_backup() invocation fails because an exclusive backup is already running (Closes: #8)

	Make current_action an attribute of BackupManager class

2012-10-08  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Added ticket #10 to NEWS

	Add pg_config_detect_possible_issues function for issue #10

2012-10-04  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Updated NEWS file with bug fixing #9

	Fixes issue #9 on pg_tablespace_location() for 9.2

2012-08-31  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Add BARMAN_PREVIOUS_ID variable to hooks environment

2012-08-20  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Merge spec changes from Devrim

	Add BARMAN_ERROR and BARMAN_STATUS variables to hook's environment

	Added backup all documentation to README

2012-08-20  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Updated release notes

	Set version to 1.0.1

2012-08-20  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Document {pre,post}_backup_script in README

	Document {pre,post}_backup_script in configuration man-page

2012-08-17  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Add pre/post backup hook scripts definition (Closes: #7)
	Add the possibility to manage hook scripts before and after a base
	backup. Add the global (overridden per server) configuration options
	called:

	* pre_backup_script: executed before a backup
	* post_backup_script: executed after a backup

	Use the environment to pass at least the following variabiles:

	* BARMAN_BACKUP_DIR: backup destination directory
	* BARMAN_BACKUP_ID: ID of the backup
	* BARMAN_CONFIGURATION: configuration file used by barman
	* BARMAN_PHASE: 'pre' or 'post'
	* BARMAN_SERVER: name of the server

	The script definition is passed to the shell and can return any exit code.

	Barman won't perform any exit code check. It will simply log the result in the log file.

	To test it you can try adding

	pre_backup_script = env | grep ^BARMAN
	post_backup_script = env | grep ^BARMAN

	in your barman config and you'll see the variables on console.

2012-08-16  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Add documentation for 'backup all' command.

2012-07-19  Gabriele Bartolini  <gabriele.bartolini@2ndquadrant.it>

	Add 'backup all' shortcut and, in general, multiple servers specification (issue #1)

	Add 'backup all' shortcut and, in general, multiple servers specification (issue #1)

2012-07-16  Gabriele Bartolini  <gabriele.bartolini@2ndQuadrant.it>

	Fixed typo (thanks to Daymel Bonne Solís)

2012-07-06  Marco Nenciarini  <marco.nenciarini@2ndquadrant.it>

	Initial commit
