Snapshots¶
Manage Microsoft Fabric Data Warehouse snapshots.
Targets: Data Warehouse only
CLI¶
snapshots create¶
Targets: Data Warehouse only
Create a new snapshot for a warehouse. Optionally pin it to a specific point in time.
Synopsis
| Option | Description |
|---|---|
--description TEXT |
Optional description. |
--snapshot-dt TEXT |
Optional snapshot datetime (ISO 8601, UTC). Defaults to the current timestamp. |
Example
snapshots delete¶
Targets: Data Warehouse only
Delete a snapshot. You will be asked to confirm unless --yes is passed.
Synopsis
Example
snapshots list¶
Targets: Data Warehouse only
List all snapshots for a warehouse.
Synopsis
Example
displayName id createdTime
---------------- ------------ ---------------------
snap-2026-06-01 d1e2... 2026-06-01T00:00:00Z
snapshots rename¶
Targets: Data Warehouse only
Rename a snapshot and optionally update its description.
Synopsis
| Option | Description |
|---|---|
--description TEXT |
Optional new description. |
Example
snapshots roll¶
Targets: Data Warehouse only
Roll a snapshot on a warehouse to a new timestamp. SNAPSHOT_NAME must be the display name of the snapshot database. The warehouse and workspace are resolved via the usual precedence rules.
Synopsis
| Option | Description |
|---|---|
--at TEXT |
Target datetime (ISO 8601, UTC). Defaults to CURRENT_TIMESTAMP. |
Example
MCP tools¶
create_snapshot¶
Targets: Data Warehouse only
Create a new warehouse snapshot.
Parameters:
workspace(str) — workspace name or GUID.warehouse(str) — warehouse name or GUID.name(str) — display name for the new snapshot.description(str | null, optional) — optional description.snapshot_dt(str | null, optional) — ISO-8601 datetime string for the snapshot point-in-time; defaults to the current timestamp when omitted.
Returns: WarehouseSnapshot — the newly-created snapshot object.
delete_snapshot¶
Targets: Data Warehouse only
Delete a warehouse snapshot.
Parameters:
workspace(str) — workspace name or GUID.snapshot(str) — snapshot name or GUID.
Returns: { "deleted": true, "snapshot_id": str } — confirmation with the snapshot GUID.
list_snapshots¶
Targets: Data Warehouse only
Return all snapshots belonging to a warehouse.
Parameters:
workspace(str) — workspace name or GUID.warehouse(str) — warehouse name or GUID.
Returns: list[WarehouseSnapshot] — array of snapshot objects, each with id, displayName, parentWarehouseId, and snapshotDateTime.
rename_snapshot¶
Targets: Data Warehouse only
Rename a warehouse snapshot and optionally update its description.
Parameters:
workspace(str) — workspace name or GUID.snapshot(str) — snapshot name or GUID.new_name(str) — new display name.description(str | null, optional) — new description; omit to leave unchanged.
Returns: WarehouseSnapshot — the updated snapshot object.
roll_snapshot_timestamp¶
Targets: Data Warehouse only
Roll a snapshot's timestamp forward, or reset it to the current time.
Parameters:
workspace(str) — workspace name or GUID.warehouse(str) — parent warehouse name or GUID (used for the SQL connection).snapshot_name(str) — the snapshot database name to roll.new_dt(str | null, optional) — target ISO-8601 datetime string; defaults toCURRENT_TIMESTAMPwhen omitted.
Returns: { "rolled": true, "snapshot_name": str, "new_dt": str | null } — confirmation with the snapshot name and the target datetime.