zfs.resource.snapshot.rename ============================ Rename a ZFS snapshot. A validation error is raised when: - the snapshot does not exist - the new name already exists - a supplied path is invalid Examples: Rename a single snapshot: .. code:: json {"current_name": "tank/data@old", "new_name": "tank/data@new"} Rename matching snapshots in child datasets: .. code:: json {"current_name": "tank@old", "new_name": "tank@new", "recursive": true} .. raw:: html
Rename parameters for renaming ZFS snapshots.
No Additional PropertiesCurrent snapshot path (e.g., 'pool/dataset@old_name').
Must be at least 1 characters long
New snapshot path (e.g., 'pool/dataset@new_name').
Must be at least 1 characters long
Recursively rename matching snapshots in child datasets.