v0.8.0
版本发布时间: 2017-11-27 03:04:31
restic/restic最新发布版本:v0.17.3(2024-11-09 03:52:25)
We're very pleased to announce restic 0.8.0! 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.
Important Changes in 0.8.0
-
A vulnerability was found in the restic restorer, which allowed attackers in special circumstances to restore files to a location outside of the target directory. Due to the circumstances we estimate this to be a low-risk vulnerability, but urge all users to upgrade to the latest version of restic.
Exploiting the vulnerability requires a Linux/Unix system which saves backups via restic and a Windows system which restores files from the repo. In addition, the attackers need to be able to create files with arbitrary names which are then saved to the restic repo. For example, by creating a file named "..\test.txt" (which is a perfectly legal filename on Linux) and restoring a snapshot containing this file on Windows, it would be written to the parent of the target directory.
We'd like to thank Tyler Spivey for reporting this responsibly! https://github.com/restic/restic/pull/1445
-
The s3 backend used the subdir
restic
within a bucket if no explicit path after the bucket name was specified. Since this version, restic does not use this default path any more. If you created a repo on s3 in a bucket without specifying a path within the bucket, you need to add/restic
at the end of the repository specification to access your repo:s3:s3.amazonaws.com/bucket/restic
https://github.com/restic/restic/issues/1292 https://github.com/restic/restic/pull/1437 -
We've added a local cache for metadata so that restic doesn't need to load all metadata (snapshots, indexes, ...) from the repo each time it starts. By default the cache is active, but there's a new global option
--no-cache
that can be used to disable the cache. By deafult, the cache a standard cache folder for the OS, which can be overridden with--cache-dir
. The cache will automatically populate, indexes and snapshots are saved as they are loaded. https://github.com/restic/restic/pull/1040 https://github.com/restic/restic/issues/29 https://github.com/restic/restic/issues/738 https://github.com/restic/restic/issues/282 https://github.com/restic/restic/pull/1287 -
A related change was to by default create pack files in the repo that contain either data or metadata, not both mixed together. This allows easy caching of only the metadata files. The next run of
restic prune
will untangle mixed files automatically. https://github.com/restic/restic/pull/1265 -
The Google Cloud Storage backend no longer requires the service account to have the
storage.buckets.get
permission ("Storage Admin" role) inrestic init
if the bucket already exists. https://github.com/restic/restic/pull/1281 -
Added support for rate limiting through
--limit-upload
and--limit-download
flags. https://github.com/restic/restic/issues/1216 https://github.com/restic/restic/pull/1336 https://github.com/restic/restic/pull/1358 -
Failed backend requests are now automatically retried. https://github.com/restic/restic/pull/1353
-
We've added the
dump
command which prints a file from a snapshot to stdout. This can e.g. be used to restore files read withbackup --stdin
. https://github.com/restic/restic/issues/510 https://github.com/restic/restic/pull/1346
Small changes
-
The directory structure in the fuse mount now exposes a symlink
latest
which points to the latest snapshot in that particular directory. https://github.com/restic/restic/pull/1249 -
The option
--compact
was added to theforget
command to provide the same compact view as thesnapshots
command. https://github.com/restic/restic/pull/1269 -
We've re-enabled a workaround for
minio-go
(the library we're using to access s3 backends), this reduces memory usage. https://github.com/restic/restic/issues/1256 https://github.com/restic/restic/pull/1267 -
The sftp backend now prompts for the password if a password is necessary for login. https://github.com/restic/restic/issues/448 https://github.com/restic/restic/pull/1270
-
The
generate
command has been added, which replaces the now removed commandsmanpage
andautocomplete
. This release of restic contains the most recent manpages indoc/man
and the auto-completion files for bash and zsh indoc/bash-completion.sh
anddoc/zsh-completion.zsh
https://github.com/restic/restic/issues/1274 https://github.com/restic/restic/pull/1282 -
A bug was discovered in the library we're using to access Backblaze, it now reuses already established TCP connections which should be a lot faster and not cause network failures any more. https://github.com/restic/restic/issues/1291 https://github.com/restic/restic/pull/1301
-
Another bug in the
forget
command causedprune
not to be run when--prune
was specified without a policy, e.g. when only snapshot IDs that should be forgotten are listed manually. This is corrected now. https://github.com/restic/restic/pull/1317 -
The
check
command now explicetly printsNo errors were found
when no errors could be found. https://github.com/restic/restic/pull/1319 https://github.com/restic/restic/issues/1303 -
The fuse mount now has an
ids
subdirectory which contains the snapshots below their (short) IDs. https://github.com/restic/restic/issues/1102 https://github.com/restic/restic/pull/1299 https://github.com/restic/restic/pull/1320 -
The
backup
command was improved, it now caches the result of excludes for a directory. https://github.com/restic/restic/issues/1271 https://github.com/restic/restic/pull/1326 -
We've added the
--cacert
option which can be used to pass one (or more) CA certificates to restic. These are used in addition to the system CA certificates to verify HTTPS certificates (e.g. for the REST backend). https://github.com/restic/restic/issues/1114 https://github.com/restic/restic/pull/1276 -
When the list of files/dirs to be saved is read from a file with
--files-from
, comment lines (starting with#
) are now ignored. https://github.com/restic/restic/issues/1367 https://github.com/restic/restic/pull/1368
1、 restic-0.8.0.tar.gz 35.58MB
2、 restic-0.8.0.tar.gz.asc 833B
3、 restic_0.8.0_darwin_386.bz2 3.24MB
4、 restic_0.8.0_darwin_amd64.bz2 3.44MB
5、 restic_0.8.0_freebsd_386.bz2 3.05MB
6、 restic_0.8.0_freebsd_amd64.bz2 3.24MB
7、 restic_0.8.0_freebsd_arm.bz2 3.05MB
8、 restic_0.8.0_linux_386.bz2 3.06MB
9、 restic_0.8.0_linux_amd64.bz2 3.24MB
10、 restic_0.8.0_linux_arm.bz2 3.05MB
11、 restic_0.8.0_linux_arm64.bz2 2.92MB
12、 restic_0.8.0_openbsd_386.bz2 2.95MB
13、 restic_0.8.0_openbsd_amd64.bz2 3.12MB
14、 restic_0.8.0_windows_386.zip 3.26MB
15、 restic_0.8.0_windows_amd64.zip 3.53MB
16、 SHA256SUMS 1.29KB
17、 SHA256SUMS.asc 833B