问题描述
使用gcloud,可以为您的实例创建差异快照,因此您可以节省空间,而不必一直创建完整的快照.
With gcloud it is possible to create differential snapshots of your instances, so you can save space and do not need to create full snapshots all the time.
https://cloud.google.com/compute/docs/disks#snapshots
我检查了 GCE API参考,但没有源快照的参数.
I checked the GCE API reference and there is no parameter for source snapshot.
是否可以使用API创建差异快照?
Is there any way to use the API to create a differential Snapshot?
推荐答案
没有用于请求差异快照的特定API.差异快照是在第一个完整快照之后自动拍摄的.您无需记住要使用哪个源快照,也不必担心使用正确的参数进行调用以从差异快照中受益.这一切都会自动照顾您.
There is no specific API to request differential snapshot. Differential snapshots are automatically taken after the first full snapshot. You don't need to remember which source snapshot to use and you don't need to worry about making the call with the right parameters to benefit from differential snapshots. It's all taken care for you automatically.
干杯,Fabricio.
Cheers,Fabricio.
这篇关于GCE API用于差异快照的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!