The documentation states that gcutil
addsnapshot
will create a new snapshot.
My question is: If a snapshot with the same name already exists, will it replace that snapshot?
The documentation states that gcutil
addsnapshot
will create a new snapshot.
My question is: If a snapshot with the same name already exists, will it replace that snapshot?
Although this is an old case, I'll try to answer it:
No, it won't replace that snapshot. The snapshot cannot be updated. You need to choose another name or you will get the following error message:
ERROR: RESOURCE_ALREADY_EXISTS: The resource 'projects/<project>/global/snapshots/<snapshot>' already exists
Regarding your questions in the comment, new snapshots are created based on previous snapshots.
I'm not totally sure but I think that you are charged for the number of GB you see in the Developers Console in the 'SIZE' column. Right now, every GB costs $0.124 per month as you can see at https://cloud.google.com/compute/#pricing
Regards