question

Crod-8019 avatar image
1 Vote"
Crod-8019 asked femiAladesuluMSFT-2546 answered

Azure virtual machine backups

Say I stop/deallocate a virtual machine that was on a routine schedule for daily backups with a retention of 28 days, what happens to those back ups once a vm is stopped/deallocated?

In the event all are removed, is there a way to keep the last known good backup for longer retention period?

azure-backup
5 |1600 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.

femiAladesuluMSFT-2546 avatar image
0 Votes"
femiAladesuluMSFT-2546 answered

Hi Crod-8019,

Yes, the same behavior applies to Azure VMs in stopped/deallocated state.

To add: In the event a VM is in the stopped deallocated state, the backups are retained based on the retention range you selected in the backup policy (e.g. 28 days). Once the retention period is over, only the last successful backup snapshot is preserved as the last known recovery point.
There is also a soft delete feature for Azure VM backups that extends the retention period. Backups in soft delete state are kept for 14 additional days at no extra cost.

Also recommend reviewing the content here for relevant details.

10156-backupdelete.png


Hope this helps.



backupdelete.png (84.4 KiB)
5 |1600 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.

SadiqhAhmed-MSFT avatar image
0 Votes"
SadiqhAhmed-MSFT answered Crod-8019 commented

Backups continue to run as per schedule even if the VM is shutdown and it will be retained for 28 days as per retention policy post that all the previous backups will get deleted and the last backup will still exist in the recovery services vault (RSV) as long as the vault is active.

Reference link:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vm-backup-faq#my-vm-is-shut-down-will-an-on-demand-or-a-scheduled-backup-work



Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.
















· 1
5 |1600 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.

As you refer to 'SHUTDOWN' I'M SAYING 'STOPPED - DEALLOCATED' are you saying that this is the same?

0 Votes 0 ·