zfs.resource.snapshot.hold ========================== Create a hold on a ZFS snapshot. A hold prevents a snapshot from being destroyed. Multiple holds can be placed on a snapshot with different tags. A validation error is raised when: - the snapshot does not exist - the hold cannot be created Examples: Hold a snapshot: .. code:: json {"path": "tank/data@backup"} Hold with a custom tag: .. code:: json {"path": "tank/data@backup", "tag": "replication"} Hold matching snapshots in child datasets: .. code:: json {"path": "tank@backup", "recursive": true} .. raw:: html
Hold parameters for holding ZFS snapshots.
No Additional PropertiesSnapshot path to hold (e.g., 'pool/dataset@snapshot').
Must be at least 1 characters long
Hold tag name to apply.
Apply hold recursively to matching snapshots in child datasets.