Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
Syncoid now supports resumable replication by default when both source and target support receive_resume tokens. Resume support can be manually disabled with new --no-resume argument if necessary. Syncoid also supports passing CLI arguments to SSH now with -o opt1=value,opt2=value syntax, and will continue recursive replication with remaining child datasets when any one dataset errors out (for example, due to being busy at the time, having gotten deleted out from under syncoid, etc).
Fixed significant syncoid regression; syncoid now pulls both creation AND guid; sorts by creation, matches on guid. Thank you @da-me for the quick report!
1.4.13 Syncoid will now continue trying to replicate other child datasets after one dataset fails replication
when called recursively. Eg syncoid -r source/parent target/parent when source/parent/child1 has been
deleted and replaced with an imposter will no longer prevent source/parent/child2 from successfully
replicating to target/parent/child2. This could still use some cleanup TBH; syncoid SHOULD exit 3
if any of these errors happen (to assist detection of errors in scripting) but now would exit 0.
1.4.12 Sanoid now strips trailing whitespace in template definitions in sanoid.conf, per Github #61
1.4.11 enhanced Syncoid to use zfs
guid property rather than
creation property to ensure snapshots on source and target actually match. This immediately prevents conflicts due to timezone differences on source and target, and also paves the way in the future for Syncoid to find matching snapshots even after
zfs rename on source or target. Thank you Github user @mailinglists35 for the idea!
1.4.10 added --compress=pigz-fast and --compress=pigz-slow. On a Xeon E3-1231v3, pigz-fast is equivalent compression to --compress=gzip but with compressed throughput of 75.2 MiB/s instead of 18.1 MiB/s. pigz-slow is around 5% better compression than compress=gzip with roughly equivalent compressed throughput. Note that pigz-fast produces a whopping 20+% better compression on the test data (a linux boot drive) than lzop does, while still being fast enough to saturate or nearly saturate a real-world gigabit LAN link. The down side: pigz chews through 100% util of all available system threads, if not bottlenecked by the network link speed.
No changes to sanoid, but syncoid gets new features:
--no-stream : this argument tells syncoid to use -i incrementals, not -I. This updates the target with the newest snapshot from the source, without replicating the intermediate snapshots in between. (If used for an initial synchronization, will do a full replication from newest snapshot and exit immediately, rather than starting with the oldest and then doing an immediate -i to the newest.)
--no-sync-snap : this argument tells syncoid to restrict itself to existing snapshots, instead of creating a semi-ephemeral syncoid snapshot at execution time. Especially useful in multi-target (A->B, A->C) replication schemes, where you might otherwise accumulate a large number of foreign syncoid snapshots!
Updated syncoid cipherlist to firstname.lastname@example.org,arcfour - newer SSH found in Ubuntu Xenial, FreeBSD doesn't support arcfour by default ; older SSH versions (Ubuntu Precise?) don't support chacha20.
new: added syncoid mollyguard for new users who try to zfs create a target before replicating to it ; added die pragma to all system calls that didn't already have it in sanoid or syncoid