The invention discloses a stateless
virtual machine backup method based on snapshots and a storage medium. The stateless
virtual machine backup method comprises the following steps: acquiring a
current mirror chain of each disk of a stateless
virtual machine; judging whether a basic
mirror image of the stateless virtual
machine system disk is stored or not, and if not, storing the basic
mirror image; judging whether the data disk is backed up or not, if yes, obtaining the position of the nearest
backup data in the mirror chain, and performing
incremental backup based on the backup data; if not, carrying out full-quantity backup on the data disk; updating the mirror chain; only the snapshot containing the data disk is allowed to be created in the limited startup state, and management data of the stateless virtual
machine startup snapshot always points to the top end of a corresponding data disk mirror chain; while the restarted or shut-down
system disk is ensured to be automatically restored, the full-amount and
incremental backup of other disks of the stateless virtual
machine is realized, and the influence of restoration is avoided.