FrankWard
Explorer
- Joined
- Feb 13, 2023
- Messages
- 71
FYI for anyone else curious... I have a replication task where I have excluded specific child datasets from the parent. It appears that it does not exclude the children of the excluded child datasets, only the datasets specified in the "exclude child dataset" option. I think the tooltip or docs could inform users of this for clarity. It would be nice to have an option to also exclude child datasets of any excluded datasets. I've amended the docs with an idea.
UPDATE:
Goal: Exclude folder within a dataset from replication. Not possible?
Result: The 'Exclude Child Datasets' field will accept any existing folder in a dataset, but unless its an actual dataset it will not be excluded.
Let's say I have a snapshot and replication task for /pool/dataset/ixapplications. Inside the ixapplications we have several other folders. I want to exclude a specific folder (releases), so in both snapshot and replication tasks, under I enter '/pool/dataset/ixapplications/releases' into Exclude Child Datasets field. TrueNAS validates and accepts this entry on save. This led me to believe it would work since if you enter a non-existing folder it will not validate and fail with an error. It will also fail if the entry isn't present in both the snapshot and replication tasks. However, this folder is not excluded and is snapshotted regardless.
Has anyone else messed around with this or have any tips?
Help: Exclude Child Datasets
Exclude specific child dataset snapshots from the replication. Use with Recursive snapshots. List child dataset names to exclude. Separate entries by pressing Enter. Example: pool1/dataset1/child1. A recursive replication of pool1/dataset1 snapshots includes all child dataset snapshots except child1. Any child datasets of the excluded dataset are not recursively excluded (ie- pool1/dataset/child1/toys) and will continue to replicate unless they too are specified in the excluded datasets.
UPDATE:
Goal: Exclude folder within a dataset from replication. Not possible?
Result: The 'Exclude Child Datasets' field will accept any existing folder in a dataset, but unless its an actual dataset it will not be excluded.
Let's say I have a snapshot and replication task for /pool/dataset/ixapplications. Inside the ixapplications we have several other folders. I want to exclude a specific folder (releases), so in both snapshot and replication tasks, under I enter '/pool/dataset/ixapplications/releases' into Exclude Child Datasets field. TrueNAS validates and accepts this entry on save. This led me to believe it would work since if you enter a non-existing folder it will not validate and fail with an error. It will also fail if the entry isn't present in both the snapshot and replication tasks. However, this folder is not excluded and is snapshotted regardless.
Has anyone else messed around with this or have any tips?
Last edited: