大网数据广告活动
服务器运维问答

How does Azure Backup backup running VMs?

· 52CE 我爱测

We are planning on implementing Azure Backup backups of our VMs but I'm struggling to find any documentation that clearly states how the backups are taken? I see snapshots are being taken but how does Azure Backup backup VMs with…

问题原文

原帖链接 · Tessaract · CC BY-SA 4.0

We are planning on implementing Azure Backup backups of our VMs but I'm struggling to find any documentation that clearly states how the backups are taken?

I see snapshots are being taken but how does Azure Backup backup VMs without shutting them down? If a machine is in the process of writing files or changing settings how/at what point will the backup be taken if it isn't being shutdown?

已采纳解答

原帖链接 · Massimo · CC BY-SA 4.0

It's the same technology used across all Windows systems and applications; it's called "Volume Shadow Copy".
https://en.wikipedia.org/wiki/Shadow_Copy

Here's a brief summary:

  • All applications that perform disk I/O tell the OS "hey, I'm doing I/O, please warn me when a backup is performed".
  • The OS takes notes about all VSS-aware applications.
  • An application wants to perform a backup and tells the OS "hey, please stop for a moment, I'm going to take a snapshot".
  • The OS tells to all VSS-aware applications to please stop doing I/O for a moment.
  • All VSS aware applications commit their I/O to disk and stop for a moment.
  • The OS takes a disk snapshot; this is consistent because all applications agreed to stop I/O for a moment.
  • The OS tells everyone "ok, you can resume working now".
  • The OS sends the frozen-in-time snapshot to the application which requested it.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2022-11-13)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。