restic: free open source encrypted backups to disk, server or cloud
A free command-line backup tool for Linux, macOS, Windows and BSD that encrypts and deduplicates your files and saves snapshots to a local disk, SFTP, S3, B2, Azure or Google Cloud.
Verified offer specifications
- Price
- Free and open source, no paid edition
- License
- BSD 2-Clause
- Current version
- 0.20.0 (released November 19, 2026)
- Platforms
- Linux, macOS, Windows, FreeBSD, OpenBSD, NetBSD, DragonFly BSD, Solaris, AIX
- Interface
- Command line only
- Encryption
- AES-256 with Poly1305-AES authentication
- Deduplication
- Yes, only changed chunks are stored
- Compression
- Yes, with repository format version 2 (restic 0.14.0 or newer)
- Storage targets
- Local, SFTP, REST Server, Amazon S3 and S3-compatible, Wasabi, Alibaba OSS, OpenStack Swift, Backblaze B2, Azure Blob, Google Cloud Storage, rclone
- Download size
- About 11 to 14 MB per binary
- Install options
- GitHub binaries, Scoop, WinGet, Homebrew, Linux packages, Docker
- Updates
- restic self-update for official binaries
Restic is a free and open source backup program for Linux, macOS, Windows and the BSDs. It is a single command-line tool that encrypts your backups, stores each piece of data only once, and can save them to a local disk, your own server or a cloud storage service. There is no paid edition and no account to create.
The project is licensed under the BSD 2-Clause License. The latest release is restic 0.20.0, published on November 19, 2026.
What you get for free
Every feature comes with the free download. The official site and manual describe these main parts:
- One executable, no server needed. You download a single binary and run it. There is no background service or database to set up.
- Encryption by default. All data restic stores in a repository is encrypted with AES-256 and authenticated with Poly1305-AES. You set a password when you create the repository.
- Deduplication. Restic splits files into chunks and only uploads chunks it has not stored before. Later backups only transfer the parts of your files that changed.
- Compression. Repository format version 2, which needs restic 0.14.0 or newer, adds compression of stored data.
- Many storage targets. The manual lists local folders, SFTP, restic's own REST Server, Amazon S3 and other S3-compatible storage, Wasabi, Alibaba Cloud OSS, OpenStack Swift, Backblaze B2, Microsoft Azure Blob Storage and Google Cloud Storage. Other services can be used through rclone.
- Snapshots you can check. Each backup is a snapshot. The
checkcommand verifies that the repository is intact, so you know your files can be restored. - Tools to manage old backups.
forgetandpruneremove snapshots you no longer need based on rules such as "keep the last 7 daily backups". - Easy updates. The official binaries can update themselves with
restic self-update.
What is new in 0.20.0
The release announcement and changelog list two security fixes and a set of other improvements:
- Safer restores from a tampered repository. A manipulated repository could trick restic into writing files outside the restore folder. Restic now rejects those trees.
- Safer ownership on restore. With
--ownership-by-name, names that could not be found on the restore machine used to make files owned by root. Restic now falls back to the numeric user and group IDs and shows a warning. - About 12% less memory for the in-memory index.
- Better repair tools.
repair packshandles both missing and damaged pack files, andrepair snapshots --forgetcan delete broken snapshots. - Safer
restore --delete. If a folder in the snapshot cannot be read, restic no longer deletes the existing files in that folder. - JSON output for
prune, andbackup -vvnow shows excluded items. - Storage changes. The B2 backend supports multi-bucket application keys, and S3 has an option to turn off dual-stack endpoints.
- Fixes for hard-linked files during restore, crashes on truncated key files, and a debug log that could show the Swift password.
Building restic from source now needs Go 1.26.10 or newer. If you already run restic 0.9.4 or later, restic self-update downloads and verifies the new release.
Where you can install it
Restic 0.20.0 has official binaries on GitHub for Windows (32-bit and 64-bit), macOS (Intel and Apple Silicon), Linux on many architectures, FreeBSD, OpenBSD, NetBSD, DragonFly BSD, Solaris and AIX. Each download is roughly 11 to 14 MB. The releases include SHA256 checksums with signatures.
You can also install it with package managers:
- Windows:
scoop install resticor WinGet. The manual suggests installing with--scope Machinefor system-wide backups. - macOS:
brew install restic. - Linux: packages for Debian (
apt-get install restic), Fedora, Arch, Alpine, Nix and others. - Docker:
docker pull restic/restic.
Things to know before you start
Restic is a command-line tool. There is no official graphical app, so you type commands like restic backup or schedule them yourself with cron, a systemd timer or Task Scheduler.
Your repository password is the only way in. The manual is direct about this: losing your password means your data is lost for good. Store it in a password manager.
Restic is software, not storage. It is free, but if you back up to a cloud service, you pay that provider for the space and any traffic.
Restic is still below version 1.0. The project follows semantic versioning and says it works hard to keep backward compatibility, but it only promises full repository compatibility within a major version after 1.0.0 is released.
Restic also relies on the hostname for some operations, so if you run it in Docker, set a fixed hostname.
How to get started
- Install restic with your package manager, or download the binary for your system from the GitHub releases page.
- Create a repository, for example on an external drive:
restic init --repo /path/to/backup. Enter a strong password twice. - Back up a folder:
restic -r /path/to/backup backup ~/Documents. - List your snapshots with
restic -r /path/to/backup snapshots. - Test a restore into a separate folder with
restic -r /path/to/backup restore latest --target /tmp/restore-test. - Schedule regular backups and run
restic checknow and then.
How it compares
Syncthing keeps folders in sync between your devices, which is handy but is not a backup: if you delete or damage a file, the change syncs too. Restic keeps older snapshots you can go back to. If you also want to encrypt a whole drive or a container on your computer, VeraCrypt is a free option. You can find more free tools in utilities and backup.
Bottom line
Restic gives you encrypted, space-saving backups to almost any storage for free. It suits people who are comfortable with a terminal and want a tool they can script. Keep your password safe, test a restore early, and it is a dependable way to protect your files.
Things to know
- Restic is command-line only, with no official graphical app.
- If you lose the repository password, your backup data cannot be recovered.
- Restic is free, but cloud storage providers charge for the space you use.
- It does not schedule backups by itself. Use cron, a systemd timer or Task Scheduler.
- Restic is still before version 1.0, so full repository compatibility is only promised after 1.0.0.
- Compression needs repository format version 2 and restic 0.14.0 or newer.
Requirements
- A computer running Linux, macOS, Windows or a supported BSD.
- A place to store backups, such as an external drive, a server or a cloud storage account.
- Comfort using a terminal.
How to get started
- Install restic with your package manager or download it from GitHub releases.
- Run restic init with a repository location and set a strong password.
- Run restic backup on the folders you want to protect.
- Check your snapshots with restic snapshots and test a restore to a separate folder.
- Schedule regular backups and run restic check from time to time.
Common questions
Is restic free?
Yes. It is open source under the BSD 2-Clause License and has no paid edition. You only pay for any cloud storage you choose to use.
Are my backups encrypted?
Yes. Everything restic stores in a repository is encrypted with AES-256 and authenticated with Poly1305-AES, using a key protected by your password.
What happens if I forget my password?
The data cannot be recovered. The manual warns that losing the password means the backup is lost, so keep it in a password manager.
Does restic have a graphical interface?
No. The official program is a command-line tool.
How do I update restic?
If you use an official binary from version 0.9.4 or later, run restic self-update. Otherwise update it through your package manager.