1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

v1.04: Various Bug Fixes

Bug Fixes:

* Fixed an issue an where an extraneous remote was created causing threaded backup/restore to possibly timeout and/or throw a lock conflict. (Reported by Michael Vitale.)
* Fixed an issue where db-path was not required for the check command so an assert was raised when it was missing rather than a polite error message. (Reported by Michael Vitale.)
* Fixed check command to throw an error when database version/id does not match that of the archive. (Fixed by Cynthia Shang.)
* Fixed an issue where a remote could try to start its own remote when the backup-host option was not present in pgbackrest.conf on the database server. (Reported by Lardière Sébastien.)
* Fixed an issue where the contents of pg_xlog were being backed up if the directory was symlinked. This didn't cause any issues during restore but was a waste of space.
* Fixed an invalid log() call in lock routines.

Features:

* Experimental support for non-exclusive backups in PostgreSQL 9.6 beta3. 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:

* Enhancements to the protocol layer for improved reliability and error handling.
* All remote types now take locks. The exceptions date to when the test harness and pgBackRest were running in the same VM and no longer apply.
* Exceptions are now passed back from threads as messages when possible rather than raised directly.
* Temp files created during backup are now placed in the same directory as the target file.
* Output lock file name when a lock cannot be acquired to aid in debugging.
* Reduce calls to protocolGet() in backup/restore.
* Suppress banners on SSH protocol connections.
* Improved remote error messages to identify the host where the error was raised.
This commit is contained in:
David Steele 2016-07-30 09:42:35 -04:00
parent f2b3dda647
commit 277934447b
5 changed files with 263 additions and 215 deletions

View File

@ -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.03](https://github.com/pgbackrest/pgbackrest/releases/tag/release/1.03) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
pgBackRest [v1.04](https://github.com/pgbackrest/pgbackrest/releases/tag/release/1.04) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
## Features

View File

@ -133,7 +133,7 @@ eval
# Generate deployment docs for RHEL/Centos 6
&log(INFO, "Generate RHEL/CentOS 6 documentation");
executeTest("${strDocExe} --deploy --keyword=co6");
executeTest("${strDocExe} --deploy --keyword=co6 --out=pdf");
executeTest("${strDocExe} --deploy --cache-only --keyword=co6 --out=pdf --var=\"project-name=Crunchy BackRest\"");
# Generate deployment docs for Debian

File diff suppressed because it is too large Load Diff

View File

@ -52,6 +52,11 @@
<contributor-id type="github">crunchyjohn</contributor-id>
</contributor>
<contributor id="lardiere.sebastien">
<contributor-name-display>Lardi&amp;egrave;re S&amp;eacute;bastien</contributor-name-display>
<contributor-id type="github">slardiere</contributor-id>
</contributor>
<contributor id="odonnell.jason">
<contributor-name-display>Jason O'Donnell</contributor-name-display>
<contributor-id type="github">Dwaligon</contributor-id>
@ -99,7 +104,7 @@
</contributor-list>
<release-list>
<release date="XXXX-XX-XX" version="1.04dev" title="UNDER DEVELOPMENT">
<release date="2016-07-30" version="1.04" title="Various Bug Fixes">
<release-core-list>
<release-bug-list>
<release-item>
@ -129,15 +134,19 @@
</release-item>
<release-item>
<p>Fixed an issue where the contents of <path>pg_xlog</path> were being copied if the directory was symlinked.</p>
<release-item-contributor-list>
<release-item-ideator id="lardiere.sebastien"/>
</release-item-contributor-list>
<p>Fixed an issue where a remote could try to start its own remote when the <br-option>backup-host</br-option> option was not present in <file>pgbackrest.conf</file> on the database server.</p>
</release-item>
<release-item>
<p>Fixed an invalid log call in lock routines.</p>
<p>Fixed an issue where the contents of <path>pg_xlog</path> were being backed up if the directory was symlinked. This didn't cause any issues during restore but was a waste of space.</p>
</release-item>
<release-item>
<p>Fixed an issue where a remote could try to start its own remote.</p>
<p>Fixed an invalid <code>log()</code> call in lock routines.</p>
</release-item>
</release-bug-list>
@ -207,6 +216,11 @@
<release-refactor-list>
<release-item>
<release-item-contributor-list>
<release-item-ideator id="vondendriesch.adrian"/>
<release-item-contributor id="steele.david"/>
</release-item-contributor-list>
<p>HTML footer dates are statically created in English in order to be reproducible.</p>
</release-item>
</release-refactor-list>
@ -332,6 +346,11 @@
</release-item>
<release-item>
<release-item-contributor-list>
<release-item-ideator id="vondendriesch.adrian"/>
<release-item-contributor id="steele.david"/>
</release-item-contributor-list>
<p>Allow a static date to be used for documentation to generate reproducible builds.</p>
</release-item>

View File

@ -27,7 +27,7 @@ use constant BACKREST_CONF => BACKREST_
# 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.04dev';
use constant BACKREST_VERSION => '1.04';
push @EXPORT, qw(BACKREST_VERSION);
# Format Format Number