vmware-cmd /vmfs/volumes/storage/VM/VM.vmx createsnapshot "name" "description" quiesce memory
This comes up with the error below. *Worked absolutely fine with 3.5*
Traceback (most recent call last):
File "/usr/bin/vmware-cmd", line 88, in ?
main()
File "/usr/bin/vmware-cmd", line 63, in main
operationName, result = CommandProcessor.Process(host, args)
File "/usr/lib/vmware/vmware-cmd/CommandProcessor.py", line 11, in Process
result = operation.DoIt(*processedArgs)
TypeError: DoIt() takes exactly 7 arguments (13 given)
Change the words "quiesce" and "memory" for 1 or 0 (enable or disable).
Marcelo Soares
VMWare Certified Professional 310/410
Technical Support Engineer
Globant Argentina
Consider awarding points for "helpful" and/or "correct" answers.
Change the words "quiesce" and "memory" for 1 or 0 (enable or disable).
Marcelo Soares
VMWare Certified Professional 310/410
Technical Support Engineer
Globant Argentina
Consider awarding points for "helpful" and/or "correct" answers.
This is actually the error message when doing the full command as above
Traceback (most recent call last):
File "/usr/bin/vmware-cmd", line 88, in ?
main()
File "/usr/bin/vmware-cmd", line 63, in main
operationName, result = CommandProcessor.Process(host, args)
File "/usr/lib/vmware/vmware-cmd/CommandProcessor.py", line 11, in Process
result = operation.DoIt(*processedArgs)
File "/usr/lib/vmware/vmware-cmd/operations/SnapshotOps.py", line 87, in DoIt
memory = bool(int(memory))
ValueError: invalid literal for int(): memory
vmware-cmd /vmfs/volumes/storage/VM/VM.vmx createsnapshot "name" "description" 1 1
It worked for me ![]()
Marcelo Soares
VMWare Certified Professional 310/410
Technical Support Engineer
Globant Argentina
Consider awarding points for "helpful" and/or "correct" answers.
super great
