question

sajjadali-2433 avatar image
0 Votes"
sajjadali-2433 asked ·

What will happen to on-demand backup if I Stop backup and choose "Delete the backup data" option

Hi

My question is that I would like to keep the backup of the VM after deleting for 1 year.

I have taken on demand backup and select the date of next year for retention, now I want to stop the Backup and choose the "Delete backup data", will this keep my on demand backup for 1 year or will it delete within 14 days?

your answer is very much appreciated.

azure-backup
· 4
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks @SadiqhAhmed-MSFT for your reply.

Yes I can stop the backup with retention “keep backup and data”, but this will keep the backup forever but I want to keep it for 1 year, this is because we have 1000’s of VMs and it will be too much work to delete manually, this is the policy that client wants, they want to keep one backup of every deleted VM and keep it for 1 year and then auto delete the backup after 1 year.

I can just delete the VM without stopping backup and run on-demand backup to keep it for 1 year but it will also keep the last backup forever.

Is there anyway where we stop the backup and take a snapshot for 1 year and after one year the Backup is automatically deleted?

Thanks

0 Votes 0 ·

@sajjadali-2433 The delete data is at vault level and no exceptions for ad-hoc backup RPs.

0 Votes 0 ·

Thanks Sadiq, what I am trying to find is that is there any way where the data would delete automatically without manual deletion?

We are deleting Vm and want to keep backup for 1 year.

What we trying to achieve that after one year the data should delete automatically because there will be a lot of Vms deleted during the year, so manual intervention will be very time consuming.

I am looking foreword to hear from you.

Thanks

0 Votes 0 ·
Show more comments

1 Answer

SadiqhAhmed-MSFT avatar image
0 Votes"
SadiqhAhmed-MSFT answered ·

@sajjadali-2433 Thank you for your post!

The option "Delete backup data" will delete the backed up data from the vault if soft delete is not enabled. If soft delete is enabled and you proceed with "Delete backup data" it will delete the data after 14 days. More details are covered here - https://docs.microsoft.com/en-us/azure/backup/soft-delete-virtual-machines#soft-delete-for-vms-using-azure-portal

Now that your requirement is to stop VM backup and retain data for 1 year, you can stop protection for the VM in question and retain data as long as you want it to be in Azure. Here is the guidance for - Stop protection and retain backup data

Hope this clarifies!


If the response helped, do "Accept Answer" and up-vote it




·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.