SANOID(8)

πŸ“¦
version 2.3.0 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– SANOID(8) πŸ’–

System Administration Utilities Β· a policy-driven snapshot management tool for ZFS filesystems

Hiii bestie 🫢 you've found the manual page for sanoid, section 8, and honestly? She's iconic. Policy-driven snapshot management for ZFS filesystems β€” say it with me now: snapshots that manage themselves. πŸ‘‘


✨ NAME ✨

sanoid β€” a policy-driven snapshot management tool for ZFS filesystems. No cap, that's literally the whole job description. 🌸


πŸ¦‹ DESCRIPTION πŸ¦‹

πŸ’… Usage:

sanoid [options]

Assumes --cron --verbose if no other arguments (other than configdir) are specified

So like β€” if you just yeet sanoid at the terminal with nothing else (or only a configdir), it goes "bet" and quietly assumes --cron and --verbose for you. Main character energy. ✨

Options:

  • --configdir=DIR β€” Point sanoid at the directory where it should go find the config file sanoid.conf. πŸŽ€
  • --cache-dir=DIR β€” Pick the directory where the ZFS snapshot cache gets stored. πŸ“
  • --run-dir=DIR β€” Choose a directory for temporary files, like lock files and stuff. 🧚
  • --cron β€” Creates snapshots and purges expired snapshots. The whole glow-up in one flag. πŸ’–
  • --verbose β€” Prints out additional information during a sanoid run. She's chatty, we love her. πŸ’¬
  • --readonly β€” Simulates creation/deletion of snapshots. Nothing actually happens, it's just pretend β€” rehearsal, not the show. πŸ™ˆ
  • --quiet β€” Suppresses non-error output. Silence, but make it ✨intentional✨.
  • --force-update β€” Clears out sanoid's ZFS snapshot cache. Fresh start, clean slate, slay. 🌈
  • --monitor-health β€” Reports on zpool "health", in a Nagios compatible format. πŸ‘‘
  • --monitor-capacity β€” Reports on zpool capacity, in a Nagios compatible format. πŸ“Š
  • --monitor-snapshots β€” Reports on snapshot "health", in a Nagios compatible format. πŸ”₯
  • --take-snapshots β€” Creates snapshots as specified in sanoid.conf. Do the thing. ⭐
  • --prune-snapshots β€” Purges expired snapshots as specified in sanoid.conf. Declutter era. πŸ’€
  • --cache-ttl=SECONDS β€” Set custom cache expire time in seconds (default: 20 minutes). ⏳
  • --help β€” Prints this helptext. Hii, that's this one. 🫢
  • --version β€” Prints the version number. 🏷️
  • --debug β€” Prints out a lot of additional information during a sanoid run. Like --verbose but she took her vitamins. 😭
ngl, --verbose and --debug are not the same vibe β€” one is "extra info", the other is "a LOT of additional information". Choose accordingly, bestie. πŸ’œ

and that's the whole page, you ate it πŸ’…

Signing off: this is sanoid 2.3.0, dated August 2025. Now go make some snapshots. periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from