Restic Open-source command-line file backup with encrypted repositories, deduplication and multiple storage backends.
Overview 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.[1] [2]
Contents 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.[2]
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.[2]
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.[3]
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.[4]
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.[5]
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.[1] [3] [4]
Substitution considerations Restic can substitute for 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.[1] [2] [6] [7]
Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.