restic v0.9.2 Release Notes

Release Date: 2018-08-06 // over 5 years ago
  • We're very pleased to announce restic 0.9.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.9.2 (2018-08-06)

    The following sections list the changes in restic 0.9.2 relevant to restic users. The changes are ordered by importance.

    Summary

    • ๐Ÿ›  Fix #1854: Allow saving files/dirs on different fs with --one-file-system
    • ๐Ÿ›  Fix #1870: Fix restore with --include
    • ๐Ÿ›  Fix #1880: Use --cache-dir argument for check command
    • ๐Ÿ›  Fix #1893: Return error when exclude file cannot be read
    • ๐Ÿ›  Fix #1861: Fix case-insensitive search with restic find
    • ๐Ÿ‘ Enh #1906: Add support for B2 application keys
    • Enh #874: Add stats command to get information about a repository
    • โช Enh #1772: Add restore --verify to verify restored file content
    • ๐Ÿ‘ Enh #1853: Add JSON output support to restic key list
    • Enh #1477: S3 backend: accept AWS_SESSION_TOKEN
    • โšก๏ธ Enh #1901: Update the Backblaze B2 library

    Details

    ๐Ÿ›  Bugfix #1854: Allow saving files/dirs on different fs with --one-file-system

    Restic now allows saving files/dirs on a different file system in a subdir correctly even when --one-file-system is specified.

    ๐Ÿ— The first thing the restic archiver code does is to build a tree of the target files/directories. If it detects that a parent directory is already included (e.g. restic backup /foo /foo/bar/baz), it'll ignore the latter argument.

    Without --one-file-system, that's perfectly valid: If /foo is to be archived, it will include /foo/bar/baz. But with --one-file-system, /foo/bar/baz may reside on a different file system, so it won't be included with /foo.

    #1854 #1855

    ๐Ÿ›  Bugfix #1870: Fix restore with --include

    โช We fixed a bug which prevented restic to restore files with an include filter.

    #1870 #1900

    ๐Ÿ›  Bugfix #1880: Use --cache-dir argument for check command

    0๏ธโƒฃ check command now uses a temporary sub-directory of the specified directory if set using the --cache-dir argument. If not set, the cache directory is created in the default temporary directory as before. In either case a temporary cache is used to ensure the actual repository is checked (rather than a local copy).

    The --cache-dir argument was not used by the check command, instead a cache directory was created in the temporary directory.

    #1880

    ๐Ÿ›  Bugfix #1893: Return error when exclude file cannot be read

    ๐Ÿ–จ A bug was found: when multiple exclude files were passed to restic and one of them could not be read, an error was printed and restic continued, ignoring even the existing exclude files. Now, an error message is printed and restic aborts when an exclude file cannot be read.

    #1893

    ๐Ÿ›  Bugfix #1861: Fix case-insensitive search with restic find

    ๐Ÿ›  We've fixed the behavior for restic find -i PATTERN, which was broken in v0.9.1.

    #1861

    โœจ Enhancement #1906: Add support for B2 application keys

    Restic can now use so-called "application keys" which can be created in the B2 dashboard and were only introduced recently. In contrast to the "master key", such keys can be restricted to a specific bucket and/or path.

    #1906 #1914

    โœจ Enhancement #874: Add stats command to get information about a repository

    #874 #1729

    โœจ Enhancement #1772: Add restore --verify to verify restored file content

    โช Restore will print error message if restored file content does not match expected SHA256 checksum

    #1772

    โœจ Enhancement #1853: Add JSON output support to restic key list

    This PR enables users to get the output of restic key list in JSON in addition to the existing table format.

    #1853

    Enhancement #1477: S3 backend: accept AWS_SESSION_TOKEN

    Before, it was not possible to use s3 backend with AWS temporary security credentials(with AWS_SESSION_TOKEN). This change gives higher priority to credentials.EnvAWS credentials provider.

    #1477 #1479 #1647

    โœจ Enhancement #1901: Update the Backblaze B2 library

    โšก๏ธ We've updated the library we're using for accessing the Backblaze B2 service to 0.5.0 to include support for upcoming so-called "application keys". With this feature, you can create access credentials for B2 which are restricted to e.g. a single bucket or even a sub-directory of a bucket.

    #1901 https://github.com/kurin/blazer