Rsync - synchronizes files and directories from one location to another
From NAS-Central Buffalo - The Linkstation Wiki
![]() |
Contents |
Background
rsync[1] is a free software computer program 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.[2] [3]
rsync can copy or display directory contents and copy files, optionally using compression and recursion.
rsyncd, the rsync protocol daemon, uses the default TCP port of 873. rsync can also be used to synchronize local directories, or via a remote shell such as RSH or SSH. In the latter case, the rsync client executable must be installed on the near as well as the far host (the computer running the remote shell daemon). There also exists a utility called rdiff[4], which can be used for incremental backups.
The Mac OS X filesystem has a special version, rsyncX[5], which allow transferring resource forks. To run rsync on Microsoft Windows, the Cygwin package is necessary[6] to provide the expected system interfaces. A package combination is available that include rsync, cygwin, and an installer, making it easier and more familiar to Windows users[7].
There are several well written tutorials on using rsync[8][9][10][11]
Installation
Compile from source
On any distribution FreeLink or OpenLink
- Make sure you have installed the Precompiled C development environment, running on the LS first.
- Get the source, make and install.
wget http://samba.anu.edu.au/ftp/rsync/rsync-2.6.8.tar.gz gunzip rsync-2.6.8.tar.gz tar -xf rsync-2.6.8.tar cd rsync-2.6.8 ./configure make su root make install
Raw Binaries
PowerPC
From the Yahoo! Linkstation General Group [12]
wget http://ls.jcedata.net/rsync chmod a+x rsync cp rsync /usr/bin
FreeLink
Use apt-get to install rsync
apt-get install rsync
OpenLink (Ipkg)
PowerPC
- Install Ipkg on the Linkstation (for end-users) and enable the NSLU2 Feed: Ipkg Package List: PowerPC
- Install rsync
ipkg install rsync
MIPSel
Alexander Skwar has created a fairly extensive selection of Ipkg packages for the MIPSel (LS2) LinkStation, Install Ipkg and enable his feed:
- Ipkg on the Linkstation (for end-users)
- Experimental "unstable" ipk Packages for the MIPSEL Linkstation
- Install rsync
ipkg install rsync
References
- ↑ Wikipedia: rsync
- ↑ rsync homepage
- ↑ rsync algorithm
- ↑ rdiff-backup homepage
- ↑ RsyncX - Frontend for rsync under Mac OS X
- ↑ Rsync for Windows - using Cygwin
- ↑ NasBackup rsync Windows GUI
- ↑ Tutorial: Using rsync
- ↑ Tutorial: Mirroring with rsync
- ↑ Tutorial: Backing up files with rsync
- ↑ Tutorials (with screenshots) for setup of Rsync on Windows, Rsync on Linux/Unix/BSD
- ↑ From the Yahoo! Linkstation General Group: rsync binaries anyone / SSH without password as root INTO LinkStation
| This article is currently a stub. You can help this Wiki by expanding it . This template will categorize articles that include it into Category:Stubs. |


