v0.8.3
版本发布时间: 2018-02-27 04:41:52
restic/restic最新发布版本:v0.17.3(2024-11-09 03:52:25)
We're very pleased to announce restic 0.8.3! 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.
The binaries released with each restic version are reproducible, which means that you can easily reproduce a byte identical version from the source code for that release. Instructions on how to do that are contained in the builder repository.
For the 0.8.3 release, the binaries are a bit harder to reproduce since Go 1.10 changed a command-line parameter we're using, and we did not catch this early enough for the release. Instructions on how to reproduce them can be found in the forum.
Changelog for restic 0.8.3 (2018-02-26)
The following sections list the changes in restic 0.8.3 relevant to restic users. The changes are ordered by importance.
Summary
- Fix #1633: Fixed unexpected 'pack file cannot be listed' error
- Fix #1641: Ignore files with invalid names in the repo
- Fix #1638: Handle errors listing files in the backend
- Enh #1497: Add --read-data-subset flag to check command
- Enh #1560: Retry all repository file download errors
- Enh #1623: Don't check for presence of files in the backend before writing
- Enh #1634: Upgrade B2 client library, reduce HTTP requests
Details
-
Bugfix #1633: Fixed unexpected 'pack file cannot be listed' error
Due to a regression introduced in 0.8.2, the
rebuild-index
andprune
commands failed to read pack files with size of 587, 588, 589 or 590 bytes. -
Bugfix #1641: Ignore files with invalid names in the repo
The release 0.8.2 introduced a bug: when restic encounters files in the repo which do not have a valid name, it tries to load a file with a name of lots of zeroes instead of ignoring it. This is now resolved, invalid file names are just ignored.
-
Bugfix #1638: Handle errors listing files in the backend
A user reported in the forum that restic completes a backup although a concurrent
prune
operation was running. A few error messages were printed, but the backup was attempted and completed successfully. No error code was returned.This should not happen: The repository is exclusively locked during
prune
, so whenrestic backup
is run in parallel, it should abort and return an error code instead.It was found that the bug was in the code introduced only recently, which retries a List() operation on the backend should that fail. It is now corrected.
-
Enhancement #1497: Add --read-data-subset flag to check command
This change introduces ability to check integrity of a subset of repository data packs. This can be used to spread integrity check of larger repositories over a period of time.
-
Enhancement #1560: Retry all repository file download errors
Restic will now retry failed downloads, similar to other operations.
-
Enhancement #1623: Don't check for presence of files in the backend before writing
Before, all backend implementations were required to return an error if the file that is to be written already exists in the backend. For most backends, that means making a request (e.g. via HTTP) and returning an error when the file already exists.
This is not accurate, the file could have been created between the HTTP request testing for it, and when writing starts, so we've relaxed this requeriment, which saves one additional HTTP request per newly added file.
-
Enhancement #1634: Upgrade B2 client library, reduce HTTP requests
We've upgraded the B2 client library restic uses to access BackBlaze B2. This reduces the number of HTTP requests needed to upload a new file from two to one, which should improve throughput to B2.
1、 restic-0.8.3.tar.gz 46.49MB
2、 restic-0.8.3.tar.gz.asc 833B
3、 restic_0.8.3_darwin_386.bz2 3.36MB
4、 restic_0.8.3_darwin_amd64.bz2 3.5MB
5、 restic_0.8.3_freebsd_386.bz2 3.18MB
6、 restic_0.8.3_freebsd_amd64.bz2 3.3MB
7、 restic_0.8.3_freebsd_arm.bz2 3.17MB
8、 restic_0.8.3_linux_386.bz2 3.18MB
9、 restic_0.8.3_linux_amd64.bz2 3.31MB
10、 restic_0.8.3_linux_arm.bz2 3.17MB
11、 restic_0.8.3_linux_arm64.bz2 3.04MB
12、 restic_0.8.3_openbsd_386.bz2 3.07MB
13、 restic_0.8.3_openbsd_amd64.bz2 3.18MB
14、 restic_0.8.3_windows_386.zip 3.39MB
15、 restic_0.8.3_windows_amd64.zip 3.58MB
16、 SHA256SUMS 1.29KB
17、 SHA256SUMS.asc 833B