<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/restic-0-14-0-deduplicating-encrypted-backup-tool-now-supports-compression-via-zstandard-mywh1k36j" -->

---
title: restic 0.14.0: deduplicating encrypted backup tool now...
description: Restic 0.14.0 adds compression support, its most anticipated feature. New repositories default to version 2, which supports compression, and existing repos can...
canonical: https://daily.dev/posts/restic-0-14-0-deduplicating-encrypted-backup-tool-now-supports-compression-via-zstandard-mywh1k36j
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: restic 0.14.0: deduplicating encrypted backup tool now supports compression via Zstandard | daily.dev
og:description: Restic 0.14.0 adds compression support, its most anticipated feature. New repositories default to version 2, which supports compression, and existing repos can...
og:url: https://daily.dev/posts/restic-0-14-0-deduplicating-encrypted-backup-tool-now-supports-compression-via-zstandard-mywh1k36j
og:image: https://api.daily.dev/og/posts/myWH1k36J.png
og:image:alt: restic 0.14.0: deduplicating encrypted backup tool now supports compression via Zstandard
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# restic 0.14.0: deduplicating encrypted backup tool now supports compression via Zstandard

**[Lobsters](https://daily.dev/sources/lobsters)** · 2 min read · 0 upvotes · 0 comments

## Summary

Restic 0.14.0 adds compression support, its most anticipated feature. New repositories default to version 2, which supports compression, and existing repos can be upgraded; compression level is adjustable via --compression (auto, max, or off), but upgraded repos require restic 0.14 or later. A new --unsafe-recover-no-free-space option for prune helps recover when repository storage is completely full. Other improvements include tunable backend connections and pack size for faster backups, less disk I/O for check --read-data and prune, a much faster copy command, and about 30% less memory use when backing up directories with hundreds of thousands of files.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://restic.net/blog/2022-08-25/restic-0.14.0-released>

## Questions this post answers

### Does restic 0.14 support repository compression?

Yes, restic 0.14.0 introduces compression as a new feature. New repositories default to repository version 2, which supports compression, and existing repositories can be upgraded to enable it. The compression level defaults to 'auto' (fast and efficient) but can be set to 'max' or 'off' with the --compression option or an equivalent environment variable.

_Teams planning a restic upgrade for compression can track release details like this on daily.dev._

### Can I still access my restic repository with an older version after upgrading to enable compression?

No, once a repository is upgraded to version 2 for compression support, it can only be accessed by restic version 0.14 or higher. This means every machine or script that accesses that repository must also be running restic 0.14+, so coordinate the upgrade across all systems before migrating.

_Anyone coordinating a backup tool upgrade across machines can follow compatibility notes like this on daily.dev._

### What should I do if my restic repository runs out of storage space and prune fails?

Restic 0.14.0 adds an --unsafe-recover-no-free-space option to the prune command specifically for this situation, letting you recover a repository whose storage has been completely saturated. The documentation warns to read the corresponding guidance carefully before using it, since the option is marked unsafe.

_Developers hitting storage-full backup failures can find fixes like this through daily.dev._

## Community take

How the wider developer community reacted, aggregated from 2 discussions and 36 comments across lobsters, hackernews (as of 2026-11-25).

**TL;DR:** Reception is positive and heavy on technical comparison: people are happy compression finally landed and discuss how restic's content-defined chunking and dedup stack up against Borg, Kopia, bupstash and others, with practical notes on compression ratios and backing up databases safely.

**Sentiment:** 55% positive · 35% mixed · 10% skeptical

**The case for**

- Compression brings noticeable size savings, with reports ranging from ~20% to much higher depending on data type.
- Several say it's been reliable for them over years of use with no issues.
- Compared favorably against alternatives for having content-defined chunking plus rolling-hash deduplication.
- Decompression speed with zstd doesn't degrade even at max compression settings, making high settings practical.

**The pushback**

- Some datasets (sqlite databases, config files, some PDFs) see little benefit from file-level or backup compression.
- Concerns about memory/OOM issues when backing up large file sets, with similar tools like Kopia reportedly having the same problem.
- Naively pointing the tool at a live database folder risks backup corruption/smearing; proper snapshotting or dump procedures are needed instead.
- ARM/Android binary wasn't available yet at release time.

**By community**

- lobsters (positive): Mostly an enthusiastic, technical comparison of restic's chunking/dedup against alternatives, with practical caveats about compression gains and safe database backups.
- hackernews (positive): Light, approving reactions welcoming compression and sharing minor packaging/implementation details.

**Open questions**

- Whether kopia and other alternatives also implement true content-defined chunking rather than fixed-block rolling hashes.
- Whether lock-free multi-writer support (as in some alternatives) could be added to tools that currently lack it.

**Highlights**

> Not only rolling hashes, but also content defined chunking https://github.com/restic/chunker which is just magic really. Deduplicating segments not at block boundaries. The compression was holding me with Borg, but I'm happy to give restic a try now. I hope they improved with their performance issues...
> — [viraptor on lobsters · 5 points, 3 comments](https://lobste.rs/s/h38buk/restic_0_14_0_deduplicating_encrypted#c_fztmd3)

> Plenty of things don't, think sqlite database (or any database really), most configuration files, some PDFs. By my experience even standard lz4 can squeeze 5% out of almost pure media file datasets. ZSTD as restic uses is a bit better. In more realistic applications, the compression ratio tends to be 20-50%. I've even got a single ZFS dataset that sits at 800% compression. An upside of ZSTD is also that decompression speed is not a function of the compression settings. So using zstd at it's maximum (bearable) settings (already upgraded my restic repo) is well worth it for backups.
> — [cultpony on lobsters · 1 points](https://lobste.rs/s/h38buk/restic_0_14_0_deduplicating_encrypted#c_sus1o5)

> I just read the article linked from that github (https://restic.net/blog/2015-09-12/restic-foundation1-cdc/) and it looks like "content-defined chunking" is just a new term for the same rolling hash concept used by borg (and bitbottle). Is there some reference that can explain the difference?
> — [robey on lobsters · 1 points, 1 comments](https://lobste.rs/s/h38buk/restic_0_14_0_deduplicating_encrypted#c_vlkctf)

> You should be backing up file system snapshots if you want to avoid backup smearing, the backup tool can't coordinate with modifications in progress.
> — [ac on lobsters · 3 points](https://lobste.rs/s/h38buk/restic_0_14_0_deduplicating_encrypted#c_qocm6m)

> Yes, I use kopia. As I said, it does OOM for me once in a while. It also uses 10GB of cache while backing up about 50GB of files. Seems a bit excessive.
> — [pointlessone on lobsters · 1 points, 1 comments](https://lobste.rs/s/h38buk/restic_0_14_0_deduplicating_encrypted#c_z0nsz3)

**Source threads**

- [lobsters](https://lobste.rs/s/h38buk/restic_0_14_0_deduplicating_encrypted) · 36 points · 26 comments
- [hackernews](https://news.ycombinator.com/item?id=32599032) · 31 points · 10 comments

## Similar posts on daily.dev

- [How to Back Up Your Server the Smart Way with Restic and Zerobyte GUI](https://daily.dev/posts/how-to-back-up-your-server-the-smart-way-with-restic-and-zerobyte-gui-lngzfug96) · Noted · 4 upvotes · 0 comments
- [Backups with Restic: 2-year retrospective](https://daily.dev/posts/backups-with-restic-2-year-retrospective-cntdwmgub) · Advanced Web Machinery · 11 upvotes · 0 comments
- [Back Up Data to Object Storage Using Restic](https://daily.dev/posts/back-up-data-to-object-storage-using-restic-3nfodusez) · DigitalOcean Community · 0 upvotes · 0 comments
- [What’s new in Git 2.53.0?](https://daily.dev/posts/what-s-new-in-git-2-53-0--19pgrer8d) · GitLab · 0 upvotes · 0 comments
- [4 backup tools that finally made self-hosting feel manageable](https://daily.dev/posts/4-backup-tools-that-finally-made-self-hosting-feel-manageable-slpwq3xdz) · XDA Developers · 0 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#compression](https://daily.dev/tags/compression)

[View this post on daily.dev](https://daily.dev/posts/restic-0-14-0-deduplicating-encrypted-backup-tool-now-supports-compression-via-zstandard-mywh1k36j)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"restic 0.14.0: deduplicating encrypted backup tool now supports compression via Zstandard","url":"https://daily.dev/posts/restic-0-14-0-deduplicating-encrypted-backup-tool-now-supports-compression-via-zstandard-mywh1k36j","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/restic-0-14-0-deduplicating-encrypted-backup-tool-now-supports-compression-via-zstandard-mywh1k36j"},"datePublished":"2026-11-25T02:06:51.509Z","dateModified":"2026-11-25T02:07:26.219Z","description":"Restic 0.14.0 adds compression support, its most anticipated feature. New repositories default to version 2, which supports compression, and existing repos can...","image":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","thumbnailUrl":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/restic-0-14-0-deduplicating-encrypted-backup-tool-now-supports-compression-via-zstandard-mywh1k36j","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"open-source,compression","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"restic 0.14.0: deduplicating encrypted backup tool now supports compression via Zstandard"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/restic-0-14-0-deduplicating-encrypted-backup-tool-now-supports-compression-via-zstandard-mywh1k36j#faq","mainEntity":[{"@type":"Question","name":"Does restic 0.14 support repository compression?","acceptedAnswer":{"@type":"Answer","text":"Yes, restic 0.14.0 introduces compression as a new feature. New repositories default to repository version 2, which supports compression, and existing repositories can be upgraded to enable it. The compression level defaults to 'auto' (fast and efficient) but can be set to 'max' or 'off' with the --compression option or an equivalent environment variable. Teams planning a restic upgrade for compression can track release details like this on daily.dev."}},{"@type":"Question","name":"Can I still access my restic repository with an older version after upgrading to enable compression?","acceptedAnswer":{"@type":"Answer","text":"No, once a repository is upgraded to version 2 for compression support, it can only be accessed by restic version 0.14 or higher. This means every machine or script that accesses that repository must also be running restic 0.14+, so coordinate the upgrade across all systems before migrating. Anyone coordinating a backup tool upgrade across machines can follow compatibility notes like this on daily.dev."}},{"@type":"Question","name":"What should I do if my restic repository runs out of storage space and prune fails?","acceptedAnswer":{"@type":"Answer","text":"Restic 0.14.0 adds an --unsafe-recover-no-free-space option to the prune command specifically for this situation, letting you recover a repository whose storage has been completely saturated. The documentation warns to read the corresponding guidance carefully before using it, since the option is marked unsafe. Developers hitting storage-full backup failures can find fixes like this through daily.dev."}}]}
```

