You are here: Supporting Documents > everRun Command Line Interface Reference > AVCLI Command Descriptions > vm-snapshot-export

vm-snapshot-export

Usage

avcli vm-snapshot-export [--wait][--silent][--volumes volumes | --no-data] --path pathname snapshot

Description

The vm-snapshot-export command exports a VM in OVF/VHD format to the directory specified by pathname. The command first exports VHD files, followed by the OVF file. When the OVF file appears in pathname, the export is complete.
Note: Before you can start an export, you must mount a target Windows/CIFS or NFS share (from another system) in the everRun host operating system. For details, see Exporting a Snapshot.

Options

--wait Wait for the export operation to complete. Specify this option to view the export progress.
--silent Suppress progress output.
--volumes volumes Restrict the exported volumes to those specified; otherwise, all volumes will be created. Specify volumes by configuration name or ID, boot volume first. You cannot specify this option with the --no-data option.
--no-data Do not include any volumes in the exported snapshot. You cannot specify this option with the --volumes option.
--path pathname A pathname relative to the export mount point to where the exported OVF is written.
snapshot The name of the snapshot to export.

Examples

Export a snapshot with all captured volumes:

$ avcli vm-snapshot-export --path exports/ex1 ex1

Export a snapshot without any volume data:

$ avcli vm-snapshot-export --no-data --path exports/ex1 ex1

Export a snapshot with just one captured volume:

$ avcli vm-snapshot-export --volumes boot-ex1 --path exports/ex1 ex1
of