From f47fc09661c220729c32f9f3c9b0c23b9333680aa509e8ca7547cc9a4b1f9bcc Mon Sep 17 00:00:00 2001 From: Bruno Friedmann Date: Sat, 30 May 2020 14:10:16 +0000 Subject: [PATCH] - 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 --- pgbackrest-2.26.tar.gz | 3 --- pgbackrest-2.27.tar.gz | 3 +++ pgbackrest.changes | 38 ++++++++++++++++++++++++++++++++++++++ pgbackrest.spec | 3 ++- 4 files changed, 43 insertions(+), 4 deletions(-) delete mode 100644 pgbackrest-2.26.tar.gz create mode 100644 pgbackrest-2.27.tar.gz diff --git a/pgbackrest-2.26.tar.gz b/pgbackrest-2.26.tar.gz deleted file mode 100644 index cb641ed..0000000 --- a/pgbackrest-2.26.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f02e934627ea8ed425cea31a6ce57c30d0bb07d6639873983ccb14d7096d49ad -size 5354188 diff --git a/pgbackrest-2.27.tar.gz b/pgbackrest-2.27.tar.gz new file mode 100644 index 0000000..b0b6ebb --- /dev/null +++ b/pgbackrest-2.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:431bb37cec8932ed1b384972055c14c818a31c56a82f3db0e77e15a7e70a772a +size 5391441 diff --git a/pgbackrest.changes b/pgbackrest.changes index 2ce63b8..14f6367 100644 --- a/pgbackrest.changes +++ b/pgbackrest.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Sat May 30 13:46:41 UTC 2020 - Bruno Friedmann + +- 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 1 16:13:03 UTC 2020 - Bruno Friedmann diff --git a/pgbackrest.spec b/pgbackrest.spec index 7404a74..1fb79ac 100644 --- a/pgbackrest.spec +++ b/pgbackrest.spec @@ -22,7 +22,7 @@ %define make_build %{_bindir}/make %{?_smp_mflags} %endif Name: pgbackrest -Version: 2.26 +Version: 2.27 Release: 0 Summary: Reliable PostgreSQL Backup & Restore License: MIT @@ -33,6 +33,7 @@ Source1: pgbackrest-conf.patch Patch0: libpq-fe.h_localisation.patch BuildRequires: openssl-devel BuildRequires: pkgconfig +BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(libpq) BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(libxml-2.0)