# XenServer - export VM to file

DevFeed: [XenServer - export VM to file](<https://devfeed.tech/articles/xenserver-export-vm-to-file-27638.md>)

Original publisher: [Read original article](<https://gagor.pro/2016/01/xenserver-export-vm-to-file/>)

Author: Tom

Published: 2016-01-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [export](<https://devfeed.tech/topics/export.md>), [file](<https://devfeed.tech/topics/file.md>)

Tags: [backup](<https://devfeed.tech/tags/backup.md>), [export](<https://devfeed.tech/tags/export.md>), [file](<https://devfeed.tech/tags/file.md>), [linux](<https://devfeed.tech/tags/linux.md>), [xen](<https://devfeed.tech/tags/xen.md>)

## AI overview

A brief tutorial shows how to export a VM running on XenServer to an XVA backup file. It demonstrates listing VMs, exporting one with xe vm-export, and using a UUID with xe vm-list.

## Source excerpt

Sometime you need to make quick and dirty image backup of VM running on XenServer and this post is about such case 😃 List machines: xl list Name ID Mem VCPUs State Time(s) Domain-0 0 4066 8 r----- 3526567.3 webfront1.example.com 1 4096 4 r----- 3186487.2 webfront2.example.com 2 2048 2 -b---- 920408.2 Now you may export one: xe vm-export vm=webfront1.example.com filename=/srv/backup/webfront.xva Export succeeded You may also use uuid for that - list machines with xe vm-list (best with less) and then: