# sync

Sync a specific flexi storage by its instance ID.

## Usage

```
cldkctl flexi-storage sync [flags]
```

## Aliases

```
sync, sync
```

## Steps

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

1. Refer to the [**Flexi Storage List**](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-flexi-storage/list) section to obtain the **storage ID**.
2. Run the following command in your terminal:

```
cldkctl flexi-storage sync [storage_id] 
```

3. Replace **\[storage\_id]** with the actual storage ID.
4. Once completed successfully, the terminal displays the success message.

## Flags

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

| Flag                  | Description                       |
| --------------------- | --------------------------------- |
| -h, --help            | Help for the sync command.        |
| -i, --instance string | Instance ID for filtering storage |
| -p, --project string  | Project ID for filtering storage  |
