D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: t121anf on January 22, 2013, 02:38:08 PM

Title: Rsync, Freenas to DNS-320
Post by: t121anf on January 22, 2013, 02:38:08 PM
Can anyone provide advice on how to setup Rsync to sync my Freenas instance (VM on Physical Server) to my DNS-320?

I've tried various commands and it just seems to lock up and not do anything.

At the moment my DNS-320 is setup in mirrored mode, but I intend to change this to striped to match my Freenas setup (2x 2TB = 3TB to 4TB)

Really want to avoid having to use my Windows sync software to sync my freenas to fns-320.

Thanks
Title: Re: Rsync, Freenas to DNS-320
Post by: macbenoit on January 22, 2013, 03:16:35 PM
hello

maybe you should ask help from freenas community... except activate rsync synchro in the settings of the dns320 you dont have that much possibilities !

first you should use you admin user and a 8 carateres/digit password

it was a miss of time to configurate my dns 320 to save a folder to my synology but it finished to work after several verification (firewalls, options and checking the right cases)

good luck
Title: Re: Rsync, Freenas to DNS-320
Post by: t121anf on January 23, 2013, 12:51:28 AM
Hi,

Freenas would have been my first place to ask if I didn't have rsync working for other uses, it's only when I connect to the DNS-320 I encounter problems.

I hoped that someone may have gone down this route but maybe not.

Thanks anyway.  :)
Title: Re: Rsync, Freenas to DNS-320
Post by: hoppo1 on January 24, 2013, 12:47:34 AM
I've got this working but the other way. I use the 320 as the source and another nas as the destination using Rsync which works fine. I did have a few issues a while back but it works flawless now. I have so much more configuration on my other nas setting up the rsyncd.conf file etc it made sense to do it this way.

If you install funplug and look at tweaking the rsyncd.conf on the 320 you might have a bit more luck. Rsync uses this file to use backup folders. Do a search for rsync on google and how to set it up. Something along the lines of below would give a folder call media when you connect from the freenas.

hosts allow = *
hosts deny = *
use chroot = no
uid = root
gid = root
secrets file = /etc/rsyncd.secrets
pid file = /var/run/rsync.pid
timeout = 300

[ Media ]
path = /mnt/HD/HD_a2/Media
read only = false
list = yes
auth users = root