# ZnapZend

ZnapZend is a backup tool for ZFS (Zettabyte File System) that creates scheduled snapshots of your datasets and sends them to local or remote backup destinations. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/4145/znapzend

## Description

ZnapZend is a backup tool for ZFS (Zettabyte File System) that creates scheduled snapshots of your datasets and sends them to local or remote backup destinations. Using ZFS snapshot, send, and receive, it manages both local snapshots and remote copies and thins them out as time progresses, with all configuration stored as properties in the ZFS filesystem itself. It is aimed at homelab and server users who want policy-driven ZFS backups without manual scripting.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

56/100 (Fair), based on 4 of 5 factors.
- Maintained: 66 (last commit 137 days ago)
- Popular: 57 (675 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 64 (no serious findings, CI, OpenSSF Scorecard 3.2/10)

## Links

- Docker Hub: https://hub.docker.com/r/oetiker/znapzend/
- Unraid: https://ca.unraid.net/apps/znapzend-16wok0j15dxf87?q=ZnapZend
- GitHub: https://github.com/oetiker/znapzend
- Official website: http://www.znapzend.org

## Common questions

### Should I configure ZnapZend on the root dataset of a ZFS pool?

The README says not to enable it against pool root datasets because recursive pruning is experimental. It recommends a more fine-grained setup on child datasets instead.

### Where does ZnapZend store backup configuration?

All configuration is stored as custom ZFS properties on the filesets. A special tool is provided for setting and checking the backup configuration.

### Can I transfer snapshots to remote ZFS locations?

Yes. ZnapZend uses ZFS send/receive over SSH and can optionally use mbuffer, and each fileset can have multiple remote destinations or none.

### Can I run commands before and after snapshotting a dataset?

Yes. A pre- and post-snapshot command can be configured per fileset to quiet down software writing to it before the snapshot is taken.

### What caused a reported ZnapZend failure after upgrading Ubuntu Server 20.04?

The issue was a stale symlink in /usr/local/bin that still pointed to the old version after installing the new one.

---
Source: Our Local Host (https://ourlocalhost.com/app/4145/znapzend), the self-hosted and open-source app directory.
