zfs.resource.snapshot.clone =========================== Clone a ZFS snapshot to create a new dataset. A validation error is raised when: - the source snapshot does not exist - the destination dataset already exists - the source is not a snapshot A filesystem clone that cannot be mounted is kept, and the error names it. Examples: Clone a snapshot to a new dataset: .. code:: json {"snapshot": "tank/data@backup", "dataset": "tank/data_clone"} Clone with properties: .. code:: json { "snapshot": "tank/data@backup", "dataset": "tank/data_clone", "properties": {"compression": "lz4", "quota": "10G"} } .. raw:: html
Clone parameters for cloning ZFS snapshots.
No Additional PropertiesSource snapshot path to clone (e.g., 'pool/dataset@snapshot').
Must be at least 1 characters long
Destination dataset path for the clone (e.g., 'pool/clone').
Must be at least 1 characters long
ZFS properties to set on the cloned dataset.
Each additional property must conform to the following schema
Do not mount the clone after creating it. Volume clones are never mounted.