rsync
by ronnie10 from LinuxQuestions.org on (#532F6)
I would like to know what I am doing wrong. I have a NAS and I just want to backup my home folder and exclude all the hidden files and directories
rsync -ua --progress --exclude=".*" /home/ron/ 192.168.2.253:/Volume_1/"Test"
This is the resuls:
ssh: connect to host 192.168.2.253 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]


rsync -ua --progress --exclude=".*" /home/ron/ 192.168.2.253:/Volume_1/"Test"
This is the resuls:
ssh: connect to host 192.168.2.253 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]