Results 1 to 4 of 4

Thread: (Please help) RSYNC noob - N7700 x2

  1. #1
    Member
    Join Date
    Nov 2008
    Posts
    137
    Thanks
    0
    Thanked
    2 times in 2 posts

    (Please help) RSYNC noob - N7700 x2

    Hi guys,

    Im a new convert from Nsync over to Rsync, but I cant figure out how to get it to run, and scheduling, like nsync has. Please help if you can read below.

    I have two N7700's and ran into problems with NSYNC because I have a folder of photographs, that accumulate to 3TBs and growing. I was told to try RSYNC and this would solve the 2TB file limitation, that happens when nsync zips its folder and sends over.. Rsync on the other hand is file by file, as I understand

    so...

    I installed the modules, RSYNC, SYSUSER and SSH on both N7700, target and source
    I enabled all 3 modules on both, under module mgmt
    I changed the password for SYS like they asked me to

    Then, I SSH'd into SOURCE n7700 and go deep into the raid/data...rsync/config file and drag to desktop

    I edited it with Mac's Text Editor... with allowing the IP address of my Target N7700 to access it.
    The config file is below and i dropped it back into the Source N7700 via SSH

    Then I SSHed into the target N7700 and poked around but I have no idea how to RUN the rync module, and how to do schedule backups like NSYNC had.

    Am I correct that the Target has to run the Rsync module, not the source. In other words, NSYNC works by pushing files from Source to Target.. But Rsync works by sucking the files from Source to Target, all run from the Target server -- N7700 #2.

    Its getting kind of complicated and im not a Linux expert.
    Please help

    Here is my config file below.
    P.S. Once I move N7700#2 to an offsite location, under a different network, will I have trouble with the IP address change? I normally just use the IP of the router which is not static with Time Warner, but only changes once or twice throughout the year, and then the ort # opened and forwarded from the router.

    --------------------------------------------------------------------------------------------------------------------


    #######################################################################
    ##
    ## /raid/data/module/RSYNC/system/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 = 192.168.0.181

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

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

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

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

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

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

  2. #2
    Member
    Join Date
    Jan 2009
    Posts
    137
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: (Please help) RSYNC noob - N7700 x2

    I posted a script to run rsync as an application, and I put the batch job into CRONTAB so the system runs it at night, 3am.

    I have never actually setup RSYNC usings it's config file, I just run it on demand.

    Please look at my script I posted, it does the trick for me at night.

    I do know that the actual rsync executable I run in the batch file is really named
    rsync_acl.

    My batch file is pretty self-explanitory.

    At an SSH prompt, type, 'rsync --help' to see what all my options do.

  3. #3
    Member
    Join Date
    Nov 2008
    Posts
    137
    Thanks
    0
    Thanked
    2 times in 2 posts

    Re: (Please help) RSYNC noob - N7700 x2

    can anyone help me run my config file for RSYNC??? I cant find any help anywhere with Crontab.. please any help would be so appreciated... i cant use NSYNC because of their 2TB file limitation and having big folders...

    please help, anyone who uses rsync

    p

  4. #4
    Member
    Join Date
    Nov 2008
    Posts
    137
    Thanks
    0
    Thanked
    2 times in 2 posts

    Re: (Please help) RSYNC noob - N7700 x2

    ok nm, going back to NSYNC and arranging folders so nothing grows above 2TB

Thread Information

Users Browsing this Thread

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

Posting Permissions

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