Skip to content

Instantly share code, notes, and snippets.

@jdupl
Created June 7, 2015 03:22
Show Gist options
  • Save jdupl/b6fafb76d80c7b445f38 to your computer and use it in GitHub Desktop.
Save jdupl/b6fafb76d80c7b445f38 to your computer and use it in GitHub Desktop.
vz to lxc ct host to host migration
rsync -a --exclude=etc/inittab --exclude=etc/network/interfaces --exclude=dev/ --exclude=sys/ --exclude=proc/ "$VZ_CT_PATH" ssh "$HOST:/var/lib/lxc/$LXC_NAME/rootfs/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment