unix:rsync

rsync

55 * * * * /usr/bin/rsync -a --delete /var/lib/containers/storage/volumes/ /backup/var/lib/containers/storage/volumes_$(date +\%w-\%A)

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: 2021-05-12T09:28:18+0200
  • by Wolfgang