create_snapshot
Create a snapshot of a dataset on TrueNAS Core, specifying the dataset path, snapshot name, and optional recursion for nested datasets.
Instructions
Create a snapshot of a dataset
Args:
dataset: Dataset path (e.g., "tank/data")
name: Snapshot name
recursive: Whether to create recursive snapshots
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dataset | Yes | ||
name | Yes | ||
recursive | No |
Input Schema (JSON Schema)
{
"properties": {
"dataset": {
"title": "Dataset",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"recursive": {
"default": false,
"title": "Recursive",
"type": "boolean"
}
},
"required": [
"dataset",
"name"
],
"title": "create_snapshotArguments",
"type": "object"
}