Cloner un système avec Rsync

Opération

rsync -aHAXSz --delete --info=progress2 --numeric-ids -e "ssh -p 22" --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/etc/fstab","/etc/udev/rules.d/*","/etc/network/*","/lib/modprobe.d/*"} root@serveur_distant:/ /

Source

https://linuxadmin.io/hot-clone-linux-server/

https://www.man42.net/blog/2017/07/how-to-migrate-a-debian-server/