1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/lib/pgBackRest
David Steele be77136eae v1.06: Backup from Standby and Bug Fixes
Bug Fixes:

* Fixed an issue where a tablespace link that referenced another link would not produce an error, but instead skip the tablespace entirely. (Reported by Michael Vitale.)
* Fixed an issue where options that should not allow multiple values could be specified multiple times in pgbackrest.conf without an error being raised. (Reported by Michael Vitale.)
* Fixed an issue where the protocol-timeout option was not automatically increased when the db-timeout option was increased. (Reported by Todd Vernick.)

Features:

* Backup from a standby cluster. A connection to the primary cluster is still required to start/stop the backup and copy files that are not replicated, but the vast majority of files are copied from the standby in order to reduce load on the master.
* More flexible configuration for databases. Master and standby can both be configured on the backup server and pgBackRest will automatically determine which is the master. This means no configuration changes for backup are required after failing over from a master to standby when a separate backup server is used.
* Exclude directories during backup that are cleaned, recreated, or zeroed by PostgreSQL at startup. These include pgsql_tmp and pg_stat_tmp. The postgresql.auto.conf.tmp file is now excluded in addition to files that were already excluded: backup_label.old, postmaster.opts, postmaster.pid, recovery.conf, recovery.done.
* Experimental support for non-exclusive backups in PostgreSQL 9.6 beta4. Changes to the control/catalog/WAL versions in subsequent betas may break compatibility but pgBackRest will be updated with each release to keep pace.

Refactoring:

* Simplify protocol creation and identifying which host is local/remote.
* Removed all OP_* function constants that were used only for debugging, not in the protocol, and replaced with __PACKAGE__.
* Improvements in Db module: separated out connect() function, allow executeSql() calls that do not return data, and improve error handling.
* Improve error message for links that reference links in manifest build.
* Added hints to error message when relative paths are detected in archive-push or archive-get.
* Improve backup log messages to indicate which host the files are being copied from.
2016-08-25 11:49:09 -04:00
..
Common More flexible configuration for databases 2016-08-24 12:39:27 -04:00
Config Fixed timeout issue. 2016-08-25 11:27:00 -04:00
Protocol More flexible configuration for databases 2016-08-24 12:39:27 -04:00
Archive.pm More flexible configuration for databases 2016-08-24 12:39:27 -04:00
ArchiveCommon.pm Backup from a standby cluster. 2016-08-25 11:25:46 -04:00
ArchiveInfo.pm Removed all OP_* function constants that were used only for debugging, not in the protocol, and replaced with __PACKAGE__. 2016-08-11 17:32:28 -04:00
Backup.pm Backup from a standby cluster. 2016-08-25 11:25:46 -04:00
BackupCommon.pm Removed all OP_* function constants that were used only for debugging, not in the protocol, and replaced with __PACKAGE__. 2016-08-11 17:32:28 -04:00
BackupFile.pm More flexible configuration for databases 2016-08-24 12:39:27 -04:00
BackupInfo.pm Backup from a standby cluster. 2016-08-25 11:25:46 -04:00
Db.pm Backup from a standby cluster. 2016-08-25 11:25:46 -04:00
DbVersion.pm More flexible configuration for databases 2016-08-24 12:39:27 -04:00
Expire.pm More flexible configuration for databases 2016-08-24 12:39:27 -04:00
File.pm More flexible configuration for databases 2016-08-24 12:39:27 -04:00
FileCommon.pm Removed all OP_* function constants that were used only for debugging, not in the protocol, and replaced with __PACKAGE__. 2016-08-11 17:32:28 -04:00
Info.pm More flexible configuration for databases 2016-08-24 12:39:27 -04:00
Manifest.pm Backup from a standby cluster. 2016-08-25 11:25:46 -04:00
Restore.pm More flexible configuration for databases 2016-08-24 12:39:27 -04:00
RestoreFile.pm Removed all OP_* function constants that were used only for debugging, not in the protocol, and replaced with __PACKAGE__. 2016-08-11 17:32:28 -04:00
Version.pm v1.06: Backup from Standby and Bug Fixes 2016-08-25 11:49:09 -04:00