RSYNC Daemon on Fujitsu Siemens SBLAN2 (NextFW version)

 

If you own such a device, then the first thing you do with it is to upgrade its firmware to NextFW.

The Support forum of Fujitsu-Siemens is full of useful How-Tos which help you reach your goal.

 

 

After you’ve done that, you may want to enable the rsync daemon . With a running rsync service you can have basically your own private online backup service.

This is at least what I tried to achieve. But it is tricky to make it run correctly.

Read here about rsync utility and here about rsync daemon (aka rsyncd).

 

Here is how I configured it so that it works also on Windows:

amsadmin# cat /etc/rsyncd.conf
lock file = /var/run/rsyncd.lock
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
use chroot = no
#max verbosity = 1
gid = wheel
uid = amsadmin

[backup]
path = /mnt/home/storage/backup
comment = bck export area for storage
auth users = amsadmin
secrets file = /mnt/.zap/etc/rsyncd.secrets
read only = no
write only = yes
list = yes

Make sure you make symlinks to /etc/rsyncd.conf and /etc/rsyncd.secrets.

 

# ln -s /mnt/.zap/etc/rsync.conf /etc/rsyncd.conf

# ln -s /mnt/.zap/etc/rsync.secrets /etc/rsyncd.secrets

 

The file rsyncd.secrets is a standard plain text file containing something like:

user:password

 

Make sure you symlink rsync.sh from /mnt/.zap/etc/rc.d/rsync.sh to /mnt/.zap/etc/rc0.d/rsync.sh

 # ln -s /mnt/.zap/etc/rc.d/rsync.sh /mnt/.zap/etc/rc0.d/rsync.sh

 

Then restart and it will do the job.

 

If you wonder from where you should get the rsync on Windows, then just think to Cygwin.

This is how I use rsync.exe to backup my T drive:

rsync.exe -urtav –ignore-errors –exclude=outlook –exclude=RECYCLER –exclude=$RECYCLE.BIN –exclude=”System Volume Information” –delete /cygdrive/T amsadmin@sblan2::backup/

 

Let me know if I can be of any help.

 


© Copyright 2012 Sorin Mustaca, All rights Reserved. Written For: Sorin Mustaca on Cybersecurity


Check www.endpoint-cybersecurity.com for seeing the consulting services we offer.

Visit www.itsecuritynews.info for latest security news in English
Besuchen Sie de.itsecuritynews.info für IT Sicherheits News auf Deutsch

Discover more from Sorin Mustaca on Cybersecurity

Subscribe now to keep reading and get access to the full archive.

Continue reading