1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-03 14:52:21 +02:00

v1.24: New Backup Exclusions

Bug Fixes:

* Fixed an issue where warnings were being emitted in place of lower priority log messages during backup from standby initialization. (Reported by Uspen.)
* Fixed an issue where some db-* options (e.g. db-port) were not being passed to remotes. (Reported by Uspen.)

Features:

* Exclude contents of pg_snapshots, pg_serial, pg_notify, and pg_dynshmem from backup since they are rebuilt on startup.
* Exclude pg_internal.init files from backup since they are rebuilt on startup.
This commit is contained in:
David Steele 2017-09-28 19:06:41 -04:00
parent 40a85e34f1
commit d0bf946857
5 changed files with 2025 additions and 786 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. 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.23](https://github.com/pgbackrest/pgbackrest/releases/tag/release/1.23) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page. pgBackRest [v1.24](https://github.com/pgbackrest/pgbackrest/releases/tag/release/1.24) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
## Features ## Features

File diff suppressed because it is too large Load Diff

View File

@ -10,14 +10,22 @@
</intro> </intro>
<release-list> <release-list>
<release date="XXXX-XX-XX" version="1.24dev" title="UNDER DEVELOPMENT"> <release date="2017-09-28" version="1.24" title="New Backup Exclusions">
<release-core-list> <release-core-list>
<release-bug-list> <release-bug-list>
<release-item> <release-item>
<release-item-contributor-list>
<release-item-ideator id="uspen"/>
</release-item-contributor-list>
<p>Fixed an issue where warnings were being emitted in place of lower priority log messages during backup from standby initialization.</p> <p>Fixed an issue where warnings were being emitted in place of lower priority log messages during backup from standby initialization.</p>
</release-item> </release-item>
<release-item> <release-item>
<release-item-contributor-list>
<release-item-ideator id="uspen"/>
</release-item-contributor-list>
<p>Fixed an issue where some <id>db-*</id> options (e.g. <br-option>db-port</br-option>) were not being passed to remotes.</p> <p>Fixed an issue where some <id>db-*</id> options (e.g. <br-option>db-port</br-option>) were not being passed to remotes.</p>
</release-item> </release-item>
</release-bug-list> </release-bug-list>
@ -3280,7 +3288,7 @@
<!-- The order of other contributors is alpha by name --> <!-- The order of other contributors is alpha by name -->
<contributor id="avellar.leonardo"> <contributor id="avellar.leonardo">
<contributor-name-display>Leonardo Avellar</contributor-name-display> <contributor-name-display>Leonardo GG Avellar</contributor-name-display>
<contributor-id type="github">L30Bola</contributor-id> <contributor-id type="github">L30Bola</contributor-id>
</contributor> </contributor>
@ -3419,6 +3427,11 @@
<contributor-id type="github">Underhunden</contributor-id> <contributor-id type="github">Underhunden</contributor-id>
</contributor> </contributor>
<contributor id="uspen">
<contributor-name-display>Uspen</contributor-name-display>
<contributor-id type="github">uspen</contributor-id>
</contributor>
<contributor id="vernick.todd"> <contributor id="vernick.todd">
<contributor-name-display>Todd Vernick</contributor-name-display> <contributor-name-display>Todd Vernick</contributor-name-display>
<contributor-id type="github">gintoddic</contributor-id> <contributor-id type="github">gintoddic</contributor-id>

View File

@ -156,8 +156,8 @@ my $oConfigHelpData =
summary => summary =>
"Backup from the standby cluster.", "Backup from the standby cluster.",
description => description =>
"Enable backup from standby to reduce load on the master cluster. This option requires that both the master and " . "Enable backup from standby to reduce load on the primary cluster. This option requires that both the primary " .
"standby hosts be configured." "and standby hosts be configured."
}, },
# BACKUP-USER Option Help # BACKUP-USER Option Help
@ -574,7 +574,7 @@ my $oConfigHelpData =
summary => summary =>
"Protocol timeout.", "Protocol timeout.",
description => description =>
"Sets the timeout, in seconds, that the master or remote process will wait for a new message to be received on " . "Sets the timeout, in seconds, that the local or remote process will wait for a new message to be received on " .
"the protocol layer. This prevents processes from waiting indefinitely for a message. The protocol-timeout " . "the protocol layer. This prevents processes from waiting indefinitely for a message. The protocol-timeout " .
"option must be greater than the db-timeout option." "option must be greater than the db-timeout option."
}, },

View File

@ -35,7 +35,7 @@ use constant BACKREST_BIN => abs_path(
# Defines the current version of the BackRest executable. The version number is used to track features but does not affect what # 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. # repositories or manifests can be read - that's the job of the format number.
#----------------------------------------------------------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------------------------------------------------------
use constant BACKREST_VERSION => '1.24dev'; use constant BACKREST_VERSION => '1.24';
push @EXPORT, qw(BACKREST_VERSION); push @EXPORT, qw(BACKREST_VERSION);
# Format Format Number # Format Format Number