-1

I have created an SSH key shared between my Synology NAS and the Debian cloud server. I created this script to synchronize two folders, but it doesn't seem to work.

Command:

rsync -av --delete -e "ssh -i /home/root/.ssh/id_rsa -p 22" /var/www/vhosts/mysite.com/httpdocs/ [email protected]::NetBackup/

Error:

rsync: change_dir "/var/www/vhosts/mysite.com/httpdocs/ [email protected]::/NetBackup" failed: No such file or directory (2)

1 Answer 1

2

For a start, there shouldn't be two colons in the destination. [email protected]:/Netbackup

Not the answer you're looking for? Browse other questions tagged .