#backup #restic #deduplication #encryption #cli

app rustic-rs

fast, encrypted, deduplicated backups powered by pure Rust

15 unstable releases (4 breaking)

new 0.5.0 Mar 24, 2023
0.4.1 Dec 3, 2022
0.4.0 Nov 23, 2022
0.2.3 Jul 28, 2022
0.1.2-dev Mar 14, 2022

#200 in Command line utilities

Download history 32/week @ 2022-11-30 4/week @ 2022-12-07 14/week @ 2022-12-14 1/week @ 2022-12-21 4/week @ 2022-12-28 2/week @ 2023-01-04 5/week @ 2023-01-11 4/week @ 2023-01-18 7/week @ 2023-01-25 8/week @ 2023-02-01 12/week @ 2023-02-08 34/week @ 2023-02-15 23/week @ 2023-02-22 22/week @ 2023-03-01 10/week @ 2023-03-08 28/week @ 2023-03-15

83 downloads per month

Apache-2.0 OR MIT

11K SLoC

rustic - fast, encrypted, deduplicated backups powered by pure Rust

crate Docs Apache2/MIT licensed Crates.io Downloads

Rustic is a backup tool that provides fast, encrypted, deduplicated backups. It reads and writes the restic repo format desribed in the design document and can therefore be used as a complete replacement for restic.

Note that rustic currently is in an beta release and misses tests. It is not yet considered to be ready for use in a production environment.

Are binaries available?

Sure. Check out the releases. Binaries for the latest development version are available here.

Have a question?

Look at the FAQ or ask in the Discussions. Also opening issues is highly welcomed if you want to report something not working or if you would like to ask for a new feature!

Comparison with restic:


  • Allows using cold storage (e.g. AWS Glacier) repos which are only read in the restore command + supports warm-up
  • All operations are completely lock-free as rustic supoorts two-phase-pruning (prune option instant-delete is available)
  • Supports configuration in a config file (example config files)
  • Huge decrease in memory requirement
  • Already faster than restic for most operations (but not yet fully speed optimized)
  • Cleaner concept of logging output; posibility to write logs to a log file
  • rustic repair command allows to repair some kinds of broken repositories
  • backup command can use .gitignore files
  • restore uses existing files; also option --delete available
  • Snapshots save much more information, available in snapshots command
  • Integrates the Rhai script language for snapshot filtering
  • Allows to save repository options in the repository config file via the command config
  • New command merge
  • New command repo-info
  • check command checks and uses cache; option --trust-cache is available
  • Option prune --fast-repack for faster repacking
  • Syntax <SNAPSHOT>[:PATH] is available for many commands

Current limitations:

  • Supported platforms are Linux and MacOS and other Unixes, Windows support is experimental

Open points:

  • Add tests and benchmarks
  • Add missing commands: find, mount
  • Improve error handling
  • Parallelize the code even more and optimize for speed where useful


Licensed under either of:

at your option.


Contributions in form of issues or PRs are very welcome.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~1M SLoC