[Gllug] rsync over ssh

Adrian McMenamin adrian at newgolddream.dyndns.info
Fri Dec 18 10:47:00 UTC 2009


Sorry for such a simple question but this is driving me mad.

I want to backup a directory on a remote server with rsync over ssh.

I have been trying the solution in Linux server hacks vol 1 but it's not
working and I really don't know why

The remote server uses a non-standard ssh port

so I try rsync -ave ssh -p [odd port number]
root at remoteserver:/var/www/somedirectory/ ./backup

and I get "Unexpected remote arg: root at remoteserver:/var/www/somedirectory/"

What have I done wrong?



-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list