How to create and rotate Automatic Snapshot?

前端 未结 10 2070
梦如初夏
梦如初夏 2020-12-14 08:33

On Compute Engine we can do Snapshots, which are basically backups. Could you try to figure out how we could create a script to do automated snapshots every day and keep lik

10条回答
  •  不知归路
    2020-12-14 09:04

    Also, at the time of writing this, Windows instances support Volume Shadow Copy Service (VSS), but Linux instances do not.

    Hence, you can safely snapshot Windows drives whilst the instance is running using the --guest-flush switch, but not so for Linux drives.

    Prior to snapshotting Linux drives, you will need some other mechanism to prepare it for snapshotting i.e. freeze the drive, detach the drive or poweroff the instance.

提交回复
热议问题