Quantcast
Channel: VMware Communities : Discussion List - ESXi
Viewing all articles
Browse latest Browse all 8132

Identifiy Snapshot ID to use in snapshot.revert

$
0
0

OK

 

Given the following snapshot tree:

 

~ # vim-cmd vmsvc/snapshot.get 101

Get Snapshot:

|-ROOT

--Snapshot Name        : SS_0_0

--Snapshot Desciption  :

--Snapshot Created On  : 9/1/2014 14:55:0

--Snapshot State       : powered off

--|-CHILD

----Snapshot Name        : SS_0_1

----Snapshot Desciption  :

----Snapshot Created On  : 11/25/2014 17:22:45

----Snapshot State       : powered off

----|-CHILD

------Snapshot Name        : SS_0_2

------Snapshot Desciption  :

------Snapshot Created On  : 1/28/2015 13:38:9

------Snapshot State       : powered off

------|-CHILD

--------Snapshot Name        : SS_0_3

--------Snapshot Desciption  :

--------Snapshot Created On  : 3/2/2015 12:12:54

--------Snapshot State       : powered off

--------|-CHILD

----------Snapshot Name        : SS_0_4

----------Snapshot Desciption  :

----------Snapshot Created On  : 4/2/2015 8:16:12

----------Snapshot State       : powered off

------|-CHILD

--------Snapshot Name        : <<WHAT SNAPSHOT IS THIS??>>

--------Snapshot Desciption  :

--------Snapshot Created On  : 4/2/2015 10:5:27

--------Snapshot State       : powered off

 

I am trying to identify what the ID of the last snapshot is so I can use it in the following command:


vim-cmd vmsvc/snapshot.revert 101 0 5;


No matter what numbers I use, I can't seem to figure out what to use as the 2 values after 101


Cheers for any help as this has stumped me.


Duncs


Viewing all articles
Browse latest Browse all 8132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>