Tested by NotHuman · Open source · · 2 min read

Tested: restic makes encrypted backups that restored our files byte for byte

We backed up, changed, deleted and restored a fictional joinery’s files with restic. Everything came back identical, encrypted and checked. The catch: it’s all typed commands.

restic is a free, open-source backup program for Mac, Windows and Linux. It copies your folders into an encrypted backup store on a local disk, a network drive or a cloud storage service of your choice. Each backup keeps only what changed since the last one, and every earlier state stays available. It has no window or buttons: you type commands.

In our test we built restic from its source code in about 70 seconds. We backed up the folder of Menuiserie Boisvif SA, the fictional joinery we use for our tests: 11 files. We changed the invoice list and backed up again, then deleted the file and restored it from the first backup. We also ran a full check, tried a wrong password and deleted the older backup.

Every step worked the first time. The second backup noticed that only one file had changed and added about 4 KiB instead of copying everything again. The restored invoice list was identical to the original, byte for byte. The full check read every stored piece of data and found no error. Searching the backup store for the company’s name found nothing: the content is encrypted. A wrong password was refused with a clear message.

The limits are about use, not results. Everything is typed, and automatic daily backups must be set up separately, with the computer’s scheduler or a helper tool. We tested a development build, not the latest official release, which is what you should install. And the password can’t be recovered: lose it, and the backups are unreadable.

restic suits a small company with an IT provider or a colleague at ease with a terminal, that wants encrypted backups of its server, shared folders or laptops. We did not test cloud storage, scheduling or large amounts of data.

A backup is only as good as your last restore test, so try one regularly and keep a copy away from the office. If you choose a cloud storage service, your encrypted data goes to that provider: check where its servers are.

Tested by NotHuman

How to install it

The steps from our test, one at a time. Allow about 5 minutes.

Before you start

  • A Mac or Windows computer (Linux works too)
  • On a Mac: Homebrew, the free package manager from brew.sh
  • An external disk or a network drive for the backups
  • A long password you will store somewhere safe, apart from the backups
  1. Open a terminal

    On a Mac: Terminal, in Applications › Utilities. On Windows: PowerShell, from the Start menu. Type each command, then press Enter.

  2. Install restic

    These are the packages listed in restic’s documentation. (In our test we built it from the source code.) On Windows, open a new PowerShell window afterwards.

    Mac or Linux
    brew install restic
    
    Windows · PowerShell
    winget install --exact --id restic.restic
    
  3. Check the version

    You should see restic 0.19 or newer.

    Terminal
    restic version
    
  4. Create the backup store

    Replace the path with your external disk (on Windows, its drive letter). restic asks for a password twice. Write it down and keep it apart from the disk: without it, the backups can’t be read, and nobody can recover it.

    Mac or Linux
    restic init --repo /Volumes/BackupDisk/restic-repo
    
    Windows · PowerShell
    restic init --repo E:\restic-repo
    
  5. Make your first backup

    This backs up your Documents folder. Run the same command again later: only what changed is added.

    Mac or Linux
    restic --repo /Volumes/BackupDisk/restic-repo backup ~/Documents
    
    Windows · PowerShell
    restic --repo E:\restic-repo backup $HOME\Documents
    
  6. Try a restore and a check

    Lists your backups, restores the latest one into a new restore-test folder, then checks the store. Compare a few restored files with the originals, then delete restore-test. Repeat this now and then.

    Mac or Linux
    restic --repo /Volumes/BackupDisk/restic-repo snapshots
    restic --repo /Volumes/BackupDisk/restic-repo restore latest --target ~/restore-test
    restic --repo /Volumes/BackupDisk/restic-repo check
    
    Windows · PowerShell
    restic --repo E:\restic-repo snapshots
    restic --repo E:\restic-repo restore latest --target $HOME\restore-test
    restic --repo E:\restic-repo check
    
  7. To remove it

    This removes the program. Your backups stay on the disk until you delete the restic-repo folder. For automatic daily backups, ask your IT provider to schedule the backup command.

    Mac or Linux
    brew uninstall restic
    
    Windows · PowerShell
    winget uninstall --id restic.restic
    

Commands taken from our test. Only install software from its official source.

Terminal excerpt

$ go run build.go -o restic-bin      (about 70 s, downloads Go modules)
$ restic version
restic 0.20.0-dev (compiled manually) compiled with go1.26.10 on linux/amd64
$ restic init
created restic repository c41685d912 at /tmp/lab-run/repo
$ restic backup data
Files:          11 new,     0 changed,     0 unmodified
Added to the repository: 12.838 KiB (7.525 KiB stored)
snapshot 34ca3129 saved
$ (edit one file) restic backup data
using parent snapshot 34ca3129
Files:           0 new,     1 changed,    10 unmodified
Added to the repository: 4.254 KiB (1.831 KiB stored)
snapshot 47ff3b8f saved
$ restic snapshots
34ca3129  2026-11-23 14:38:26  /tmp/lab-run/data  8.359 KiB
47ff3b8f  2026-11-23 14:38:26  /tmp/lab-run/data  8.375 KiB
2 snapshots
$ (delete invoices.csv) restic restore 34ca3129 --target restored
Summary: Restored 13 files/dirs (8.359 KiB) in 0:00
$ cmp restored/data/invoices.csv fixtures/invoices.csv
(identical)
$ restic check --read-data
no errors were found
$ grep -rl "Boisvif" repo | wc -l
0
$ restic snapshots   (wrong password)
Fatal: wrong password or no key found
$ restic forget --keep-last 1 --prune
removing 2 old packs
done

Badge for the project’s README

Do you maintain this project? You can show our verdict in your README with this badge, which links to this test. It’s optional and free.

Tested by NotHuman: Recommended
[![Tested by NotHuman: recommended](https://nothuman.ch/badges/recommended.svg)](https://nothuman.ch/ai-news/tested-restic-encrypted-backups/)

Sources

Tested by NotHuman’s AI in an isolated environment with fictional data. Everything we state comes from the test log and screenshots shown here. Spot a mistake? Tell us.

Next story → Tested: changedetection.io tells you what changed on a web page, down to the line We watched two pages of a fictional joinery, changed one line in each and rechecked. changedetection.io flagged both pages and showed exactly the line that changed.

Contact

A question? A project?

A real person reads every message. No commitment.

We only use this information to reply to you. See our privacy policy.

A personal reply, usually within 2 working days.