restic 0.17.1
Changelog for restic 0.17.1 (2024-09-05)
The following sections list the changes in restic 0.17.1 relevant to restic users. The changes are ordered by importance.
Summary
- Fix #2004: Correctly handle volume names in
backupcommand on Windows - Fix #4945: Include missing backup error text with
--json - Fix #4953: Correctly handle long paths on older Windows versions
- Fix #4957: Fix delayed cancellation of certain commands
- Fix #4958: Don't ignore metadata-setting errors during restore
- Fix #4969: Correctly restore timestamp for files with resource forks on macOS
- Fix #4975: Prevent
backup --stdin-from-commandfrom panicking - Fix #4980: Skip extended attribute processing on unsupported Windows volumes
- Fix #5004: Fix spurious "A Required Privilege Is Not Held by the Client" error
- Fix #5005: Fix rare failures to retry locking a repository
- Fix #5018: Improve HTTP/2 support for REST backend
- Chg #4953: Also back up files with incomplete metadata
- Enh #4795: Display progress bar for
restore --verify - Enh #4934: Automatically clear removed snapshots from cache
- Enh #4944: Print JSON-formatted errors during
restore --json - Enh #4959: Return exit code 12 for "bad password" errors
- Enh #4970: Make timeout for stuck requests customizable
Details
-
Bugfix #2004: Correctly handle volume names in
backupcommand on WindowsOn Windows, when the specified backup target only included the volume name without a trailing slash, for example,
C:, then restoring the resulting snapshot would result in an error. Note that usingC:\as backup target worked correctly.Specifying volume names is now handled correctly. To restore snapshots created before this bugfix, use the : syntax. For example, to restore a snapshot with ID
12345678that backed upC:, use the following command:restic restore 12345678:/C/C:./ --target output/folder -
Bugfix #4945: Include missing backup error text with
--jsonPreviously, when running a backup with the
--jsonoption, restic failed to include the actual error message in the output, resulting in"error": {}being displayed.This has now been fixed, and restic now includes the error text in JSON output.
-
Bugfix #4953: Correctly handle long paths on older Windows versions
On older Windows versions, like Windows Server 2012, restic 0.17.0 failed to back up files with long paths. This problem has now been resolved.