Pruning deleted snapshots when using pull replication


Mar 19, 2024
I have a bunch of other systems that create zfs snapshots using zrepl, and I pull those snapshots to my TrueNAS Scale server for backup using a pull replication task. Zrepl on the other systems is configured to prune snapshots in a specific pattern, but on my TrueNAS system, the snapshots that were pruned are not being deleted.

How do I setup the pull task so that if a snapshot no longer exists on the source, that it is also deleted from TrueNAS?

If that's not possible, is it possible to run zrepl on TrueNAS Scale and have it manage the snapshot pulling for me? I couldn't find any guides on how to do that though.