# 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://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F6PExvA2L07J62P1rvg7L%2Fimage.png?alt=media&#x26;token=0ab67014-3a5a-4332-8cea-43971baf2287" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F9UviFll9ijkg9z1ipgN4%2Fimage.png?alt=media&#x26;token=e5a85bb2-cc97-4f60-94fb-a15691559f0b" alt=""><figcaption></figcaption></figure>

## 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 backup-scheduler command. |
