Rsync Backup Server

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:53, 16 September 2008 (edit)
Undertoe (Talk | contribs)
(New page: == '''Introduction and Overview''' == rsync is a software application for Unix systems which synchronizes files and directories from one location to another while minimizing data transfer ...)
← Previous diff
Revision as of 17:54, 16 September 2008 (edit) (undo)
Undertoe (Talk | contribs)

Next diff →
Line 20: Line 20:
Good Howto on setting up a USB flash drive as the main /jffs/ http://www.dd-wrt.com/phpBB2/viewtopic.php?t=19273 Good Howto on setting up a USB flash drive as the main /jffs/ http://www.dd-wrt.com/phpBB2/viewtopic.php?t=19273
-== '''Install uShare''' ==+== '''Install Rsync on DD-Wrt''' ==
Make sure optware is setup right and that you have ushare available to you Make sure optware is setup right and that you have ushare available to you

Revision as of 17:54, 16 September 2008

Contents

Introduction and Overview

rsync is a software application for Unix systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate. An important feature of rsync not found in most similar programs/protocols is that the mirroring takes place with only one transmission in each direction. rsync can copy or display directory contents and copy files, optionally using compression and recursion.

In daemon mode, rsync listens to the default TCP port of 873, serving files in the native rsync protocol or via a remote shell such as RSH or SSH. In the latter case, the rsync client executable must be installed on both the local and the remote host.

Great for backing up networked computers to a central storage area. This article will explain how do setup a Rsync daemon on your dd-wrt router and have client computers in your Local network backup to them.

Compatible with Windows / Mac / Linux


Requirements

Good Howto on setting up a USB flash drive as the main /jffs/ http://www.dd-wrt.com/phpBB2/viewtopic.php?t=19273

Install Rsync on DD-Wrt

Make sure optware is setup right and that you have ushare available to you

/opt/bin/ipkg-opt update
/opt/bin/ipkg-opt list | grep rsync

returns: rsync - 3.0.4-2 - fast remote file copy program (like rcp)

/opt/bin/ipkg-opt install rsync

Basic Configuration

vi /opt/etc/rsyncd.conf 

Set your share username & password

vi /opt/etc/rsyncd.secrets




Questions / Comments

email undertoe at chemlab dot com