![]() |
2009-11-01
, 23:48
|
Posts: 66 |
Thanked: 11 times |
Joined on Feb 2009
|
#12
|
![]() |
2009-11-02
, 00:01
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#13
|
Awesome. I'm using an OS X desktop, by the way, but could use Windows if I have to.
I just managed to use the commandline to sync from a folder on my desktop to my tablet over ssh!. I used this string, found elsewhere:
rsync -avz -e ssh remoteuser@remotehost:/remote/dir /this/dir/
This should work just fine, as long as I can get the password to be automated. I know there's a way to share a key between the two machines, but is there a way to add my password to the string?
![]() |
2009-11-02
, 01:39
|
Posts: 66 |
Thanked: 11 times |
Joined on Feb 2009
|
#14
|
![]() |
2009-11-02
, 20:14
|
|
Posts: 1,348 |
Thanked: 1,863 times |
Joined on Jan 2009
@ fr/35/rennes
|
#15
|
Some people like to use version control (e.g. svn, git) for backup and presumably you could use it for sync as well. .
![]() |
2009-11-08
, 23:29
|
Posts: 66 |
Thanked: 11 times |
Joined on Feb 2009
|
#16
|
![]() |
2009-11-09
, 00:18
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#17
|
I got a friend to help me set up a pair of keys. We set them up using my server (OS X) and copied the private key over. Apparently the permissions are the tricky part.
Here's my command:
rsync -au --delete username@server:/users/username/Dropbox /media/mmc1/Dropbox/
![]() |
2009-11-09
, 00:52
|
Posts: 66 |
Thanked: 11 times |
Joined on Feb 2009
|
#18
|
![]() |
2009-11-09
, 01:29
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#19
|
I don't care too much about bi-directional sync, since I don't expect to change things on the tablet, just read them.
First is an error:
"rsync error: some files could not be transferred (code 23) at main.c(1385) [generator=2. 6.9]"
It doesn't look like anything is missing from the synced folders, and google tells me that code can mean all sorts of innocuous things, so I don't mind it. Just thought it was worth mentioning.
Secondly, even with the flags as set up as above -v is spitting out filenames. Is rsync just telling me what files are being checked, or is it recopying everything that's already been copied (which it shouldn't with the -u flag)? The entire action takes only a couple minutes for 1.5 GB, so I'm guessing it's the former.
![]() |
2009-11-12
, 13:19
|
Posts: 12 |
Thanked: 6 times |
Joined on Oct 2009
|
#20
|
![]() |
Tags |
dropbox, rsync, sync |
Thread Tools | |
|
I found this post. Points made there:
Windows can also run SSH server. You could also simply run rsyncd on remote host.
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!