# Restic

Open\-source command\-line file backup with encrypted repositories, deduplication and multiple storage backends\.

ID: Q1563 · Revision: 1676

Type: software · License: BSD 2\-Clause[^restic-home] · Status: active

Website: https://restic.net/



Restic is an open\-source command\-line backup program for Linux, BSD, macOS and Windows\. It stores file snapshots in encrypted repositories on local storage or supported remote services, transferring changed data rather than repeatedly uploading identical content\. Storage and operational management are supplied separately from the program\.[^restic-home][^restic-repo]

## Repositories and storage choices

A repository holds the information needed to reconstruct saved snapshots, rather than exposing a simple synchronized copy of the source folders\. Restic supports destinations including local disks, SFTP and object\-storage services\. This allows the same backup tool to be paired with different storage providers, but the provider's capacity, access and transfer charges remain separate considerations\.[^restic-repo]

The repository password is essential for access\. The documentation warns that losing it makes stored data inaccessible, so possessing the storage account alone is not a recovery method\. A recovery plan needs to preserve access to both the repository and its decryption secret independently of the computer being protected\.[^restic-repo]

## Retention and repository checking

Retention has two distinct operations: forgetting a snapshot removes its reference, while pruning reclaims data no longer needed by retained snapshots\. Deleting source files does not itself describe how long their earlier snapshots will remain\. Configured retention determines that history, and pruning can require temporary working space even when the repository is nearly full\.[^restic-retention]

The ordinary repository check examines structure and consistency without reading every stored data pack\. Full data checking must be requested explicitly and downloads the packs, which can take longer and incur provider bandwidth charges\. A successful lightweight check therefore should not be reported as evidence that every byte has been read back and verified\.[^restic-check]

## Restoring and platform differences

Restic can restore selected content or complete snapshots into a target location, with dry\-run and overwrite controls\. FUSE mounting offers browsable access on Linux, macOS and FreeBSD, but is not a universal feature on every supported backup platform\. The manual recommends the restore operation rather than copying through a mount for large recoveries\.[^restic-restore]

The software is licensed under BSD 2\-Clause and can be used without purchasing a hosted backup subscription\. That does not include a storage service or remove the responsibility to arrange recurring execution, retention and recovery checks\. Its command\-line orientation is useful where backup behavior needs to fit an existing administrative workflow\.[^restic-home][^restic-retention][^restic-check]

## Substitution considerations

Restic can substitute for [BorgBackup](/borgbackup) for encrypted, deduplicated file\-history backups where the chosen storage backend and restore workflow meet the requirements\. Its native Windows availability and object\-storage integrations distinguish it from Borg's stable Unix\-oriented deployment\. The assessment does not imply compatible repository formats or that an existing Borg archive can simply be opened by Restic\.[^restic-home][^restic-repo][^borg-home][^borg-platform]

## Capabilities and substitutions

### Encrypted multi\-backend file snapshots — supported

File snapshots are stored in encrypted repositories on local and supported remote storage\.[^restic-home][^restic-repo]

Use case: Versioned file backup · Platforms: Linux, BSD, macOS, Windows · Region: Storage provider, account and regional availability requirements apply

### Full stored\-data checking — limited

Default checking is structural; reading all stored packs requires an explicit data check and additional transfer\.[^restic-check]

Use case: Verifying repository data · Platforms: Linux, BSD, macOS, Windows · Region: Storage provider, account and regional availability requirements apply

### Browsable FUSE restore — limited

FUSE repository mounts are documented for Linux, macOS and FreeBSD, not every supported backup platform\.[^source-8]

Use case: Browsing historical files · Platforms: Linux, macOS, FreeBSD · Region: Storage provider, account and regional availability requirements apply

### [Substitute for BorgBackup](/borgbackup) — limited

Overlaps versioned file protection with different platform/storage choices; repository interchange is not established\.[^restic-home][^restic-repo][^borg-home][^borg-platform]

Use case: Encrypted, deduplicated file\-history backups · Platforms: Linux, BSD, macOS, Windows · Region: Storage provider, account and regional availability requirements apply

## References

[^restic-home]: [Restic overview and license](<https://restic.net/>) — Cross\-platform backup, changed data, open source and BSD 2\-Clause license (vendor; retrieved 2026-10-06T18:30:59Z)

[^restic-repo]: [Restic repository preparation](<https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html>) — Storage backends, repository format and password recovery boundary (vendor; retrieved 2026-10-06T18:31:17Z)

[^restic-retention]: [Restic removing snapshots](<https://restic.readthedocs.io/en/stable/060_forget.html>) — Forget versus prune, retention policy and scratch\-space requirements (vendor; retrieved 2026-10-06T18:31:17Z)

[^restic-check]: [Restic working with repositories](<https://restic.readthedocs.io/en/stable/045_working_with_repos.html>) — Structural checking versus full pack\-data reads and bandwidth cost (vendor; retrieved 2026-10-06T18:32:05Z)

[^restic-restore]: [Restic restoration](<https://restic.readthedocs.io/en/stable/050_restore.html>) — Selective restore, dry\-run, FUSE platform limits and bulk restoration (vendor; retrieved 2026-10-06T18:32:56Z)

[^borg-home]: [BorgBackup overview](<https://www.borgbackup.org/>) — Deduplication, compression, platforms; 1\.4 stable versus 2\.0 testing (vendor; retrieved 2026-10-06T18:30:59Z)

[^borg-platform]: [Borg installation](<https://borgbackup.readthedocs.io/en/stable/installation.html>) — Unix\-like platforms; experimental Windows subsystem/Cygwin routes (vendor; retrieved 2026-10-06T18:31:47Z)

[^source-8]: [https://restic\.readthedocs\.io/en/stable/050\_restore\.html](<https://restic.readthedocs.io/en/stable/050_restore.html>) — Restoring using mount: FUSE repositories can be mounted only on Linux, macOS and FreeBSD; checked 2026\-10\-14\. (vendor; retrieved 2026-10-06T18:32:56Z)

Source revision: https://substitutefor.net/entities/Q1563?revision=1676
