> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-enterprise/cloudeka-api-list/command-reference/cldkctl-flexi/image/backup-scheduler.md).

# backup-scheduler

Create a backup scheduler that is responsible for creating backups of flexi images. This command allows you to set up a backup scheduler to automatically create backups of your flexi images at specified intervals.

## Usage

```
cldkctl flexi image backup-scheduler [flags]
```

## Aliases

```
backup-scheduler, backup-scheduler
```

## 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 backup-scheduler
```

2. Select the **instance** for which you want to create the backup scheduler.
3. Select the **backup time**.
4. Select the **backup duration**.
5. Enter a **backup name**.
6. Confirm the backup scheduler creation by selecting **Confirm**.

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

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

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

## Flags

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

| Flag   | Shorthand | Description                            |
| ------ | --------- | -------------------------------------- |
| --help | -h        | Help for the backup-scheduler command. |
