An Azure backup service that provides built-in management at scale.
Hello @VishalKulkarni-0961
Thanks for reaching out to Microsoft Q&A
Yes, you can take a fully native Azure Backup of a Linux virtual machine while it is running. There is no need to shut the VM down.
Azure Backup uses the VMSnapshotLinux extension (installed automatically on the first backup) to create a snapshot-based backup of the live VM. By default you get a file-system consistent recovery point. If you need application consistency (for databases or other stateful workloads), you simply add lightweight pre- and post-scripts; Azure Backup will then mark the recovery point as application-consistent.
Steps:
- Create (or select) a Recovery Services vault in the same region as the VM.
- Enable backup on the Linux VM and assign a backup policy.
- (Optional) Configure the pre/post scripts if application consistency is required.
- Run an on-demand backup or wait for the scheduled job the VM stays online the whole time.
Official Microsoft documentation that covers exactly this scenario:
- https://learn.microsoft.com/en-us/azure/backup/backup-azure-vms-introduction
- https://learn.microsoft.com/en-us/azure/backup/backup-azure-linux-app-consistent
- https://learn.microsoft.com/en-us/azure/backup/backup-support-matrix
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".