v0.16.1
版本发布时间: 2023-10-25 02:20:39
restic/restic最新发布版本:v0.17.3(2024-11-09 03:52:25)
restic 0.16.1 has been released! It contains a few usage and cosmetic improvements, but also one bugfix for a very unlikely but still possible data corruption issue when using the max compression level. Please read the changelog for more details and information on how to verify your repository if you used max compression. Please also note that the auto compression level (which is the default) was never affected.
restic is distributed as a standalone binary: download the correct file for your operating system and architecture, extract the file and just run it. If you run into any issues, please report them at the GitHub issue tracker or visit the forum. If you already have restic >= 0.9.4, you can use restic self-update
to get the latest version in a secure way.
The binaries released with each restic version are reproducible, which means that you can reproduce a byte identical version from the source code for that release. Instructions on how to do that in the Developer Documentation.
Changelog for restic 0.16.1 (2023-10-24)
The following sections list the changes in restic 0.16.1 relevant to restic users. The changes are ordered by importance.
Summary
- Fix #4513: Make
key list
command honor--no-lock
- Fix #4516: Do not try to load password on command line autocomplete
- Fix #4523: Update zstd library to fix possible data corruption at max. compression
- Chg #4532: Update dependencies and require Go 1.19 or newer
- Enh #229: Show progress bar while loading the index
- Enh #4128: Automatically set
GOMAXPROCS
in resource-constrained containers - Enh #4480: Allow setting REST password and username via environment variables
- Enh #4511: Include inode numbers in JSON output for
find
andls
commands - Enh #4519: Add config option to set SFTP command arguments
Details
-
Bugfix #4513: Make
key list
command honor--no-lock
The
key list
command now supports the--no-lock
options. This allows determining which keys a repo can be accessed by without the need for having write access (e.g., read-only sftp access, filesystem snapshot). -
Bugfix #4516: Do not try to load password on command line autocomplete
The command line autocompletion previously tried to load the repository password. This could cause the autocompletion not to work. Now, this step gets skipped.
-
Bugfix #4523: Update zstd library to fix possible data corruption at max. compression
In restic 0.16.0, backups where the compression level was set to
max
(using--compression max
) could in rare and very specific circumstances result in data corruption due to a bug in the library used for compressing data.Restic now uses the latest version of the library used to compress data, which includes a fix for this issue. Please note that the
auto
compression level (which restic uses by default) was never affected, and even if you usedmax
compression, chances of being affected by this issue were very small.To check a repository for any corruption, run
restic check --read-data
. This will download and verify the whole repository and can be used at any time to completely verify the integrity of a repository. If thecheck
command detects anomalies, follow the suggested steps.To simplify any needed repository repair and minimize data loss, there is also a new and experimental
repair packs
command that salvages all valid data from the affected pack files (seerestic help repair packs
for more information). -
Change #4532: Update dependencies and require Go 1.19 or newer
We have updated all dependencies. Since some libraries require newer Go standard library features, support for Go 1.18 has been dropped, which means that restic now requires at least Go 1.19 to build.
-
Enhancement #229: Show progress bar while loading the index
Restic did not provide any feedback while loading index files. Now, there is a progress bar that shows the index loading progress.
-
Enhancement #4128: Automatically set
GOMAXPROCS
in resource-constrained containersWhen running restic in a Linux container with CPU-usage limits, restic now automatically adjusts
GOMAXPROCS
. This helps to reduce the memory consumption on hosts with many CPU cores. -
Enhancement #4480: Allow setting REST password and username via environment variables
Previously, it was only possible to specify the REST-server username and password in the repository URL, or by using the
--repository-file
option. This meant it was not possible to use authentication in contexts where the repository URL is stored in publicly accessible way.Restic now allows setting the username and password using the
RESTIC_REST_USERNAME
andRESTIC_REST_PASSWORD
variables. -
Enhancement #4511: Include inode numbers in JSON output for
find
andls
commandsRestic used to omit the inode numbers in the JSON messages emitted for nodes by the
ls
command as well as for matches by thefind
command. It now includes those values whenever they are available. -
Enhancement #4519: Add config option to set SFTP command arguments
When using the
sftp
backend, scenarios where a custom identity file was needed for the SSH connection, required the full command to be specified:-o sftp.command='ssh user@host:port -i /ssh/my_private_key -s sftp'
Now, the
-o sftp.args=...
option can be passed to restic to specify custom arguments for the SSH command executed by the SFTP backend. This simplifies the above example to-o sftp.args='-i /ssh/my_private_key'
.
1、 restic-0.16.1.tar.gz 22.87MB
2、 restic-0.16.1.tar.gz.asc 833B
3、 restic_0.16.1_aix_ppc64.bz2 7.44MB
4、 restic_0.16.1_darwin_amd64.bz2 8.33MB
5、 restic_0.16.1_darwin_arm64.bz2 8.1MB
6、 restic_0.16.1_freebsd_386.bz2 7.42MB
7、 restic_0.16.1_freebsd_amd64.bz2 7.92MB
8、 restic_0.16.1_freebsd_arm.bz2 7.35MB
9、 restic_0.16.1_linux_386.bz2 7.44MB
10、 restic_0.16.1_linux_amd64.bz2 7.94MB
11、 restic_0.16.1_linux_arm.bz2 7.38MB
12、 restic_0.16.1_linux_arm64.bz2 7.2MB
13、 restic_0.16.1_linux_mips.bz2 6.63MB
14、 restic_0.16.1_linux_mips64.bz2 6.44MB
15、 restic_0.16.1_linux_mips64le.bz2 6.5MB
16、 restic_0.16.1_linux_mipsle.bz2 6.69MB
17、 restic_0.16.1_linux_ppc64le.bz2 7.01MB
18、 restic_0.16.1_linux_riscv64.bz2 7.46MB
19、 restic_0.16.1_linux_s390x.bz2 7.51MB
20、 restic_0.16.1_netbsd_386.bz2 7.3MB
21、 restic_0.16.1_netbsd_amd64.bz2 7.79MB
22、 restic_0.16.1_openbsd_386.bz2 7.31MB
23、 restic_0.16.1_openbsd_amd64.bz2 7.79MB
24、 restic_0.16.1_solaris_amd64.bz2 7.79MB
25、 restic_0.16.1_windows_386.zip 8.42MB
26、 restic_0.16.1_windows_amd64.zip 8.74MB
27、 SHA256SUMS 2.35KB
28、 SHA256SUMS.asc 833B