DOKK / manpages / debian 12 / sanoid / syncoid.8.en
SYNCOID(8) System Administration Utilities SYNCOID(8)

syncoid - a tool to facilitates the asynchronous incremental replication of ZFS filesystems.

syncoid [options]... SOURCE TARGET or syncoid [options]... SOURCE [[USER]@]HOST:TARGET or syncoid [options]... [[USER]@]HOST:SOURCE TARGET or syncoid [options]... [[USER]@]HOST:SOURCE [[USER]@]HOST:TARGET
Source ZFS dataset. Can be either local or remote
Target ZFS dataset. Can be either local or remote
Options:
Compresses data during transfer. Currently accepted options are gzip, pigz-fast, pigz-slow, zstd-fast, zstd-slow, lz4, xz, lzo (default) & none
Extra identifier which is included in the snapshot name. Can be used for replicating to multiple targets.
Also transfers child datasets
Skips syncing of the parent dataset. Does nothing without '--recursive' option.
Bandwidth limit in bytes/kbytes/etc per second on the source transfer
Bandwidth limit in bytes/kbytes/etc per second on the target transfer
Specify the mbuffer size (default: 16M), please refer to mbuffer(1) manual page.
Configure how pv displays the progress bar, default '-p -t -e -r -b'
Replicates using newest snapshot instead of intermediates
Does not create new snapshot, only transfers existing
Don't destroy created sync snapshots
Creates a zfs bookmark for the newest snapshot on the source after replication succeeds (only works with --no-sync-snap)

--preserve-recordsize Preserves the recordsize on initial sends to the target

Does not rollback clones on target
Does not rollback clones or snapshots on target (it probably requires a readonly target)
Exclude specific datasets which match the given regular expression. Can be specified multiple times

--sendoptions=OPTIONS Use advanced options for zfs send (the arguments are filtered as needed), e.g. syncoid --sendoptions="Lc e" sets zfs send -L -c -e ...

--recvoptions=OPTIONS Use advanced options for zfs receive (the arguments are filtered as needed), e.g. syncoid --recvoptions="ux recordsize o compression=lz4" sets zfs receive -u -x recordsize -o compression=lz4 ...

Specifies a ssh key to use to connect
Connects to remote on a particular port
Passes CIPHER to ssh to use a particular cipher set
Passes OPTION to ssh for remote usage. Can be specified multiple times
Prints this helptext
Prints the version number
Prints out a lot of additional information during a syncoid run
Currently does nothing
Suppresses non-error output
Dumps a list of snapshots during the run
Do not check command existence before attempting transfer. Not recommended
Don't use the ZFS resume feature if available
Don't try to recreate clones on target
Bypass the root check, for use with ZFS permission delegation
Remove target datasets recursively, if there are no matching snapshots/bookmarks
October 2021 syncoid version 2.1.0