Sanoid and syncoid tweaks

This directory holds sanoid and syncoid scripts from version 2.3.0 of the github source. The original scripts have ".orig" as the extension. I've included minor patches.

I tweaked the date format to NOT include colons in the time (i.e., HMS instead of H:M:S) since that can result in directory name mangling on Winders systems. I also reformatted the perldoc "Options" in syncoid to be a bit more readable.

NOTE: I didn't run syncoid since I have my own snapshot setup, and I used the --readonly option to show what would be done.

To apply the patches to your own version:

- cd to the directory containing sanoid and syncoid

- run these commands:
    patch -b -p0 < sanoid-patch.txt
    patch -b -p0 < syncoid-patch.txt

Old sanoid behavior

me% ./sanoid --cron --verbose --readonly --cache-dir=/tmp/cache \
    --run-dir=/tmp/run --configdir=/usr/local/etc/sanoid
INFO: taking snapshots...
taking snapshot zroot/home@autosnap_2025-12-04_03:49:45_monthly (zfs recursive)
taking snapshot zroot/home@autosnap_2025-12-04_03:49:45_daily (zfs recursive)
taking snapshot zroot/home@autosnap_2025-12-04_03:49:45_hourly (zfs recursive)
INFO: pruning snapshots...

New sanoid behavior

me% ./sanoid --cron --verbose --readonly --cache-dir=/tmp/cache \
    --run-dir=/tmp/run --configdir=/usr/local/etc/sanoid
INFO: taking snapshots...
taking snapshot zroot/home@autosnap_2025-12-04_034945_monthly (zfs recursive)
taking snapshot zroot/home@autosnap_2025-12-04_034945_daily (zfs recursive)
taking snapshot zroot/home@autosnap_2025-12-04_034945_hourly (zfs recursive)
INFO: pruning snapshots...

Any resulting bugs or misbehavior are mine, not the original author's.

 Name Last modified Size Description
[DIR] Parent Directory - -
[TXT] sanoid 04-Dec-2025 04:59:48 61k ZFS snapshot management and replication tool (patched version)
[TXT] sanoid-patch.txt 04-Dec-2025 04:29:37 1k Patch for sanoid script
[TXT] sanoid.orig 11-Jun-2025 08:10:52 61k ZFS snapshot management and replication tool (original)
[TXT] syncoid 04-Dec-2025 05:00:05 82k ZFS snapshot replication tool (patched version)
[TXT] syncoid-patch.txt 04-Dec-2025 04:29:26 9k Patch for syncoid script
[TXT] syncoid.orig 11-Jun-2025 08:10:52 82k ZFS snapshot replication tool (original)