Difference between revisions of "Rsync - synchronizes files and directories from one location to another"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(Background)
Line 4: Line 4:
 
'''[[w:rsync|rsync]]''' is a [[w:free software|free software]] [[w:computer program|computer program]] for [[w:Unix|Unix]] systems which [[w:File synchronization|synchronizes]] [[w:computer file|files]] and [[w:directory (file systems)|directories]] from one location to another while minimizing [[w:data|data]] transfer using [[w:delta encoding|delta encoding]] when appropriate.  An important feature of rsync not found in most similar programs/protocols is that the [[w:mirroring|mirroring]] takes place with only one transmission in each direction.
 
'''[[w:rsync|rsync]]''' is a [[w:free software|free software]] [[w:computer program|computer program]] for [[w:Unix|Unix]] systems which [[w:File synchronization|synchronizes]] [[w:computer file|files]] and [[w:directory (file systems)|directories]] from one location to another while minimizing [[w:data|data]] transfer using [[w:delta encoding|delta encoding]] when appropriate.  An important feature of rsync not found in most similar programs/protocols is that the [[w:mirroring|mirroring]] takes place with only one transmission in each direction.
  
rsync can copy or display directory contents and copy files, optionally using [[data compression | compression]] and [[recursion]].
+
rsync can copy or display directory contents and copy files, optionally using [[w:data compression | compression]] and [[w:recursion|recursion]].
  
 
rsyncd, the rsync protocol [[w:Daemon (computer software)|daemon]], uses the default [[w:Transmission Control Protocol|TCP]] [[w:TCP and UDP port|port]] of 873.  rsync can also be used to synchronize local directories, or via a remote [[w:shell (computing)|shell]] such as [[w:RSH|RSH]] or [[w:SSH|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).
 
rsyncd, the rsync protocol [[w:Daemon (computer software)|daemon]], uses the default [[w:Transmission Control Protocol|TCP]] [[w:TCP and UDP port|port]] of 873.  rsync can also be used to synchronize local directories, or via a remote [[w:shell (computing)|shell]] such as [[w:RSH|RSH]] or [[w:SSH|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).
 
  
 
=Installation=
 
=Installation=

Revision as of 00:33, 20 September 2006

Newrsynclogo.jpg

Contents

Background

rsync 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.

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).

Installation

Compile from source

On any distribution FreeLink or OpenLink

  1. Make sure you have installed the Precompiled C development environment, running on the LS first.
  2. 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: rsync binaries anyone / SSH without password as root INTO LinkStation

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

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 install rsync

External links

Link.png 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.