Open-E Knowledgebase
Search:     Advanced search

How can I replicate data right to the share over RSYNC protocol ?

Article ID: 9
Last updated: 26 Aug, 2011
Views: 5997
How can I replicate data right to the share over RSYNC protocol ? Rating: 7.5000 / 10
Votes: 2
Posted: 30 Jun, 2008
by:
Updated: 26 Aug, 2011
by:

This document describes how to synchronize to and from Open-E DSS V6 using rsync on your own operating system.

* rsync 3.0.7 should be used on the destination node in order to make it possible to estabilish the connection

* Every share with enabled data replication is available through rsync as a module
 
* To be able to use rsync with ACLs and XATTRs you need to have rsync compiled from patched source. For now it's not possible to use these options under Windows (while using rsync from Cygwin) because Cygwin does not support ACLs and XATTRs.
    
* To be able to use rsync from a snapshot you need to create a share on the snapshot and enable data replication on it.
          o Alternatively you can create a data replication task on an Open-E server with your own operating system with enabled rsync  daemon as a destination. In this case you will see modules from your rsync daemon as shares in the Open-E Web GUI.

The rsync command used to synchronize data from your operating system to the Open-E server might look similar to this:

cd $SOURCE_DIR
export RSYNC_PASSWORD=$
rsync -raRx --acls --xattrs --whole-file --delete --force "./"
"$LOGIN@$RSYNC_DEST_IP::$DEST_SHARE"

The rsync command used to synchronize data from the Open-E server to your operating system executed on your operating system might look similar to this:

cd $DEST_DIR
export RSYNC_PASSWORD=$
rsync -raRx --acls --xattrs --whole-file --delete --force
"$LOGIN@$RSYNC_SOURCE_IP::$SOURCE_SHARE" "./"

When using rsync without a password, please unset the RSYNC_PASSWORD variable.

For more information about switches and the rsync command please refer to the rsync manual.

This article was:   Excellent | Very Good | Good | Fair | Poor
Prev   Next
How to run Open-E software in 64bit mode?     Which log do I need to look into to find information on infected...

The Knowledge base is managed by Open-E data storage software company.
RSS