• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 89
  • Last Modified:

Go To/Delete Snapshot

Let s say I have
-VM
  Snapshot11-24-16

If I understand,  if I select   Snapshot11-24-16
  then click on GO TO
 then delete the snapshot
it will not Commit
Correct ?

OK.if that s the case, let s say I click Goto....then I change my mind , I want to delete and Commit.
How can this be done ?

Thanks
0
jskfan
Asked:
jskfan
  • 5
  • 4
3 Solutions
 
jskfanAuthor Commented:
probably close out of the SNapshot Manager and go Back will be the work around ?
0
 
AndyIt ConsultantCommented:
Then 'goto' the latest snapshot and delete all
0
 
jskfanAuthor Commented:
Then 'goto' the latest snapshot and delete all

That 's when you have many snapshots and you want to revert back to the base disk, before even the first snapshot
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
AndyIt ConsultantCommented:
Base
     Snapshot11-24-16
          Snapshot-Other
               You are here
If you delete Snapshot-Other in vSphere Client, Snapshot11-24-16 will become Snapshot-Other but retain its name. By deleting, you are committing the changes you made to Snapshot-Other up to Snapshot11-24-16. If you do not want to do that, you have to 'Go to' Snapshot11-24-16 before making the delete like this:

Base
     Snapshot11-24-16
          You are here
     Snapshot-Other

This behaviour is detailed in this VMware forum post:
http://communities.vmware.com/thread/58030
0
 
jskfanAuthor Commented:
But How do you know if you clicked on Goto or you did not before you click Delete ?

You may think you clicked on Goto, then you click Delete, you will end up committing the change to the base disk.
0
 
AndyIt ConsultantCommented:
You'd have to see if it's shown in a snapshot report.

You could do something like this (change the days as required):

You could do something like this
 
$taskNames = 'CreateSnapshot_Task','RemoveSnapshot_task'
 
Get-VIEvent -Start (Get-Date).AddDays(-2) -MaxSamples ([int]::MaxValue) |
where{$_ -is [VMware.Vim.TaskEvent] -and $taskNames -contains $_.Info.Name} |
Sort-Object -Property CreatedTime |
Select CreatedTime,UserName,
    @{N='VM';E={$_.VM.Name}},
    @{N='Datastore';E={(Get-View -Id $_.Vm.Vm -Property 'Config.Files.SnapshotDirectory').Config.Files.SnapshotDirectory}},
    @{N='Task';E={$_.FullFormattedMessage}}

Open in new window


Source:
https://communities.vmware.com/thread/513431?start=0&tstart=0
0
 
AndyIt ConsultantCommented:
But How do you know if you clicked on Goto or you did not before you click Delete ?
You may think you clicked on Goto, then you click Delete, you will end up committing the change to the base disk.

The snapshot you are currently on will have "You are here" under it.
0
 
jskfanAuthor Commented:
I guess the Confirmation message is the Key:
con
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That would be correct.
0
 
jskfanAuthor Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now