[solved] rsync from Jolla to windows pc [answered]

asked 2017-05-08 00:15:34 +0300

Schturman gravatar image

updated 2017-05-12 21:08:25 +0300

Hi to all.
Maybe here someone can help me...
I'm trying to backup files from my Jolla Tablet to Windows PC (win10) by rsync command...
I did setup like explained in this video: https://www.youtube.com/watch?v=Yh_EkhQtj1g but when I trying to run this comman:

rsync -r -u /home/nemo/AmbienceList/Custom.list schtu@192.168.1.101:rsync_Jolla_Tab

it just don't do nothing until timeout:

[nemo@Jolla_Tab ~]$ rsync -r -u /home/nemo/AmbienceList/Custom.list schtu@192.168.1.101:rsync_Jolla_Tab
ssh: connect to host 192.168.1.101 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0]
[nemo@Jolla_Tab ~]$

If I changing ip to 127.0.0.1 it start to ask about password that I don't know... (win pass not work)
Can someone know how to properly setup windows pc and work with ssh/rsync command from Jolla devices ? Any step-by-step guide ?
Thanks

UPDATE (12.05.2017):
Finally I found what was the problem and fixed it :)
For some reasons public key from Win PC not added to my "known_hosts" on Jolla devices. Now all my Jolla devices (Jolla1, C and Tablet) can backup (rsync) my files automatically to Win 10 PC :)
I created full instruction with all explanations how to get it work, you can see/download it and use :)
https://www.dropbox.com/s/qvyl3m1lxjxou5h/SSH_connection_for_Jolla_devices.pdf?dl=0
Soon I will update my app Simple & quick file backup (rsync) with this instruction.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Schturman
close date 2017-05-12 21:07:35.106963

Comments

I will try something similar with rsync and nfs4, soon. Can you touch files on schtu@192.168.1.101:rsync_Jolla_Tab, manually?

Moo-Crumpus ( 2017-05-11 10:49:38 +0300 )edit

What you mean manually ? Like I wrote before it not connect until it just show error about timeout.

Schturman ( 2017-05-11 11:36:43 +0300 )edit

https://serverfault.com/questions/660711/rsync-to-unmounted-webdav-share You may need to mount the dav share, first.

Moo-Crumpus ( 2017-05-11 14:22:07 +0300 )edit

don't know and not really understand how to do this, in the youtube video guide it not used and it work, but on my pc no... And I don't understand why....

Schturman ( 2017-05-11 14:50:36 +0300 )edit
2

Ohhh, Finally it started to work! I just did all this stuff from scratch (2 times) and it work perfectly!
Now all my 3 devices can automatically backup to win 10 :)

Schturman ( 2017-05-12 01:54:58 +0300 )edit