Hi All
I’m just configuring backups for my TrueNAS Scale primary - the backup is also a TrueNAS Scale system.
I’m a little unsure about the implications of replicating 2 sets of periodic snapshots to the secondary (from a space usage perspective)…
SCENARIO
Consider the two periodic snapshot tasks on the primary:
tank/dataset1, daily, retention 4W
tank/dataset1, monthly, retention 4M
Now, if I want to have say a set of daily snapshots and a set of monthly snapshots available on the backup system - for example
tank2/replica/dataset1, daily, retention 2M
tank2 /replica/dataset1, monthly, 3Y
then I need to create two replication tasks:
one specifying tank/dataset1, daily, retention 4W, and
one specifying tank/dataset1, monthly, retention 4M
QUESTION
- Does this result in two full copies of tank/dataset1 on the backup system? That is
- a copy of /tank/dataset1 from daily snapshots (and subsequent deltas)
- a copy of /tank/dataset1 from monthly snapshots (and subsequent deltas)
Or, does a a singe dataset get created on the backup system for dataset1, with the two replications creating snapshots off this dataset?
Or something else?
My concern here is threefold:
- Choosing a strategy that somehow doubles the amount of space used on the backup vs the primary (ignoring retention times…)
- Making sure I fully understand this before I do it
- Using an approach that is aligned with best practice.
Can anyone help?
Note: the snapshot periodicities, names of datasets are to illustrate the point only.
Thanks
Pete