Dear all,
i want remote backup from linux server to windows xp. linux server was setup rsync and ssh with following model:
linux server ...........................windows xp
192.168.1.100 192.168.1.101
\data c:\backup
1. i was setup cwrsync in windows xp with default path.
2. run cmd, type: path=%path%;c:\program files\cwrsync\bin
3. create key, type: ssh-keygen -f /cygdrive/c/ssh_key -t rsa -N "
4. in linux server, create folder, type: mkdir /.ssh/authorized_keys
5. copy ssh_key to linux server, type:
rsync -e ssh /cygdrive/c/ssh_key.pub
root@192.168.1.100:/.ssh/authorized_keys/key.pub
now, if i want transfer data from xp to linux, i do following:
rsync -e ssh /cygdrive/c/abc.zip root@192.168.1.100:/data/
i want backup /data in linux to xp,but I can't . please help me.