
Fast, secure backup program with deduplication and support for cloud storage backends
restic is a backup program that creates encrypted, deduplicated snapshots of files and directories. It runs on Linux, macOS, Windows, FreeBSD, and OpenBSD, providing cross-platform backup capabilities with a command-line interface. Users initialize repositories with restic init, create backups with restic backup, and restore data using restic restore or by mounting repositories via FUSE with restic mount.
The tool supports extensive storage backends including local directories, SFTP servers, HTTP REST servers, and major cloud providers like Amazon S3, Google Cloud Storage, Microsoft Azure Blob Storage, BackBlaze B2, and OpenStack Swift. Additional services are accessible through rclone integration. All data is encrypted before storage, ensuring confidentiality even in untrusted environments.
restic implements content-defined chunking for deduplication, meaning identical data blocks are stored only once across snapshots. This approach reduces storage requirements for incremental backups while maintaining fast backup and restore operations. The tool provides verification capabilities to ensure backup integrity and supports reproducible builds starting from version 0.6.1.