Results 1 to 7 of 7

Thread: RSYNC Module for N5200 Help

  1. #1
    Registered+
    Join Date
    Aug 2007
    Posts
    16
    Thanks
    0
    Thanked
    0 times in 0 posts

    RSYNC Module for N5200 Help

    does anyone successfully use rsync module with the latest firmware (V2.00.04) on N5200? i can't get it to work but i might be doing it wrong as i've never done this before.

    what i'd like to do is backup an infrant NAS to the N5200 using rsync. So N500 would be the server.

    default config in rsyncd.conf file for backups share:

    gid = users
    read only = true
    transfer logging = false
    log file = /var/log/rsyncd.log
    pid file = /var/run/rsyncd.pid
    hosts allow = :


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


    of course i've tried editing the above around but can't get to work. when i reupload the recompress config file each time i change, i compress the "etc" folder (with config file and "MAGIC" file inside that folder) into tar fomat and reupload. set path to backup share as "ThecusIPADDRESS::backups" but it doesn't connect. appreciate any help. thanks.

  2. #2
    Registered+
    Join Date
    Aug 2007
    Posts
    53
    Thanks
    0
    Thanked
    3 times in 3 posts

    Re: RSYNC Module for N5200 Help

    Could you quote any error messages?

    Might have a look to it tomorrow as I use the RSYNC module myself.

    Andreas

  3. #3
    Registered+
    Join Date
    Aug 2007
    Posts
    16
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: RSYNC Module for N5200 Help

    N5200 isn't showing error message. But from infrant NAS, it says "Error Connecting to Host" when I try to test connection which is why I think I might be doing something wrong. Are you using latest firmware V2.00.04? If you are and it's working fine for you then I probably am doing something wrong. I suspect if something is wrong it would be in the config file.

    for hosts allow option of config file, do you just write it like this (exact syntax) or is this only optional?

    hosts allow = (infrantNASipaddress):

    Noticed in new firmware release notes, they improved modules so maybe that break current RSYNC module which is why I ask if rsync works with latest firmware or not.

  4. #4
    Registered User
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: RSYNC Module for N5200 Help

    I'm using the RSYNC module with the latest firmware to backup data from one array to another disk in the same N5200PRO unit. This works perfectly.

    I have never tried to backup data to another device by using RSYNC server and daemon though.

  5. #5
    Registered+
    Join Date
    Aug 2007
    Posts
    16
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: RSYNC Module for N5200 Help

    i'm trying to backup data from a different NAS to the N5200 so N5200 would be the Server. can someone let me know what this means from config file?

    "transfer logging = false"
    kept it on this default.

    "hosts allow = :"
    and how would you write the allowable hosts inside here?

    thanks.

  6. #6
    Registered+
    Join Date
    Aug 2007
    Posts
    53
    Thanks
    0
    Thanked
    3 times in 3 posts

    Re: RSYNC Module for N5200 Help

    I've checked the RSYNCD module with FW 2.00.04 and it works without problems for me....

    Just log in to your N5200 via SSH and edit the file /raid/data/module/RSYNCD/system/etc/rsyncd.conf.

    Here is an excerpt from my config file:

    Code:
    ##
    ##  /etc/rsyncd.conf - RSYNCD config file
    ##
    gid = users
    read only = true
    transfer logging = false
    log file = /var/log/rsyncd.log
    pid file = /var/run/rsyncd.pid
    hosts allow = 193.141.8.0/255.255.255.0
    
    [archiv]
            comment         = archiv Files
            path            = /raid/data/archiv
            read only       = no
            list            = yes
            uid             = root
            gid             = root
    The "hosts allow" field is the one you need to correct to fit your needs.

    Andreas

  7. #7
    Registered+
    Join Date
    Aug 2007
    Posts
    16
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: RSYNC Module for N5200 Help

    Many thanks for that excercpt omega! It works now!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ASUS A8N SLI Deluxe - memory question
    By Logan in forum PC Hardware and Components
    Replies: 6
    Last Post: 13-09-2007, 12:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •