Skip Navigation

ZFS Relication Exclude Directories

Hello all,

I currently have my primary NAS running TrueNAS Scale, and I am adding a second as an off-site backup of my critical data which will also run TrueNAS Scale. I have three datastores at the moment, nextcloud, backups, and media. I want to replicate the entirety of nextcloud and backups, but for media I only want to backup my irreplaceable media. This would be personal photos and videos, but not my collection of Linux isos.

Is it possible to have a ZFS Replication task that excludes certain directories? If not, how would you recommend I approach this?

Thanks!

1
1 comments
  • Put the ISOs in a different dataset from your irreplaceable media, and only snapshot the latter?