Skip to content

Instantly share code, notes, and snippets.

@2600box
Forked from deviousway/migrate_debian.txt
Created June 13, 2022 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2600box/6aa02eb6c19edc46636b8e676a078d2f to your computer and use it in GitHub Desktop.
Save 2600box/6aa02eb6c19edc46636b8e676a078d2f 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