更改时自动创建快照 [英] Automatically creating snapshots on change

查看:73
本文介绍了更改时自动创建快照的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我已经设置了存储帐户,并在其中设置了一个带有blob存储的容器.

I've got a storage account setup, and a container within that with blob storage.

我正在将Terraform状态文件推送到此远程存储区域.

I'm pushing up a terraform state file to this remote storage area.

真正的煮饭是,如果在我更新文件之前拍摄了文件的快照.

What would be really cook is if a snapshot of the file were taken just prior to me updating it.

有人对我如何自动完成此操作有任何建议吗?

Does anyone have any suggestions on how I could accomplish this automatically?

预先感谢

V

推荐答案

您需要编写自己的自定义代码来实现此方案.

参考: https://docs.microsoft.com/zh-cn/rest/api/storageservices/snapshot-blob

Refer : https://docs.microsoft.com/en-us/rest/api/storageservices/snapshot-blob

This link shows the automatic snapshot creation of managed disk .



这篇关于更改时自动创建快照的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆