Clonar máquina com RSYNC
yum install -y rsync
Create and edit /root/exclude-files.txt and add the following:
/boot
/dev
/tmp
/sys
/proc
/backup
/etc/fstab
/etc/mtab
/etc/mdadm.conf
/etc/sysconfig/network*
rsync -vPa -e 'ssh -o StrictHostKeyChecking=no' --exclude-from=/root/exclude-files.txt / DESTINATIONIP:/
Comentários
Postar um comentário