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 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:

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:

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.

Last updated