I am currently trying to make sync from remote server to local, and I am just receiving file list, files are not synced, i dont know why.
Any tips? Thanks in advance :)
I tried with this command:
sshpass -p "password" rsync -avz -e user@host:/home/www-data/site/ /home/site/wwwroot/ --exclude "folder/" --exclude "file.php"
And expected to keep files between servers synced.