# How to create an incremental backup using CLI?

To create an incremental backup using CLI, please follow the below steps:

**Step 1:** Please refer to this [tutorial](https://customer.acecloudhosting.com/index.php?rp=/knowledgebase/92/Make-OpenStack-accessible-through-CLI..html) till step 6 to access your OpenStack through CLI.

**Step 2:** Use the below-mentioned commands in OpenStack client to create a full backup of the instance.

```
openstack volume backup create <Volume ID> --force
```

*Please refer to the below screenshot:*

<figure><img src="http://customer.acecloudhosting.com/index.php?rp=/images/kb/522_MicrosoftTeams-image-10.png" alt=""><figcaption></figcaption></figure>

**Step 3:** Run the below command to generate an incremental backup for your instance.

```
openstack volume backup create <Volume ID> --force --incremental
```

*Please refer to the below screenshot:*

<figure><img src="http://customer.acecloudhosting.com/index.php?rp=/images/kb/523_MicrosoftTeams-image-12.png" alt=""><figcaption></figcaption></figure>

You can use these commands with cron to set up a frequent backup. We will provide you with a script for this purpose shortly, with all the required functions.


---

# Agent Instructions: 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.acecloud.ai/knowledge-base/tutorials/how-to-create-an-incremental-backup-using-cli.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.
