Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Go To/Delete Snapshot

Posted on 2016-11-24
10
Medium Priority
?
79 Views
Last Modified: 2016-11-27
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
Comment
Question by:jskfan
  • 5
  • 4
10 Comments
 

Author Comment

by:jskfan
ID: 41900351
probably close out of the SNapshot Manager and go Back will be the work around ?
0
 
LVL 7

Accepted Solution

by:
Andy earned 2000 total points
ID: 41900356
Then 'goto' the latest snapshot and delete all
0
 

Author Comment

by:jskfan
ID: 41900388
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
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
LVL 7

Assisted Solution

by:Andy
Andy earned 2000 total points
ID: 41900411
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
 

Author Comment

by:jskfan
ID: 41900424
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
 
LVL 7

Expert Comment

by:Andy
ID: 41900434
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
 
LVL 7

Assisted Solution

by:Andy
Andy earned 2000 total points
ID: 41900468
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
 

Author Comment

by:jskfan
ID: 41900623
I guess the Confirmation message is the Key:
con
0
 
LVL 124
ID: 41900711
That would be correct.
0
 

Author Closing Comment

by:jskfan
ID: 41903082
Thank you
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question