GitHub user nickaccuweb added a comment to the discussion: Delete VM with 
backup offering - Cannot expunge

@EduFrazao 

CloudStack prevents the permanent deletion of a VM if it has a backup offering 
with existing backups.

Currently, there is no documented global setting to automatically remove the 
backup offering and associated backups during VM deletion.

As a workaround, you can use the removeVirtualMachineFromBackupOffering API. 
This process can also be automated for multiple VMs. However, care should be 
taken to avoid deleting backups that need to be retained.

Displaying a warning before allowing users to destroy a VM would be a useful 
enhancement to CloudStack.

Could you please confirm your CloudStack version and the backup provider you 
are using? We can then check if a better solution is available.

Regards,
Nick R 
AccuWeb.Cloud

GitHub link: 
https://github.com/apache/cloudstack/discussions/14893#discussioncomment-20018771

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to