Wednesday, November 09, 2005

Rsync implementation

We implemented rsync in our central data center.
We have setup rsync to backup user directories on both windows and linux to our "central storage system"

We tested several win32 implementation and decided to use cwRsync in our production environment.

Windows example:
rsync -artbv --delete --progress --exclude "GROUPW~1" /cygdrive/d/DOCUME~1 root@our server:/backup/windows

Linux example:
rsync -tobavzrp --delete --progress --exclude-from=/home/moosy/rsync.exc /home/moosy server:/backup/linux

On linux we use an exclude file to describe the files and directories we do not need to backup, on windows we only exclude the GroupWise directory.

rsync rocks !