Encrypted Backups With restic
Create deduplicated, encrypted snapshots to local disks or cloud storage.
Run restic -r /backup init to create a repository, then restic backup ~/Documents.
01Command
Command
$ restic -r /backup init02What it does
restic writes content-addressed, encrypted snapshots, so repeated backups only store changed chunks. It supports many backends (local, SFTP, S3, B2) and offers restore, snapshots and prune, with automatic integrity checks.
03Risk
!Warning: Losing the repository password means losing all backups; store it in a password manager separately.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- resticEvidence: Debian packages restic, a fast, secure backup program with deduplication and encryption.
- Debian package: resticEvidence: Debian packages restic, a fast, secure backup program with deduplication and encryption.
Last verified: 2026-09-22 · Category: Security & Privacy