Scroll to navigation

SYNCOID(8) System Administration Utilities SYNCOID(8)

NAME

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

DESCRIPTION

Usage:

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.
Replicates using newest snapshot instead of intermediates
Does not create new snapshot, only transfers existing
Creates a zfs bookmark for the newest snapshot on the source after replication succeeds (only works with --no-sync-snap)
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 filterd 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 filterd 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
November 2019 syncoid 2.0.3