Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

AlloyDB orphaned backups

After deleting a cluster I have 13 automatically created backups. I see the button restore but I don't see any way how to delete those backups. Is it any way to clear them up? I am posting here since we don't have a dedicated stream for AlloyDB

0 2 371
2 REPLIES 2

You should be able to delete those backups with the Cloud CLI; for example,

gcloud beta alloydb backups delete [backupID] --region=[region] --project=[project_id]

Please see 

JMTL
New Member

I had similar problem when trying to delete backups of a deleted cluster using the CLI.

The gcloud cli returned:

ERROR: (gcloud.alloydb.backups.delete) NOT_FOUND: Resource 'projects/REDACTED/locations/us-central1/clusters/alloynadev1' was not found

The way to get around this error for me was to recreate a cluster with the same name as the one that the error refer to, in my case alloynadev1. Once the recreated cluster is starting up the drop commands worked.