SHA256
1
0
forked from pool/pgbackrest
Commit Graph

62 Commits

Author SHA256 Message Date
Ana Guerrero
2d9995ec3c Accepting request 1114015 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1114015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pgbackrest?expand=0&rev=8
2023-09-29 19:13:48 +00:00
Andrea Manzini
6355c5a7e1 Accepting request 1113999 from home:amanzini:branches:server:database:postgresql
- update to version 2.48
  * Bug Fixes:
    + Fix issue restoring block incremental without a block list. 
    + [doc] Fix configuration reference example for the tls-server-address option.
    + [doc] Fix command reference example for the filter option.
  * 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. 
  * Test Suite Improvements
- refreshed patches; release.xml has been splitted into individual files

OBS-URL: https://build.opensuse.org/request/show/1113999
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=61
2023-09-28 07:41:49 +00:00
Dominique Leuenberger
f48120ac42 Accepting request 1102634 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1102634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pgbackrest?expand=0&rev=7
2023-08-07 13:29:22 +00:00
38bc1460ad Accepting request 1102632 from home:amanzini:branches:server:database:postgresql
- update to version 2.47
  * 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

OBS-URL: https://build.opensuse.org/request/show/1102632
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=59
2023-08-07 07:26:36 +00:00
Dominique Leuenberger
aed4550ebe Accepting request 1090154 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1090154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pgbackrest?expand=0&rev=6
2023-06-01 15:19:46 +00:00
Andrea Manzini
5f47b2ef11 Accepting request 1089458 from home:amanzini:branches:server:database:postgresql
- update to version 2.46
  * Features:
    + Block incremental backup. (Reviewed by John Morris, Stephen Frost, Stefan Fercot.)
    + SFTP support for repository storage. (Contributed by Reid Thompson. Reviewed by Stephen Frost, David Steele.)
    + PostgreSQL 16 support. (Reviewed by Stefan Fercot.)
  * Improvements:
    + Allow page header checks to be skipped. (Reviewed by David Christensen. Suggested by David Christensen.)
    + Avoid chown() on recovery files during restore. (Reviewed by Stefan Fercot, Marcelo Henrique Neppel. Suggested by Marcelo Henrique Neppel.)
    + Add error retry detail for HTTP retries.
  * Documentation Improvements:
    + Add warning about using recovery type=none. (Reviewed by Stefan Fercot.)
    + Add note about running stanza-create on already-created repositories.

OBS-URL: https://build.opensuse.org/request/show/1089458
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=57
2023-06-01 06:49:10 +00:00
Dominique Leuenberger
28b1969e11 Accepting request 1074583 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1074583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pgbackrest?expand=0&rev=5
2023-03-27 16:16:43 +00:00
4936628460 Accepting request 1074578 from home:amanzini:branches:server:database:postgresql
- update to version 2.45
  + Bug Fix: 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

OBS-URL: https://build.opensuse.org/request/show/1074578
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=55
2023-03-27 07:26:00 +00:00
Dominique Leuenberger
a6b9221bfd Accepting request 1063569 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1063569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pgbackrest?expand=0&rev=4
2023-02-07 17:49:46 +00:00
bda05d883d Accepting request 1063363 from home:amanzini:branches:server:database:postgresql
- 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

OBS-URL: https://build.opensuse.org/request/show/1063363
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=53
2023-02-07 08:01:23 +00:00
Dominique Leuenberger
353cba0d20 Accepting request 1040871 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1040871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pgbackrest?expand=0&rev=3
2022-12-07 16:35:39 +00:00
ebbb00b091 Accepting request 1040869 from home:amanzini:branches:server:database:postgresql
- 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().

OBS-URL: https://build.opensuse.org/request/show/1040869
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=51
2022-12-07 08:21:12 +00:00
afdc3fca1f - update to version 2.41
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=50
2022-09-20 18:40:49 +00:00
Dominique Leuenberger
ce4dc1356e Accepting request 986459 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/986459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pgbackrest?expand=0&rev=2
2022-07-03 16:27:06 +00:00
b445c210ae Accepting request 985710 from home:bruno_friedmann:branches:server:database:postgresql
- update do 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.

OBS-URL: https://build.opensuse.org/request/show/985710
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=48
2022-07-03 13:42:42 +00:00
4edfe8110c - update to version 2.38
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=47
2022-04-18 13:50:21 +00:00
Dominique Leuenberger
11ad978790 Accepting request 960159 from server:database:postgresql
Welcome a new backup tool for PostgreSQL, written in C and well maintained upstream by a team and is supported by commercial entity.
The package has 2 maintainers/bugowner and the binary has shown its stability during the last few year in its devel repository.

OBS-URL: https://build.opensuse.org/request/show/960159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pgbackrest?expand=0&rev=1
2022-03-08 19:32:03 +00:00
17c261ba26 Accepting request 960068 from home:darix:branches:server:database:postgresql
- 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

OBS-URL: https://build.opensuse.org/request/show/960068
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=45
2022-03-08 08:30:45 +00:00
588c5b791e - make sure all unit files have unix line endings
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=44
2022-02-18 18:01:52 +00:00
f9a5567409 - 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

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=43
2022-02-18 17:58:46 +00:00
b1163ddccb - enable zstd support
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=42
2022-01-25 13:27:10 +00:00
4c04ee964d - update to version 2.37
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=41
2022-01-25 10:51:11 +00:00
e38c01ac73 Accepting request 935686 from home:bruno_friedmann:branches:server:database:postgresql
- 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:

OBS-URL: https://build.opensuse.org/request/show/935686
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=40
2021-12-04 19:52:30 +00:00
21847dc63d Accepting request 908629 from home:predivan:branches:server:database:postgresql
- 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.

OBS-URL: https://build.opensuse.org/request/show/908629
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=39
2021-07-27 16:30:18 +00:00
82d765d42b - 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.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=38
2021-04-29 09:39:50 +00:00
1ac82c4200 - 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)

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=37
2021-02-25 10:27:42 +00:00
2ed5e18dbd Accepting request 858765 from home:bruno_friedmann:branches:server:database:postgresql
- 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.

OBS-URL: https://build.opensuse.org/request/show/858765
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=36
2020-12-26 17:55:50 +00:00
f1d3ad5540 Accepting request 841600 from home:bruno_friedmann:branches:server:database:postgresql
- 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

OBS-URL: https://build.opensuse.org/request/show/841600
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=35
2020-10-13 18:49:07 +00:00
41c8d9e69e Accepting request 833420 from home:bruno_friedmann:branches:server:database:postgresql
- 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.

OBS-URL: https://build.opensuse.org/request/show/833420
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=34
2020-09-13 14:27:44 +00:00
d0518e22a8 Accepting request 828501 from home:bruno_friedmann:branches:server:database:postgresql
- 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.

OBS-URL: https://build.opensuse.org/request/show/828501
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=33
2020-08-22 09:07:38 +00:00
f47fc09661 - 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

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=32
2020-05-30 14:10:16 +00:00
9c9172f66f - 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

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=31
2020-05-01 16:28:44 +00:00
e8335cb986 Accepting request 787841 from home:bruno_friedmann:branches:server:database:postgresql
- update to 2.24 version : Bugfix
  + 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.
- Packaging
  + use %autopatch
  + use a normalized name for source %name-%version.tar.gz
  + spec cleaning
  + Refresh patch libpq-fe.h_localisation.patch
  + Delete merged upstream_wrongly_bring_back_pg_config.patch

OBS-URL: https://build.opensuse.org/request/show/787841
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=30
2020-03-24 15:08:48 +00:00
d2514b404b - update to 2.23 : Bugfix
+ 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.
- Introduce upstream_wrongly_bring_back_pg_config.patch to fix
  upstream code (using pg_config in client code)
  Upstream issue #920

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=29
2020-01-27 21:31:08 +00:00
dddf384625 Accepting request 766771 from home:bruno_friedmann:branches:server:database:postgresql
- update to 2.22 : Bugfix
- update to 2.21 : C Migration Complete
- update to 2.20 : Bug fixes
- Update and cleanup spec
  + Remove all uneeded Perl related part
  + Update copyright

OBS-URL: https://build.opensuse.org/request/show/766771
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=28
2020-01-24 09:39:02 +00:00
2e0ef50993 Accepting request 754103 from home:bruno_friedmann:branches:server:database:postgresql
- update to 2.19 : C Migrations and Bug Fixes
  + 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.
- Cleanup spec (license and pkgconfig)

OBS-URL: https://build.opensuse.org/request/show/754103
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=27
2019-12-04 16:52:04 +00:00
4ac51e32b6 Accepting request 735528 from home:bruno_friedmann:branches:server:database:postgresql
- Update to 2.18 version PostgreSQL 12 Support
  + Features:
    - PostgreSQL 12 support.
    - Add info command set option for detailed text output.
    - Add standby restore type. This 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.
- Update to 2.17 version C Migrations and Bug Fixes
  + 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.

OBS-URL: https://build.opensuse.org/request/show/735528
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=26
2019-10-07 19:04:58 +00:00
Martin Pluskal
25542b8f46 Accepting request 725929 from home:bruno_friedmann:branches:server:database:postgresql
- Update to 2.16 release C Migrations and Bug Fixes
- Packaging adding new libpq-fe dependency
- Added patch libpq-fe.h_localisation.patch

- Update to 2.15.1 release
- Packaging export %optflag as CFLAG

OBS-URL: https://build.opensuse.org/request/show/725929
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=25
2019-08-26 01:23:36 +00:00
c4960e15a4 - Emergency rollback, 2.14 segv
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=24
2019-06-06 05:59:50 +00:00
c69aca7950 - Update to 2.14 release
+ Bug Fixes:
    Fix segfault when process-max > 8 for archive-push/archive-get.
  + Improvements:
    Bypass database checks when stanza-delete issued with force.
    Add configure script for improved multi-platform support.
  + Documentation Features:
    Add user guides for CentOS/RHEL 6/7.
- 2.13 release
  + Bug Fixes:
    Fix zero-length reads causing problems for IO filters that
    did not expect them.
    Fix reliability of error reporting from local/remote processes.
    Fix Posix/CIFS error messages reporting the wrong filename on
    write/sync/close.
- 2.12 release
  + IMPORTANT NOTE: The new TLS/SSL implementation forbids dots in
   S3 bucket names per RFC-2818. This security fix is required for
   compliant hostname verification.
  + Bug Fixes:
    Fix issues when a path option is / terminated.
    Fix issues when log-level-file=off is set for the archive-get
    command.
    Fix C code to recognize host:port option format like Perl does.
    Fix issues with remote/local command logging options.
   + Improvements:
    The archive-push command is implemented entirely in C.
    Increase process-max limit to 999.
    Improve error message when an S3 bucket name contains dots.
   + Documentation Improvements:

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=23
2019-06-05 15:32:49 +00:00
3a065299f5 Accepting request 683736 from home:bruno_friedmann:branches:server:database:postgresql
- Update to 2.11 release
  + C Implementation of Archive Get
  + Bug Fixes:
    - Fix possible truncated WAL segments when an error occurs
      mid-write.
    - Fix info command missing WAL min/max when stanza specified.
    - Fix non-compliant JSON for options passed from C to Perl.
  + Improvements:
    - The archive-get command is implemented entirely in C.
    - Enable socket keep-alive on older Perl versions.
    - Error when parameters are passed to a command that does not
      accept parameters.
    - Add hints when unable to find a WAL segment in the archive.
    - Improve error when hostname cannot be found in a
      certificate.
    - Add additional options to backup.manifest for debugging
      purposes.
  + Documentation Improvements:
    - Update default documentation version to PostgreSQL 10.
- Packaging:
  + Remove merge upstream patch (2cd204f.patch)
  + Fix install destination to %{_bindir}

- Include upstream patch 2cd204f.patch to fix issue#677
  + Fix check for improperly configured pg-path.

OBS-URL: https://build.opensuse.org/request/show/683736
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=22
2019-03-11 09:38:07 +00:00
Martin Pluskal
b04d05504d Accepting request 677608 from home:bruno_friedmann:branches:server:database:postgresql
- Include upstream patch 2cd204f.patch to fix issue#677 

- Update to 2.10 version bug fixes
  + Add unimplemented S3 driver method required for archive-get.
  + Fix check for improperly configured pg-path. 
- Packaging:
  + Fix trailing space in changes (jengelh)
  + Use a factual description (jengelh)

- Packaging: remove comments/remark fixed and merged issue #659
- Update to 2.08 version : bug fixes and improvement
- Update spec (date and order)
  is ported to C

OBS-URL: https://build.opensuse.org/request/show/677608
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=21
2019-02-21 08:59:16 +00:00
210b7ca263 Accepting request 672999 from home:bruno_friedmann:branches:server:database:postgresql
- Update to 2.09 version bug fixes and improvements
  + Fix issue with multiple async status files causing a hard error.
  + info command is implemented entirely in C.
  + Simplify info command text message when no stanzas are present
    by replacing the repository path with "the repository".
  + Add _DARWIN_C_SOURCE flag to Makefile for MacOS builds.
  + Update address lookup in C TLS client to use modern methods.
  + Include Posix-compliant header for strcasecmp() and fd_set.
- Packaging : remove comments/remark fixed and merged issue #659

- Update to 2.08 version : bug fixes and improvement 
  See more information https://pgbackrest.org/release.html
- Add libxml2-devel as buildrequires
- Add a comment about gethostbyname() upstream issue #659
- Update spec (date and order)

OBS-URL: https://build.opensuse.org/request/show/672999
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=20
2019-02-11 10:39:47 +00:00
67889c516a Accepting request 653201 from home:bruno_friedmann:branches:server:database:postgresql
- Re-add all needed Perl (upstream issue #629): not all the code
  is ported to C

OBS-URL: https://build.opensuse.org/request/show/653201
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=19
2018-12-01 09:19:43 +00:00
363ac14265 Accepting request 650502 from home:bruno_friedmann:branches:server:database:postgresql
- Update to 2.07 version : bug fixes and improvement 
  See more information https://pgbackrest.org/release.html

OBS-URL: https://build.opensuse.org/request/show/650502
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=18
2018-11-20 13:59:11 +00:00
633ca5da5e Accepting request 645056 from home:bruno_friedmann:branches:server:database:postgresql
- Bug fix and improvement 2.06 version 
  See more information https://pgbackrest.org/release.html
- Packaging : Remove Requires perl, it not more used

OBS-URL: https://build.opensuse.org/request/show/645056
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=17
2018-10-29 07:01:08 +00:00
c4dad857f9 - Bug fix and improvement 2.05 version
See more information https://pgbackrest.org/release.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=16
2018-10-03 08:09:01 +00:00
f653c46bca EMERGENCY
- Fix packaging : Avoid segv backtrace
  + Don't package and distribute perl or LibC
  They are already in final binary.
  Ref https://github.com/pgbackrest/pgbackrest/issues/558 
  + As a result : tests are no more usable, (only vagrant runs)
  use a simple call of the binary (pgbackrest version) to exclude
  futur backtrace
  + Clean spec: licence and remove macro for file

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=15
2018-07-14 16:30:33 +00:00
Martin Pluskal
159098222a Accepting request 622034 from home:bruno_friedmann:branches:server:database:postgresql
- Critical bug fix release 2.04 (Backup Resume)
  + IMPORTANT NOTE: This release fixes a critical bug in the backup 
    resume feature. All resumed backups prior to this release should 
    be considered inconsistent. 
    See more information https://pgbackrest.org/release.html
  + Bug Fixes:
    - Fix critical bug in resume that resulted in inconsistent 
    backups. A regression in v0.82 removed the timestamp comparison 
    when deciding which files from the aborted backup to keep on 
    resume.
    - Fix error in selective restore when only one user database 
    exists in the cluster.
    - Fix non-compliant ISO-8601 timestamp format in S3 authorization
    headers. AWS and some gateways were tolerant of space rather than
    zero-padded hours while others were not.
  + Features:
    - PostgreSQL 11 Beta 2 support.
  + Improvements:
    - Improve the HTTP client to set content-length to 0 when not 
    specified by the server. S3 (and gateways) always set 
    content-length or transfer-encoding but HTTP 1.1 does not require
    it and proxies (e.g. HAProxy) may not include either.
    - Set search_path = 'pg_catalog' on PostgreSQL connections
  + Documentation Improvements:
    - Create a new section to describe building pgBackRest and 
    build on a separate host.
    - Add sample S3 policy to restrict bucket privileges.
- Packaging : 
  + Explicitly requires all perl deps
  + Define make_build for 42.3 compilation

OBS-URL: https://build.opensuse.org/request/show/622034
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=14
2018-07-12 08:01:33 +00:00
e213cf3106 Accepting request 612625 from home:bruno_friedmann:branches:server:database:postgresql
- Urgent fix : add perl as BuildRequires and Requires to force
  presence of libperl.so : Otherwise pgbackrest binary can't find
  it
- Spec : use %make_build macros

OBS-URL: https://build.opensuse.org/request/show/612625
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=13
2018-05-28 09:56:30 +00:00