Created
March 11, 2022 08:17
-
-
Save dasgoll/b856fda0c383d7db2da009afba8290e7 to your computer and use it in GitHub Desktop.
Rsync from one server to another
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/boot/ | |
/etc/modules | |
/etc/fstab | |
/etc/mtab | |
/etc/netplan/ | |
/etc/network/ | |
/etc/sysconfig/network-scripts/ | |
/lib/modules | |
lost+found/ | |
/sys/ | |
/proc/ | |
/dev/ | |
/var/cache/ | |
/swapfile | |
rsync -avzP --exclude-from=/root/no_copy / root@NEW_SERVER_IP:/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment