Encrypted Backups With restic

Create deduplicated, encrypted snapshots to local disks or cloud storage.

LinuxbackupcloudencryptionLow risk
Run restic -r /backup init to create a repository, then restic backup ~/Documents.

01Command

Command
$ restic -r /backup init

02What 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

RiskLow risk
Requirementssudo apt install restic
!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

  • restic
    Official project · vendor-doc · 2026-09-20
    Evidence: Debian packages restic, a fast, secure backup program with deduplication and encryption.
  • Debian package: restic
    Debian · vendor-doc · 2026-09-20
    Evidence: Debian packages restic, a fast, secure backup program with deduplication and encryption.

Last verified: 2026-09-22 · Category: Security & Privacy

06Related solutions