Howto setup rsync
This is a discussion on Howto setup rsync within the Droid Hacks forums, part of the Droid Hacking category; Basic instructions were taken from kevdogs ssh post. Thanks kevdog.
#1 - Phone has been rooted: - Search forums if unsure how to do this
...
-
Howto setup rsync
Basic instructions were taken from kevdogs ssh post. Thanks kevdog.
#1 - Phone has been rooted: - Search forums if unsure how to do this
#2 - Busybox has been installed - Again search forums for method
#3 - ADB (Android Debug Bridge) is installed on host computer - (Step isn't absolutely necessary if a program such as Android Terminal Emulator: androidterm - Project Hosting on Google Code is installed, however I personally find it a lot easier to install and debug using adb).
Process:
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
#1 - Download rsync from here
#2 - Unzip the executable rsync to /sdcard/
#3 - mv /sdcard/rsync /system/xbin/rsync
Code:
mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
You now have a working rsync client. Unfortunately, rsync over ssh is not yet available. The next goal is to port openssh so this is possible.
Last edited by ravage382; 12-17-2009 at 09:51 PM.
-
-
Great info - more things you'd never think you'd be able to do with your phone..
-
got it working well on bionic
My phone is rooted.
I had to copy a file containing my password to the same folder as the rsync bin file. I also had to chmod 600 the file.
So copy rsync to /system/xbin and, in my case, rsyncd_passwd to /system/xbin
Then chmod 600 /system/xbin/rsyncd_passwd
then remount to ro.
Also another note is I couldn't use the archive "-a" switch. I could do this:
rsync -rv --delete --password-file=/system/xbin/rsyncd_passwd "/mnt/" "myname@myhouse.com::/"
On a side note, this is not encrypted. Rsync on port 873 defaults to just compression. This doesn't rsync over ssh yet. Someone has to have openssh for android first or something smaller.
AGAIN this is what I had to do to make this work. I am still working on getting a cron or some other scheduler to run this @daily for me. This is great! I have linux functionality on MY FREAKIN PHONE!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By RinTinTigger in forum Droid Applications
Replies: 129
Last Post: 10-30-2011, 01:44 PM
-
By RinTinTigger in forum Droid FAQ
Replies: 1
Last Post: 12-09-2009, 07:57 AM
-
By RinTinTigger in forum Droid FAQ
Replies: 0
Last Post: 11-22-2009, 05:24 AM
-
By wil318466 in forum Droid General Discussions
Replies: 1
Last Post: 11-13-2009, 09:20 AM
-
By JimMariner in forum Droid FAQ
Replies: 0
Last Post: 11-06-2009, 04:59 PM
Search tags for this page
android install rsync
,
android rsync
,
android rsync backup
,
android rsync client
,
android rsync over ssh
,
android rsync ssh
,
android ssh rsync
,
droid rsync
,
install rsync android
,
install rsync on android
,
rsync android
,
rsync android client
,
rsync android ssh
,
rsync client android
,
rsync client for android
,
rsync droid
,
rsync for android
,
rsync for droid
,
rsync for droid bionic
,
rsyncdroid
Click on a term to search our site for related topics.