restic 0.17.0
Changelog for restic 0.17.0 (2024-07-26)
The following sections list the changes in restic 0.17.0 relevant to restic users. The changes are ordered by importance.
Summary
- Fix #3600: Handle unreadable xattrs in folders above
backupsource - Fix #4209: Fix slow SFTP upload performance
- Fix #4503: Correct hardlink handling in
statscommand - Fix #4568: Prevent
forget --keep-tags <invalid>from deleting all snapshots - Fix #4615: Make
findnot sometimes ignore directories - Fix #4656: Properly report ID of newly added keys
- Fix #4703: Shutdown cleanly when receiving SIGTERM
- Fix #4709: Correct
--no-lockhandling oflsandtagcommands - Fix #4760: Fix possible error on concurrent cache cleanup
- Fix #4850: Handle UTF-16 password files in
keycommand correctly - Fix #4902: Update snapshot summary on
rewrite - Chg #956: Return exit code 10 and 11 for non-existing and locked repository
- Chg #4540: Require at least ARMv6 for ARM binaries
- Chg #4602: Deprecate legacy index format and
s3legacyrepository layout - Chg #4627: Redesign backend error handling to improve reliability
- Chg #4707: Disable S3 anonymous authentication by default
- Chg #4744: Include full key ID in JSON output of
key list - Enh #662: Optionally skip snapshot creation if nothing changed
- Enh #693: Include snapshot size in
snapshotsoutput - Enh #805: Add bitrot detection to
diffcommand - Enh #828: Improve features of the
repair packscommand - Enh #1786: Support repositories with empty password
- Enh #2348: Add
--deleteoption torestorecommand - Enh #3067: Add extended options to configure Windows Shadow Copy Service
- Enh #3406: Improve
dumpperformance for large files - Enh #3806: Optimize and make
prunecommand resumable - Enh #4006: (alpha) Store deviceID only for hardlinks
- Enh #4048: Add support for FUSE-T with
mounton macOS - Enh #4251: Support reading backup from a command's standard output
- Enh #4287: Support connection to rest-server using unix socket
- Enh #4354: Significantly reduce
prunememory usage - Enh #4437: Make
checkcommand create non-existent cache directory - Enh #4472: Support AWS Assume Role for S3 backend
- Enh #4547: Add
--jsonoption toversioncommand - Enh #4549: Add
--ncduoption tolscommand - Enh #4573: Support rewriting host and time metadata in snapshots
- Enh #4583: Ignore
s3.storage-classarchive tiers for metadata - Enh #4590: Speed up
mountcommand's error detection - Enh #4601: Add support for feature flags
- Enh #4611: Back up more file metadata on Windows
- Enh #4664: Make
lsusemessage_typefield in JSON output - Enh #4676: Make
keycommand's actions separate sub-commands - Enh #4678: Add
--targetoption to thedumpcommand - Enh #4708: Back up and restore SecurityDescriptors on Windows
- Enh #4733: Allow specifying
--hostvia environment variable - Enh #4737: Include snapshot ID in
reasonfield offorgetJSON output - Enh #4764: Support forgetting all snapshots
- Enh #4768: Allow specifying custom User-Agent for outgoing requests
- Enh #4781: Add
restoreoptions to read include/exclude patterns from files - Enh #4807: Support Extended Attributes on Windows NTFS
- Enh #4817: Make overwrite behavior of
restorecustomizable - Enh #4839: Add dry-run support to
restorecommand
Details
-
Bugfix #3600: Handle unreadable xattrs in folders above
backupsourceWhen backup sources are specified using absolute paths,
backupalso includes information about the parent folders of the backup sources in the snapshot.If the extended attributes for some of these folders could not be read due to missing permissions, this caused the backup to fail. This has now been fixed.
#3600 #4668 https://forum.restic.net/t/parent-directories-above-the-snapshot-source-path-fatal-error-permission-denied/7216
-
Bugfix #4209: Fix slow SFTP upload performance
Since restic 0.12.1, the upload speed of the sftp backend to a remote server has regressed significantly. This has now been fixed.
-
Bugfix #4503: Correct hardlink handling in
statscommandIf files on different devices had the same inode ID, the
statscommand did not correctly calculate the snapshot size. This has now been fixed.#4503 #4006 https://forum.restic.net/t/possible-bug-in-stats/6461/8
-
Bugfix #4568: Prevent
forget --keep-tags <invalid>from deleting all snapshots