Deleting a version of a cloud snapshot
A cloud volume can have multiple versions of snapshots on the cloud storage. If capacity on the cloud becomes limited, you can delete versions of the volume that are no longer necessary.
Before you delete a version of a snapshot, ensure that no snapshot or restore operations are in progress for the selected volume. In addition, ensure that the connection to the cloud service provider is online, so the deletion can be validated and completed on the cloud storage. Wait until these operations complete before you delete any snapshots that are associated with the volume. Deleting a backup generation (as opposed to canceling an in-progress backup) requires the connection to the cloud account to be available when the task is submitted in order to validate user input before you start an asynchronous delete operation.
Using the management GUI
- In the management GUI, select .
- On the Transparent cloud tiering page, verify that the state of the cloud connection is Online.
- In the management GUI, select .
- Right-click the cloud volumes and Manage Cloud Snapshots.
- Select the version of the snapshot and click Delete. Click Delete all to delete all snapshot versions from the cloud storage.
Using the command-line interface
lsvolumebackupgeneration -volume volume_id_or_name -uid volume_UID
where volume_id_or_name is either the name or ID of the cloud volume and
volume_UID is the unique identifier (UID) for the volume. If you do not know the
UID for the volume, use the lsvdisk command to determine the UID for the volume. This command lists all the snapshot versions for the specified volume by their associated ID and the time stamp from when the snapshot was created on the cloud storage.
rmvolumebackupgeneration -volume volume_id_or_name -uid volume_UID -generation gen_id
where
volume_id_or_name is either the name or ID of the cloud volume,
volume_UID is the unique identifier of the cloud volume, and gen_id is
the identifier of the version of a snapshot that you want to delete.rmvolumebackupgeneration -volume volume_id_or_name -all
where
volume_id_or_name is either the name or ID of the cloud volume.