Skip to content

Restic

Command-line backup tool with encryption and deduplication for Linux, macOS and Windows

Permissive (OSI) · BSD-2-Clause
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

70

Health

Active

Overview

Stars

37,421

Last commit

yesterday

Nov 2026

Repository age

12 years

since Apr 2014

Latest version

v0.20.0

Nov 2026

Contributors

–

37 active in 90 days

Releases

3

last 12 months

Language

Go

Restic is a command-line backup program written in Go. It stores data as encrypted, deduplicated snapshots, so each new snapshot only uses space for what changed. It treats the storage location as untrusted, which means the people who run that storage cannot read your backups.

You create a repository with restic init, add data with restic backup, and bring files back with restic restore. You can also run restic mount to browse past snapshots through FUSE. A verify step lets you check that the data can be restored.

Backends include a local directory, SFTP, a REST server, Amazon S3 and S3-compatible storage, OpenStack Swift, Backblaze B2, Azure Blob Storage and Google Cloud Storage. Other services work through rclone. It runs on Linux, macOS, Windows, FreeBSD and OpenBSD. Release binaries since 0.6.1 are reproducible from source. It is BSD-2-Clause licensed and does not replace one specific commercial product. It fits the same need as paid cloud backup agents.

Who it's for

Sysadmins backing up Linux servers to object storage

It writes encrypted snapshots straight to S3, B2, Azure or SFTP from a single binary.

Skip if: You want a graphical console with central management of many machines.

Privacy-minded individuals backing up a laptop

Data is encrypted before it leaves your machine, so the storage provider cannot read it.

Skip if: You would rather click through a desktop app than use a terminal.

The problem it solves

Backups are skipped when they are slow, complicated or leave your data readable by whoever hosts the storage. Restic gives you fast incremental snapshots that are encrypted and checkable, on storage you choose.

Strengths

  • Deduplicated snapshots store only the changed data
  • Encrypted by default, assuming untrusted storage
  • Native backends for S3, B2, Azure, Google Cloud, SFTP and REST
  • Reproducible release binaries since version 0.6.1
  • Mount snapshots with FUSE to browse and restore single files

Trade-offs

  • Command-line only, with no built-in graphical interface
  • A lost repository password means the data cannot be recovered
  • Not a server you host; it is a client tool that writes to storage

Restic replaces

In the community

Frequently asked questions

Is restic free?

Yes. It is open source under the BSD-2-Clause license.

Which platforms does it run on?

Linux, macOS and Windows, plus FreeBSD and OpenBSD.

Where can I store backups?

On a local directory, SFTP, a REST server, S3-compatible storage, Swift, Backblaze B2, Azure Blob Storage or Google Cloud Storage. Rclone opens up many more services.

What happens if I lose my password?

Your data is irrecoverably lost, because the repository is encrypted with it.

Restic compared

Other Veeam alternatives

Compare all 4 Veeam alternatives →

Similar tools in Backup and archiving software

borg

Backup and archiving software

Deduplicating, encrypted backup tool for Linux and macOS admins who back up over SSH

14k 888 today Active BSD-2-Clause

Replaces Veeam

Kopia

Backup and archiving software

Encrypted, deduplicated file backup to cloud, NAS or local disks, with CLI and GUI

15k 815 today Active Apache-2.0

Replaces Veeam

databasus

Backup and archiving software

Self-hosted PostgreSQL backup tool with scheduling, cloud storage and restore checks

9.3k 620 today Thriving Apache-2.0

Wayback

Backup and archiving software

Command-line and chat-bot tool that saves web pages to Internet Archive, IPFS and disk

2.3k 88 today Slowing GPL-3.0

autorestic

Backup and archiving software

YAML-configured backup command-line tool that wraps restic for multiple locations and

1.9k 103 8 months ago Dormant Apache-2.0

duplicati

Backup and archiving software

Encrypted, incremental backup client that stores data on cloud and remote servers

15k 1.1k today Active MIT

Replaces Veeam