Skip to content

Instantly share code, notes, and snippets.

@deviousway
Created August 4, 2018 20:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save deviousway/43b1298806c82a32ec8a54e091239297 to your computer and use it in GitHub Desktop.
Save deviousway/43b1298806c82a32ec8a54e091239297 to your computer and use it in GitHub Desktop.
migrate debian to debian
rsync -rtvzplogDH --numeric-ids --exclude=/etc/fstab --exclude=/etc/network/* --exclude=/proc/* --exclude=/tmp/* --exclude=/sys/* --exclude=/dev/* --exclude=/mnt/* --exclude=/boot/* /* root@$DESTINATION_HOST:/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment