Issue:
The vcbSnapShot syntax as specified is a little cryptic.
vcbSnapShot -h <url> -u <username> [-p <password>] [<verbosity>] <command>
<url> := <hostname>[":"<port>]
<command> := <create>|<find>|<list>|<delete>
<verbosity> := -L (0-6)
<create> := -c <VmId> <SnapshotName> [<Description>]
<find> := -f <VmId> <SnapshotName>
<list> := -l <VmId> <SsId>
<delete> := -d <VmId> <SsId>
<VmId> := "moref:"<Sdk-MoRef>
<SsId> := "ssid:"<Sdk-MoRef>
More Information:
How to find MoRef ID given the VM Name, DNS Name, or IP Address
Use the following information and example to better understand how to use vcbSnapShot
SSID: is the SnapShot ID and can be determined using the find syntax. The SSID is always in the format
SsId:snapshot-####
Find SnapShot by MoRef and SnapShot Name
vcbSnapShot -h vc-servername -u username -p password -f moref:moref-id snap-name
Create SnapShot
vcbSnapShot -h vc-servername -u username -p password -c moref:moref-id snap-name desc
Delete Snapshot
vcbSnapShot -h vc-servername -u username -p password -d moref:moref-id ssid:snapshot-####
List SnapShot Name given SSID
vcbSnapShot -h vc-servername -u username -p password -l moref:moref-id ssid:snapshot-####
Article ID: 199, Created On: 9/17/2011, Modified: 9/17/2011
Free Registration
Browse KB
View latest news items
Search KB
Recent Articles
Downloads
Script Library