linux:clone-rsync
Ceci est une ancienne révision du document !
Table des matières
Cloner un système avec Rsync
Opération
- Créer un fichier d'exclusion
nano exclude-files.txtet y coller les lignes suivantes
/boot /dev /tmp /sys /proc /backup /etc/fstab /etc/mtab /etc/mdadm.conf /etc/sysconfig/network* /lost*
- Cloner en utilisant la commande
rsync -vPa -e 'ssh -o StrictHostKeyChecking=no -p 22' --exclude-from=/root/exclude-files.txt DESTINATIONIP:/ / 2>&1 > /dev/null
Source
linux/clone-rsync.1587234703.txt.gz · Dernière modification : (modification externe)
