> 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/panduan-untuk-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="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-935811ceb523b2bfeb77209e870db967f7530294%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-3e30b6405310cdf62b261294556ac500faca394d%2Fimage.jpg?alt=media" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/panduan-untuk-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. |
