Agentless, cloud-native backup for Microsoft Azure
Post Reply
MattMattMatt
Novice
Posts: 5
Liked: never
Joined: Mar 18, 2020 4:35 pm
Full Name: Matt
Contact:

Deleting snapshots in a locked resouce group.

Post by MattMattMatt »

Hello,

A similar question was asked a while back (veeam-backup-for-azure-f59/disk-snapsho ... 77576.html), but I've not been able to find a more recent answer... Here is the situation:

* I place my Azure VMs into Resource Groups and then lock those groups against deletion.
* I also use Veeam for Azure to take snapshots of them.

...but because the Resource Group is locked, Veeam is unable to delete the snapshots, so they just keep building up! This seems to leave me the tricky decision of either:

* Don't protect my VMs against accidental deletion (or)
* Don't back them up

Am I missing something?

Thanks!
Mildur
Product Manager
Posts: 11262
Liked: 3121 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Deleting snapshots in a locked resouce group.

Post by Mildur » 1 person likes this post

Hi Matt

Sounds right to me. Azure locked resource groups protects the resources against deletion.

As stated in the other post, we will think about it what we can do about it. But there is no ETA yet.

As a workaround, you could use Veeam Agent to protect such VM.

Thanks
Fabian
Product Management Analyst @ Veeam Software
b.vanhaastrecht
Service Provider
Posts: 916
Liked: 173 times
Joined: Aug 26, 2013 7:46 am
Full Name: Bastiaan van Haastrecht
Location: The Netherlands
Contact:

Re: Deleting snapshots in a locked resouce group.

Post by b.vanhaastrecht »

Hi, bumping this. There seem to be no solution implemented for this.

Status: 409 (Conflict)
ErrorCode: ScopeLocked

What can we do about this?
======================================================
Veeam ProPartner, Service Provider and a proud Veeam Legend
Mildur
Product Manager
Posts: 11262
Liked: 3121 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Deleting snapshots in a locked resouce group.

Post by Mildur »

Hi Bastiaan,

When you protect your VM with SLA Policies, you can store snapshots in a different resource group.
I believe this setup should allow you to delete snapshots, as you can apply Resource Locks to the VM resource group while leaving the snapshot resource group unlocked. Unfortunately, I can’t test it myself at the moment.

Best,
Fabian
Product Management Analyst @ Veeam Software
b.vanhaastrecht
Service Provider
Posts: 916
Liked: 173 times
Joined: Aug 26, 2013 7:46 am
Full Name: Bastiaan van Haastrecht
Location: The Netherlands
Contact:

Re: Deleting snapshots in a locked resouce group.

Post by b.vanhaastrecht »

Hi Mildur, thanks, I just found that option to referred in this post: veeam-backup-for-azure-f59/disk-snapsho ... 77576.html

Unfortunately it's only availeble in SLA based policies, that I dont understand. Whats the reason behind this?
======================================================
Veeam ProPartner, Service Provider and a proud Veeam Legend
Vitaliy S.
VP, Product Management
Posts: 27827
Liked: 2957 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Deleting snapshots in a locked resouce group.

Post by Vitaliy S. » 1 person likes this post

Bastiaan, please take a look at my answer to your question in the thread you've referenced.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest