Add support for additional compression levels fastest and better (#5321)

* repository: expose addtional compression levels

* adding better and fastest compression levels for zstd

* repository: add changelog entry for issue-4728

* chore: fix golint issues

* chore: sort compression modes in the help text

* updating review comments
This commit is contained in:
Srigovind Nayak
2025-04-01 00:51:12 +05:30
committed by GitHub
parent f768683162
commit f13e9c10a4
3 changed files with 30 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
Enhancement: Added support for zstd compression levels `fastest` and `better`
Restic now supports the zstd compression modes `fastest` and `better`. Set the
environment variable `RESTIC_COMPRESSION` to `fastest` or `better` to use these
compression levels. This can also be set with the `--compression` flag.
https://github.com/restic/restic/issues/4728