I've having issues running replication, get this error which results in everything failing during initial replication:
INFO: Sending oldest full snapshot data/appdata@2024-01-03-171850 (~ 88 KB) to new target filesystem:
cannot receive new filesystem stream: pool must be upgraded to receive this stream.
warning: cannot send 'data/appdata@2024-01-03-171850': signal received
CRITICAL ERROR: zfs send 'data/appdata'@'2024-01-03-171850' | pv -p -t -e -r -b -s 90224 | zfs receive -F 'nvr/zfs_backups/data_appdata' failed: 256 at /usr/local/sbin/syncoid line 549.
INFO: Sending oldest full snapshot data/appdata/MKVToolNix@2024-01-03-171850 (~ 1.6 MB) to new target filesystem:
cannot open 'nvr/zfs_backups/data_appdata': dataset does not exist
This is the command being used:
/usr/local/sbin/syncoid -r --force-delete --delete-target-snapshots $source_path $destination_path
$source_path is data/appdata, where "data" is the zfs pool and "appdata" is a dataset (with child datasets for each docker)
$destination_path is nvr/zfs_backups/data_appdata, where "nvr" is the zfs pool and "zfs_backups" is the dataset. zfs_backups is empty since this is first time replication.
The full script I'm using is here, it's a greatly simplified/cleaned up version of Space Invader's script:
https://github.com/freeskier93/unraid-zfs-snapshot-replication/blob/main/zfs_snapshot_replication.sh