IMPORTANT NOTICE

During the next period of time, the Thecus Wiki will migrate to a new site - the NAS Website. The migration is part of an improvement initiative, which includes giving the site a new look and making it more user friendly.

During the migration information may exist both at the old and new site, however slowly pages should start to be located mainly at the new site. Please see the NAS Website for details.

N5200 Module: RSYNC

From Thecus Wiki

Jump to: navigation, search

Contents

Facts

Name: RSYNC (Remote Synchronization)

Maintainer(s): Andreas Vogel (omega)

Target: N5200

Latest version: 2.00.01

Depends on module(s): none

Description

General Overview and Installation

This module comes as a ZIP compressed file with the name N5200_<modname>_<version>.zip, where <modname> is the module name and <version> is the version number of the module. While unpacking the ZIP file, a new directory N5200_<modname>_<version> containing the module and its source code is created.

The module file is called <modname>.mod and the source code is located in the directory <modname>. The source code is included for interested people and is not needed for module installation. The file Makefile can be used to rebuild the module on Linux systems.

The module is installed using the "System"->"Module Mgmt" menu in the Thecus Web Server Administration. Specify the file <modname>.mod as the module file and press "Install".

The whole installation process is logged and sent as an E-Mail if you're configured in the E-Mail notification configuration. After successful installation enable the module in order to run the module.

After uninstallation of the module, a log of the uninstall process will be send to the user(s) configured in the E-mail notification configuration. Prior uninstallation of the module, the actual configuration data is backed up to the place "/data/raid/module/backup/<modname>". When the module is installed again, the module configuration is restored from that place if available.

Module version 2.00.00

Rsync is a utility that provides fast, incremental file transfer. With rsync it is also easy to create daily backups which is the reason I created this module and why I'm using it. It is also faster than SMB/CIFS and easier than NFS, because there are also rsync clients for Windows available.

This module provides the rsync client and server. The first time this module is installed, a initial rsync daemon config file is created in /raid/data/module/RSYNC/system/etc with the name rsyncd.conf. This files conatains entries for all currently created shares. You need to check this file though, at least for the uid and gid entries. The RSYNC protocol doesn't need SSH so you can synchronise with the daemon without it.

Example for the rsync daemon:

Configure the rsync daemon on the N5200 to export MyFiles:

[MyFiles]
    comment   = My Files
    path      = /raid/data/files/MyFiles
    read only = no
    list      = yes
    uid       = nobody
    gid       = nogroup

On your host start the synchronisation with this command:

rsync -v -a --delete --stats --progress /home/xxx/myfiles/ n5200::MyFiles

On the module property page, you can do this:

  • Backup/Restore: backup restore the RSYNC configuration files to the persistent storage /raid/data/module/backup/RSYNC
  • Download/Upload: download/upload the RSYNC configuration files

Module version 2.00.01

This update provides version 3.0.3pre1 of the rsync program.

News

  • <2007-01-22>: First public release.
  • <2008-05-15>: Updated rsync program to 3.0.3pre1.

Versions

  • Version 2.00.01
    • Release date: 2008-05-15
    • Works on firmware: 1.00.06.5
    • Does not work on firmware: <= 1.00.05
    • Download: N5200_RSYNC_2.00.01.zip (ca. 440 KB)
    • Major changes: Updated rsync program to version 3.0.3pre1.
  • Version 2.00.00
    • Release date: 2007-01-22
    • Works on firmware: 1.00.06.5
    • Does not work on firmware: <= 1.00.05
    • Download: N5200_RSYNC_2.00.00.zip
    • Major changes: First public release.
Personal tools
product resources