Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 machine

First, 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 machine

Run 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
languagebash
linenumbersfalse
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 export

To 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:

...