rsync backup for AndroidQR code

Key generation

You can use one of the following methods to generate you private+public key pair:

1) generating the key directly in the rsync backup for Android application

Select "Generate keys" from menu and follow instructions. Private key will be saved to /sdcard/dss_key, public key will be saved to /sdcard/sdd_key.pub and sent to you using preferred method.

Check out the Guysoft's weblog for tutorial with screenshots.

2) using dropbearkey tool

dropbearkey program is distributed in dropbear package (at least in Debian/Ubuntu). If your *nix distribution doesn't have packaged dropbear, you can obtain sources here:
http://matt.ucc.asn.au/dropbear/dropbear.html

To generate your key, you should run:

dropbearkey -t dss -f dss_key

Your output should look like that:

Will output 1024 bit dss secret key to 'dss_key'
Generating key, this may take a while...
Public key portion is:
ssh-dss AAAAB3NzaC1kc3MAAACBAO54x8/XT0unnG1GUKmRi0Qy4a3kW54nBOzopEXstekcUHxnVOBr
BausXadH16IkfHGxpfzZKUuk/GbURG1C3eb+V2wdp/31u6aws1n86AvimQw1Hupq0gwNE8YrtxT7HMFT
tOXadgh26vnQYyiEgZ7pnAxJuLXBlp60AtXLTmt5AAAAFQDIKaAP0LHU3whwxt4AHb53xYq4RQAAAIA+
uW4u5pQ1lZlJzVKOVnNAafKLGTz5KLeuInYflGqr8IVkcQ9UFyQ3OoLSu6S/OVCnqIVIZpF7aWOXCxMT
LWkE3EqmNnIIW0y8WI1BDsM+Yf3Mj3BNVyK+/aEVehw8qyj1zeUJKhVcLo/3hbEQIlLWi8B8f2+ZW8M0
GyhcCXr8ewAAAIBwRX63NTnBf4eFqVzIW86peZFzbIifihwnjXWagLC8KQGvn0GIrWX7Gpa9RWVTRlk5
QrDyTpKxgIRAcnx24cKp4rnlWuLsYU6iIYdblEBIDQe7y9PUquFszh20MGMgRqdAb6IGuT11qgt7mbK
u4H66+NeKORBQhA9Mt60OdcMTlQ== android@bender
Fingerprint: md5 30:f1:a4:9e:8e:17:a1:6e:09:78:d9:6f:42:c6:8a:88

You should paste line that begins with "ssh-dss" and ends with "android@bender" (note this is a single line) to ~/.ssh/authorized_keys file in your backup user's home directory on the server which will receive rsync data.

3) using dropbearconvert to convert openssh key

Assuming you have generated your key using ssh-keygen (and that it's stored in ~/.ssh/id_dsa, you can convert it to dropbear format by running:

/usr/lib/dropbear/dropbearconvert openssh dropbear ~/.ssh/id_dsa ~/dss_key

Output:

Key is a DSS key
Wrote key to '/home/android/dss_key'

Please remember to include your public key (~/.ssh/id_dsa.pub) in your ~/.ssh/authorized_keys file and to transfer generated dss_key to your Android device. You can do it in a standard way, (mounting your SD card, using "adb push", send via Dropbox, etc.) After that you can choose it when configuring rsync backup for Android's profile.

Download

You can install rsync backup for Android in one of these ways:

OI File Manager

In order to use "Browse" buttons when configuring profile you will need to install OpenIntents File Manager. You can download it for free from Android Market or from the OpenIntents webpage (+ OI Update for updates).
Please note that you don't need to install it to properly configure a profile, but in that case you will have to manually provide required paths.

Locale/Tasker/Llama integration

You can run one of your configured rsync backup for Android profiles as an action in Locale and Tasker (look under plug-ins).

Remote Notifier notifications

Profiles can be configured to send finish notification using Remote Notifier. For more information please visit project's webpage. Please make sure that Remote Notifier's test notification is properly displayed and that you allowed to send and receive third-party events in Remote Notification's settings.

Development support

You can support further development of rsync backup for Android by:

Legal notice

rsync backup for Android uses rsync binary compiled using Android NDK toolchain from the following source code: https://github.com/sammael/android_external_rsync (forked from dylex/android_external_rsync).

ChangeLog

version 1.6.1 (12 Apr 2011)

version 1.6 (11 Apr 2011)

version 1.5 (14 Dec 2010)

version 1.4 (10 Dec 2010)

version 1.3.1 (8 Dec 2010)

version 1.3 (4 Dec 2010)

version 1.2 (29 Nov 2010)

version 1.1 (28 Nov 2010)

version 1.0 (25 Nov 2010)