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.mustaca.com for the IT Consulting services I offer.
Visit www.itsecuritynews.info for latest security news in English
Besuchen Sie http://de.itsecuritynews.info für IT Sicherheits News auf Deutsch

About the Author

Sorin Mustaca

Sorin Mustaca, (ISC)2 CSSLP, CompTIA Security+ and Project+, is working since year 2000 in the IT Security industry and worked between 2003-2014 for Avira as Product Manager for the known products used by over 100 million users world-wide. Today he is an independent IT Security Consultant focusing on Cybersecurity, secure software development and security for IoT and Automotive. He is also running his personal blog Sorin Mustaca on Cybersecurity and is the author of the free eBook Improve your security .

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close