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