Automic VaultAutomic Vault

brew

Install zrepl with Homebrew, apk, Nix

One-stop ZFS backup & replication solution. Version 0.7.0 via Homebrew; verified 2026-06-06.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install zrepl

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add zrepl

Alpine Linux edge package indexes · zrepl · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#zrepl

nixpkgs package indexes · pkgs/by-name/zr/zrepl/package.nix · source: api.github.com

overview

Package summary

One-stop ZFS backup & replication solution

Commands and aliases

  • zrepl

history

Project history and usage

zrepl is a Go daemon and CLI for ZFS snapshot management, backup, and replication. It wraps ZFS send/receive workflows with configuration, scheduling, pruning, monitoring, status reporting, and transport handling.

Project history

The public `zrepl/zrepl` repository was created in April 2017, and the documentation copyright identifies Christian Schwarz as the project author. The README and official site describe zrepl as a one-stop ZFS backup and replication solution, with user documentation published through Sphinx at zrepl.github.io.

zrepl developed around the hard parts of reliable ZFS replication rather than around a generic backup format. The documentation lists push and pull replication, TCP, TLS, and SSH transports, retries, resumable send/receive, ZFS holds, bookmarks, raw encrypted sends, properties/compressed/large-block sends, bandwidth limiting, periodic snapshots, pruning rules, structured logging, Prometheus metrics, and `zrepl status` progress reporting.

The changelog shows the project maturing through operational features: Prometheus metrics and receiver-side pruning behavior in early releases, automatic bookmark and hold management, configurable send/receive flags, bandwidth limiting, encrypted-send fixes, and later 0.6 and 0.7 maintenance releases.

Adoption history

zrepl's audience is narrower than general backup tools because it requires ZFS, but it is significant inside that ecosystem. The official package documentation lists installation paths through GitHub release binaries, FreeBSD packages, Homebrew on macOS, Arch AUR, Fedora/RHEL/openSUSE RPM repositories, Debian/Ubuntu APT repositories, OmniOS, Void Linux, and source builds.

GitHub metadata showed more than 1,100 stars by mid-2026, consistent with an infrastructure tool used by ZFS administrators rather than casual desktop users. Its adoption is also reflected in docs that address distro maintainers, service files, platform tests that exercise ZFS, and package repository operations.

How it is used

Typical use is to write a YAML configuration at `/etc/zrepl/zrepl.yml`, validate it with `zrepl configcheck`, run zrepl as a daemon, and use `zrepl status` or `zrepl signal wakeup JOBNAME` to monitor or trigger work. The quick-start docs cover continuous server backup, local snapshots with offline external-disk backup, and fan-out replication.

zrepl is most useful when native ZFS snapshots and `zfs send` are already the desired backup primitive, but the operator wants automated policy, pruning, transport, monitoring, and safety checks around them.

Why package nerds care

zrepl is package-nerd significant because it is not another tar-like backup archive; it is packaging the operational discipline around ZFS itself. It turns a powerful but manual storage primitive into a service with config files, system packages, status UI, metrics, and reproducible deployment patterns.

It is also a good example of a small infrastructure package whose real value is coordination: snapshots, bookmarks, holds, pruning, send/receive flags, daemon supervision, and distro defaults all have to line up or backups quietly become unsafe.

Timeline

  • 2017-04-13: The public `zrepl/zrepl` repository is created.
  • 2020-08-21: zrepl 0.3.0 is published on GitHub.
  • 2021-04-18: zrepl 0.4.0 is published.
  • 2022-01-09: zrepl 0.5.0 is published, with changelog entries including bandwidth limiting and send/receive-related fixes.
  • 2022-11-01: zrepl 0.6.0 is published.
  • 2026-02-15: zrepl 0.7.0 is published.

Related projects

  • OpenZFS is the underlying filesystem and send/receive substrate.
  • syncoid and sanoid are adjacent ZFS snapshot and replication tools in the same administrator niche.
  • Prometheus is relevant because zrepl exposes metrics for monitoring replication health.

security posture

Risk level: orange

formula declares a Homebrew service. generalized runtime or code generation signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service
  • generalized runtime or code generation signal

Signals

  • metadata:service
  • text:repl

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/zrepl/zrepl.yml/usr/local/etc/zrepl/zrepl.yml

executables

Installed executables

CommandKindExposureNote
zreplcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.7.0
manager updated2026-06-06
local dataok
upstreamcurrent
latest detectedv0.7.0

https://github.com/zrepl/zrepl

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:zrepl
Version0.7.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/zrepl
Homepagehttps://zrepl.github.io
Repositoryhttps://github.com/zrepl/zrepl
Upstream docshttps://zrepl.github.io/
LicenseMIT
Source archivehttps://github.com/zrepl/zrepl/archive/refs/tags/v0.7.0.tar.gz
Last updated2026-06-06T11:29:14Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namezrepl
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

zrepl

nix profile install nixpkgs#zrepl
  • normalized package name match
  • Matched by: Zrepl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/zr/zrepl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

zrepl 0.6.1-r21

one-stop, integrated solution for ZFS replication

https://zrepl.github.io/

sudo apk add zrepl
  • License: MIT
  • Architecture: x86_64
  • Source Package: zrepl
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zrepl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zrepl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

zrepl-bash-completion 0.6.1-r21

Bash completions for zrepl

https://zrepl.github.io/

sudo apk add zrepl-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: zrepl
  • normalized package name match
  • Matched by: Zrepl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zrepl-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

zrepl-openrc 0.6.1-r21

one-stop, integrated solution for ZFS replication (OpenRC init scripts)

https://zrepl.github.io/

sudo apk add zrepl-openrc
  • License: MIT
  • Architecture: x86_64
  • Source Package: zrepl
  • normalized package name match
  • Matched by: Zrepl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zrepl-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

zrepl-zsh-completion 0.6.1-r21

Zsh completions for zrepl

https://zrepl.github.io/

sudo apk add zrepl-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: zrepl
  • normalized package name match
  • Matched by: Zrepl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zrepl-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment