# 使用 Homebrew, Nix 安装 znapzend

查看 znapzend 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:znapzend
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install znapzend
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#znapzend
```

  证据: nixpkgs package indexes: pkgs/by-name/zn/znapzend/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:znapzend
- **软件包管理器:** Homebrew
- **版本:** 0.23.6
- **来源摘要:** ZFS backup with remote capabilities and mbuffer integration
- **主页:** <https://www.znapzend.org/>
- **仓库:** <https://github.com/oetiker/znapzend>
- **最后更新:** 2026-07-06T22:19:46Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- znapzend (别名)
- znapzendzetup (别名)
- znapzendztatz (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.23.6
## 项目历史与用法

ZnapZend is a ZFS-centric backup and replication daemon by Tobias Oetiker that automates snapshots, local retention, and remote send/receive workflows with optional mbuffer acceleration.

### 项目历史

The oetiker/znapzend repository was created in 2013, during the period when ZFS users were building higher-level automation around native snapshots and zfs send/receive. Its README describes a tool that relies on the existing ZFS snapshot, send, and receive commands rather than inventing a backup format.

ZnapZend's design stores configuration in custom ZFS properties on datasets. That makes the backup policy travel with the fileset structure and lets the daemon manage local snapshots and remote copies while thinning them as they age.

The project also invested in transfer mechanics. The website highlights ssh and optional mbuffer support for remote destinations, and the setup documentation includes detailed mbuffer behavior and cautions, reflecting real-world ZFS replication tuning rather than a generic backup wrapper.

### 采用历史

ZnapZend found a niche among ZFS administrators who wanted scheduled snapshots, retention policy, and replication without writing their own shell scripts. Its adoption is visible mostly through systems-administration packaging, ZFS community discussion, and deployment guides rather than high-profile papers.

Its main appeal has been pragmatic: it automates native ZFS primitives while preserving the administrator's mental model of datasets, snapshots, send streams, ssh, and mbuffer.

### 使用方式

Users define backup plans per dataset with znapzendzetup, then run znapzend as a service. The daemon creates scheduled snapshots, sends them to configured destinations, and expires older snapshots according to thinning rules.

Typical deployments use local retention for quick rollback and one or more remote ZFS destinations for disaster recovery. Pre- and post-snapshot hooks can quiet databases or other writers before the snapshot is taken.

### 为什么软件包爱好者会关心

ZnapZend is classic storage-admin package material: small enough to install as a daemon, opinionated enough to encode a retention model, and close enough to native ZFS that experienced users can reason about the data path.

It matters because it packages the tedious but essential parts of ZFS backup hygiene: schedule, retention, replication, and transfer buffering.

### 时间线

- 2013-09-22: The oetiker/znapzend GitHub repository is created.
- 2010s: ZnapZend establishes a model of ZFS-property-based backup configuration.
- 2010s-2020s: Documentation grows around recursive datasets, mbuffer paths, transfer behavior, and pre/post snapshot hooks.
- 2020s: ZnapZend remains a maintained option for ZFS snapshot and replication automation.

### Related projects

- OpenZFS provides the snapshot and send/receive primitives ZnapZend orchestrates.
- mbuffer is commonly used with ZnapZend to smooth and speed replication streams.
- sanoid/syncoid and pve-zsync are adjacent ZFS snapshot and replication automation tools.

### 来源

- <https://api.github.com/repos/oetiker/znapzend>
- <https://github.com/oetiker/znapzend>
- <https://github.com/oetiker/znapzend/blob/master/doc/znapzendzetup.pod>
- <https://www.znapzend.org/>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## 其他软件包管理器记录

- Nix - znapzend: normalized package name match | nixpkgs package indexes: pkgs/by-name/zn/znapzend/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/znapzend.yml](https://github.com/mxcl/pkgdb/blob/main/combined/znapzend.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
