# snapshot-storage

Create a snapshot of a storage instance and save it as a flexi image. This command allows you to capture the state of a storage instance at a specific point in time and use it as a flexi image for future deployments.

## Usage

```
cldkctl flexi image snapshot-storage [flags]
```

## Aliases

```
snapshot-storage, snapshot-storage
```

## Steps

Follow the steps below to run and view the result of this command:

1. Run the following command in your terminal:

```
cldkctl flexi image snapshot-storage 
```

2. Select the **billing type**.

<figure><img src="/files/wgIyiqCAAur6RjpKdH4T" alt=""><figcaption></figcaption></figure>

3. Select the **storage** for which you want to create the snapshot.
4. Enter the **snapshot name**.
5. Confirm the snapshot creation by selecting **Confirm**.

<figure><img src="/files/TE6yYbsO0A2Nyi6Sw3iX" alt=""><figcaption></figcaption></figure>

6. Once completed successfully, the terminal displays the success message.

<figure><img src="/files/VTBYr8So3F1IRqxqIEOn" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/guidance-for-individual/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}

<table><thead><tr><th width="187.33331298828125">Flag</th><th>Shorthand</th><th>Description</th></tr></thead><tbody><tr><td>--help</td><td>-h</td><td>Help for the snapshot-storage command.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/cloudeka-api-list/command-reference/cldkctl-flexi/image/snapshot-storage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
