Greetings.
I have single pool/single storage TrueNAS Core installation with several SMB shares. Is there a way to make/schedule a SMB shares replications or TrueNAS/ZFS offers dataset replication only? I'm yet new to TrueNAS, be kind to me :)
UPDATE: No, you cannot replicate individual share unless each share situated within it's own dataset. In order to sync directory contents of
SMB shares, one would want following command:
Mind the trailing
I have single pool/single storage TrueNAS Core installation with several SMB shares. Is there a way to make/schedule a SMB shares replications or TrueNAS/ZFS offers dataset replication only? I'm yet new to TrueNAS, be kind to me :)
UPDATE: No, you cannot replicate individual share unless each share situated within it's own dataset. In order to sync directory contents of
SMB shares, one would want following command:
rsync --stats --progress -A -a -r -v --no-perms /mnt/src/ /mnt/dst
Mind the trailing
/
, it tells rsync to copy everything INSIDE your /mnt/src/
, not /mnt/src
itself.
Last edited: