mrkeyoor.comAsk

restic/restictested 19 Oct 2026commit dd09b6b

restic review

Our October source run installed in 62 seconds and built in 71 seconds, then the test command failed with 2 recorded failures.

  • Install failed
  • Build 71 s
51/53passed, run exited non-zero
  • 515 packages
Self-Hostedevaluationupdated 25 Nov 2026
+126stars / 7d

Restic backs up files and directories as encrypted snapshots on local or remote storage, including cloud buckets. It stores duplicate data only once, so you can keep backup history without making a separate full copy for every snapshot.

Verdict

Our October source run installed in 62 seconds and built in 71 seconds, then the test command failed with 2 recorded failures. Use restic if you want encrypted local or cloud backup history and can own scheduling, credentials and recovery exercises. Skip it if a built-in scheduler is a requirement: Duplicati documents that feature, while restic users here automate jobs externally. The November toolchain-extraction failure adds a setup finding, not a result about backup reliability.

restic infographic: keep encrypted backup history on local or remote storage, plus our test result and who it suits
Tested 25 November 2026: go install failed after 18 s. Before that: 19 Oct: source install 62 s, build 71 s; 19 Oct: 51 of 53 source tests passed.

We ran it

Lab card: what happened when we ran restic
Lab card from our sandbox run
Screenshot of restic (restic.net)
restic.net
Install✓ · 62s515 packages
Build✓ · 71s
Tests✗ · 30s51 passed · 2 failed of 53 (go test)
Repo1395 files~93,403 lines of source · 27.5 MB · 4 CI workflows

Answers from our run

Does restic build from source?

Dependencies installed in 62 seconds (515 packages), and the build succeeded in 71 seconds. We cloned commit dd09b6b into a clean Debian container with 3 CPUs and no project-specific setup.

Do restic's tests pass?

No. The project's own test command finished in 30 seconds and reported 51 passed, 2 failed (go test).

Who should not use restic?

Anyone needing a built-in scheduler: restic automation needs an external job runner, while Duplicati documents scheduling inside its application.

What are the alternatives to restic?

BorgBackup, Kopia, rclone. Our October source run installed in 62 seconds and built in 71 seconds, then the test command failed with 2 recorded failures.

Setup2/5In our 2026-11-25 run “go install github.com/restic/restic/...@latest” failed with “26.11”, though our source checkout installed in 62 s and built in 71 s.Editor’s note: Source installation and build succeeded in October, but the November quickstart stopped during toolchain extraction. A completed backup and restore setup has not been assessed.
Docs4/5The README has an install section (“Quick start”) and usage in the same section; we did not run its quickstart ourselves.Editor’s note: The README and manual cover repositories, backends, restore, compression and backup exit statuses. We have not assessed the accuracy of every platform instruction.
Community5/5Last push on 2026-11-24, 37,444 stars and maintainers answered or closed 9 of the 10 most-discussed issues we sampled.Editor’s note: The forum includes working setups and specific troubleshooting outcomes. This sample does not measure support response times or the size of the user base.
Maturity3/5Latest release v0.20.0 on 2026-11-19 (pre-1.0), repository created 2014-04-27 and its test suite did not pass in our sandbox (51 of 53 passed).Editor’s note: The source build succeeded and two test failures were recorded. Historical issue discussions and release fixes do not establish production reliability for our uncompleted backup workload.

How we score

Discussed on

  1. hnRestic – Backups Done Right593 points
  2. hnRestic – Backups Done Right573 points
  3. hnRestic: Backups done right231 points
  4. hnRestic 0.13.0111 points
  5. hnRestic Cryptography105 points

Who it’s for

Developers and server operators who want a CLI for encrypted backup history across local disks, SFTP and object storage.
Home-server owners who can keep passwords accessible outside the machines being protected.
Operators willing to own scheduled jobs, exit-status alerts, retention and recovery exercises.

Who it’s NOT for

Anyone needing a built-in scheduler: restic automation needs an external job runner, while Duplicati documents scheduling inside its application.
Teams requiring native centrally initiated pull backups: issue #299 remains a request in the captured discussion, with staging and remote execution described as alternatives.
Applications assuming each tiny restore only downloads the requested files: the distributed-computing discussion describes index-loading and latest-snapshot discovery work.

Setup reality

Our October 19, 2026 run at dd09b6b installed in 62 seconds with 515 dependencies recorded and built in 71 seconds. Tests exited 1 after 30 seconds: the parser recorded 51 passed and 2 failed of 53. The tail ends in successful package lines followed by FAIL, without identifying the two failures. A separate November quickstart attempt stopped with no space left on device while unpacking a Go toolchain.

A working backup needs a repository location, its password and any storage-service credentials. Scheduling, exit-status alerts, retention and a restore procedure are operating work beyond the README's first backup commands. Keep the password and storage access available away from the source machine.

October's recorded configuration was 3 CPUs, 8 GB RAM and image golang:1.24-bookworm. That image name does not prove the actual Go or OS version. Windows has a documented VSS snapshot option; PuTTY SFTP setups need transport options and careful path quoting.

Restic gives you encrypted backup history on local disks and remote storage, including S3, B2 and SFTP. Use it if you want a command-line tool and can own the schedule, credentials and recovery procedure. Skip it if you need a backup application with its own scheduler: MakerStack's review identifies that missing piece, and Duplicati documents one built in.

In our run on October 19, installation took 62 seconds and the build took 71 seconds, but the test command failed. The November quickstart attempt stopped earlier, at a toolchain download. Neither result answers the question you should settle before trusting a backup: can you recover from another machine when the source and its password store are gone?

What people use restic for

People use restic for nightly home-server backups, VPS backups to a machine behind NAT and Windows backups to SFTP, with different recovery and access problems in each case.

A repository is the storage location containing your backup history. A snapshot records the files selected for a particular backup, while deduplication avoids storing identical data repeatedly. The project's design principles describe encryption and deduplication; its native destinations include local directories, SFTP, REST, S3-compatible storage, B2, Azure and Google Cloud Storage.

Who used it What they did What happened
The author of the Raspberry Pi recovery thread Backed up a home automation server nightly to S3 Snapshots existed, but the repository password was missing. A brief successful boot let the author recover it before the server crashed again. The recovery account describes the near loss.
The author of the VPS-to-local thread Used reverse SSH forwarding and SFTP to reach a backup machine behind NAT Created backups and confirmed cron ran the command. Participant nicnab then warned that the tunnel exposed SSH access to the backup server. The thread records both outcomes.
Forum participant nicnab Combined rest-server with autossh behind NAT Reported that it worked well and allowed the backup server to start jobs remotely across machines. Nicnab describes the arrangement.
The Windows tutorial author and participant Javas Connected Windows restic to Linux SFTP through PuTTY's plink The tutorial lists working commands; Javas reported success using restic 0.13.0. The tutorial and Javas's follow-up document the path.

These are useful examples if you run a small server estate yourself. They also show how much sits outside the backup command: a tunnel has to stay up, a scheduled script has to execute and somebody has to retain the password.

What happened when we ran it

Our November quickstart ran out of disk space while unpacking the requested Go 1.26.11 toolchain, with no space left on device in the log, as the failure log records.

The November 25, 2026 run used checkout f25ec9a5ab18 in a fresh unprivileged container with no published ports or secrets. The clone step completed. Next, the runner invoked go install github.com/restic/restic/...@latest, a command selected from the manifest rather than copied from the README. The log began downloading go1.26.11, then failed writing the toolchain's bin/go file. That command targets @latest, so the checkout identifier alone doesn't pin everything it attempted to install. The runner then completed teardown successfully.

The earlier source checks reached further. We measured installation, build and tests at commit dd09b6b on October 19, 2026. Our measurement setup recorded 3 CPUs, 8 GB RAM and image golang:1.24-bookworm.

October source check Recorded result
Install Our install step succeeded in 62 seconds; 515 dependencies were recorded.
Build Our build step succeeded in 71 seconds.
Tests Our test step exited 1 after 30 seconds; the parser recorded 51 passed and 2 failed of 53.
Checkout 1,395 files, approximately 93,403 source lines, 27.5 MB
Repository scan Four CI workflow files; no Dockerfile or tests directory detected

The October test log ends with successful package lines, including internal/ui/restore and internal/walker, followed by a bare FAIL. The summary records two failures, but that tail doesn't name the failed checks or expose their errors. Absence of a directory named tests plainly doesn't mean absence of tests: the command ran Go package tests.

The October run built the source and then returned a failing test result. November's attempt ran out of disk space while obtaining its toolchain. Those are separate findings. The exact November error supports a storage explanation for that stopped step; October's tail supports no diagnosis of its two failures.

Where people get stuck: scheduled jobs, storage access and snapshot sources

A cron job can stop producing backups without telling you, and a snapshot can exist even when some source files were unreadable.

The Raspberry Pi thread's author found a second problem while examining recovery: a syntax error in the script called by cron had stopped web-server backups, with no error reporting. That is the author's account of the scheduler failure, separate from the lost password. The restic manual distinguishes successful backup exit status 0, fatal exit status 1 and incomplete-snapshot exit status 3. A script that only checks whether a snapshot exists misses the distinction between complete and incomplete data.

For your automation, record the backup command's own exit status and alert on a missing recent run as well as a failed one. Keep checking and pruning separate enough that a later command cannot hide the backup result. That's our operating recommendation, based on the documented exit statuses and the silent cron failure.

Symptom What the report actually shows Response supported by that report
B2 commands hang Michael found certificate-trust errors after a certificate change Updating trusted root certificates resolved his case. Ross separately connected using --cacert. Both reports appear in the B2 thread.
New B2 application keys don't help A restic 0.18.0 user's log shows DNS lookup timeouts for api.backblazeb2.com through 127.0.0.53 Investigate the resolver before replacing more credentials. The log ends in failure.
Unchanged snapshot sources add directory metadata again StephenEdie reported the behavior after upgrading to restic 0.10.0; a Btrfs user reported it too Treat this as a version-specific workflow concern. Issue #3041 remains open in the captured discussion; the Btrfs participant described a source-code workaround.
Prune reports a hash mismatch on a CIFS repository The reporter's backups succeeded, but prune failed Maintainer fd0 distinguished normal incomplete files after interruption from the separate hash mismatch. Issue #1999 is closed, without a confirmed final fix in the discussion we checked.

For B2 troubleshooting, let the error choose the branch: DNS resolution, certificate trust, authentication, then transfer behavior. Historical issue #1383 includes a connection-count change that helped one user and an ISP explanation from another. It is closed, but those setup-specific outcomes don't turn concurrency tuning into a cure for DNS or certificate failures.

Recovery starts with a password you can reach elsewhere

The Raspberry Pi owner recovered the repository password only because the failing server briefly booted again.

The backups were already in S3. The server's SSD failed, the owner obtained a replacement, and the recovery stopped at a much smaller missing item: the restic password. During a brief boot before another crash, the author retrieved it. The account names the configuration and application work that would otherwise have been lost. Restic's own quickstart warns that losing the password makes the data irrecoverable.

That changes what a useful recovery drill looks like. Start on a different machine. Obtain the repository address, its password and the storage credentials without opening the source server or reusing its scripts. List snapshots, select one, restore to a scratch directory and open representative files. This is our recommended drill, extending the thread author's proposed annual exercise and offsite KeePass vault.

Keep repository access and data readability as separate checks. restic check examines repository metadata; the official quickstart also shows restic check --read-data for reading the data. Its restore example writes into a separate target directory. A readable repository plus an accessible password is a stronger recovery position than a successful notification from a script on the machine you just lost.

Frequent small restores pay for a growing index

The distributed-computing discussion explains that each separate restore loads repository indexes, and selecting latest also requires finding the newest snapshot.

The questioner wanted many readers to restore small groups of files from an S3 repository while writers added snapshots. The reply explained that readers and writers adding data use shared locks, which can coexist. The more consequential warning was the repeated cost of fetching indexes and locating the latest snapshot as history grows.

If you are considering restic as a file-serving layer for an application, the command that retrieves a few files has more to do than download those files. The thread also warns that checking large numbers of active locks can become slow. Passing a specific snapshot identifier makes the requested history explicit; it doesn't remove the index work described in that reply.

A related architecture request is issue #299, native pull backups. It is open in the captured issue. Participant yatesco instead stages source data centrally, runs restic against that local copy and copies the repository offsite with rsync. That works within an existing central-backup design but requires space for the staged data. Starting restic remotely over SSH, as nicnab does, is another arrangement: restic still reads the files on the source machine.

Encryption and deletion protection need different controls

Restic encrypts repository data, while nicnab's rest-server setup adds an append-only mode to restrict what a compromised client can remove.

In the VPS-to-local thread, the author's reverse SFTP tunnel worked. Nicnab still objected because it left an SSH route from the VPS into the backup server. The proposed alternative exposed the REST service through the tunnel, with separate authentication and append-only access. Nicnab explains the smaller attack surface and deletion restriction. That is a useful distinction when you own both ends: successfully connecting the machines doesn't settle what a compromised source can do to its backup destination.

Restic's README describes confidentiality and integrity against an untrusted storage location. It doesn't promise that someone with permission to delete repository objects cannot destroy them. Keep maintenance access separate from restricted client access when designing an append-only arrangement. Encryption protects the contents; deletion permissions decide who can remove the history.

The current v0.20.0 release notes report fixes for restore ownership fallback and duplicate or out-of-order tree names. The latter could allow writing through a symlink outside the restore target. Use those concrete fixes when choosing a release, rather than treating a backup tool's security as settled by its encryption algorithm.

Restic vs BorgBackup, Kopia, rclone and rsync

Choose around your destination and recovery workflow: restic supports cloud backends directly, Kopia offers a GUI, and rclone handles file transfers that can also serve restic.

Comparison Decision you can make from the evidence
restic vs borg / restic vs borgbackup Matthews Wong reports using restic for S3-compatible storage and Borg for SSH or local storage. His preference follows the destination. Borg's current master README labels Borg2 beta and warns against production use, so distinguish that branch from the stable version you evaluate.
restic vs kopia Kopia documents both CLI and GUI versions. The historical forum comparisons favor different tools on Windows SMB and local Linux storage, with different datasets and compression settings. The thread supports comparing your actual workflow, rather than declaring a universal speed winner.
restic vs rclone Rclone describes itself as a command-line program for syncing files and directories between storage providers. Restic creates backup snapshots and also lists an rclone backend. They can be complementary.
restic vs rsync Raff Technologies distinguishes rsync's readable copies and migration role from a versioned backup repository. Retention can be designed around rsync; decide whether you want that extra system to own.
restic vs duplicati Duplicati documents a built-in scheduler and an application interface alongside its CLI. Consider it if owning cron scripts is the obstacle.

The primary READMEs support the Borg2 branch warning, Kopia's interface choices, rclone's synchronization role and Duplicati's scheduler. Raw transfer speed and restoring encrypted, deduplicated files measure different jobs. The author of restore-performance issue #2074 explicitly acknowledged that the rclone comparison was not equivalent.

What the other reviews get wrong

MakerStack and FreeBSD Software both contain compression claims contradicted by the restic manual, and FreeBSD Software's lock-free description conflicts with the repository-lock explanation.

MakerStack's restic review lists no native compression as a drawback, even while qualifying that it arrived in newer versions. FreeBSD Software's review says restic doesn't compress data, then describes compression elsewhere. The version 0.16.4 manual offers auto, off and max compression for repository format version 2. Restic supports compression; check the repository format rather than treating compression as absent.

FreeBSD Software also calls restic lock-free. The forum explanation describes shared and exclusive locks. Concurrent backups can use shared locks without making the design lock-free. Commands that remove data have different coordination requirements.

MakerStack says a database must first be dumped into a file. The manual's --stdin option accepts backup data from standard input, so an intermediate disk file isn't mandatory. You still need your database's own consistent export procedure. Streaming bytes into restic doesn't create database-aware consistency.

Two other MakerStack descriptions need care. Its immutable-snapshot wording shouldn't imply deletion protection: snapshot history can be removed, as the retention discussion explains. Its claim of identical behavior across platforms also overlooks the manual's Windows-specific VSS option. The documented --use-fs-snapshot option names Windows VSS, a service for obtaining a filesystem snapshot when backing up files in use.

Questions people ask

To make your first restic backup, initialize a repository with restic init, then run restic backup on the files you want to protect, as the official quickstart shows.

How do I install restic, initialize a repository and make my first backup?

The project website points to native binaries or its installation manual. After obtaining the binary for your platform, choose a repository location and retain its password. The quickstart sets RESTIC_REPOSITORY, runs restic init, then restic backup ~/work. Use a separate backup destination for real data: the README itself warns against treating storage on the same machine as a backup strategy.

How do I restore files or a complete snapshot with restic?

List snapshots with restic snapshots, select the snapshot ID and run restic restore --target /tmp/restore-work your-snapshot-ID. The official introduction documents that sequence, and the README also describes mounting the repository to browse previous snapshots. Restore into a separate directory first so you can inspect what you recovered.

Should I choose restic, BorgBackup or Kopia?

Restic is a sensible candidate for direct object-storage backups; Kopia merits attention if you want a GUI. Wong's restic and Borg account favors restic for object storage and Borg for SSH storage. The Kopia comparison thread contains differing performance outcomes, so choose a storage destination and a representative restore task before comparing speed.

How does restic compare with rclone, rsync, rustic, Duplicati and duplicity?

Rclone synchronizes files and can act as a restic backend; rsync makes readable copies with retention designed separately. Duplicati documents its own scheduler. The historical duplicity discussion concerned unchanged-data runs, not a current general ranking. The restic vs rustic question needs its own repository-compatibility and recovery comparison; it is included in the testing gaps below.

How can I back up Windows to an SFTP server using PuTTY or plink?

The restic PuTTY tutorial passes plink through -o sftp.command, specifying the SFTP subsystem, account, server and key path. Its author emphasizes quoting paths correctly. Javas later reported it working with restic 0.13.0. Treat the tutorial's command-line passwords and unprotected-key suggestion as credentials decisions to review, rather than defaults to paste into a shared script.

Can I pass sftp.command through an environment variable?

The forum answer says no and recommends a wrapper script to inject -o sftp.command. The Windows thread records that workaround. Keep the option in the wrapper you use for backups, checks and restores so those commands reach the same transport configuration.

How can I back up a VPS to a NAS without opening inbound ports?

A connection initiated from the NAS can forward access back through an SSH tunnel. The VPS thread's author created backups and confirmed cron execution that way. Nicnab's warning in the same thread is part of the answer: forwarding the NAS's SSH service exposes a broader route than forwarding a restricted rest-server endpoint.

What benefits does rest-server provide over SFTP?

Nicnab cites separate authentication, multiple repositories and append-only mode in the VPS-to-local discussion. Append-only mode restricts deletion by a compromised backup client. The encrypted SSH tunnel handles transport in that setup; rest-server authentication and permissions handle access to the repository service.

Can a backup server pull data from remote clients with restic?

Native pull support is requested in issue #299, which is open in the captured discussion. The participants describe staging files centrally or remotely starting restic on clients as alternatives. Those arrangements differ in where restic reads the source and where source copies occupy disk space.

Can concurrent backups and restores lock each other out?

The distributed-computing reply says reading and adding data use shared locks, allowing the described backups and restores to coexist. It also distinguishes exclusive operations and warns about overhead from many active locks. Its explanation doesn't call for routinely disabling locking.

How does unlimited snapshot retention affect frequent small restores?

The same forum reply explains repeated index loading and scanning snapshots to find latest. Keeping all history grows the material those commands must examine. That makes the workload a poor match for assuming that a tiny requested file set always means a tiny operation.

How should I test restores after losing every source machine and my password store?

Begin from a fresh machine with a separately accessible repository list, passwords and storage credentials. The Raspberry Pi owner proposed an offsite KeePass vault and annual recovery exercises after almost losing access. The post describes a proposed process, not a completed annual drill.

What we have not tested yet

We have not completed a backup-and-restore workload in either lab run, measured recovery speed or compared storage costs.

October's timings describe one source checkout. November's quickstart stopped during toolchain extraction. The image label golang:1.24-bookworm does not establish either run's actual Go or operating-system version; the November error identifies a requested toolchain, rather than proving it became the runtime. October's complete failing-test diagnostics are unavailable, so the two failures still need investigation from full logs.

A useful next measurement would use the same dataset and hardware for initial backup, unchanged backup, restore, check and prune across restic, Borg and Kopia. We have not measured Windows VSS, the PuTTY path, recovery from a lost password store, append-only attack resistance, ZFS metadata behavior on a current release or frequent selective restores from a large repository.

The historical issue statuses and user reports describe their captured versions and discussions. We have not reproduced their workarounds or established the current outcome of every old report. The video links available for this review contain no transcripts, and the Bilibili listings about Backrest and redu do not establish how either behaved. GUI wrappers and restic vs rustic need separate evaluation.

Searches such as “restic colour”, “restic on wall” and “resticate hindi meaning” don't establish a question about the restic backup program. This review covers restic/restic, not paint finishes or a Hindi vocabulary definition. Search volume, production adoption and a universal performance winner remain unknown.

Alternatives

ProjectWhat it isPick it when
BorgBackupA deduplicating backup program with optional compression and authenticated encryption.Consider the stable Borg release when you deliberately operate local or SSH repository storage. Its master README labels Borg2 beta and warns against production use.
Kopia gh↗A snapshot backup tool with command-line and graphical interfaces.Choose it for evaluation when a GUI is important and you still want encrypted snapshots on local or cloud storage.
rclone gh↗A command-line program for syncing files and directories across storage providers.Use it when file transfer is the job, or as the documented transport backend under restic.
DuplicatiA backup client with an application interface and built-in scheduler.Evaluate it when you want scheduling inside the backup application rather than maintaining cron scripts.

What people are saying

  1. [velocity-scout] sahandranya/restic-varrona
  2. [github-trending] restic/restic

Sources

  1. Restic README
  2. Restic manual 0.16.4
  3. Restic quickstart
  4. Recovery lessons from a Raspberry Pi failure
  5. VPS backups behind NAT
  6. Kopia comparison discussion
  7. Restic 0.20.0 release notes

More self-hosted reviews