pgbackrest (2.54.2-1) unstable; urgency=medium

  * New Upstream Release
    - Bug Fixes:
      * Fix issue after disabling bundling with block incremental enabled.
    - Documentation Improvements:
      * Clarify behavior of multiple configuration files.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Tue, 21 Jan 2025 11:43:38 +0100

pgbackrest (2.54.1-1) unstable; urgency=medium

  [ Bradford D. Boyle ]
  * New Upstream Release
    - Bug Fixes:
      * Fix issue with version/help commands attempting to load
        pgbackrest.conf.
    - Test Suite Improvements:
      * Stabilize async archiving in integration tests.
  * d/tests: Re-enable version test for this release.

 -- Christoph Berg <myon@debian.org>  Tue, 31 Dec 2024 22:22:18 +0100

pgbackrest (2.54.0-1) unstable; urgency=medium

  * New Upstream Release
    - Bug Fixes:
      * Fix PostgreSQL query performance for large datasets.
    - Features:
      * Allow repositories on versioned storage to be read at a target time.
      * Allow requested standby backup to proceed with no standby.
    - Improvements:
      * Summarize backup reference list for info command text output.
      * Refresh web-id token for each S3 authentication.
      * Correctly display current values for indexed options in help.
      * Save backup.info only when contents have changed.
      * Remove limitation on reading files in parallel during restore.
      * Improve SFTP error messages.
    - Documentation Features:
      * Add performance tuning section to user guide.
    - Documentation Improvements:
      * Clarify source for data_directory.
      * Better logic for deciding when a summary should be lower-cased.
  * d/tests: Disable version test for this release

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Sun, 27 Oct 2024 14:13:29 +0100

pgbackrest (2.53.1-1) unstable; urgency=medium

  * New Upstream Release
    - Bug Fixes:
      * Fix permissions when restore run as root user.
      * Fix segfault on delayed connection errors.
      * Skip local repository duplicate check for SFTP.
    - Improvements:
      * PostgreSQL 17beta3 support.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Mon, 19 Aug 2024 10:11:54 +0200

pgbackrest (2.53-1) unstable; urgency=medium

  * New Upstream Release
    - Bug Fixes:
      * Fix SFTP renaming failure when file already exists.
    - Features:
      * Allow backups to run concurrently on different repositories.
      * Support IP-based SANs for TLS certificate validation.
    - Improvements:
      * Default log-level-stderr option to off.
      * Allow alternative WAL segment sizes for PostgreSQL <= 10.
      * Add hint to check SFTP authorization log.
    - Documentation Improvements:
      * Clarify archive-push multi-repo behavior.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Wed, 07 Aug 2024 18:25:20 +0200

pgbackrest (2.52.1-1) unstable; urgency=medium

  * New Upstream Release
    - Bug Fixes:
      * Fix issue with files larger on the replica than on the primary.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Tue, 25 Jun 2024 10:17:32 +0200

pgbackrest (2.52-1) unstable; urgency=medium

  [ Bradford D. Boyle ]
  * New Upstream Release
    - Features:
      * Add GCS batch delete support.
      * S3 SSE-C encryption support.
      * PostgreSQL 17 support.
    - Improvements:
      * Allow explicit disabling of optional dependencies in meson builds.
      * Dynamically find python in meson build.
      * Tag pgbackrest build target in meson as installable.
    - Documentation Improvements:
      * Update start/stop documentation to reflect actual functionality.

  [ Christoph Berg ]
  * Depend on python 3.10 | python3-distutils.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Mon, 03 Jun 2024 22:25:26 +0200

pgbackrest (2.51-1) unstable; urgency=medium

  [ Bradford D. Boyle ]
  * New Upstream Release
    - Bug Fixes:
      * Skip zero-length files for block incremental delta restore.
    - Improvements:
      * Improved support for dual stack connections.
      * Make meson the primary build system.
      * Detect files that have not changed during non-delta incremental backup.
      * Prevent invalid recovery when backup_label removed.
      * Improve archive-push WAL segment queue handling.
      * Limit resume functionality to full backups.
      * Update resume functionality for block incremental.
      * Allow --version and --help for version and help.
      * Add detailed backtrace to autoconf/make build.
    - Documentation Improvements:
      * Update references to recovery.conf.

  [ Christoph Berg ]
  * Recognize Bradford as pgbackrest Uploader.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Sun, 24 Mar 2024 22:59:51 +0000

pgbackrest (2.50-1) unstable; urgency=medium

  * Team upload.

  [ Michael Banck ]
  * d/rules: Add --restart-after-upgrade option to dh_installsystemd.
    (Closes: #1025936)

  [ Bradford D. Boyle ]
  * New Upstream Release
    - Bug Fixes:
      * Fix short read in block incremental restore.
      * Fix overflow suppressing backup progress in info output.
    - Improvements:
      * Preserve partial files during block incremental delta restore.
      * Add support for alternate compile-time page sizes.
      * Skip files truncated during backup when bundling.
      * Improve SFTP storage error messages.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Tue, 23 Jan 2024 00:19:49 +0000

pgbackrest (2.49-1) unstable; urgency=medium

  * New Upstream Release
    - Bug Fixes:
      * Fix regression in retries.
      * Fix recursive path remove in SFTP storage driver.
    - Improvements:
      * Remove support for PostgreSQL 9.3.
    - Documentation Features:
      * Document maintainer options.
      * Update point-in-time recovery documentation for PostgreSQL >= 13.
    - Test Suite Improvements:
      * Allow config/load unit test to run without libssh2 installed.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Tue, 28 Nov 2023 09:45:02 +0000

pgbackrest (2.48-1) unstable; urgency=medium

  * New Upstream Release
    - Bug Fixes:
      * Fix issue restoring block incremental without a block list.
    - Features:
      * Add --repo-storage-tag option to create object tags.
      * Add known hosts checking for SFTP storage driver.
      * Support for dual stack connections.
      * Add backup size completed/total to info command JSON output.
    - Improvements:
      * Multi-stanza check command.
      * Retry reads of pg_control until checksum is valid.
      * Optimize WAL segment check after successful backup.
      * Improve GCS multi-part performance.
      * Allow archive-get command to run when stanza is stopped.
      * Accept leading tilde in paths for SFTP public/private keys.
      * Reload GCS credentials before renewing authentication token.
    - Documentation Bug Fixes:
      * Fix configuration reference example for the tls-server-address option.
      * Fix command reference example for the filter option.
    - Test Suite Improvements:
      * Allow storage/sftp unit test to run without libssh2 installed.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Tue, 26 Sep 2023 21:30:11 +0200

pgbackrest (2.47-1) unstable; urgency=medium

  * Team upload.
  * New Upstream Release
    - Bug Fixes:
      * Preserve block incremental info in manifest during delta backup.
      * Fix block incremental file names in verify command.
      * Fix spurious automatic delta backup on backup from standby.
      * Skip recovery.signal for PostgreSQL >= 12 when recovery type=none.
      * Fix unique label generation for diff/incr backup.
      * Fix time-based archive expiration when no backups are expired.
    - Improvements:
      * Improve performance of SFTP storage driver.
      * Add timezone offset to info command date/time output.
      * Centralize error handling for unsupported features.
    - Documentation Improvements:
      * Clarify preference to install from packages in the user guide.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Mon, 31 Jul 2023 18:08:39 +0200

pgbackrest (2.46-1) experimental; urgency=medium

  * Team upload.
  * New Upstream Release
    - Features:
      * Block incremental backup.
      * SFTP support for repository storage.
      * PostgreSQL 16 support.
    - Improvements:
      * Allow page header checks to be skipped.
      * Avoid chown() on recovery files during restore.
      * Add error retry detail for HTTP retries.
    - Documentation Improvements:
      * Add warning about using recovery type=none.
      * Add note about running stanza-create on already-created repositories.

 -- Bradford D. Boyle <bradford.d.boyle@gmail.com>  Fri, 02 Jun 2023 11:28:27 +0000

pgbackrest (2.45-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Skip writing recovery.signal by default for restores of offline
      backups.
    - Features:
      * Block incremental backup (BETA).
    - Improvements:
      * Keep only one all-default group index.
    - Documentation Improvements:
      * Add explicit instructions for upgrading between 2.x versions.
      * Remove references to SSH made obsolete when TLS was introduced.


 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Mon, 27 Mar 2023 19:25:21 +0200

pgbackrest (2.44-1) unstable; urgency=medium

  * New Upstream Release:
    - Improvements:
      * Remove support for PostgreSQL 9.0/9.1/9.2.
      * Restore errors when no backup matches the current version of PostgreSQL.
      * Add compress-level range checking for each compress-type.
    - Documentation Improvements:
      * Add warning about enabling "hierarchical namespace" on Azure storage.
      * Add replacement for linefeeds in monitoring example.
      * Clarify target-action behavior on various PostgreSQL versions.
      * Updates and clarifications to index page.
      * Add dark mode to the website.
  * debian/patches: remove obsolet pcc64 const patch.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Tue, 31 Jan 2023 09:59:13 +0100

pgbackrest (2.43-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix missing reference in diff/incr backup.
    - Improvements:
      * Add hint when an option is specified without an index.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Mon, 28 Nov 2022 14:31:04 +0100

pgbackrest (2.42-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix memory leak in file bundle backup/restore.
      * Fix protocol error on short read of remote file.
    - Improvements:
      * Do not store references for zero-length files when bundling.
      * Use more generic descriptions for pg_start_backup()/pg_stop_backup().
    - Test Suite Improvements:
      * Update test.pl --psql-bin option to match command-line help.
  * d/control: Update standards version to 4.6.1.1, no changes needed.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Wed, 23 Nov 2022 09:38:59 +0100

pgbackrest (2.41-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix incorrect time expiration being used for non-default repositories.
      * Fix issue when listing directories recursively with a filter.
    - Features:
      * Backup key/value annotations.
    - Improvements:
      * Support --set in JSON output for info command.
      * Update archive.info timestamps after a successful backup.
      * Move standby timeline check after checkpoint.
      * Improve warning message on backup resume.
    - Documentation Improvements:
      * Add absolute path for kill in pgbackrest.service.
  * d/watch: Adjust watchfile.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Fri, 23 Sep 2022 19:27:03 +0200

pgbackrest (2.40-3) unstable; urgency=medium

  * Team upload.

  [ Adrian Vondendriesch ]
  * d/pgbackrest.service: Fix ExecReload command.

  [ Christoph Berg ]
  * Use dh --sourcedirectory=src.

 -- Christoph Berg <myon@debian.org>  Fri, 26 Aug 2022 10:27:14 +0200

pgbackrest (2.40-2) unstable; urgency=medium

  * d/patches: Reintroduce ppc64 patch.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Fri, 22 Jul 2022 14:14:09 +0200

pgbackrest (2.40-1) unstable; urgency=medium

  * New Upstream Release:
    - Improvements:
      * OpenSSL 3 support.
      * Create snapshot when listing contents of a path.
      * Force target-timeline=current when restore type=immediate.
      * Truncate files during delta restore when they are larger than expected.
      * Disable incremental manifest save when resume=n.
      * Set backup percent complete to zero before copy start.
      * Use S3 IsTruncated flag to determine list continuation.
    - Documentation Bug Fixes:
      * Skip internal options in the configuration reference.
    - Documentation Improvements:
      * Add link to PostgreSQL configuration in repository host section.
    - Test Suite Improvements:
      * Add experimental Meson build.
      * Allow any path to be passed to the --test-path option.
      * Fix compile error when DEBUG_EXEC_TIME is defined without DEBUG.
  * d/patches: Remove unnecessary ppc64 patch.
  * d/rules: Manually set buildsystem=makefile.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Fri, 22 Jul 2022 09:45:12 +0200

pgbackrest (2.39-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix error thrown from FINALLY() causing an infinite loop.
      * Error on all lock failures except another process holding the lock.
    - Features:
      * Backup file bundling for improved small file support.
      * Verify command to validate the contents of a repository.
      * PostgreSQL 15 support.
      * Show backup percent complete in info output.
      * Auto-select backup for restore command --type=lsn.
      * Suppress existing WAL warning when archive-mode-check is disabled.
      * Add AWS IMDSv2 support.
    - Improvements:
      * Allow repo-hardlink option to be changed after full backup.
      * Increase precision of percent complete logging for backup and restore.
      * Improve path validation for repo-* commands.
      * Improve stop command to honor stanza option.
      * Improve error message for invalid repo-azure-key.
      * Add hint to check the log on archive-get/archive-push async error.
      * Add ClockError for unexpected clock skew and timezone changes.
      * Strip extensions from history manifest before showing in error
        message.
      * Add user:group to lock permission error.
    - Documentation Bug Fixes:
      * Fix incorrect reference to stanza-update in the user guide.
      * Fix example for repo-gcs-key-type option in configuration reference.
      * Fix tls-server-auth example and add clarifications.
    - Documentation Improvements:
      * Simplify messaging around supported versions in the documentation.
      * Add option type descriptions.
      * Add FAQ about backup types and restore speed.
      * Document required base branch for pull requests.
  * d/pgbackrest.service: Include systemd unit file (disabled by default).

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Sun, 22 May 2022 15:29:42 +0200

pgbackrest (2.38-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Retry errors in S3 batch file delete.
      * Allow case-insensitive matching of HTTP connection header values.
    - Features:
      * Add support for AWS S3 server-side encryption using KMS.
      * Add archive-missing-retry option.
      * Add backup type filter to info command.
    - Improvements:
      * Retry on page validation failure during backup.
      * Handle TLS servers that do not close connections gracefully.
      * Add backup LSNs to info command output.
      * Automatically strip trailing slashes for repo-ls paths.
      * Do not retry fatal errors.
      * Remove support for PostgreSQL 8.3/8.4.
      * Remove logic that tried to determine additional file system compression.
    - Documentation Bug Fixes:
      * Move repo options in TLS documentation to the global section.
      * Remove unused backup-standby option from stanza commands.
      * Fix typos in help and release notes.
    - Documentation Improvements:
      * Add aliveness check to systemd service configuration.
      * Add FAQ explaining WAL archive suffix.
      * Note that replications slots are not restored.
  * d/pgbackrest.conf: Update configuration parameters.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Sun, 13 Mar 2022 14:28:45 +0100

pgbackrest (2.37-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix restore delta link mapping when path/file already exists.
      * Fix socket leak on connection retries.
    - Features:
      * Add TLS server.
      * Add --cmd option.
    - Improvements:
      * Check archive immediately after backup start.
      * Add timeline and checkpoint checks to backup.
      * Check that clusters are alive and correctly configured during a backup.
      * Error when restore is unable to find a backup to match the time target.
      * Parse protocol/port in S3/Azure endpoints.
      * Add warning when checkpoint_timeout exceeds db-timeout.
      * Add verb to HTTP error output.
      * Allow y/n arguments for boolean command-line options.
      * Make backup size logging exactly match info command output.
    - Documentation Improvements:
      * Display size option default and allowed values with appropriate units.
      * Fix typos and improve documentation for the tablespace-map-all option.
      * Remove obsolete statement about future multi-repository support.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Tue, 04 Jan 2022 11:44:12 +0100

pgbackrest (2.36-1) unstable; urgency=medium

  * Team upload with new upstream version.

 -- Christoph Berg <myon@debian.org>  Mon, 22 Nov 2021 14:10:06 +0100

pgbackrest (2.35-2) unstable; urgency=medium

  [ Debian Janitor ]
  * Update watch file format version to 4.
  * Bump debhelper dependency to >= 10, since that's what is used in
    debian/compat.
  * Bump debhelper from old 10 to 13.
  * Set debhelper-compat version in Build-Depends.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Sun, 29 Aug 2021 12:42:49 +0200

pgbackrest (2.35-1) unstable; urgency=medium

  [ Debian Janitor ]
  * Remove constraints unnecessary since stretch:
    + Build-Depends: Drop versioned constraint on debhelper and
      libyaml-libyaml-perl.

  [ Adrian Vondendriesch ]
  * New Upstream Release:
    - IMPORTANT NOTE: The log level for copied files in the backup/restore
      commands has been changed to detail. This makes the info log level less
      noisy but if these messages are required then set the log level for the
      backup/restore commands to detail.
    - Bug Fixes:
      * Detect errors in S3 multi-part upload finalize.
      * Fix detection of circular symlinks.
      * Only pass selected repo options to the remote.
    - Improvements:
      * Binary protocol.
      * Automatically create data directory on restore.
      * Allow restore --type=lsn.
      * Change level of backup/restore copied file logging to detail.
      * Loop while waiting for checkpoint LSN to reach replay LSN.
      * Log backup file total and restore size/file total.
    - Documentation Bug Fixes:
      * Fix incorrect host names in user guide.
    - Documentation Improvements:
      * Update contributing documentation and add pull request template.
      * Rearrange backup documentation in user guide.
      * Clarify restore --type behavior in command reference.
      * Fix documentation and comment typos.
    - Test Suite Improvements:
      * Add check for test path inside repo path.
      * Add CodeQL static code analysis.
      * Update tests to use standard patterns.
  * d/control:
    - Update B-D add libyaml-dev.
    - Update standards version to 4.5.0, no changes needed.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Thu, 26 Aug 2021 21:21:21 +0200

pgbackrest (2.34-1) experimental; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix issues with leftover spool files from a prior restore.
      * Fix issue when checking links for large numbers of tablespaces.
      * Free no longer needed remotes so they do not timeout during restore.
      * Fix help when a valid option is invalid for the specified command.
    - Features:
      * Add PostgreSQL 14 support.
      * Add automatic GCS authentication for GCE instances.
      * Add repo-retention-history option to expire backup history.
      * Add db-exclude option.
    - Improvements:
      * Change archive expiration logging from detail to info level.
      * Remove stanza archive spool path on restore.
      * Do not write files atomically or sync paths during backup copy.
    - Documentation Improvements:
      * Update contributing documentation.
      * Consolidate RHEL/CentOS user guide into a single document.
      * Clarify that repo-s3-role is not an ARN.
  * d/patches: Update ppc64el gcc patch.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Mon, 14 Jun 2021 13:48:40 +0200

pgbackrest (2.33-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix option warnings breaking async archive-get/archive-push.
      * Fix memory leak in backup during archive copy.
      * Fix stack overflow in cipher passphrase generation.
      * Fix repo-ls / on S3 repositories.
    - Features:
      * Multiple repository support.
      * GCS support for repository storage.
      * Add archive-header-check option.
    - Improvements:
      * Include recreated system databases during selective restore.
      * Exclude content-length from S3 signed headers.
      * Consolidate less commonly used repository storage options.
      * Allow custom config-path default with ./configure --with-configdir.
      * Log archive copy during backup.
    - Documentation Improvements:
      * Update reference to include links to user guide examples.
      * Update selective restore documentation with caveats.
      * Add compress-type clarification to archive-copy documentation.
      * Add compress-level defaults per compress-type value.
      * Add note about required NFS settings being the same as PostgreSQL.
  * d/control: Add libyaml-libyaml-perl to D-B.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Tue, 06 Apr 2021 19:22:00 +0200

pgbackrest (2.32-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix resume after partial delete of backup by prior resume.
    - Features:
      * Add repo-ls command.
      * Add repo-get command.
      * Add archive-mode-check option.
    - Improvements:
      * Improve archive-get performance.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Wed, 10 Feb 2021 18:28:28 +0100

pgbackrest (2.31-1) unstable; urgency=medium

  * d/control: Add check-pgbackrest in Suggests. (Closes: #970724)
  * New Upstream Release:
    - Bug Fixes:
      * Allow [, #, and space as the first character in database names.
      * Create standby.signal only on PostgreSQL 12 when restore type is
        standby.
    - Features:
      * Expire history files.
      * Report page checksum errors in info command text output.
      * Add repo-azure-endpoint option.
      * Add pg-database option.
    - Improvements:
      * Improve info command output when a stanza is specified but missing.
      * Improve performance of large file lists in backup/restore commands.
      * Add retries to PostgreSQL sleep when starting a backup.
    - Documentation Improvements:
      * Replace RHEL/CentOS 6 documentation with RHEL/CentOS 8.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Tue, 08 Dec 2020 13:14:27 +0100

pgbackrest (2.30-1) unstable; urgency=low

  * Bug Fixes:
    - Error with hints when backup user cannot read pg_settings.
  * Features:
    - PostgreSQL 13 support.
  * Improvements:
    - Improve PostgreSQL version identification.
    - Improve working directory error message.
    - Add hint about starting the stanza when WAL segment not found.
    - Add hint for protocol version mismatch.
  * Documentation Improvements:
    - Add note that pgBackRest versions must match when running remotely.
    - Move info command text to the reference and link to user guide.
    - Update yum repository path for CentOS/RHEL user guide.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Thu, 08 Oct 2020 17:28:15 +0200

pgbackrest (2.29-1) unstable; urgency=low

  [ Debian Janitor ]
  * Bump debhelper from deprecated 9 to 10.
  * Update standards version to 4.5.0, no changes needed.

  [ Adrian Vondendriesch ]
  * New Upstream Release:
    - Bug Fixes:
      * Suppress errors when closing local/remote processes. Since the
        command has completed it is counterproductive to throw an error but
        still warn to indicate that something unusual happened.
      * Fix issue with = character in file or database names.
    - Features:
      * Automatically retrieve temporary S3 credentials on AWS instances.
      * Add archive-mode option to disable archiving on restore.
    - Improvements:
      * PostgreSQL 13 beta3 support. Changes to the control/catalog/WAL
        versions in subsequent betas may break compatibility but pgBackRest
        will be updated with each release to keep pace.
      * Asynchronous list/remove for S3/Azure storage.
      * Improve memory usage of unlogged relation detection in manifest build.
      * Proactively close file descriptors after forking async process.
      * Delay backup remote connection close until after archive check.
      * Improve detailed error output.
      * Improve TLS error reporting.
    - Documentation Bug Fixes:
      * Add none to compress-type option reference and fix example.
      * Add missing azure type in repo-type option reference.
      * Fix typo in repo-cipher-type option reference.
    - Documentation Improvements:
      * Clarify that expire must be run regularly when expire-auto is
        disabled.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Thu, 03 Sep 2020 10:16:38 +0200

pgbackrest (2.28-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix restore --force acting like --force --delta. This caused
        restore to replace files based on timestamp and size rather than
        overwriting, which meant some files that should have been updated were
        left unchanged. Normal restore and restore --delta were not affected
        by this issue.
    - Features:
      * Azure support for repository storage.
      * Add expire-auto option. This allows automatic expiration after a
        successful backup to be disabled.
    - Improvements:
      * Asynchronous S3 multipart upload.
      * Automatic retry for backup, restore, archive-get, and archive-push.
      * Disable query parallelism in PostgreSQL sessions used for backup
        control.
      * PostgreSQL 13 beta2 support. Changes to the control/catalog/WAL
        versions in subsequent betas may break compatibility but pgBackRest
        will be updated with each release to keep pace.
      * Improve handling of invalid HTTP response status.
      * Improve error when pg1-path option missing for archive-get command.
      * Add hint when checksum delta is enabled after a timeline switch.
      * Use PostgreSQL instead of postmaster where appropriate.
    - Documentation Bug Fixes:
      * Fix incorrect example for repo-retention-full-type option.
      * Remove internal commands from HTML and man command references.
    - Documentation Improvements:
      * Update PostgreSQL versions used to build user guides. Also add
        version ranges to indicate that a user guide is accurate for a
        range of PostgreSQL versions even if it was built for a specific
        version.
      * Update FAQ for expiring a specific backup set.
      * Update FAQ to clarify default PITR behavior.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Thu, 23 Jul 2020 11:05:19 +0200

pgbackrest (2.27-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix issue checking if file links are contained in path links.
      * Allow pg-path1 to be optional for synchronous archive-push.
      * The expire command now checks if a stop file is present.
      * Handle missing reason phrase in HTTP response.
      * Increase buffer size for lz4 compression flush.
      * Ignore pg-host* and repo-host* options for the remote command.
      * Fix possibly missing pg1-* options for the remote command.
    - Features:
      * Time-based retention for full backups. The --repo-retention-full-type
        option allows retention of full backups based on a time period,
        specified in days.
      * Ad hoc backup expiration. Allow the user to remove a specified backup
        regardless of retention settings.
      * Zstandard compression support. Note that setting compress-type=zst
        will make new backups and archive incompatible (unrestorable) with
        prior versions of pgBackRest.
      * bzip2 compression support. Note that setting compress-type=bz2 will
        make new backups and archive incompatible (unrestorable) with prior
        versions of pgBackRest.
      * Add backup/expire running status to the info command.
    - Improvements:
      * Expire WAL archive only when repo-retention-archive threshold is met.
        WAL prior to the first full backup was previously expired after the
        first full backup. Now it is preserved according to retention
        settings.
      * Add local MD5 implementation so S3 works when FIPS is enabled.
      * PostgreSQL 13 beta1 support. Changes to the control/catalog/WAL
        versions in subsequent betas may break compatibility but pgBackRest
        will be updated with each release to keep pace.
      * Reduce buffer-size default to 1MiB.
      * Throw user-friendly error if expire is not run on repository host.
  * d/control: Update B-D to support new compression algorithms:
    - libbz2-dev and
    - libzstd-dev

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Wed, 27 May 2020 09:06:59 +0200

pgbackrest (2.26-1) unstable; urgency=medium

  * New Upstream Release:
    -  Bug Fixes:
      * Remove empty subexpression from manifest regular expression. MacOS was
        not happy about this though other platforms seemed to work fine.
    - Improvements:
      * Non-blocking TLS implementation.
      * Only limit backup copy size for WAL-logged files. The prior behavior
        could possibly lead to postgresql.conf or postgresql.auto.conf being
        truncated in the backup.
      * TCP keep-alive options are configurable.
      * Add io-timeout option.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Sat, 25 Apr 2020 12:58:04 +0200

pgbackrest (2.25-3) unstable; urgency=medium

  * d/rules: Add --bindir flag to configure.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Mon, 30 Mar 2020 11:33:53 +0200

pgbackrest (2.25-2) unstable; urgency=medium

  * d/control: Add liblz4-dev as B-D.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Sun, 29 Mar 2020 12:02:30 +0200

pgbackrest (2.25-1) unstable; urgency=medium

  [ Debian Janitor ]
  * Use secure URI in Homepage field.
  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
    Repository-Browse.
  * Update standards version to 4.4.1, no changes needed.

  [ Adrian Vondendriesch ]
  * New Upstream Release:
   - Features:
     * Add lz4 compression support. Note that setting compress-type=lz4 will
       make new backups and archive incompatible (unrestorable) with prior
       versions of pgBackRest.
     * Add --dry-run option to the expire command. Use dry-run to see which
       backups/archive would be removed by the expire command without actually
       removing anything.
   - Improvements:
     * Improve performance of remote manifest build.
     * Fix detection of keepalive options on Linux.
     * Add configure host detection to set standards flags correctly.
     * Remove compress/compress-level options from commands where unused.
       These commands (e.g. restore, archive-get) never used the compress
       options but allowed them to be passed on the command line. Now they
       will error when these options are passed on the command line. If these
       errors occur then remove the unused options.
     * Limit backup file copy size to size reported at backup start. If a file
       grows during the backup it will be reconstructed by WAL replay during
       recovery so there is no need to copy the additional data.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Sat, 28 Mar 2020 19:02:59 +0100

pgbackrest (2.24-1) unstable; urgency=medium

  * Bug Fixes:
    - Prevent defunct processes in asynchronous archive commands.
    - Error when archive-get/archive-push/restore are not run on a PostgreSQL
      host.
    - Read HTTP content to eof when size/encoding not specified.
    - Fix resume when the resumable backup was created by Perl. In this case
      the resumable backup should be ignored, but the C code was not able to
      load the partial manifest written by Perl since the format differs
      slightly. Add validations to catch this case and continue gracefully.
  * Features:
    - Auto-select backup set on restore when time target is specified.
      Auto-selection is performed only when --set is not specified. If a backup
      set for the given target time cannot not be found, the latest (default)
      backup set will be used.
  * Improvements:
    - Skip pg_internal.init temp file during backup.
    - Add more validations to the manifest on backup.
  * Documentation Improvements:
    - Prevent lock-bot from adding comments to locked issues.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Wed, 26 Feb 2020 16:46:36 +0100

pgbackrest (2.23-1) unstable; urgency=medium

  * New Upstream Release (Closes: #949425)
    - Bug Fixes:
      * Fix missing files corrupting the manifest. If a file was removed by
        PostgreSQL during the backup (or was missing from the standby) then
        the next file might not be copied and updated in the manifest. If this
        happened then the backup would error when restored.
    - Improvements:
      * Use pkg-config instead of xml2-config for libxml2 build options.
      * Validate checksums are set in the manifest on backup/restore.
  * debian/control: Add pkg-config to B-D.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Mon, 27 Jan 2020 18:08:12 +0100

pgbackrest (2.22-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix error in timeline conversion. The timeline is required to verify
        WAL segments in the archive after a backup. The conversion was
        performed base 10 instead of 16, which led to errors when the timeline
        was ≥ 0xA.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Wed, 22 Jan 2020 10:08:22 +0100

pgbackrest (2.21-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix options being ignored by asynchronous commands. The asynchronous
        archive-get/archive-push processes were not loading options configured
        in command configuration sections, e.g. [global:archive-get].
      * Fix handling of \ in filenames. \ was not being properly escaped when
        calculating the manifest checksum which prevented the manifest from
        loading. Since instances of \ in cluster filenames should be rare to
        nonexistent this does not seem likely to be a serious problem in the
        field.
    - Features:
      * pgBackRest is now pure C.
      * Add pg-user option. Specifies the database user name when connecting
        to PostgreSQL. If not specified pgBackRest will connect with the local
        OS user or PGUSER, which was the previous behavior.
      * Allow path-style URIs in S3 driver.
    - Improvements:
      * The backup command is implemented entirely in C.
  * debian/copyright: update copyright dates
  * debian/control:
      - Add Rules-Requires-Root.
      - Update Standards-Version to 4.4.0 (no changes required).
      - Remove libperl-dev B-D.
      - Remove perl dependency.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Sat, 18 Jan 2020 20:22:03 +0100

pgbackrest (2.20-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix archive-push/archive-get when PGDATA is symlinked. These commands
        tried to use cwd() as PGDATA but this would disagree with the path
        configured in pgBackRest if PGDATA was symlinked. If cwd() does not
        match the pgBackRest path then chdir() to the path and make sure the
        next cwd() matches the result from the first call.
      * Fix reference list when backup.info is reconstructed in expire
        command. Since the backup command is still using the Perl version of
        reconstruct this issue will not express unless 1) there is a backup
        missing from backup.info and 2) the expire command is run directly
        instead of running after backup as usual. This unlikely combination of
        events means this is probably not a problem in the field.
      * Fix segfault on unexpected EOF in gzip decompression.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Fri, 13 Dec 2019 21:16:34 +0100

pgbackrest (2.19-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Fix remote timeout in delta restore. When performing a delta restore
        on a largely unchanged cluster the remote could timeout if no files were
        fetched from the repository within protocol-timeout. Add keep-alives to
        prevent remote timeout.
      * Fix handling of repeated HTTP headers. When HTTP headers are repeated
        they should be considered equivalent to a single comma-separated header
        rather than generating an error, which was the prior behavior.
    - Improvements:
      * JSON output from the info command is no longer pretty-printed.
        Monitoring systems can more easily ingest the JSON without linefeeds.
        External tools such as jq can be used to pretty-print if desired.
      * The check command is implemented entirely in C.
    - Documentation Improvements:
      * Document how to contribute to pgBackRest.
      * Document maximum version for auto-stop option.
    - Test Suite Improvements:
      * Fix container test path being used when --vm=none.
      * Fix mismatched timezone in expect test.
      * Don't autogenerate embedded libc code by default.
  * d/patches: Update ppc64le patch.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Fri, 15 Nov 2019 19:46:21 +0100

pgbackrest (2.18-1) unstable; urgency=medium

  * New Upstream Release:
    - Features:
      * PostgreSQL 12 support.
      * Add info command set option for detailed text output. The additional
        details include databases that can be used for selective restore and a
        list of tablespaces and symlinks with their default destinations.
      * Add standby restore type. This restore type automatically adds
        standby_mode=on to recovery.conf for PostgreSQL < 12 and creates
        standby.signal for PostgreSQL ≥ 12, creating a common interface between
        PostgreSQL versions.
    - Improvements:
      * The restore command is implemented entirely in C.
    - Documentation Improvements:
      * Document the relationship between db-timeout and protocol-timeout.
      * Add documentation clarifications regarding standby repositories.
      * Add FAQ for time-based Point-in-Time Recovery.
  * d/pgbackrest.logrotate: Adjust logrotate conf. Add missing copytruncate.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Mon, 28 Oct 2019 17:41:53 +0100

pgbackrest (2.17-2) unstable; urgency=medium

  * d/patches:
    - Import a patch provided by upstream that prevents a gcc compiler bug on
      ppc64 on older distribution like stretch.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Mon, 28 Oct 2019 17:29:44 +0100

pgbackrest (2.17-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Improve slow manifest build for very large quantities of
      tables/segments.
      * Fix exclusions for special files.
    - Improvements:
      * The stanza-create/update/delete commands are implemented entirely in
      C.
      * The start/stop commands are implemented entirely in C.
      * Create log directories/files with 0750/0640 mode.
    - Documentation Bug Fixes:
      * Fix yum.p.o package being installed when custom package specified.
    - Documentation Improvements:
      * Build pgBackRest as an unprivileged user.
  * Install logrotate config.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Wed, 04 Sep 2019 18:00:02 +0200

pgbackrest (2.16-1) unstable; urgency=medium

  * New Upstream Release:
    - Bug Fixes:
      * Retry S3 RequestTimeTooSkewed errors instead of immediately
      terminating.
      * Fix incorrect handling of transfer-encoding response to HEAD request.
      * Fix scoping violations exposed by optimizations in gcc 9.
    - Features:
      * Add repo-s3-port option for setting a non-standard S3 service port.
    - Improvements:
      * The local command for backup is implemented entirely in C.
      * The check command is implemented partly in C.
  * Adjust dependencies.

 -- Adrian Vondendriesch <adrian.vondendriesch@credativ.de>  Thu, 08 Aug 2019 20:33:32 +0200

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog pgbackrest-doc`.
