diff --git a/2.00.tar.gz b/2.00.tar.gz deleted file mode 100644 index 55f47a2..0000000 --- a/2.00.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4543626235b5425331a396cbcda898ed4065f82d5ec658e72d8f3dbae47f7587 -size 5611061 diff --git a/2.02.tar.gz b/2.02.tar.gz new file mode 100644 index 0000000..f3567b1 --- /dev/null +++ b/2.02.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63c7e75947fd9659266845d3146589fac0985757ac35b59bd6ead2ce83a93d5e +size 5688484 diff --git a/pgbackrest.changes b/pgbackrest.changes index 908c730..5732d06 100644 --- a/pgbackrest.changes +++ b/pgbackrest.changes @@ -1,3 +1,90 @@ +------------------------------------------------------------------- +Thu May 10 10:12:23 UTC 2018 - bruno@ioda-net.ch + +- Update to bugfix & improvement 2.02 version + Parallel Asynchronous Archive Get and Configuration Includes + Released May 6, 2018 + + Bug Fixes: + - Fix directory syncs running recursively when only the + specified directory should be synced. + - Fix archive-copy throwing "path not found" error for incr/diff + backups. + - Fix failure in manifest build when two or more files in PGDATA + are linked to the same directory. + - Fix delta restore failing when a linked file is missing. + - Fix rendering of key/value and list options in help. + + Features: + - Add asynchronous, parallel archive-get. This feature maintains + a queue of WAL segments to help reduce latency when PostgreSQL + requests a WAL segment with restore_command. + - Add support for additional pgBackRest configuration files in the + directory specified by the --config-include-path option. + Add --config-path option for overriding the default base path + of the --config and --config-include-path option. + - Add repo-s3-token option to allow temporary credentials tokens + to be configured. pgBackRest currently has no way to request new + credentials so the entire command (e.g. backup, restore) must + complete before the credentials expire. + + Improvements: + - Update the archive-push-queue-max, manifest-save-threshold, + and buffer-size options to accept values in KB, MB, GB, TB, PB + where the multiplier is a power of 1024. + - Make backup/restore path sync more efficient. Scanning the + entire directory can be very expensive if there are a lot of + small tables. The backup manifest contains the path list so use + it to perform syncs instead of scanning the backup/restore path + - Show command parameters as well as command options in initial + info log message. + - Rename archive-queue-max option to archive-push-queue-max to + avoid confusion with the new archive-get-queue-max option. + The old option name will continue to be accepted. + + Documentation Bug Fixes: + - Update docs with 32-bit support and caveats. + 32-bit support was added in v1.26. + + Documentation Improvements: + - Add monitoring examples using PostgreSQL and jq. + - Add example of command section usage to archiving configuration. + - Remove documentation info --output=json as experimental. + - Update out-of-date description for the spool-path option. + + Test Suite Features: + - Use lcov for C unit test coverage reporting. Switch from + Devel::Cover because it would not report on branch coverage + for reports converted from gcov. Incomplete branch coverage + for a module now generates an error. Coverage of unit tests + is not displayed in the report unless they are incomplete for + either statement or branch coverage. +- Changes of previous 2.01 version from March 6th 2018 + + Bug Fixes: + - Fix --target-action and --recovery-option options being reported + as invalid when restoring with --type=immediate. + - Immediately error when a secure option (e.g. repo1-s3-key) is + passed on the command line. Since pgBackRest would not pass + secure options on to sub-processes an obscure error was thrown. + The new error is much clearer and provides hints about how to fix + the problem. Update command documentation to omit secure options + that cannot be specified on the command-line. + - Fix issue passing --no-config to embedded Perl. + - Fix issue where specifying log-level-stderr > warn would cause a + local/remote process to error on exit due to output found on + stderr when none was expected. The max value for a local/remote + process is now error. + - Fix manifest test in the check command when tablespaces are + present. + + Improvements: + - Error when multiple arguments are set in the config file for an + option that does not accept multiple arguments. + - Remove extraneous sudo commands from src/Makefile. + + Documentation Improvements: + - Show index in examples for indexed options, i.e. repo-*, pg-*. + - Simplify table of contents on command page by only listing + commands. + - Remove references to the C library being optional. + + Test Suite Features: + - Add CentOS/RHEL package builds. + - Use clang for static code analysis. Nothing found initially + except for some functions that should have been marked + __noreturn__. + ------------------------------------------------------------------- Fri Mar 9 15:16:24 UTC 2018 - bruno@ioda-net.ch @@ -36,6 +123,8 @@ Fri Mar 9 15:16:24 UTC 2018 - bruno@ioda-net.ch improve consistency. repo-* options are now indexed although currently only one is allowed. ** This imply you need to revisit your pgbackrest.conf ** +- Packaging : + + Use make install (now fixed upstream) for bin ------------------------------------------------------------------- Sun Feb 4 17:14:16 UTC 2018 - bruno@ioda-net.ch diff --git a/pgbackrest.spec b/pgbackrest.spec index dfdb8c5..5c5063d 100644 --- a/pgbackrest.spec +++ b/pgbackrest.spec @@ -18,7 +18,7 @@ Name: pgbackrest # Nobody can stop upstream to be too creative ! -Version: 2.00 +Version: 2.02 Release: 0 Summary: Reliable PostgreSQL Backup & Restore License: MIT @@ -53,6 +53,7 @@ are required to perform a backup which increases security. %setup -q -n %{name}-release-%{version} %build +#TODO upstream doesn't care about RPM_OPT_FLAGS pushd src make V=1 %{?_smp_mflags} popd @@ -70,9 +71,7 @@ install -D -d -m 0700 %{buildroot}%{_localstatedir}/spool/%{name} install -D -d -m 0755 %{buildroot}%{_sysconfdir} install %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name}.conf cp -a lib/* %{buildroot}%{perl_vendorlib}/ -# Upstream makefile is nonsense sudo so use install -# make install -C src DESTDIR=%%{buildroot} -install -m 0755 src/%{name} %{buildroot}%{_bindir}/%{name} +make install -C src DESTDIR=%{buildroot} make pure_vendor_install -C libc DESTDIR=%{buildroot} %perl_process_packlist %perl_gen_filelist