restic v0.20.0 released
By SecBurg
restic is a fast, secure and efficient backup program written in Go - encrypted, deduplicated snapshots to local disks, SFTP, S3, B2 and many more backends.
v0.20.0 is out and brings two security fixes in restore. With --ownership-by-name, restic could set ownership to UID/GID 0 when a name could not be resolved - it now falls back to the numeric IDs stored in the snapshot and warns. Also, restore now rejects trees with duplicate or out-of-order node names, which could have let a symlink redirect writes outside the restore target.
On the feature side, prune finally supports –json output, backup -vv shows excluded items, the b2 backend supports Multi-Bucket Application Keys and the in-memory index uses about 12% less memory. Building now requires Go 1.26.10 or newer.
More highlights:
check can warm up cold-storage pack files on S3 (experimental, feature flag s3-restore)
list packs accepts a snapshot ID
repair packs handles missing pack files, repair snapshots --forget removes broken snapshots
find --pack reports snapshots with corrupted pack files still in the index
-o s3.disable-dualstack=true for single-stack S3 endpoints, e.g. VPC endpoints
Fixes for truncated key/config files, hard-link restores, empty directories after old repair runs and restore --delete on failed trees
Swift backend password redacted in debug logs
See the full release notes for the complete changelog.
Happy backing up! :-)