Package Release Info

pgbackrest-2.44-bp155.1.6

Update Info: Base Release
Available in Package Hub : 15 SP5

platforms

AArch64
ppc64le
s390x
x86-64

subpackages

pgbackrest

Change Logs

* Mon Feb 06 2023 Andrea Manzini <andrea.manzini@suse.com>
- update to version 2.44
  + 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
* Tue Dec 06 2022 Andrea Manzini <andrea.manzini@suse.com>
- update to version 2.43
  + Bug Fixes:
  - Fix missing reference in diff/incr backup.
  + Improvements:
  - Add hint when an option is specified without an index.
- update to version 2.42
  + 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().
* Tue Sep 20 2022 Marcus Rueckert <mrueckert@suse.de>
- update to version 2.41
  + Bug Fixes:
  - Fix incorrect time expiration being used for non-default
    repositories. (Reviewed by Stefan Fercot. Reported by Adam
    Brusselback.)
  - Fix issue when listing directories recursively with a filter.
    (Reviewed by Stephen Frost. Reported by Efremov Egor.)
  + Features:
  - Backup key/value annotations. (Contributed by Stefan Fercot.
    Reviewed by David Steele. Suggested by Adam Berlin.)
  + Improvements:
  - Support --set in JSON output for info command. (Contributed
    by Stefan Fercot. Reviewed by David Steele. Suggested by
    Anton Kurochkin.)
  - Update archive.info timestamps after a successful backup.
    (Reviewed by Stefan Fercot. Suggested by Alex Richman.)
  - Move standby timeline check after checkpoint. (Reviewed by
    Stefan Fercot, Keith Fiske. Suggested by Keith Fiske.)
  - Improve warning message on backup resume. (Suggested by
    Cynthia Shang.)
  + Additional Notes
  - Documentation Improvements:
  - Add absolute path for kill in pgbackrest.service. (Suggested
    by Don Seiler.)
- changes from 2.40 OpenSSL 3 Support
  + Improvements:
  - OpenSSL 3 support. (Reviewed by Stephen Frost.)
  - Create snapshot when listing contents of a path. (Reviewed by
    John Morris, Stephen Frost.)
  - Force target-timeline=current when restore type=immediate.
    (Reviewed by Stephen Frost.)
  - Truncate files during delta restore when they are larger than
    expected. (Reviewed by Stephen Frost.)
  - Disable incremental manifest save when resume=n. (Contributed
    by Reid Thompson. Reviewed by David Steele.)
  - Set backup percent complete to zero before copy start.
    (Contributed by Reid Thompson. Reviewed by David Steele.)
  - Use S3 IsTruncated flag to determine list continuation.
    (Reviewed by John Morris, Soulou. Suggested by Christian
    Montagne.)
  + Documentation Bug Fixes:
  - Skip internal options in the configuration reference.
    (Reported by Francisco Miguel Biete.)
  + Documentation Improvements:
  - Add link to PostgreSQL configuration in repository host
    section. (Reviewed by Stefan Fercot. Suggested by Julien
    Cigar.)
  + Test Suite Improvements:
  - Add experimental Meson build. (Reviewed by Eli Schwartz, Sam
    Bassaly.)
  - Allow any path to be passed to the --test-path option.
    (Contributed by Andrey Sokolov. Reviewed by David Steele.)
  - Fix compile error when DEBUG_EXEC_TIME is defined without
    DEBUG. (Contributed by Andrey Sokolov. Reviewed by David
    Steele.)
- refreshed patches to apply cleanly again:
  - libpq-fe.h_localisation.patch
  - use-run-pgbackrest.patch
* Mon Jun 27 2022 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.39
  + 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.
- update copyright year
* Mon Apr 18 2022 Marcus Rueckert <mrueckert@suse.de>
- update to version 2.38
  IMPORTANT NOTE: Repository size reported by the info command is
  now entirely based on what pgBackRest has written to storage.
  Previously, in certain cases, pgBackRest could detect if
  additional compression was being applied by the storage but this
  is no longer supported.
  - Bug Fixes:
  - Retry errors in S3 batch file delete. (Reviewed by Reid
    Thompson. Reported by Alex Richman.)
  - Allow case-insensitive matching of HTTP connection header
    values. (Reviewed by Reid Thompson. Reported by Rémi Vidier.)
  - Features:
  - Add support for AWS S3 server-side encryption using KMS.
    (Contributed by Christoph Berg. Reviewed by David Steele,
    Tharindu Amila.)
  - Add archive-missing-retry option. (Reviewed by Stefan
    Fercot.)
  - Add backup type filter to info command. (Contributed by
    Stefan Fercot. Reviewed by David Steele.)
  - Improvements:
  - Retry on page validation failure during backup. (Reviewed by
    Stephen Frost, David Christensen.)
  - Handle TLS servers that do not close connections gracefully.
    (Reviewed by Rémi Vidier, David Christensen, Stephen Frost.)
  - Add backup LSNs to info command output. (Contributed by
    Stefan Fercot. Reviewed by David Steele.)
  - Automatically strip trailing slashes for repo-ls paths.
    (Contributed by David Christensen. Reviewed by David Steele.)
  - Do not retry fatal errors. (Reviewed by Reid Thompson.)
  - Remove support for PostgreSQL 8.3/8.4. (Reviewed by Reid
    Thompson, Stefan Fercot.)
  - Remove logic that tried to determine additional file system
    compression. (Reviewed by Reid Thompson, Stefan Fercot.)
  - Documentation Bug Fixes:
  - Move repo options in TLS documentation to the global section.
    (Reported by Anton Kurochkin.)
  - Remove unused backup-standby option from stanza commands.
    (Reported by Stefan Fercot.)
  - Fix typos in help and release notes. (Fixed by Daniel
    Gustafsson. Reviewed by David Steele.)
  - Documentation Improvements:
  - Add aliveness check to systemd service configuration.
    (Suggested by Yogesh Sharma.)
  - Add FAQ explaining WAL archive suffix. (Contributed by Stefan
    Fercot. Reviewed by David Steele.)
  - Note that replications slots are not restored. (Contributed
    by Reid Thompson. Reviewed by David Steele, Stefan Fercot.
    Suggested by Christophe Courtois.)
* Mon Mar 07 2022 Marcus Rueckert <mrueckert@suse.de>
- Move lock file default to /run/pgbackrest and make sure it gets
  created with user and group postgres
  - Add use-run-pgbackrest.patch
  - Add README.SUSE
- Track series file to make quilt setup easier
- refresh libpq-fe.h_localisation.patch
* Fri Feb 18 2022 Marcus Rueckert <mrueckert@suse.de>
- make sure all unit files have unix line endings
* Fri Feb 18 2022 Marcus Rueckert <mrueckert@suse.de>
- add systemd services:
  - diff/full/incremental backup
  - pgbackrest services for the TLS server
  - add pgbackrest.target to restart/stop all sub services
- add Requires(pre) for postgresql-server to make sure the
  postgresql user is available for file permissions
- change permissions of the config file from 0644 to 0640 as the
  file can contain passwords and encryption keys.
- modernize the spec file
* Tue Jan 25 2022 Marcus Rueckert <mrueckert@suse.de>
- enable zstd support
* Tue Jan 25 2022 Marcus Rueckert <mrueckert@suse.de>
- update to version 2.37
  IMPORTANT NOTE: If the restore command is unable to find a backup
  that matches a specified time target then an error will be
  thrown, whereas before a warning was logged.
  IMPORTANT NOTE: The default TLS server port has not yet been
  approved by IANA and is subject to change once the approval
  process is complete.
  - Bug Fixes:
  - Fix restore delta link mapping when path/file already exists.
    (Reviewed by Reid Thompson. Reported by Younes Alhroub.)
  - Fix socket leak on connection retries. (Reviewed by Reid
    Thompson. Reported by James Coleman.)
  - Features:
  - Add TLS server. (Reviewed by Stephen Frost, Reid Thompson,
    Andrew L'Ecuyer.)
  - Add --cmd option. (Contributed by Reid Thompson. Reviewed by
    Stefan Fercot, David Steele. Suggested by Virgile CREVON.)
  - Improvements:
  - Check archive immediately after backup start. (Reviewed by
    Reid Thompson, David Christensen.)
  - Add timeline and checkpoint checks to backup. (Reviewed by
    Stefan Fercot, Reid Thompson.)
  - Check that clusters are alive and correctly configured during
    a backup. (Reviewed by Stefan Fercot.)
  - Error when restore is unable to find a backup to match the
    time target. (Reviewed by Reid Thompson, Douglas J Hunley.
    Suggested by Douglas J Hunley.)
  - Parse protocol/port in S3/Azure endpoints. (Contributed by
    Reid Thompson. Reviewed by David Steele.)
  - Add warning when checkpoint_timeout exceeds db-timeout.
    (Contributed by Stefan Fercot. Reviewed by David Steele.)
  - Add verb to HTTP error output. (Contributed by Christoph
    Berg. Reviewed by David Steele.)
  - Allow y/n arguments for boolean command-line options.
    (Contributed by Reid Thompson. Reviewed by David Steele.)
  - Make backup size logging exactly match info command output.
    (Contributed by Reid Thompson. Reviewed by David Steele.
    Suggested by Mahomed Hussein.)
  - Documentation Improvements:
  - Display size option default and allowed values with
    appropriate units. (Reviewed by Reid Thompson.)
  - Fix typos and improve documentation for the
    tablespace-map-all option. (Reviewed by Reid Thompson.
    Suggested by Reid Thompson.)
  - Remove obsolete statement about future multi-repository
    support. (Suggested by David Christensen.)
* Sat Dec 04 2021 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.36
  + Bug Fixes:
  - Allow "global" as a stanza prefix.
  - Fix segfault on invalid GCS key file.
  + Improvements:
  - Allow link-map option to create new links.
  - Increase max index allowed for pg/repo options to 256.
  - Add WebIdentity authentication for AWS S3.
  - Report backup file validation errors in backup.info.
  - Add recovery start time to online backup restore log.
  - Report original error and retries on local job failure.
  - Rename page checksum error to error list in info text output.
  - Add hints to standby replay timeout message.
- update to version 2.35 Binary protocol
  * * 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.
- packaging:
  + Added new build requirement libyaml-devel
* Tue Jul 27 2021 Predrag Ivanović <predivan@mts.rs>
- update to version 2.34 with Postgresql-14 support
  + 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.
  - Clarify that repo-s3-role is not an ARN.
* Thu Apr 29 2021 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.33 with Multi-Repository and GCS Support
  + 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.
* Thu Feb 25 2021 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.32
  + 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.
  + Documentation Improvements:
  - Improve expire command documentation.
- Packaging: spec-cleaner minimal (copyright year, pkgconfig order)
* Sat Dec 26 2020 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.31
  + 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.
* Tue Oct 13 2020 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.30
  + 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.
- Packaging
  + Remove non needed perl_requires
  + Allow build on i586 as source are now 100% C
* Thu Sep 10 2020 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.29 - Auto S3 Credentials on AWS
  + 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.
  + Additional Notes
  - 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.
* Wed Aug 19 2020 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.28 - Azure Repository Storage
  + 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.
* Sat May 30 2020 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.27 Expiration Improvements Compression Drivers
  + 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.
- Packaging : add bz2 buildrequire
* Fri May 01 2020 Bruno Friedmann <bruno@ioda-net.ch>
- update to version 2.26 : Non-blocking TLS
  + Bug Fix : Remove empty subexpression from manifest regular
    expression. MacOS was not happy about this though other
    platforms seemed to work fine.
  + Improvements:
  - N on-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.
- update to version 2.25 : LZ4 Compression Support
  + 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.
  - 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.
- Packaging:
  + Add new requirement lz4
  + Redo patch libpq-fe.h_localisation.patch to include configure