I'm trying to set up rdiff-backup between my windows host machine and my remote linux machine. I'm using Windows 8.1. SSH and rdiff-backup is indeed within the PATH environment variablle...
With the below command:
rdiff-backup --print-statistics --override-chars-to-quote --remote-schema "ssh -C %s -p1019 rdiff-backup --server" --exclude "**.dropbox**" --exclude "desktop.ini" "C:/Users/Adam/Dropbox" pi@192.168.0.5::/mnt/disk1/Adam/Dropbox
I recieve the following results:
ssh: connect to host 192.168.0.5 port 22: Connection refused
Fatal Error: Truncated header string (problem probably being originated remotely)
Couldnt start up the remote connection by executing ssh -C pi@192.168.0.5 rdiff-backup --server
You would assume by that output that formatting of the command is incorrect. Although I must assure you I've read the manual and many examples online and this format is correct. As you can see from the command I've depicted -p1019. So Why is attempting port 22?! Even when I do the following command:
rdiff-backup --print-statistics --override-chars-to-quote --exclude "**.dropbox**" --exclude "desktop.ini" "C:/Users/Adam/Dropbox" pi@192.168.0.5::/mnt/disk1/Adam/Dropbox
(Difference being that the arguments given after --remote-schema are no longer present) I still get the exact same output. What am I doing wrong here?