pool.snapshot.create¶
Take a snapshot from a given dataset.
No Additional Items
Tuple Validation
Parameter 1: data
data
Configuration for creating a snapshot with either an explicit name or naming schema.
PoolSnapshotCreateWithName
Type: objectNo Additional Properties
Dataset
Type: stringName of the dataset to create a snapshot of.
Must be at least 1
characters long
Recursive
Type: boolean Default: falseWhether to recursively snapshot child datasets.
Exclude
Type: array of string Default: []Array of dataset patterns to exclude from recursive snapshots.
No Additional ItemsEach item of this array must be:
Vmware Sync
Type: boolean Default: falseWhether to sync VMware VMs before taking the snapshot.
Properties
Type: object Default: {}Object mapping ZFS property names to values to set on the snapshot.
Name
Type: stringExplicit name for the snapshot.
Must be at least 1
characters long
PoolSnapshotCreateWithSchema
Type: objectNo Additional Properties
Dataset
Type: stringName of the dataset to create a snapshot of.
Must be at least 1
characters long
Recursive
Type: boolean Default: falseWhether to recursively snapshot child datasets.
Exclude
Type: array of string Default: []Array of dataset patterns to exclude from recursive snapshots.
No Additional ItemsEach item of this array must be:
Vmware Sync
Type: boolean Default: falseWhether to sync VMware VMs before taking the snapshot.
Properties
Type: object Default: {}Object mapping ZFS property names to values to set on the snapshot.
Naming Schema
Type: stringNaming schema pattern to generate the snapshot name automatically.
Must be at least 1
characters long
PoolSnapshotCreateUpdateEntry
Type: objectInformation about the newly created snapshot.
No Additional PropertiesId
Type: stringFull snapshot identifier including dataset and snapshot name.
Properties
Type: objectObject mapping ZFS property names to their values and metadata.
Each additional property must conform to the following schema
PoolSnapshotEntryPropertyFields
Type: objectNo Additional Properties
Value
Type: stringCurrent effective value of the ZFS property as a string.
Rawvalue
Type: stringRaw string value of the ZFS property as stored.
Source
Type: enum (of string)Source of the property value.
NONE
: Property is not setDEFAULT
: Using ZFS default valueLOCAL
: Set locally on this snapshotTEMPORARY
: Temporary override valueINHERITED
: Inherited from parent datasetRECEIVED
: Set by ZFS receive operation
Must be one of:
- "NONE"
- "DEFAULT"
- "LOCAL"
- "TEMPORARY"
- "INHERITED"
- "RECEIVED"
Parsed
Type: objectProperty value parsed into the appropriate type (string, boolean, integer, etc.).
Pool
Type: stringName of the ZFS pool containing this snapshot.
Name
Type: stringFull name of the snapshot including dataset path.
Type
Type: constType identifier indicating this is a ZFS snapshot.
Must be one of:
- "SNAPSHOT"
"SNAPSHOT"
Snapshot Name
Type: stringJust the snapshot name portion without the dataset path.
Dataset
Type: stringName of the dataset this snapshot was taken from.
Createtxg
Type: stringTransaction group ID when the snapshot was created.
Required roles: SNAPSHOT_WRITE