---
title: "ezgh compute snapshots create"
description: "Snapshot a volume."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute snapshots create

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute snapshots create <name> --volume <volume> [--tag k=v…] [flags]
```

Take a crash-consistent snapshot of a volume (ID, UUID or name), attached or not. It's asynchronous: the snapshot is creating until its CreateSnapshot operation finishes. Restore it with `ezgh compute volumes create <name> --snapshot <snapshot>`.

Part of [`ezgh compute snapshots`](/cli/reference/compute-snapshots).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--tag` | string, repeatable |  | a tag, key=value (repeat) |
| `--volume` | string |  | the volume to snapshot (ID, UUID or name) |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/compute-snapshots-create/index.mdx
