Restic 是一款开源备份工具,主打快速、安全、加密与增量快照,支持本地目录、SFTP、S3、B2、Azure 等多种异地存储后端。它自动去重、可校验数据完整性,命令行操作简单,适合需要可靠备份个人或工作数据的 Windows 用户,也适合跨平台管理多台机器的技术爱好者。
核心亮点:
- 增量快照与内容去重,节省空间和带宽
- 默认加密存储,密码保护备份仓库
- 支持本地、SFTP、S3、B2 等多种后端
- 可挂载快照浏览,恢复单个文件很方便
当前版本 v0.20.0(2026-11-19 发布),开源协议 BSD-2-Clause,GitHub 37,311 star。
![]()
核心信息
| 软件名称 | Restic(restic/restic) |
| 当前版本 | v0.20.0 |
| 更新日期 | 2026-11-19 |
| 开源协议 | BSD-2-Clause |
| 软件分类 | Windows 效率工具 |
| 关键词 | backup、dedupe、deduplication、go、restic、secure-by-default |
本次更新内容
- 修复恢复文件时所有者解析失败可能产生意外高权限文件的问题,改为回退到数字身份并给出警告,提升恢复安全性。
- 恢复、修复和查找操作更稳健:能正确处理硬链接、旧快照空目录、损坏包文件及无法读取的目录,避免误删或崩溃。
- 清理与统计体验改进:清理命令支持结构化输出,统计进度不再反复归零,备份详细模式会显示被排除的项目。
- 云存储后端增强:支持多桶应用密钥、可关闭双栈端点、检查支持预热,并避免调试日志泄露密码。
- 仓库升级与配置处理更可靠:升级回滚更稳,空位置文件被拒绝,超大保留时长参数会直接报错。
查看官方英文更新日志(原文)
Changelog for restic 0.20.0 (2026-11-19) ======================================= The following sections list the changes in restic 0.20.0 relevant to restic users. The changes are ordered by importance. Summary ------- * Sec [#22178](https://github.com/restic/restic/issues/22178): Fix ownership when `restore --ownership-by-name` cannot resolve names * Sec [#22180](https://github.com/restic/restic/issues/22180): Reject duplicate or out-of-order node names during `restore` * Fix [#21977](https://github.com/restic/restic/pull/21977): Don't crash on truncated key or config file * Fix [#22007](https://github.com/restic/restic/pull/22007): Redact `swift` backend password in debug log output * Fix [#22051](https://github.com/restic/restic/issues/22051): Reject empty repository location files * Fix [#22085](https://github.com/restic/restic/issues/22085): Restore partially matching hard-linked files correctly * Fix [#22092](https://github.com/restic/restic/issues/22092): Handle empty directories from older repaired snapshots * Fix [#22112](https://github.com/restic/restic/issues/22112): Don't reset `stats` progress bar counters for every snapshot * Fix [#22120](https://github.com/restic/restic/issues/22120): Improve error message when `prune` fails to list pack files * Fix [#22136](https://github.com/restic/restic/pull/22136): Improve resilience of repository v2 upgrade rollback * Fix [#22163](https://github.com/restic/restic/pull/22163): Error on too large numbers in `--keep-within*` durations * Fix [#22181](https://github.com/restic/restic/issues/22181): Do not delete files in directories whose tree cannot be loaded * Chg [#22104](https://github.com/restic/restic/pull/22104): Require Go 1.26.10 or newer * Enh [#3129](https://github.com/restic/restic/issues/3129): Add JSON support to `prune` command * Enh [#5189](https://github.com/restic/restic/issues/5189): Add option to disable AWS S3 dual-stack endpoints * Enh [#5248](https://github.com/restic/restic/pull/5248): Add warmup support for `check` on the S3 backend * Enh [#5372](https://github.com/restic/restic/issues/5372): Support specifying snapshot ID in `list packs` command * Enh [#5741](https://github.com/restic/restic/issues/5741): Support Multi-Bucket Application Keys in the `b2` backend * Enh [#21845](https://github.com/restic/restic/pull/21845): Handle missing pack files in `repair packs` * Enh [#21870](https://github.com/restic/restic/issues/21870): Show excluded items during `backup` in verbose mode * Enh [#21883](https://github.com/restic/restic/pull/21883): Handle corrupted pack files in `find --pack` * Enh [#21892](https://github.com/restic/restic/issues/21892): Make `repair snapshots --forget` remove broken snapshots * Enh [#21937](https://github.com/restic/restic/pull/21937): Reduce memory usage of the in-memory index Details ------- * Security #22178: Fix ownership when `restore --ownership-by-name` cannot resolve names
下载地址
以下为官方原包,本站不二次打包;多个文件为不同包型,按需选择其中一个下载即可:
restic_0.20.0_windows_386.zip(便携版·解压即用 | 12.9 MB)
restic_0.20.0_windows_amd64.zip(便携版·解压即用 | 13.3 MB)
✅ 上方 SHA256 与官方发布值一致,可自行核对。
快速上手
- 解压下载好的压缩包,把其中的 restic 可执行文件放到一个固定目录,之后在该目录打开命令行使用。
- 首次使用先初始化备份仓库:执行 restic init –repo 仓库路径,按提示输入并确认仓库密码。
- 执行 restic –repo 仓库路径 backup 要备份的文件夹,按提示输入密码,等待扫描与上传完成并生成快照。
- 需要找回文件时执行 restic –repo 仓库路径 restore 快照编号 –target 目标目录,把文件还原到指定位置。
- 想直接浏览历史快照,可执行 restic –repo 仓库路径 mount 挂载点,再像普通文件夹一样查看其中文件。
提示:仓库密码务必牢记,丢失后备份数据无法恢复。
讨论(0 条)