# Sanoid

Sanoid is a policy-driven snapshot management tool for Linux systems that use ZFS (Zettabyte File System) datasets, automatically creating, thinning, and monitoring snapshots from a single human-readable configuration. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/4094/sanoid

## Description

Sanoid is a policy-driven snapshot management tool for Linux systems that use ZFS (Zettabyte File System) datasets, automatically creating, thinning, and monitoring snapshots from a single human-readable configuration file.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

56/100 (Fair), based on 4 of 5 factors.
- Maintained: 59 (last commit 168 days ago)
- Popular: 72 (3,915 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 63 (no serious findings, tests, OpenSSF Scorecard 3.1/10)

## Links

- Official website: http://www.openoid.net/products/
- Unraid: https://ca.unraid.net/apps/sanoid-1rr00m21vdmde6?q=Sanoid

## Common questions

### Why might Sanoid fail with hard-to-read errors after installation?

Install the prerequisite packages listed for your OS before starting Sanoid. Sanoid needs them to create snapshots and remove old ones, and missing packages can cause hard-to-read errors.

### What should I do if sanoid.conf is lost or overwritten?

Keep a safe copy of sanoid.conf because it defines which datasets are snapshotted and the hourly, daily, monthly, and yearly retention counts. If it is lost or overwritten, Sanoid may stop making and deleting snapshots according to your plan.

### How should I handle optional pre-snapshot, post-snapshot, or pruning scripts?

If you add pre_snapshot_script, post_snapshot_script, or pruning_script, make sure the script paths exist and work. Those commands run during snapshot or cleanup and can cause extra errors if they fail.

### How do I keep off-site backup history when replicating with Syncoid?

Run Sanoid on the replication target after Syncoid transfers the newer snapshots. Use the hotspare template for hourly replication or the backup template for daily replication so the target prunes according to your intended retention.

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