Trace: rsync

rsync notes

Clone entire system via ssh

# rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / [email protected]:/

Clone SuSE Linux 10 or 11

cd /tmp
touch exclude
vim exclude
/etc/fstab
/boot/
/etc/lvm/
/etc/grub.conf
/dev/
/proc/
/sys/
/etc/udev/
rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --exclude-from 'exclude' --progress / $IP:/

RHEL 7

rsync.txt · Last modified: 2017/03/06 10:28
Public Domain Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain