Cancel a backup

You must request a force delete on the backup to cancel it.

About this task

Important
You cannot cancel backups if you use the Red Hat Ceph Storage back end for your backup repository.

Procedure

  1. Access the remote shell for the OpenStackClient pod from your workstation:
    $ oc rsh -n openstack openstackclient
  2. List the backups to obtain the ID or name of the backup you want to cancel:
    $ openstack volume backup list
  3. Cancel the backup:
    # openstack volume backup delete --force <backup>
    • Replace <backup> with the ID or name of the volume backup that you want to cancel.

      There can be a slight delay for the backup to be successfully canceled.

Results

  • The backup is canceled when the backup record is not listed by this command:
    $ openstack volume backup show <backup>
    1. Exit the openstackclient pod:
      $ exit