restic

Fast, secure, efficient backup program

BSD-2-CLAUSE License

Stars
25.9K
Committers
401

Bot releases are visible (Hide)

restic - restic 0.9.4

Published by fd0 almost 6 years ago

We're very pleased to present you restic 0.9.4! 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 in the Developer Documentation.

Changelog for restic 0.9.4 (2019-01-06)

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

Summary

  • Fix #1989: Google Cloud Storage: Respect bandwidth limit
  • Fix #2040: Add host name filter shorthand flag for stats command
  • Fix #2068: Correctly return error loading data
  • Fix #2095: Consistently use local time for snapshots times
  • Enh #1605: Concurrent restore
  • Enh #2089: Increase granularity of the "keep within" retention policy
  • Enh #2097: Add key hinting
  • Enh #2017: Mount: Enforce FUSE Unix permissions with allow-other
  • Enh #2070: Make all commands display timestamps in local time
  • Enh #2085: Allow --files-from to be specified multiple times
  • Enh #2094: Run command to get password

Details

  • Bugfix #1989: Google Cloud Storage: Respect bandwidth limit

    The GCS backend did not respect the bandwidth limit configured, a previous commit accidentally removed support for it.

    #1989 #2100

  • Bugfix #2040: Add host name filter shorthand flag for stats command

    The default value for --host flag was set to 'H' (the shorthand version of the flag), this caused the lookup for the latest snapshot to fail.

    Add shorthand flag -H for --host (with empty default so if these flags are not specified the latest snapshot will not filter by host name).

    Also add shorthand -H for backup command.

    #2040

  • Bugfix #2068: Correctly return error loading data

    In one case during prune and check, an error loading data from the backend is not returned properly. This is now corrected.

    #1999 #2068

  • Bugfix #2095: Consistently use local time for snapshots times

    By default snapshots created with restic backup were set to local time, but when the --time flag was used the provided timestamp was parsed as UTC. With this change all snapshots times are set to local time.

    #2095

  • Enhancement #1605: Concurrent restore

    This change significantly improves restore performance, especially when using high-latency remote repositories like B2.

    The implementation now uses several concurrent threads to download and process multiple remote files concurrently. To further reduce restore time, each remote file is downloaded using a single repository request.

    #1605 #1719

  • Enhancement #2089: Increase granularity of the "keep within" retention policy

    The keep-within option of the forget command now accepts time ranges with an hourly granularity. For example, running restic forget --keep-within 3d12h will keep all the snapshots made within three days and twelve hours from the time of the latest snapshot.

    #2089 #2090

  • Enhancement #2097: Add key hinting

    Added a new option --key-hint and corresponding environment variable RESTIC_KEY_HINT. The key hint is a key ID to try decrypting first, before other keys in the repository.

    This change will benefit repositories with many keys; if the correct key hint is supplied then restic only needs to check one key. If the key hint is incorrect (the key does not exist, or the password is incorrect) then restic will check all keys, as usual.

    #2097

  • Enhancement #2017: Mount: Enforce FUSE Unix permissions with allow-other

    The fuse mount (restic mount) now lets the kernel check the permissions of the files within snapshots (this is done through the DefaultPermissions FUSE option) when the option --allow-other is specified.

    To restore the old behavior, we've added the --no-default-permissions option. This allows all users that have access to the mount point to access all files within the snapshots.

    #2017

  • Enhancement #2070: Make all commands display timestamps in local time

    Restic used to drop the timezone information from displayed timestamps, it now converts timestamps to local time before printing them so the times can be easily compared to.

    #2070

  • Enhancement #2085: Allow --files-from to be specified multiple times

    Before, restic took only the last file specified with --files-from into account, this is now corrected.

    #2085 #2086

  • Enhancement #2094: Run command to get password

    We've added the --password-command option which allows specifying a command that restic runs every time the password for the repository is needed, so it can be integrated with a password manager or keyring. The option can also be set via the environment variable $RESTIC_PASSWORD_COMMAND.

    #2094

restic - restic 0.9.3

Published by fd0 about 6 years ago

We're very pleased to announce restic 0.9.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 in the Developer Documentation.

Changelog for restic 0.9.3 (2018-10-13)

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

Summary

  • Fix #1935: Remove truncated files from cache
  • Fix #1978: Do not return an error when the scanner is faster than backup
  • Enh #1766: Restore: suppress lchown errors when not running as root
  • Enh #1909: Reject files/dirs by name first
  • Enh #1940: Add directory filter to ls command
  • Enh #1967: Use --host everywhere
  • Enh #2028: Display size of cache directories
  • Enh #1777: Improve the find command
  • Enh #1876: Display reason why forget keeps snapshots
  • Enh #1891: Accept glob in paths loaded via --files-from
  • Enh #1920: Vendor dependencies with Go 1.11 Modules
  • Enh #1949: Add new command self-update
  • Enh #1953: Ls: Add JSON output support for restic ls cmd

Details

  • Bugfix #1935: Remove truncated files from cache

    When a file in the local cache is truncated, and restic tries to access data beyond the end of the (cached) file, it used to return an error "EOF". This is now fixed, such truncated files are removed and the data is fetched directly from the backend.

    #1935

  • Bugfix #1978: Do not return an error when the scanner is faster than backup

    When restic makes a backup, there's a background task called "scanner" which collects information on how many files and directories are to be saved, in order to display progress information to the user. When the backup finishes faster than the scanner, it is aborted because the result is not needed any more. This logic contained a bug, where quitting the scanner process was treated as an error, and caused restic to print an unhelpful error message ("context canceled").

    #1978 #1991

  • Enhancement #1766: Restore: suppress lchown errors when not running as root

    Like "cp" and "rsync" do, restic now only reports errors for changing the ownership of files during restore if it is run as root, on non-Windows operating systems. On Windows, the error is reported as usual.

    #1766

  • Enhancement #1909: Reject files/dirs by name first

    The current scanner/archiver code had an architectural limitation: it always ran the lstat() system call on all files and directories before a decision to include/exclude the file/dir was made. This lead to a lot of unnecessary system calls for items that could have been rejected by their name or path only.

    We've changed the archiver/scanner implementation so that it now first rejects by name/path, and only runs the system call on the remaining items. This reduces the number of lstat() system calls a lot (depending on the exclude settings).

    #1909 #1912

  • Enhancement #1940: Add directory filter to ls command

    The ls command can now be filtered by directories, so that only files in the given directories will be shown. If the --recursive flag is specified, then ls will traverse subfolders and list their files as well.

    It used to be possible to specify multiple snapshots, but that has been replaced by only one snapshot and the possibility of specifying multiple directories.

    Specifying directories constrains the walk, which can significantly speed up the listing.

    #1940 #1941

  • Enhancement #1967: Use --host everywhere

    We now use the flag --host for all commands which need a host name, using --hostname (e.g. for restic backup) still works, but will print a deprecation warning. Also, add the short option -H where possible.

    #1967

  • Enhancement #2028: Display size of cache directories

    The cache command now by default shows the size of the individual cache directories. It can be disabled with --no-size.

    #2028 #2033

  • Enhancement #1777: Improve the find command

    We've updated the find command to support multiple patterns.

    restic find is now able to list the snapshots containing a specific tree or blob, or even the snapshots that contain blobs belonging to a given pack. A list of IDs can be given, as long as they all have the same type.

    The command find can also display the pack IDs the blobs belong to, if the --show-pack-id flag is provided.

    #1777 #1780

  • Enhancement #1876: Display reason why forget keeps snapshots

    We've added a column to the list of snapshots forget keeps which details the reasons to keep a particuliar snapshot. This makes debugging policies for forget much easier. Please remember to always try things out with --dry-run!

    #1876

  • Enhancement #1891: Accept glob in paths loaded via --files-from

    Before that, behaviour was different if paths were appended to command line or from a file, because wild card characters were expanded by shell if appended to command line, but not expanded if loaded from file.

    #1891

  • Enhancement #1920: Vendor dependencies with Go 1.11 Modules

    Until now, we've used dep for managing dependencies, we've now switch to using Go modules. For users this does not change much, only if you want to compile restic without downloading anything with Go 1.11, then you need to run: go build -mod=vendor build.go

    #1920

  • Enhancement #1949: Add new command self-update

    We have added a new command called self-update which downloads the latest released version of restic from GitHub and replaces the current binary with it. It does not rely on any external program (so it'll work everywhere), but still verifies the GPG signature using the embedded GPG public key.

    By default, the self-update command is hidden behind the selfupdate built tag, which is only set when restic is built using build.go (including official releases). The reason for this is that downstream distributions will then not include the command by default, so users are encouraged to use the platform-specific distribution mechanism.

    #1949

  • Enhancement #1953: Ls: Add JSON output support for restic ls cmd

    We've implemented listing files in the repository with JSON as output, just pass --json as an option to restic ls. This makes the output of the command machine readable.

    #1953

restic - restic 0.9.2

Published by fd0 about 6 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

    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

restic - restic 0.9.1

Published by fd0 over 6 years ago

We're very pleased to announce restic 0.9.1! 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.1 (2018-06-10)

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

Summary

  • Fix #1801: Add limiting bandwidth to the rclone backend
  • Fix #1822: Allow uploading large files to MS Azure
  • Fix #1825: Correct find to not skip snapshots
  • Fix #1833: Fix caching files on error
  • Fix #1834: Resolve deadlock

Details

  • Bugfix #1801: Add limiting bandwidth to the rclone backend

    The rclone backend did not respect --limit-upload or --limit-download. Oftentimes it's not necessary to use this, as the limiting in rclone itself should be used because it gives much better results, but in case a remote instance of rclone is used (e.g. called via ssh), it is still relevant to limit the bandwidth from restic to rclone.

    #1801

  • Bugfix #1822: Allow uploading large files to MS Azure

    Sometimes, restic creates files to be uploaded to the repository which are quite large, e.g. when saving directories with many entries or very large files. The MS Azure API does not allow uploading files larger that 256MiB directly, rather restic needs to upload them in blocks of 100MiB. This is now implemented.

    #1822

  • Bugfix #1825: Correct find to not skip snapshots

    Under certain circumstances, the find command was found to skip snapshots containing directories with files to look for when the directories haven't been modified at all, and were already printed as part of a different snapshot. This is now corrected.

    In addition, we've switched to our own matching/pattern implementation, so now things like restic find "/home/user/foo/**/main.go" are possible.

    #1825 #1823

  • Bugfix #1833: Fix caching files on error

    During check it may happen that different threads access the same file in the backend, which is then downloaded into the cache only once. When that fails, only the thread which is responsible for downloading the file signals the correct error. The other threads just assume that the file has been downloaded successfully and then get an error when they try to access the cached file.

    #1833

  • Bugfix #1834: Resolve deadlock

    When the "scanning" process restic runs to find out how much data there is does not finish before the backup itself is done, restic stops doing anything. This is resolved now.

    #1834 #1835

restic - restic 0.9.0

Published by fd0 over 6 years ago

We're very pleased to announce restic 0.9.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.

Changelog for restic 0.9.0 (2018-05-21)

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

Summary

  • Fix #1608: Respect time stamp for new backup when reading from stdin
  • Fix #1652: Ignore/remove invalid lock files
  • Fix #1730: Ignore sockets for restore
  • Fix #1684: Fix backend tests for rest-server
  • Fix #1745: Correctly parse the argument to --tls-client-cert
  • Enh #1433: Support UTF-16 encoding and process Byte Order Mark
  • Enh #1561: Allow using rclone to access other services
  • Enh #1665: Improve cache handling for restic check
  • Enh #1721: Add cache command to list cache dirs
  • Enh #1758: Allow saving OneDrive folders in Windows
  • Enh #549: Rework archiver code
  • Enh #1552: Use Google Application Default credentials
  • Enh #1477: Accept AWS_SESSION_TOKEN for the s3 backend
  • Enh #1648: Ignore AWS permission denied error when creating a repository
  • Enh #1649: Add illumos/Solaris support
  • Enh #1709: Improve messages restic check prints
  • Enh #827: Add --new-password-file flag for non-interactive password changes
  • Enh #1735: Allow keeping a time range of snaphots
  • Enh #1782: Use default AWS credentials chain for S3 backend

Details

  • Bugfix #1608: Respect time stamp for new backup when reading from stdin

    When reading backups from stdin (via restic backup --stdin), restic now uses the time stamp for the new backup passed in --time.

    #1608 #1703

  • Bugfix #1652: Ignore/remove invalid lock files

    This corrects a bug introduced recently: When an invalid lock file in the repo is encountered (e.g. if the file is empty), the code used to ignore that, but now returns the error. Now, invalid files are ignored for the normal lock check, and removed when restic unlock --remove-all is run.

    #1652 #1653

  • Bugfix #1730: Ignore sockets for restore

    We've received a report and correct the behavior in which the restore code aborted restoring a directory when a socket was encountered. Unix domain socket files cannot be restored (they are created on the fly once a process starts listening). The error handling was corrected, and in addition we're now ignoring sockets during restore.

    #1730 #1731

  • Bugfix #1684: Fix backend tests for rest-server

    The REST server for restic now requires an explicit parameter (--no-auth) if no authentication should be allowed. This is fixed in the tests.

    #1684

  • Bugfix #1745: Correctly parse the argument to --tls-client-cert

    Previously, the --tls-client-cert method attempt to read ARGV[1] (hardcoded) instead of the argument that was passed to it. This has been corrected.

    #1745 #1746

  • Enhancement #1433: Support UTF-16 encoding and process Byte Order Mark

    On Windows, text editors commonly leave a Byte Order Mark at the beginning of the file to define which encoding is used (oftentimes UTF-16). We've added code to support processing the BOMs in text files, like the exclude files, the password file and the file passed via --files-from. This does not apply to any file being saved in a backup, those are not touched and archived as they are.

    #1433 #1738 #1748

  • Enhancement #1561: Allow using rclone to access other services

    We've added the ability to use rclone to store backup data on all backends that it supports. This was done in collaboration with Nick, the author of rclone. You can now use it to first configure a service, then restic manages the rest (starting and stopping rclone). For details, please see the manual.

    #1561 #1657 https://rclone.org

  • Enhancement #1665: Improve cache handling for restic check

    For safety reasons, restic does not use a local metadata cache for the restic check command, so that data is loaded from the repository and restic can check it's in good condition. When the cache is disabled, restic will fetch each tiny blob needed for checking the integrity using a separate backend request. For non-local backends, that will take a long time, and depending on the backend (e.g. B2) may also be much more expensive.

    This PR adds a few commits which will change the behavior as follows:

    • When restic check is called without any additional parameters, it will build a new cache in a temporary directory, which is removed at the end of the check. This way, we'll get readahead for metadata files (so restic will fetch the whole file when the first blob from the file is requested), but all data is freshly fetched from the storage backend. This is the default behavior and will work for almost all users.

    • When restic check is called with --with-cache, the default on-disc cache is used. This behavior hasn't changed since the cache was introduced.

    • When --no-cache is specified, restic falls back to the old behavior, and read all tiny blobs in separate requests.

    #1665 #1694 #1696

  • Enhancement #1721: Add cache command to list cache dirs

    The command cache was added, it allows listing restic's cache directoriers together with the last usage. It also allows removing old cache dirs without having to access a repo, via restic cache --cleanup

    #1721 #1749

  • Enhancement #1758: Allow saving OneDrive folders in Windows

    Restic now contains a bugfix to two libraries, which allows saving OneDrive folders in Windows. In order to use the newer versions of the libraries, the minimal version required to compile restic is now Go 1.9.

    #1758 #1765

  • Enhancement #549: Rework archiver code

    The core archiver code and the complementary code for the backup command was rewritten completely. This resolves very annoying issues such as 549. The first backup with this release of restic will likely result in all files being re-read locally, so it will take a lot longer. The next backup after that will be fast again.

    Basically, with the old code, restic took the last path component of each to-be-saved file or directory as the top-level file/directory within the snapshot. This meant that when called as restic backup /home/user/foo, the snapshot would contain the files in the directory /home/user/foo as /foo.

    This is not the case any more with the new archiver code. Now, restic works very similar to what tar does: When restic is called with an absolute path to save, then it'll preserve the directory structure within the snapshot. For the example above, the snapshot would contain the files in the directory within /home/user/foo in the snapshot. For relative directories, it only preserves the relative path components. So restic backup user/foo will save the files as /user/foo in the snapshot.

    While we were at it, the status display and notification system was completely rewritten. By default, restic now shows which files are currently read (unless --quiet is specified) in a multi-line status display.

    The backup command also gained a new option: --verbose. It can be specified once (which prints a bit more detail what restic is doing) or twice (which prints a line for each file/directory restic encountered, together with some statistics).

    Another issue that was resolved is the new code only reads two files at most. The old code would read way too many files in parallel, thereby slowing down the backup process on spinning discs a lot.

    #549 #1286 #446 #1344 #1416 #1456 #1145 #1160 #1494

  • Enhancement #1552: Use Google Application Default credentials

    Google provide libraries to generate appropriate credentials with various fallback sources. This change uses the library to generate our GCS client, which allows us to make use of these extra methods.

    This should be backward compatible with previous restic behaviour while adding the additional capabilities to auth from Google's internal metadata endpoints. For users running restic in GCP this can make authentication far easier than it was before.

    #1552 https://developers.google.com/identity/protocols/application-default-credentials

  • Enhancement #1477: Accept AWS_SESSION_TOKEN for the s3 backend

    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 #1648: Ignore AWS permission denied error when creating a repository

    It's not possible to use s3 backend scoped to a subdirectory(with specific permissions). Restic doesn't try to create repository in a subdirectory, when 'bucket exists' of parent directory check fails due to permission issues.

    #1648

  • Enhancement #1649: Add illumos/Solaris support

    #1649

  • Enhancement #1709: Improve messages restic check prints

    Some messages restic check prints are not really errors, so from now on restic does not treat them as errors any more and exits cleanly.

    #1709 https://forum.restic.net/t/what-is-the-standard-procedure-to-follow-if-a-backup-or-restore-is-interrupted/571/2

  • Enhancement #827: Add --new-password-file flag for non-interactive password changes

    This makes it possible to change a repository password without being prompted.

    #827 #1720 https://forum.restic.net/t/changing-repo-password-without-prompt/591

  • Enhancement #1735: Allow keeping a time range of snaphots

    We've added the --keep-within option to the forget command. It instructs restic to keep all snapshots within the given duration since the newest snapshot. For example, running restic forget --keep-within 5m7d will keep all snapshots which have been made in the five months and seven days since the latest snapshot.

    #1735

  • Enhancement #1782: Use default AWS credentials chain for S3 backend

    Adds support for file credentials to the S3 backend (e.g. ~/.aws/credentials), and reorders the credentials chain for the S3 backend to match AWS's standard, which is static credentials, env vars, credentials file, and finally remote.

    #1782

restic - restic 0.8.3

Published by fd0 over 6 years ago

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 and prune commands failed to read pack files with size of 587, 588, 589 or 590 bytes.

    #1633 #1635

  • 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.

    #1641 #1643

  • 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 when restic 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.

    #1638

  • 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.

    #1497 #1556

  • Enhancement #1560: Retry all repository file download errors

    Restic will now retry failed downloads, similar to other operations.

    #1560

  • 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.

    #1623

  • 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.

    #1634

restic - restic 0.8.2

Published by fd0 over 6 years ago

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

    #1506 #1511

  • 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.

    #1512 #1536

  • Bugfix #1528: Correctly create missing subdirs in data/

    #1528 #1529

  • 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.

    #1590 #1613

  • 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.

    #1589

  • 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.

    #1594

  • 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.

    #1595

  • 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.

    #1522 #1524

  • Enhancement #1541: Reduce number of remote requests during repository check

    This change eliminates redundant remote repository calls and significantly improves repository check time.

    #1541 #1548

  • 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 and prune operations. This significantly speeds up the operations for high-latency backends.

    #1567 #1574 #1575

  • Enhancement #1507: Only reload snapshots once per minute for fuse mount

    #1507

  • 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.

    #1538

  • 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.

    #1549

  • 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.

    #1554

  • 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 the ssh process.

    #1564 #1588

  • Enhancement #1579: Retry Backend.List() in case of errors

    #1579

  • Enhancement #1584: Limit index file size

    Before, restic would create a single new index file on prune or rebuild-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.

    #1412 #979 #526 #1584

restic - restic 0.8.1

Published by fd0 almost 7 years ago

We're very pleased to announce restic 0.8.1! 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.1 (2017-12-27)

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

Summary

  • Fix #1457: Improve s3 backend with DigitalOcean Spaces
  • Fix #1454: Correct cache dir location for Windows and Darwin
  • Fix #1459: Disable handling SIGPIPE
  • Chg #1452: Do not save atime by default
  • Enh #1436: Add code to detect old cache directories
  • Enh #1439: Improve cancellation logic
  • Enh #11: Add the diff command

Details

  • Bugfix #1457: Improve s3 backend with DigitalOcean Spaces

    #1457 #1459

  • Bugfix #1454: Correct cache dir location for Windows and Darwin

    The cache directory on Windows and Darwin was not correct, instead the directory .cache was used.

    #1454

  • Bugfix #1459: Disable handling SIGPIPE

    We've disabled handling SIGPIPE again. Turns out, writing to broken TCP connections also raised SIGPIPE, so restic exits on the first write to a broken connection. Instead, restic should retry the request.

    #1457 #1466 #1459

  • Change #1452: Do not save atime by default

    By default, the access time for files and dirs is not saved any more. It is not possible to reliably disable updating the access time during a backup, so for the next backup the access time is different again. This means a lot of metadata is saved. If you want to save the access time anyway, pass --with-atime to the backup command.

    #1452

  • Enhancement #1436: Add code to detect old cache directories

    We've added code to detect old cache directories of repositories that haven't been used in a long time, restic now prints a note when it detects that such dirs exist. Also, the option --cleanup-cache was added to automatically remove such directories. That's not a problem because the cache will be rebuild once a repo is accessed again.

    #1436

  • Enhancement #1439: Improve cancellation logic

    The cancellation logic was improved, restic can now shut down cleanly when requested to do so (e.g. via ctrl+c).

    #1439

  • Enhancement #11: Add the diff command

    The command diff was added, it allows comparing two snapshots and listing all differences.

    #11 #1460 #1462

restic - restic 0.8.0

Published by fd0 almost 7 years ago

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

Small changes

restic - restic 0.7.3

Published by fd0 about 7 years ago

We're very pleased to announce restic 0.7.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.

This is a bugfix release that corrects the following bugs:

Important Changes in 0.7.3

restic - restic 0.7.2

Published by fd0 about 7 years ago

We're very pleased to announce restic 0.7.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.

This release contains the following changes:

Important Changes in 0.7.2

Small changes

restic - restic 0.7.1

Published by fd0 about 7 years ago

UPDATE

After releasing restic 0.7.1, we've discovered a serious bug that was more or less accidentally corrected in 0.7.1, the background story is described in our blog. Do not use restic 0.7.0, upgrade to at least 0.7.1

And now the original release notes text:


We're proud to present restic 0.7.1. The binaries released with each restic version starting 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.7.1

Small changes

restic - restic 0.7.0

Published by fd0 over 7 years ago

After weeks of work we're proud to release restic 0.7.0!

Important Changes in 0.7.0

Small changes

restic - restic 0.6.1

Published by fd0 over 7 years ago

This is mostly a bugfix release and only contains small changes:

  • The release binaries are now built in a reproducible way, see https://github.com/restic/builder

  • We've fixed a bug where rebuild-index would corrupt the index when used with the s3 backend together with the default layout. This is not the default setting.

  • Backends based on HTTP now allow several idle connections in parallel. This is especially important for the REST backend, which (when used with a local server) may create a lot connections and exhaust available ports quickly. https://github.com/restic/restic/issues/985 https://github.com/restic/restic/pull/986

  • Regular status report: We've removed the status report that was printed every 10 seconds when restic is run non-interactively. You can still force reporting the current status by sending a USR1 signal to the process. https://github.com/restic/restic/pull/974

  • The build.go now strips the temporary directory used for compilation from the binary. This is the first step in enabling reproducible builds. https://github.com/restic/restic/pull/981

Change Log

v0.6.1 (2017-05-31)

Full Changelog

Fixed bugs:

  • "restic check" with rest-backend is using up too many fd's on rest-server. #985
  • Running rebuild-index on s3 with new default layout corrupts index #984
  • AWS credentials ending in "=" don't work #970

Closed issues:

  • Slow "restic prune" on Amazon s3 bucket #973

Merged pull requests:

  • [docs] Fix paragraph not indented correctly in #Autocomplete #987 (Thor77)
  • Allow many idle connections per host #986 (fd0)
  • build.go: Strip temporary path, allow reproducible builds #981 (fd0)
restic - restic 0.6.0

Published by fd0 over 7 years ago

After two months of work we're proud to announce restic v0.6.0. This release contains many bug fixes and several improvements for the user interface, the most important changes are listed below (and also contained in the CHANGELOG.md.

Important Changes in 0.6.0

Consistent forget policy

The forget command was corrected to be more consistent in which snapshots are to be forgotten. It is possible that the new code removes more snapshots than before, so please review what would be deleted by using the --dry-run option. https://github.com/restic/restic/pull/957 https://github.com/restic/restic/issues/953

Unified repository layout

Up to now the s3 backend used a special repository layout. We've decided to unify the repository layout and implemented the default layout also for the s3 backend. For creating a new repository on s3 with the default layout, use restic -o s3.layout=default init. For further commands the option is not necessary any more, restic will automatically detect the correct layout to use. A future version will switch to the default layout for new repositories. https://github.com/restic/restic/pull/966 https://github.com/restic/restic/issues/965

Memory and time improvements for the s3 backend

We've updated the library used for accessing s3, switched to using a lower level API and added caching for some requests. This lead to a decrease in memory usage and a great speedup. In addition, we added benchmark functions for all backends, so we can track improvements over time. The Continuous Integration test service we're using (Travis) now runs the s3 backend tests not only against a Minio server, but also against the Amazon s3 live service, so we should be notified of any regressions much sooner. https://github.com/restic/restic/pull/962 https://github.com/restic/restic/pull/960 https://github.com/restic/restic/pull/946 https://github.com/restic/restic/pull/938 https://github.com/restic/restic/pull/883

v0.6.0 (2017-05-25)

Full Changelog

Implemented enhancements:

  • [RFC] Implement consistent backup/forget policy #953
  • Temporary files not cleaned up #948
  • Check for config file before requesting password #925
  • use newer xattr #921
  • support plink as SSH/SFTP client on Windows #818
  • Handle filesystems mounted several times with --one-file-system #645
  • Backend: use AttemptGet instead of Test + Get to reduce latency impact #457

Fixed bugs:

  • panic: store new item in finalized index #969
  • PKGBUILD broken #963
  • SFTP Upload Stops and does not recover #937
  • Restoring from different host saying wrong password or no key found #923
  • unable to open repo: wrong password or no key found #917
  • Empty lines in exclude-file result in empty snapshot #915
  • Design.md: Tree section has inconsistent blob IDs #914
  • Nested Backups Become Unnested #910
  • one-file-system does not correctly handle sub-paths #907
  • Backup fails after about 2GB #904
  • restic init doesn't work anymore with REST backend #899
  • device id is not saved for files #893
  • [S3] [EMC-ECS] client.BucketExists: Invalid Argument #765
  • Init error on windows when repo path begins with drive letter #735
  • backup --one-file-system and 'nested' mount points. #702
  • Incremental backups of the same (small) directory very slow #684
  • error for restore: lchown operation not permitted #655
  • fuse mount broken for snapshots read from stdin #621
  • Restic panics on connection reset when backing up to S3 #560
  • restore doesn't restore changed files #547
  • panic after SIGCONT #504
  • Differences b/w processed and expected values given in progress information after completion of backup may be confusing to users #486

Closed issues:

  • Backup strategy (2): pull/remote/add-only #959
  • backup size should not include excluded dirs #958
  • [FEATURE] print state of repo #955
  • sftp backends timeouts quietly #954
  • Dead link to "usage" in README #950
  • bash autocompletion #942
  • Please provide a docker container that's empty besides a restic binary with the latest version #931
  • b2 backblaze #924
  • Restore all available versions of a file #906
  • Cannot specify port for sftp backend #895
  • Restore fail in windows #891
  • Support for custom user ID "--cid" (feature) #888
  • Compilation on Android and termux not possible #886
  • Question about restore behavior in Linux #561
  • Report progress on SIGUSR1 (when scripted) #453
  • Allow reading backup items from file #417
  • Add CLI #64
  • Document differences to other backup systems #57

Merged pull requests:

  • build.go: Add --enable-cgo #971 (fd0)
  • Fixing CPUProfile #968 (mcastilho)
  • Fix a number of warnings from go report #967 (middelink)
  • Unify repository layout #966 (fd0)
  • Update github.com/minio/minio-go #964 (fd0)
  • Improve s3 backend #962 (fd0)
  • Add backend benchmarks #961 (fd0)
  • Enable CI tests against AWS S3 #960 (fd0)
  • Change backup policy to be inclusive #957 (middelink)
  • Unlink tempfiles before using them #952 (fd0)
  • codecov.io: Add path fixes #947 (fd0)
  • Update github.com/minio/minio-go #946 (fd0)
  • Add bash autocompletion generation #945 (middelink)
  • Small changes to cmd_forget and snapshot_filter #943 (middelink)
  • local/sftp: Auto create directories if needed #941 (fd0)
  • WIP: rework backend integration tests #938 (fd0)
  • Fix links broken during conversion to rst #936 (Thor77)
  • CI: Add glyphcheck, rework REST server install #935 (fd0)
  • forget: don't sort flags #930 (fd0)
  • Test if a config file on open #927 (fd0)
  • Update vendored dependencies #922 (fd0)
  • Small typo in "Frankfurt" #920 (jpmens)
  • Added AWS S3 tutorial. #919 (Phaeilo)
  • s3: Correct layout prefix, reduce connections #918 (fd0)
  • Ignore empty lines in excludes file, allow multiple files #916 (fd0)
  • Switch documentation to Sphinx #913 (Thor77)
  • Update Go #912 (fd0)
  • Implement MkdirAll() for Windows #911 (fd0)
  • Check allowed devices per path #908 (fd0)
  • Remove short option conflict #905 (fd0)
  • Add new field DeviceID and tests #903 (fd0)
  • storage of device id of files #902 (jgfrm)
  • Prepare more cloud backends, add backend layouts #898 (fd0)
  • doc: Add section about how to change the sftp port #896 (fd0)
  • WIP: rest: Make backend honor the REST protocol #887 (fd0)
  • Cache size of last ReadAt on S3 for performance #883 (trbs)
  • Fix restoring files ownership as non-root user #878 (middelink)
restic - restic v0.6.0-rc.1

Published by fd0 over 7 years ago

After two months of work we're proud to announce restic v0.6.0. This is the Release Candidate version. If no grave bugs occur, it will be released as the final version in a few days. This release contains many bug fixes and several improvements for the user interface, the most important changes are listed below (and also contained in the CHANGELOG.md.

Important Changes in 0.6.0

Consistent forget policy

The forget command was corrected to be more consistent in which snapshots are to be forgotten. It is possible that the new code removes more snapshots than before, so please review what would be deleted by using the --dry-run option. https://github.com/restic/restic/pull/957 https://github.com/restic/restic/issues/953

Unified repository layout

Up to now the s3 backend used a special repository layout. We've decided to unify the repository layout and implemented the default layout also for the s3 backend. For creating a new repository on s3 with the default layout, use restic -o s3.layout=default init. For further commands the option is not necessary any more, restic will automatically detect the correct layout to use. A future version will switch to the default layout for new repositories. https://github.com/restic/restic/pull/966 https://github.com/restic/restic/issues/965

Memory and time improvements for the s3 backend

We've updated the library used for accessing s3, switched to using a lower level API and added caching for some requests. This lead to a decrease in memory usage and a great speedup. In addition, we added benchmark functions for all backends, so we can track improvements over time. The Continuous Integration test service we're using (Travis) now runs the s3 backend tests not only against a Minio server, but also against the Amazon s3 live service, so we should be notified of any regressions much sooner. https://github.com/restic/restic/pull/962 https://github.com/restic/restic/pull/960 https://github.com/restic/restic/pull/946 https://github.com/restic/restic/pull/938 https://github.com/restic/restic/pull/883

v0.6.0-rc.1 (2017-05-25)

Full Changelog

Implemented enhancements:

  • [RFC] Implement consistent backup/forget policy #953
  • Temporary files not cleaned up #948
  • Check for config file before requesting password #925
  • use newer xattr #921
  • support plink as SSH/SFTP client on Windows #818
  • Handle filesystems mounted several times with --one-file-system #645
  • Backend: use AttemptGet instead of Test + Get to reduce latency impact #457

Fixed bugs:

  • panic: store new item in finalized index #969
  • PKGBUILD broken #963
  • SFTP Upload Stops and does not recover #937
  • Restoring from different host saying wrong password or no key found #923
  • unable to open repo: wrong password or no key found #917
  • Empty lines in exclude-file result in empty snapshot #915
  • Design.md: Tree section has inconsistent blob IDs #914
  • Nested Backups Become Unnested #910
  • one-file-system does not correctly handle sub-paths #907
  • Backup fails after about 2GB #904
  • restic init doesn't work anymore with REST backend #899
  • device id is not saved for files #893
  • [S3] [EMC-ECS] client.BucketExists: Invalid Argument #765
  • Init error on windows when repo path begins with drive letter #735
  • backup --one-file-system and 'nested' mount points. #702
  • Incremental backups of the same (small) directory very slow #684
  • error for restore: lchown operation not permitted #655
  • fuse mount broken for snapshots read from stdin #621
  • Restic panics on connection reset when backing up to S3 #560
  • restore doesn't restore changed files #547
  • panic after SIGCONT #504
  • Differences b/w processed and expected values given in progress information after completion of backup may be confusing to users #486

Closed issues:

  • Backup strategy (2): pull/remote/add-only #959
  • backup size should not include excluded dirs #958
  • [FEATURE] print state of repo #955
  • sftp backends timeouts quietly #954
  • Dead link to "usage" in README #950
  • bash autocompletion #942
  • Please provide a docker container that's empty besides a restic binary with the latest version #931
  • b2 backblaze #924
  • Restore all available versions of a file #906
  • Cannot specify port for sftp backend #895
  • Restore fail in windows #891
  • Support for custom user ID "--cid" (feature) #888
  • Compilation on Android and termux not possible #886
  • Question about restore behavior in Linux #561
  • Report progress on SIGUSR1 (when scripted) #453
  • Allow reading backup items from file #417
  • Add CLI #64
  • Document differences to other backup systems #57

Merged pull requests:

  • build.go: Add --enable-cgo #971 (fd0)
  • Fixing CPUProfile #968 (mcastilho)
  • Fix a number of warnings from go report #967 (middelink)
  • Unify repository layout #966 (fd0)
  • Update github.com/minio/minio-go #964 (fd0)
  • Improve s3 backend #962 (fd0)
  • Add backend benchmarks #961 (fd0)
  • Enable CI tests against AWS S3 #960 (fd0)
  • Change backup policy to be inclusive #957 (middelink)
  • Unlink tempfiles before using them #952 (fd0)
  • codecov.io: Add path fixes #947 (fd0)
  • Update github.com/minio/minio-go #946 (fd0)
  • Add bash autocompletion generation #945 (middelink)
  • Small changes to cmd_forget and snapshot_filter #943 (middelink)
  • local/sftp: Auto create directories if needed #941 (fd0)
  • WIP: rework backend integration tests #938 (fd0)
  • Fix links broken during conversion to rst #936 (Thor77)
  • CI: Add glyphcheck, rework REST server install #935 (fd0)
  • forget: don't sort flags #930 (fd0)
  • Test if a config file on open #927 (fd0)
  • Update vendored dependencies #922 (fd0)
  • Small typo in "Frankfurt" #920 (jpmens)
  • Added AWS S3 tutorial. #919 (Phaeilo)
  • s3: Correct layout prefix, reduce connections #918 (fd0)
  • Ignore empty lines in excludes file, allow multiple files #916 (fd0)
  • Switch documentation to Sphinx #913 (Thor77)
  • Update Go #912 (fd0)
  • Implement MkdirAll() for Windows #911 (fd0)
  • Check allowed devices per path #908 (fd0)
  • Remove short option conflict #905 (fd0)
  • Add new field DeviceID and tests #903 (fd0)
  • storage of device id of files #902 (jgfrm)
  • Prepare more cloud backends, add backend layouts #898 (fd0)
  • doc: Add section about how to change the sftp port #896 (fd0)
  • WIP: rest: Make backend honor the REST protocol #887 (fd0)
  • Cache size of last ReadAt on S3 for performance #883 (trbs)
  • Fix restoring files ownership as non-root user #878 (middelink)
restic - restic 0.5.0

Published by fd0 over 7 years ago

We're proud to announce restic 0.5.0. In comparison with the release candidate we've just added a check for the Go version within build.go and documented cross-compilation in the README.md.

This release contains many bug fixes and several improvements for the user interface.

The binaries for this release have been compiled with Go 1.8. Please note that as of this version at least Go 1.7 is required for compiling restic.

Change Log

v0.5.0 (2017-03-09)

Full Changelog

Implemented enhancements:

  • Make cli filtering more consistent #863
  • Find case insensitive #859
  • The automatic parent selection of cmd_backup is not smart enough. #856
  • Nit: As repacking (from prune cmd) can be a VERY time consuming, lets give it a progress bar as well. #848
  • Limit forget to specific path #841
  • Restic Prune: hash of data does not match ID #816
  • Don't use errors.Fatalf when not necessary #789
  • Add --host flag for backup command #788
  • Add --json option to "restic snapshots" (feature) #726

Fixed bugs:

  • Backup a file owned by root #862
  • Nit: output of prune does not line up with what it does. #846
  • panic: runtime error: index out of range #843
  • Unable to anchor a file pattern in filter.List(). #834
  • empty line in files-from adds all #822
  • Restic 0.4.0: buffer is too small for data blob #807
  • Additional index files are not detected by restic check but result in restore errors #797
  • S3: TCP connections are not reused #791
  • prune failed with too many open files #777
  • Memory Consumption for check --read-data #776
  • Disable password reading when backup is used with --stdin #770
  • large prune fails #725
  • Files are read again, despite unchanged timestamp/size #513
  • include filter when restoring does not work for for absolute paths #374

Closed issues:

  • "--prune" Appended To "forget" Command - Unknown Flag #870
  • [FR] Add a new command to manipulate tags on existing snapshots. #851
  • There are more commands where the path lacks the initial / err filepath.Separator #839
  • prune: Avoid running the "find data that is still in use" step when not needed #812
  • node.Subtree.IsNull() panic #811
  • Allow --files-from to take a dash (-) for stdin #769
  • Fuse mount should have option "allow_others" #767
  • golang is a dev requirement not a user one #755
  • Backup to S3 fills temporary directory #611
  • Save and restore extended attributes #25

Merged pull requests:

  • Optimize List() pipeline #867 (middelink)
  • Add --tag filtering to every command, where applicable #866 (middelink)
  • Refuse to create empty snapshots #865 (fd0)
  • find: Add option to ignore case #864 (fd0)
  • Refactor cmd_forget #861 (middelink)
  • Create a helper function to get the terminal width #860 (middelink)
  • Fix layout issue in cmd_snapshot "ascii art" #858 (middelink)
  • Fix SamePaths() and make it into a receiver function #857 (middelink)
  • Add tag command to restic cli to manipulate tags on existing snapshots. #855 (middelink)
  • Dynamic host,tag columns widths in snapshots command #854 (middelink)
  • restic backup --tag integration test #853 (middelink)
  • Add progressbar to repack and blob remove phases of prune cmd. #850 (middelink)
  • Display the proper amount of bytes we will be pruning from the repo. #847 (middelink)
  • Update github.com/pkg/xattr #845 (fd0)
  • Fix Minio Server URL #844 (welpo)
  • Display absolute paths when displaying the output of ls and find. #840 (middelink)
  • Misc improvements #837 (fd0)
  • Allow filtering absolute paths #835 (fd0)
  • Ignore empty lines in --files-from #829 (fd0)
  • Add --prune switch to forget #817 (fd0)
  • Correct archiver behavior in case of errors #814 (fd0)
  • WIP: fix panic #809 (fd0)
  • restore: Make sure buffer is large enough #808 (fd0)
  • Fix inconsistencies in CLI #806 (oysols)
  • Adds JSON support for the snapshots command #803 (ibib)
  • fuse: correct nlink count for directories #800 (fd0)
  • Checker: Propagate errors properly #798 (fd0)
  • fuse: Add options --allow-other and --allow-root #795 (fd0)
  • Use non-formatting functions of errors for strings #794 (fd0)
  • backup: Add --hostname parameter #793 (fd0)
  • s3: Increase MaxIdleConnsPerHost #792 (fd0)
  • Fix some typos #783 (opennota)
  • Make sure backups read from stdin have a file name #782 (fd0)
  • checker: Reduce memory usage #779 (fd0)
  • prune: Close backend reader after download #778 (fd0)
  • Add more tests for reading backups from stdin #775 (fd0)
  • Allow --files-from to take a dash for stdin (fixes #769) #773 (opennota)
  • Return an error if password is not set for stdin #771 (fd0)
  • Add note about pre-compiled binaries #768 (brikou)
restic - restic 0.5.0-rc.1

Published by fd0 over 7 years ago

We're proud to announce the first release candidate for restic 0.5.0. Please test this version thoroughly and report any bugs or other odd things you encounter, so that we can release the final version in a couple of days. The binaries for this release have been compiled with Go 1.8.

Please note that as of this version at least Go 1.7 is required for compiling restic.

Change Log

v0.5.0-rc.1 (2017-03-09)

Full Changelog

Implemented enhancements:

  • Make cli filtering more consistent #863
  • Find case insensitive #859
  • The automatic parent selection of cmd_backup is not smart enough. #856
  • Nit: As repacking (from prune cmd) can be a VERY time consuming, lets give it a progress bar as well. #848
  • Limit forget to specific path #841
  • Restic Prune: hash of data does not match ID #816
  • Don't use errors.Fatalf when not necessary #789
  • Add --host flag for backup command #788
  • Add --json option to "restic snapshots" (feature) #726

Fixed bugs:

  • Backup a file owned by root #862
  • Nit: output of prune does not line up with what it does. #846
  • panic: runtime error: index out of range #843
  • Unable to anchor a file pattern in filter.List(). #834
  • empty line in files-from adds all #822
  • Restic 0.4.0: buffer is too small for data blob #807
  • Additional index files are not detected by restic check but result in restore errors #797
  • S3: TCP connections are not reused #791
  • prune failed with too many open files #777
  • Memory Consumption for check --read-data #776
  • Disable password reading when backup is used with --stdin #770
  • large prune fails #725
  • Files are read again, despite unchanged timestamp/size #513
  • include filter when restoring does not work for for absolute paths #374

Closed issues:

  • "--prune" Appended To "forget" Command - Unknown Flag #870
  • [FR] Add a new command to manipulate tags on existing snapshots. #851
  • There are more commands where the path lacks the initial / err filepath.Separator #839
  • prune: Avoid running the "find data that is still in use" step when not needed #812
  • node.Subtree.IsNull() panic #811
  • Allow --files-from to take a dash (-) for stdin #769
  • Fuse mount should have option "allow_others" #767
  • golang is a dev requirement not a user one #755
  • Backup to S3 fills temporary directory #611
  • Save and restore extended attributes #25

Merged pull requests:

  • Optimize List() pipeline #867 (middelink)
  • Add --tag filtering to every command, where applicable #866 (middelink)
  • Refuse to create empty snapshots #865 (fd0)
  • find: Add option to ignore case #864 (fd0)
  • Refactor cmd_forget #861 (middelink)
  • Create a helper function to get the terminal width #860 (middelink)
  • Fix layout issue in cmd_snapshot "ascii art" #858 (middelink)
  • Fix SamePaths() and make it into a receiver function #857 (middelink)
  • Add tag command to restic cli to manipulate tags on existing snapshots. #855 (middelink)
  • Dynamic host,tag columns widths in snapshots command #854 (middelink)
  • restic backup --tag integration test #853 (middelink)
  • Add progressbar to repack and blob remove phases of prune cmd. #850 (middelink)
  • Display the proper amount of bytes we will be pruning from the repo. #847 (middelink)
  • Update github.com/pkg/xattr #845 (fd0)
  • Fix Minio Server URL #844 (welpo)
  • Display absolute paths when displaying the output of ls and find. #840 (middelink)
  • Misc improvements #837 (fd0)
  • Allow filtering absolute paths #835 (fd0)
  • Ignore empty lines in --files-from #829 (fd0)
  • Add --prune switch to forget #817 (fd0)
  • Correct archiver behavior in case of errors #814 (fd0)
  • WIP: fix panic #809 (fd0)
  • restore: Make sure buffer is large enough #808 (fd0)
  • Fix inconsistencies in CLI #806 (oysols)
  • Adds JSON support for the snapshots command #803 (ibib)
  • fuse: correct nlink count for directories #800 (fd0)
  • Checker: Propagate errors properly #798 (fd0)
  • fuse: Add options --allow-other and --allow-root #795 (fd0)
  • Use non-formatting functions of errors for strings #794 (fd0)
  • backup: Add --hostname parameter #793 (fd0)
  • s3: Increase MaxIdleConnsPerHost #792 (fd0)
  • Fix some typos #783 (opennota)
  • Make sure backups read from stdin have a file name #782 (fd0)
  • checker: Reduce memory usage #779 (fd0)
  • prune: Close backend reader after download #778 (fd0)
  • Add more tests for reading backups from stdin #775 (fd0)
  • Allow --files-from to take a dash for stdin (fixes #769) #773 (opennota)
  • Return an error if password is not set for stdin #771 (fd0)
  • Add note about pre-compiled binaries #768 (brikou)
restic - restic 0.4.0

Published by fd0 over 7 years ago

We're proud to release restic version 0.4.0. This release fixes a few bugs, among others a memory leak in the fuse mount module. Overall, the memory consumption during most operations is reduced. There have been some major changes internally, which will help reducing memory usage even more in future releases.

Starting with this release, we will publish pre-compiled binaries for restic. For the last release (0.3.3), binaries have also been added.

Change Log

v0.4.0 (2017-02-02)

Full Changelog

Fixed bugs:

  • Undocumented feature restic cat index #759
  • Inconsistent use of blob, data and tree #758
  • Listing blobs not possible #756
  • panic: close tempfile: invalid argument #747
  • error loading blob wrong length returned #743
  • Restore is failing with input/output error due to regression after 0.3.3 release #742
  • Pack is unneeded, but not contained in rewritePacks #734
  • Memory leak in fuse mount #480

Closed issues:

  • Repository mountpoint shows only one folder of two folders contained in backup #753
  • Document creating a new REST backend #736
  • Support for hard links #733
  • support for acl's #732
  • [FIXED] Windows binary #724
  • Support Google Cloud Storage as Backend #721
  • client.BucketExists: The access key ID you provided does not exist in our records #712
  • Debian packaging (repository) #355

Merged pull requests:

  • Fix typo. #764 (olgeni)
  • Add 'index' to list of options for 'cat' command #762 (fd0)
  • Remove inconsistencies regarding the cat command #761 (fd0)
  • Allow listing blobs #760 (fd0)
  • Document creating a new repo via REST #750 (fd0)
  • Normalise the backend API #749 (fd0)
  • rest backend: Do not close the reader #748 (fd0)
  • fuse: Improve memory usage #746 (fd0)
  • Fix restore/fuse with larger files #745 (fd0)
  • Rework backend API #741 (fd0)
  • Add debug memory/cpu profile options #740 (fd0)
  • Fix Archiver test: Clean up temp files #739 (fd0)
  • Index: Store pack ID #737 (fd0)
  • Improve memory usage #731 (fd0)
  • Add FAQ document #729 (fd0)
  • Add box-drawing character to the snapshots command #728 (cit)
  • fix typo: outputcomprehensive #727 (MirkoDziadzka)
  • Added latest keyword in ls command. #723 (ulziibuyan)
restic - restic 0.3.3

Published by fd0 almost 8 years ago

restic version 0.3.3 is a small maintenance release which mainly fixes bugs.

Change Log

v0.3.3 (2017-01-08)

Full Changelog

Fixed bugs:

  • Panic after 2 days into backup #710
  • Lock doesn't appear to be released after failed restore #708
  • Invalid Meta-Data seem to crash the backup process #705
  • Restic panic("store new item in finalized index")s during backup. #367

Closed issues:

  • Document REST backend #644

Merged pull requests: