bzfs v1.12.0 – Fleet‑scale ZFS snapshot replication, safer defaults, and performance boosts #17757
whoschek
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
bzfs is a batteries‑included CLI for reliable ZFS snapshot replication using zfs send/receive (plus snapshot creation, pruning, and monitoring). bzfs_jobrunner is the orchestrator for periodic jobs across a fleet of N source hosts and M destination hosts.
Highlights in 1.12.0:
bzfs_jobrunneris now STABLE and can replicate across a fleet of N source hosts and M destination hosts using a single shared job config. Ideal for geo‑replication, multi‑region read replicas, etc.--cache-snapshotsnow boosts replication and--monitor-snapshots.--jitterto stagger starts; per‑host logging; visibility of skipped subjobs;--jobrunner-dryrun;--jobrunner-log-level; SSH port/config options; tighter input validation.--no-create-bookmarkswith--create-bookmarks={none,hourly,minutely,secondly,all}(default: hourly).--preserve-propertiesto retain selected dst properties across replication.zfs sendno longer includes--propsby default; instead a safe whitelist of properties is copied on full sends viazfs receive -o ...options.--ssh-{src|dst}-config-filefor SSH settings; stricter input validation; private lock dirs; tighter helper constraints; refuse symlinks;ssh -vwhen using-v -v -v.bzfsandbzfs_jobrunner; docs and nightly tests updates.Other notable changes:
--delete-dst-snapshots-exceptalso when the source is not a dummy.--monitor-snapshots.Changes to watch for (deprecations & migration):
--jobidreplaced by required--job-idand optional--job-run(old name works for now; will be removed later).--replicateno longer needs an argument (the argument is deprecated and ignored).--src-user/--dst-userrenamed to--ssh-src-user/--ssh-dst-user(old names deprecated).--create-src-snapshots-enable-snapshots-changed-cachereplaced by--cache-snapshots.--no-create-bookmarksreplaced by--create-bookmarks=…as above.zfs send --propsby default, re‑enable the old behavior explicitly, for example:--zfs-send-program-opts="--props --raw --compressed" --zfs-recv-o-targets=full+incrementalshell scripts.
Install / Upgrade:
Links:
As always, please test in a non‑prod environment first. Feedback, bug reports, and ideas welcome!
Beta Was this translation helpful? Give feedback.
All reactions