Skip to content

Instantly share code, notes, and snippets.

@Phasip
Created December 10, 2019 06:29
Show Gist options
  • Save Phasip/db51e2e53b86b40d09ee61f3198e92d7 to your computer and use it in GitHub Desktop.
Save Phasip/db51e2e53b86b40d09ee61f3198e92d7 to your computer and use it in GitHub Desktop.
for uuid in $(xe vm-list | awk '{ if ($0 ~/uuid/ ) print $5}' ); do xe vm-export vm=$uuid filename=$uuid.xenbackup; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment