#working on 8 #https://github.com/itiligent/RSYNC-ESXi?tab=readme-ov-file wget --no-check-certificate https://github.com/itiligent/RSYNC-for-ESXi/raw/main/rsync esxcli system settings advanced set -o /User/execInstalledOnly -i 0 mv rsync /bin/rsync #/productLocker/rsync -avurP --delete --progress /vmfs/volumes/source_path/* user@x.x.x.x:/destination_path/ # Save the destination's private SSH key to a file in a persistent location and change the file's permissions with: chmod 400 priv-key.txt # /productLocker/rsync -avurP --delete --progress -e "ssh -i /productLocker/priv-key.txt -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" /vmfs/volumes/source_path/* user@x.x.x.x:/destination_path/ # sync to usb/local # /vmfs/volumes/USB_destination_datastore/rsync -rltDv --delete --progress /vmfs/volumes/source_path/* /vmfs/volumes/USB_datastore/full_backup_destination # open fw for rsync mv rsync-openfwports.xml /etc/vmware/firewall/rsync.xml esxcli network firewall refresh esxcli network firewall ruleset list https://gergap.wordpress.com/2013/08/10/rsync-and-sparse-files/ TODO test if --sparse and --inplace really work together https://fedoramagazine.org/copying-large-files-with-rsync-and-some-misconceptions/ rsync -av --sparse --partial --inplace --append --progress vmdk_file syncuser@host1:/destination # non working, but helpful #https://github.com/gmasonPCS/rsync-on-esxi #https://deciacco.github.io/posts/RSyncEsxi/