restic

restic · restic.restic

Fast, secure, efficient backup program

restic is a backup program that is fast, efficient and secure. It supports the three major operating systems (Linux, macOS, Windows) and a few smaller ones (FreeBSD, OpenBSD).

winget install --id restic.restic --exact --source winget

Latest 0.18.1

Release Notes

Changelog for restic 0.18.1 (2025-09-21) The following sections list the changes in restic 0.18.1 relevant to restic users. The changes are ordered by importance. Summary

  • Fix #5324: Correctly handle backup --stdin-filename with directory paths
  • Fix #5325: Accept RESTIC_HOST environment variable in forget command
  • Fix #5342: Ignore "chmod not supported" errors when writing files
  • Fix #5344: Ignore EOPNOTSUPP errors for extended attributes
  • Fix #5421: Fix rare crash if directory is removed during backup
  • Fix #5429: Stop retrying uploads when rest-server runs out of space
  • Fix #5467: Improve handling of download retries in check command Details
  • Bugfix #5324: Correctly handle backup --stdin-filename with directory paths In restic 0.18.0, the backup command failed if a filename that includes at least a directory was passed to --stdin-filename. For example, --stdin-filename /foo/bar resulted in the following error: Fatal: unable to save snapshot: open /foo: no such file or directory This has now been fixed. #5324 #5356
  • Bugfix #5325: Accept RESTIC_HOST environment variable in forget command The forget command did not use the host name from the RESTIC_HOST environment variable when filtering snapshots. This has now been fixed. #5325 #5327
  • Bugfix #5342: Ignore "chmod not supported" errors when writing files Restic 0.18.0 introduced a bug that caused chmod xxx: operation not supported errors to appear when writing to a local file repository that did not support chmod (like CIFS or WebDAV mounted via FUSE). Restic now ignores those errors. #5342
  • Bugfix #5344: Ignore EOPNOTSUPP errors for extended attributes Restic 0.18.0 added extended attribute support for NetBSD 10+, but not all NetBSD filesystems support extended attributes. Other BSD systems can likewise return EOPNOTSUPP, so restic now ignores these errors. #5344
  • Bugfix #5421: Fix rare crash if directory is removed during backup In restic 0.18.0, the backup command could crash if a directory was removed between reading its metadata and listing its directory content. This has now been fixed. #5421
  • Bugfix #5429: Stop retrying uploads when rest-server runs out of space When rest-server returns a 507 Insufficient Storage error, it indicates that no more storage capacity is available. Restic now correctly stops retrying uploads in this case. #5429 #5452
  • Bugfix #5467: Improve handling of download retries in check command In very rare cases, the check command could unnecessarily report repository damage if the backend returned incomplete, corrupted data on the first download try which is afterwards resolved by a download retry. This could result in an error output like the following: Load(<data/34567890ab>, 33918928, 0) returned error, retrying after 871.35598ms: readFull: unexpected EOF Load(<data/34567890ab>, 33918928, 0) operation successful after 1 retries check successful on second attempt, original error pack 34567890ab[...] contains 6 errors: [blob 12345678[...]: decrypting blob <data/12345678> from 34567890 failed: ciphertext verification failed ...] [...] Fatal: repository contains errors This fix only applies to a very specific case where the log shows operation successful after 1 retries followed by a check successful on second attempt, original error that only reports ciphertext verification failed errors in the pack file. If any other errors are reported in the pack file, then the repository still has to be considered as damaged. Now, only the check result of the last download retry is reported as intended. #5467 #5495

Installer type: zip

Architecture Scope Download SHA256
x86 Download C97028C921AD5ABCA07A826913585F216114E8F2BF463A112CE116C352D2C166
x64 Download 0C1A713440578CB400D2E76208FEB24F1B339426B075A21F73B6B2132692515D

Details

Homepage
https://github.com/restic/restic
License
BSD-2-Clause
Publisher
restic
Support
https://github.com/restic/restic/issues
Copyright
Copyright (c) 2014, Alexander Neumann <alexander@bumpern.de>
Moniker
restic

Tags

backupdedupededuplicationgoresticsecure-by-default

Older versions (11)

0.18.0
Architecture Scope Download SHA256
x86 Download 057DA51ACCF774EA551D680239FA55C61613584BE0E960A2A5D0AB9018F6F585
x64 Download C90CFCD577FE3D60D2529021E76BD5637BDCD19D7FA84840A40FCBBF995902DE
0.17.3
Architecture Scope Download SHA256
x86 Download 045C160EF53D1C32D6C5CF60BC3805026BE807DDBFEA1D9DBC90E1C5FDF94776
x64 Download FCF5875DE5A995100E8A2ECAD5B0ADA86B47155796BECE87A425A251288C800F
0.17.2
Architecture Scope Download SHA256
x86 Download 7EC22DF3B0C71B04A3F41010780710688CC331C00F9A60EB2D667E123D6A0AC1
x64 Download C44B1A22975F42F0547AA905104A8EBAE43F51DB62FD347C293EBF246233A7D3
0.17.1
Architecture Scope Download SHA256
x86 Download B37D69CCA2FD086414C86BC0362791899C572549DCCF23264ABF48BD5B41B857
x64 Download 8CCA20660BD827552A96BD4B4ADE2EBAB1880CD068B43EEA5FB211F11A98AC60
0.17.0
Architecture Scope Download SHA256
x86 Download EC72C50BDD6B49A4A045EE92E471C01596640426AA4F5CDFDCE2C2A975A2913D
x64 Download 8578D2A63BBEDD34669ED4CD8B332FB3AECFD3480EA3EF6D0C692E6FC146CB3E
0.16.4
Architecture Scope Download SHA256
x64 Download 911a1b84f2100d2ac691c0bb28955fd2ab65e76cb2dbe651b21f6072a508e2be
0.16.2
Architecture Scope Download SHA256
x64 Download DE63F778F0650DB9C0C00C3772D7F87A6C21CA64E1249E55392ECBEB9BC352A3
0.16.1
Architecture Scope Download SHA256
x64 Download 6FAB3FA836659C85B97E7A8E514BDBB8D4DF186600212A7B5C36CAFFF7942E38
0.16.0
Architecture Scope Download SHA256
x64 Download 9EC893FC952F4E45307F8CD603B6DE2F396E1AD757AF6847C00A148257C0DFB7
0.15.2
Architecture Scope Download SHA256
x64 Download 37DBD859160BBB6D1B95E9F4A5C498C8DF386DB510950875C70328F688CB4E5D
0.15.1
Architecture Scope Download SHA256
x64 Download f05d3115ca5636a3a30f454f62c51746473121d40b9624dd28d84589b8e2eaf2