...
This tutorial walks you through the process of exporting a given virtual machine.
| Anchor |
|---|
| Validate-virtual-machine |
|---|
| Validate-virtual-machine |
|---|
|
| Anchor |
|---|
| Exportvirtualmachines-Validate-virtual-machine |
|---|
| Exportvirtualmachines-Validate-virtual-machine |
|---|
|
Validate virtual machineFirst, we need to double check if the committed_gb size is lower than 300GB. This can be done by executing the command vss-cli compute vm ls but modifying the output columns with the --columns option as follows:
...
Execute vss-cli compute vm set <name-or-vm-id> cd <unit> --iso client if an ISO image is shown in CD backing.
| Anchor |
|---|
| Export-virtual-machine |
|---|
| Export-virtual-machine |
|---|
|
| Anchor |
|---|
| Exportvirtualmachines-Export-virtual-machine |
|---|
| Exportvirtualmachines-Export-virtual-machine |
|---|
|
Export virtual machineRun vss-cli compute vm set <name-or-vm-id> export to submit an export task. The command does not require any argument or options.
...
| Code Block |
|---|
| language | bash |
|---|
| linenumbers | false |
|---|
|
vss-cli stor ls <vm_name-vm-moref>
files
-------------------------------
2009T-nat-vm-2386/2009T-nat.ovf
2009T-nat-vm-2386/disk-0.vmdk
2009T-nat-vm-2386/disk-1.nvram |
| Anchor |
|---|
| Download-virtual-machine-export |
|---|
| Download-virtual-machine-export |
|---|
|
| Anchor |
|---|
| Exportvirtualmachines-Download-virtual-machine-export |
|---|
| Exportvirtualmachines-Download-virtual-machine-export |
|---|
|
Download virtual machine exportTo download the files you could either go to a web browser and open VSKEY-STOR and sign in, go to the <vm_name-vm_id> folder and download the files or execute vss-cli stor dl <vm_name-vm_id>/<file> as follows:
...