allanjude / zxfer

A continuation of development on zxfer, a popular script for managing ZFS snapshot replication
BSD 2-Clause "Simplified" License
123 stars 40 forks source link

Where are `zfs create` options created? CHANGED TO: How ignore some source options? #45

Open tim-rohrer opened 5 years ago

tim-rohrer commented 5 years ago

I'm trying to use zxfer with OpenZFS on OS X and have finally figured out that the zfs create command includes options for encryption. As I'm not using encryption, I need those options to not be generated.

Where are the options generated? I'm searching the script, but no luck so far.

tim-rohrer commented 5 years ago

I found where they're generated. Unfortunately, this approach doesn't work with the three encryption options.

allanjude commented 5 years ago

Try the -I flag, which should let you ignore properties you don't want to replicate.