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_jobrunner
is 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-snapshots
now boosts replication and--monitor-snapshots
.--jitter
to stagger starts; per‑host logging; visibility of skipped subjobs;--jobrunner-dryrun
;--jobrunner-log-level
; SSH port/config options; tighter input validation.--no-create-bookmarks
with--create-bookmarks={none,hourly,minutely,secondly,all}
(default: hourly).--preserve-properties
to retain selected dst properties across replication.zfs send
no longer includes--props
by default; instead a safe whitelist of properties is copied on full sends viazfs receive -o ...
options.--ssh-{src|dst}-config-file
for SSH settings; stricter input validation; private lock dirs; tighter helper constraints; refuse symlinks;ssh -v
when using-v -v -v
.bzfs
andbzfs_jobrunner
; docs and nightly tests updates.Other notable changes:
--delete-dst-snapshots-except
also when the source is not a dummy.--monitor-snapshots
.Changes to watch for (deprecations & migration):
--jobid
replaced by required--job-id
and optional--job-run
(old name works for now; will be removed later).--replicate
no longer needs an argument (the argument is deprecated and ignored).--src-user
/--dst-user
renamed to--ssh-src-user
/--ssh-dst-user
(old names deprecated).--create-src-snapshots-enable-snapshots-changed-cache
replaced by--cache-snapshots
.--no-create-bookmarks
replaced by--create-bookmarks=…
as above.zfs send --props
by default, re‑enable the old behavior explicitly, for example:--zfs-send-program-opts="--props --raw --compressed" --zfs-recv-o-targets=full+incremental
shell 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