About

Supporting the site

App Repository‎ > ‎

rsync-3.0.9

Overview

rsync is a classic backup software. This is a more up to date version than the official DroboApp, optimized for the DroboFS. It has no additional dependencies.

Preparation

Make sure you have a cross-compiling virtual machine properly setup.

Compilation

export DEST=/mnt/DroboFS/Shares/DroboApps/rsync
cd ~/code

wget http://rsync.samba.org/ftp/rsync/src/rsync-3.0.9.tar.gz
tar zxf rsync-3.0.9.tar.gz
cd rsync-3.0.9/
CFLAGS="$CFLAGS -O3" rsync_cv_HAVE_SECURE_MKSTEMP=yes ./configure --host=arm-none-linux-gnueabi --prefix=$DEST --with-rsyncd-conf=$DEST/etc/rsyncd.conf --with-nobody-group=nobody
make clean && make && make install
$STRIP $DEST/bin/*

Packaging

cd $DEST
mkdir -p etc var/run var/log
wget -O service.sh http://www.droboports.com/app-repository/rsync-3-0-9/service.sh
wget -O etc/rsyncd.conf.default http://www.droboports.com/app-repository/rsync-3-0-9/rsyncd.conf.default
chmod a+x service.sh
chmod -R g+w etc var
~/bin/package.sh

Installing

Download the TGZ file below and place it in you DroboApps share. If you do not have SSH access, reboot your Drobo. Otherwise, SSH in and type:

/usr/bin/DroboApps.sh install

Final remarks

This package does not change the DroboFS configuration in any way. It ships with a very permissive default configuration (it exposes all the shares in read-write mode), which is only used if there is no configuration file already in place. Upgrading should be harmless, since the default configuration is only used if there is none available. In any case, it is strongly recommended to (1) make sure all clients have disconnected, and (2) backup the "etc" folder.

Please visit the DroboSpace forums to leave your comments, suggestions and feedback.

ċ
rsyncd.conf.default
Download
  1k v. 1 Jan 24, 2012, 8:45 AM Ricardo Padilha
ċ
rsync.tgz
Download
DroboApp for DroboFS  294k v. 1 Jan 24, 2012, 8:53 AM Ricardo Padilha
ċ
service.sh
Download
  1k v. 1 Jan 24, 2012, 8:45 AM Ricardo Padilha
Comments