restic
Command-line backup program that stores encrypted, deduplicated snapshots on local disks, SFTP, REST servers or cloud storage.
Tested on LinuxKnown vulnerabilities
Use it
Before you install: known vulnerabilities
pickfit found 1 known high or critical vulnerability in the packages a fresh install brings (OSV.dev, 16 Nov 2026). Weigh this before you install it.
go:github.com/go-jose/go-jose/v4 v4.1.4Go JOSE: DoS when parsing JWKs that contain RSA keys (GHSA-mgcc-cww5-fp2q, high, fixed in 4.1.6)
Linux x86_64
You need first
- Runtimes:
go>=1.26.10 (only for building from source)
Download the official v0.19.1 linux_amd64 release binary, unpack it into ~/.local/bin/restic and make it executable
mkdir -p ~/.local/bin && curl -fsSL -o /tmp/restic.bz2 https://github.com/restic/restic/releases/download/v0.19.1/restic_0.19.1_linux_amd64.bz2 && bunzip2 -c /tmp/restic.bz2 > ~/.local/bin/restic && chmod +x ~/.local/bin/restic
Check that it works
restic versionThe output should contain “restic 0.19.1 compiled with”.
First thing to try
restic versionRun restic version to confirm it works, then create a repository with restic init --repo <repo> --password-file <password-file>.
What it does
- Create encrypted backup snapshotsTested
How to use it
- Create a repository with
restic init --repo <repo> --password-file <password-file>. - Back up a folder with
restic --repo <repo> --password-file <password-file> backup <folder>. - Verify the repository with
restic --repo <repo> --password-file <password-file> check.
- Create a repository with
- Store duplicate data only onceTested
How to use it
- Run
restic --repo <repo> --password-file <password-file> backup <folder>; identical file contents are stored only once.
- Run
- Restore files or mount snapshotsTested
How to use it
- Restore a folder from the newest snapshot with
restic --repo <repo> --password-file <password-file> restore latest:<folder> --target <restore-folder>.
- Restore a folder from the newest snapshot with
- Store backups on many cloud storage servicesNot tested
How far pickfit got
Linux x86_64
- Installs
- Starts
- 3 of 4 features work
- Works offline
macOS and Windows: the project says it runs there; pickfit hasn’t tried it.
Good for
- back up a directory to a local repository
- back up to an SFTP server over SSH
- store backups in Amazon S3 or S3-compatible storage
- browse files from previous snapshots via FUSE mount
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 15 Nov 2026
- Version restic 0.19.1 compiled with go1.26.4 on linux/amd64
Differences the test machine hit
- README: Build from source with git clone + go run build.go, or install with apk/pacman/apt-get/dnf/mise
In the test: No Go toolchain or root here, and mise isn't installed, so I used the official prebuilt binary from GitHub releases (restic_0.19.1_linux_amd64.bz2), which the install guide also offers - README: restic init / backup prompt for a password
In the test: I passed --password-file so the commands run without anyone typing (stdin is closed) - README: use `restic restore` to restore files
In the test: Restoring 'latest' into a target recreated the /tmp parent directory, and lchown on it failed in this box (exit 1, though all the file data was written). Restoring the subtree with 'latest:/tmp/rdata' avoided this.