问题原文
原帖链接 · 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.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
