Skip to content

Instantly share code, notes, and snippets.

@mowings
Created August 14, 2014 17:48
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mowings/97d9738290489e31bf33 to your computer and use it in GitHub Desktop.
Save mowings/97d9738290489e31bf33 to your computer and use it in GitHub Desktop.
rsync all lxc containers in a directory from one host to another host intact
rsync --progress --numeric-ids -avz --delete --rsync-path="sudo rsync" /mnt/lxc/ user@host:/mnt/lxc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment