ZFS Snapshot replication to TrueNAS

VucanRidr

New Member

Reaction score: 4
Messages: 18

I am trying to set up pull replication from my snapshots on my FreeBSD 13-RELEASE laptop and desktop to my TrueNAS 12.0u4 box. My FreeBSD boxes are using zfstools to make snapshots. So, for instance, on my laptop, I am snapshotting the following datasets:

Code:
NX72003/iocage
NX72003/iocage/download
NX72003/iocage/download/12.0-RELEASE
NX72003/iocage/images
NX72003/iocage/jails
NX72003/iocage/jails/testbox
NX72003/iocage/jails/testbox/root
NX72003/iocage/log
NX72003/iocage/releases
NX72003/iocage/releases/12.0-RELEASE
NX72003/iocage/releases/12.0-RELEASE/root
NX72003/iocage/templates
NX72003/ROOT/12.2-RELEASE-p6_2021-04-14_235722
NX72003/ROOT/default
NX72003/usr/git
NX72003/usr/home
NX72003/usr/ports
NX72003/var/audit
NX72003/var/log
NX72003/var/mail

So is there a way to set up the replication task to point it to NX72003, and have it also pull the other snapshots of the child datasets?

Thanks,
--vr
 

fcorbelli

Active Member

Reaction score: 52
Messages: 167

If i understand what you want to do... Why not?
Make a script into truenas that check (ping) others IP
If active launch (sanoid syncoid for example) the replicas
Crontabbed et voilà
 
Top