# restic

> Cross-platform backup program with encryption, deduplication, and support for local/cloud storage backends

Stars: 37.0k · Language: Go · License: BSD-2-Clause · Categories: System

- Repository: https://github.com/restic/restic
- Website: https://restic.net
- Page: https://www.trmn.sh/tools/restic

## Overview

restic is a backup program that creates encrypted, deduplicated snapshots of files and directories. It supports Linux, macOS, Windows, FreeBSD, and OpenBSD, using strong cryptography to ensure backup confidentiality and integrity even when stored in untrusted environments.

The tool operates through simple commands like `restic init` to create repositories, `restic backup` to create snapshots, and `restic restore` to recover files. It includes a mount feature via FUSE that allows browsing previous snapshots as a filesystem. restic performs incremental backups with automatic deduplication, storing only changed data between snapshots.

restic supports numerous storage backends including local directories, SFTP servers, HTTP REST servers, and major cloud providers like Amazon S3, Google Cloud Storage, Microsoft Azure Blob Storage, BackBlaze B2, and OpenStack Swift. Additional services are accessible through rclone integration. The program is designed for daily backup workflows where network or disk bandwidth is the primary limitation rather than processing overhead.

System administrators, DevOps engineers, and users requiring reliable encrypted backups across multiple platforms would benefit from restic's combination of security, efficiency, and broad storage backend support.

## Alternatives

- [age](https://www.trmn.sh/tools/age.md): File encryption tool with small explicit keys, post-quantum support, and UNIX-style composability. (Go, 24.2k stars)
- [witr](https://www.trmn.sh/tools/witr.md): Traces a process, port, container, or file back to the chain of supervisors, services, and shells that started it. Offers CLI, JSON output, and a TUI. (Go, 22.9k stars)
- [chezmoi](https://www.trmn.sh/tools/chezmoi.md): Dotfile manager that keeps a source state, previews changes with diff, and applies configuration across machines using templates. (Go, 22.1k stars)
- [ctop](https://www.trmn.sh/tools/ctop.md): Top-like interface for monitoring Docker and runC container metrics in real-time (Go, 17.8k stars)
- [duf](https://www.trmn.sh/tools/duf.md): Disk usage utility with colorful output, filtering, and JSON export - replacement for df command (Go, 15.4k stars)

## Guides

- [Back up a directory with restic](https://www.trmn.sh/guides/restic-backups): Back up a directory to a local disk or S3-compatible storage with restic: init a repo, exclude files, restore, prune old snapshots and schedule runs.

---

Canonical: https://www.trmn.sh/tools/restic
