rsync

useful settings for transferring whole box

time /usr/local/bin/rsync -aAXSP \
-e "ssh -T -c aes128-cbc -o Compression=no -x" \
--info=progress2,name0 \
--delete \
--exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/var/lib/docker"} \
root@foo.bar:/ /data/backup

  • unix/rsync.txt
  • Last modified: 2019-01-09T19:36:18+0100
  • by Wolfgang