v0.8.2
版本发布时间: 2018-02-18 03:48:34
restic/restic最新发布版本:v0.17.3(2024-11-09 03:52:25)
We're very pleased to announce restic 0.8.2! 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.
Changelog for restic 0.8.2 (2018-02-17)
The following sections list the changes in restic 0.8.2 relevant to restic users. The changes are ordered by importance.
Summary
- Fix #1506: Limit bandwith at the http.RoundTripper for HTTP based backends
- Fix #1512: Restore directory permissions as the last step
- Fix #1528: Correctly create missing subdirs in data/
- Fix #1590: Strip spaces for lines read via --files-from
- Fix #1589: Complete intermediate index upload
- Fix #1594: Google Cloud Storage: Use generic HTTP transport
- Fix #1595: Backup: Remove bandwidth display
- Enh #1522: Add support for TLS client certificate authentication
- Enh #1541: Reduce number of remote requests during repository check
- Enh #1567: Reduce number of backend requests for rebuild-index and prune
- Enh #1507: Only reload snapshots once per minute for fuse mount
- Enh #1538: Reduce memory allocations for querying the index
- Enh #1549: Speed up querying across indices and scanning existing files
- Enh #1554: Fuse/mount: Correctly handle EOF, add template option
- Enh #1564: Don't terminate ssh on SIGINT
- Enh #1579: Retry Backend.List() in case of errors
- Enh #1584: Limit index file size
Details
-
Bugfix #1506: Limit bandwith at the http.RoundTripper for HTTP based backends
-
Bugfix #1512: Restore directory permissions as the last step
This change allows restoring into directories that were not writable during backup. Before, restic created the directory, set the read-only mode and then failed to create files in the directory. This change now restores the directory (with its permissions) as the very last step.
-
Bugfix #1528: Correctly create missing subdirs in data/
-
Bugfix #1590: Strip spaces for lines read via --files-from
Leading and trailing spaces in lines read via
--files-from
are now stripped, so it behaves the same as with lines read via--exclude-file
. -
Bugfix #1589: Complete intermediate index upload
After a user posted a comprehensive report of what he observed, we were able to find a bug and correct it: During backup, restic uploads so-called "intermediate" index files. When the backup finishes during a transfer of such an intermediate index, the upload is cancelled, but the backup is finished without an error. This leads to an inconsistent state, where the snapshot references data that is contained in the repo, but is not referenced in any index.
The situation can be resolved by building a new index with
rebuild-index
, but looks very confusing at first. Since all the data got uploaded to the repo successfully, there was no risk of data loss, just minor inconvenience for our users. -
Bugfix #1594: Google Cloud Storage: Use generic HTTP transport
It was discovered that the Google Cloud Storage backend did not use the generic HTTP transport, so things such as bandwidth limiting with
--limit-upload
did not work. This is resolved now. -
Bugfix #1595: Backup: Remove bandwidth display
This commit removes the bandwidth displayed during backup process. It is misleading and seldomly correct, because it's neither the "read bandwidth" (only for the very first backup) nor the "upload bandwidth". Many users are confused about (and rightly so), c.f. #1581, #1033, #1591
We'll eventually replace this display with something more relevant when the new archiver code is ready.
-
Enhancement #1522: Add support for TLS client certificate authentication
Support has been added for using a TLS client certificate for authentication to HTTP based backend. A file containing the PEM encoded private key and certificate can be set using the
--tls-client-cert
option. -
Enhancement #1541: Reduce number of remote requests during repository check
This change eliminates redundant remote repository calls and significantly improves repository check time.
-
Enhancement #1567: Reduce number of backend requests for rebuild-index and prune
We've found a way to reduce then number of backend requests for the
rebuild-index
andprune
operations. This significantly speeds up the operations for high-latency backends. -
Enhancement #1507: Only reload snapshots once per minute for fuse mount
-
Enhancement #1538: Reduce memory allocations for querying the index
This change reduces the internal memory allocations when the index data structures in memory are queried if a blob (part of a file) already exists in the repo. It should speed up backup a bit, and maybe even reduce RAM usage.
-
Enhancement #1549: Speed up querying across indices and scanning existing files
This change increases the whenever a blob (part of a file) is searched for in a restic repository. This will reduce cpu usage some when backing up files already backed up by restic. Cpu usage is further decreased when scanning files.
-
Enhancement #1554: Fuse/mount: Correctly handle EOF, add template option
We've added the
--snapshot-template
string, which can be used to specify a template for a snapshot directory. In addition, accessing data after the end of a file via the fuse mount is now handled correctly. -
Enhancement #1564: Don't terminate ssh on SIGINT
We've reworked the code which runs the
ssh
login for the sftp backend so that it can prompt for a password (if needed) but does not exit when the user presses CTRL+C (SIGINT) e.g. during backup. This allows restic to properly shut down when it receives SIGINT and remove the lock file from the repo, afterwards exiting thessh
process. -
Enhancement #1579: Retry Backend.List() in case of errors
-
Enhancement #1584: Limit index file size
Before, restic would create a single new index file on
prune
orrebuild-index
, this may lead to memory problems when this huge index is created and loaded again. We're now limiting the size of the index file, and split newly created index files into several smaller ones. This allows restic to be more memory-efficient.
1、 restic-0.8.2.tar.gz 46.48MB
2、 restic-0.8.2.tar.gz.asc 833B
3、 restic_0.8.2_darwin_386.bz2 3.35MB
4、 restic_0.8.2_darwin_amd64.bz2 3.49MB
5、 restic_0.8.2_freebsd_386.bz2 3.16MB
6、 restic_0.8.2_freebsd_amd64.bz2 3.29MB
7、 restic_0.8.2_freebsd_arm.bz2 3.16MB
8、 restic_0.8.2_linux_386.bz2 3.18MB
9、 restic_0.8.2_linux_amd64.bz2 3.3MB
10、 restic_0.8.2_linux_arm.bz2 3.16MB
11、 restic_0.8.2_linux_arm64.bz2 3.04MB
12、 restic_0.8.2_openbsd_386.bz2 3.06MB
13、 restic_0.8.2_openbsd_amd64.bz2 3.17MB
14、 restic_0.8.2_windows_386.zip 3.38MB
15、 restic_0.8.2_windows_amd64.zip 3.57MB
16、 SHA256SUMS 1.29KB
17、 SHA256SUMS.asc 833B