Snapshots And Templates
Create new snapshot
Find UUID
xe vm-listCreate snapshot
xe vm-snapshot new-name-label="<name>" vm=<vm-uuid>Restore a snapshot
xe snapshot-revert snapshot-uuid=<uuid>List snapshots
xe snapshot-listCreate a template from snapshot
xe snapshot-export-to-template snapshot-uuid=<snapshot-uuid> filename="<name>.xva"  preserve-power-state=falseList SR
xe sr-list name-label=<name>Import template in SR
xe vm-import filename=<name>.xva sr-uuid=<sr-uuid>Find template UUID
xe template-listCreate VM from template
xe vm-install template-uuid=<template-uuid> new-name-label=<new-name>