RedditPP Mascot

RedditPP

r/truenas • … • u/Self_Reddicated

Help with Replicate for backup purposes

I'm trying to wrap my head around how replicate works and the best way to use it for backing up a dataset. I have an apps server with all of my Immich data under one top-level dataset. (Newest version of Truenas Scale, though I'm not sure it matters in this case since I'm really just puzzling about ZFS concepts and best practices)

If I replicate that dataset (recursive, to as to also capture the child datasets) to my NAS machine, does it automatically include the snapshots of the dataset? Is that a separate option?

1) If it does automatically include the snapshots, would it be prudent to NOT snapshot the resultant dataset on the NAS machine so as not to waste resources?

2) If it does not automatically include the snapshots, is it preferable to force it to include the snapshots in the replicate task? Or, rather, to snapshot the resultant dataset on the NAS machine?

To be clear, I have other datasets I wish to use the replicate function with and will eventally set up an automatic backup of my NAS machine using ZFS replicate, so I'd really like to understand this better. For now, my Immich datasets are the priority.

— 0