Posts Tagged ‘rsync’

Setup a Rsync server on Gentoo

Tuesday, October 28th, 2008

rsync is an open source utility that provides fast incremental file transfer, available in multiple platforms such as Linux, *BSD and Solaris.

The goal of this tutorial is to detail the needed steps to setup a general purpose rsync server on Gentoo. Note: this guide doesn’t focus on setting up your own Gentoo local rsync mirror, for that please consult Gentoo’s official documentation on the matter, namely Gentoo Linux rsync Mirrors Policy and Guide.

Let’s begin by becoming the superuser, synchronize the portage tree and install rsync:

(more…)

HOWTO: Backup nightly via rsync

Thursday, May 29th, 2008

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. 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 both the local and the remote host.

(more…)