DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-04-15 22:06:08

xenyz
Member
Registered: 2007-04-15
Posts: 12

Synchronizing two DNS-323 units

Hi everyone,

I've read through all the posts and couldn't find one that addressed keeping two DNS-323's in sync with each other. I have looked at using rsync to do this, although it is not really designed to do two-way synchronization. Does anyone know if something like unison could be run on the DNS-323? Are there any other suggestions?

To be clear: A file could be created/changed/deleted on either unit, and the sync tool would have to copy files in either direction to keep both up-to-date.

Thanks!

Offline

 

#2 2007-04-16 10:07:55

someguy
Member
Registered: 2007-01-17
Posts: 47

Re: Synchronizing two DNS-323 units

unison has been ported to debian, so you might set up a chroot debian environment and give it a shot. I did a little searching and found that the nslu2-hackers got unison to work as part of a package for unslung:
http://trac.nslu2-linux.org/optware/bro … k?rev=5924

These unison packages apparently work for both dd-wrt and unslung.. so it seems that other embedded projects have been successful with it..  It might be cool if we could subscribe to some of these other package systems someday..

Last edited by someguy (2007-04-16 10:08:15)

Offline

 

#3 2007-04-17 23:08:27

xenyz
Member
Registered: 2007-04-15
Posts: 12

Re: Synchronizing two DNS-323 units

Does anyone know of any limitations of having unison compiled for use with the fun_plug startup script? i.e. outside of the the Debian chroot environment. I haven't done any cross-compilation before but maybe I'll give it a go if it's feasible.

This would be a great improvement for having multiple levels of redundancy. It would be like RAID1 on the hardware level. If anyone else is interested in this please post a reply!

Offline

 

#4 2007-04-18 03:18:58

someguy
Member
Registered: 2007-01-17
Posts: 47

Re: Synchronizing two DNS-323 units

I'd definitely give it a go if you x-compiled it.  rsync meets most of my needs, but I'd definitely give unison a try. good luck, either way!

Offline

 

#5 2007-04-23 13:51:12

rosco1011
New member
Registered: 2007-04-23
Posts: 1

Re: Synchronizing two DNS-323 units

i'm not the expert that most people on this forum seem to be, but i may have a potential solution.

i use NTI Shadow 3 backup software on windows which is designed to copy files directly (rather than imaging or archiving). it can be set up to detect and make changes to the backup files as they are copied/saved/modified on the host pc, or do so on a user specified schedule. the software is network aware and works with the dns as either a share or mapped drive. it is possible to set up multiple jobs to run concurently, so i wonder whether you could set up 2 jobs - one dns mirroring the other and the reverse.

you can download a free trial here if you want to test out this idea.
http://www.ntius.com/backup_solutions.asp

hope that might help
ross

Offline

 

#6 2007-04-23 23:41:00

thorlos1974
Member
Registered: 2007-04-23
Posts: 6

Re: Synchronizing two DNS-323 units

Using two mapped network drives for each NAS - Beyond Compare will perform the sync function.

Offline

 

#7 2007-04-24 00:27:29

xenyz
Member
Registered: 2007-04-15
Posts: 12

Re: Synchronizing two DNS-323 units

Thanks for the suggestions! I'm still going to try to get unison running in or outside the Debian environment. It seems to be the ideal way to do it in my situation, as there isn't a Windows PC running 24/7 to do the sync. I'll post here again if I can get it functioning.

Offline

 

#8 2007-11-02 20:54:25

Least
New member
Registered: 2007-09-27
Posts: 2

Re: Synchronizing two DNS-323 units

xenyz have you had any joy with this?
Its exacty the same as what i wish to do.

Cheers
Least

Offline

 

#9 2007-11-03 00:22:35

Chumby
Member
From: Tasmania, Australia
Registered: 2007-08-01
Posts: 96
Website

Re: Synchronizing two DNS-323 units

Howdy,

You could probably modify this tutorial - copy everything from one disk to the other.  It does use rsync though.

http://dns323.kood.org/forum/t1150-Tuto … night.html

Offline

 

#10 2007-11-10 20:15:53

djseed
Member
Registered: 2007-07-03
Posts: 7

Re: Synchronizing two DNS-323 units

I am not a Linux expert so I am not using the Fun Plug.  Like rosco1011 I use a Windows based sync program called SmartSync Pro.

http://www.smsync.com/

You buy it once and get lifetime upgrades.  It keeps all drives or directories up to date and everything is exactly the same.  I have been using it for several years and have purchased several copies.  It is very reliable and simple to use.  It keeps my laptop, servers, USB sticks and backup drives all synced with any changes.

Offline

 

#11 2007-11-12 12:03:55

dkl
Member
From: Toulouse
Registered: 2007-06-16
Posts: 104

Re: Synchronizing two DNS-323 units

A lot of different Windows tools can do the job. But, for doing this, you must have a Windows PC running connected to the DNS 323(s)... The nice thing with rsync, as explained in Chumby's tutorial, is that all the job is performed on the DNS323 itself, with no need for any external computer.

   If the topic is "Synchronizing 2 DNS323 units", this is certainly a better choice, from my point of view.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB