Koozali.org: home of the SME Server

Synchronizing two SMEs in remote locations, possible?

Mahmood Al-Yousif

Synchronizing two SMEs in remote locations, possible?
« on: February 03, 2002, 07:53:14 AM »
Take this scenario:

A company has several branches across the country (countries) and they want to synchronize their data automatically between SME servers. The information to be synchronized could be simple data (accounts, documents, etc) or the whole machine (which is a waste of time I think). This would be good not only for sync'ing data, but very important for anyone considering disaster recovery etc.

Is it possible to do that with SME?

I remember that Newlix (don't know if they're still alive) used to do that by setting up VPN channels and cron jobs.

I'm not sure how to get this done with SME so any pointers/hints would be appreciated.

carlb

Re: Synchronizing two SMEs in remote locations, possible?
« Reply #1 on: February 04, 2002, 02:15:00 AM »
How about using rsync?  It is included in the iso. For more info, you can go to rsync.samba.org.

Mahmood Al-Yousif

Re: Synchronizing two SMEs in remote locations, possible?
« Reply #2 on: February 04, 2002, 07:51:16 AM »
Thank you Carl, will have a look at that..

Did anyone deploy server synchronization in the field successfully so far?

Hsing-Foo

Re: Synchronizing two SMEs in remote locations, possible?
« Reply #3 on: February 04, 2002, 12:53:03 PM »
Hi Mahmood,

I i'm trying to sync data between SME servers (see http://forums.contribs.org/index.php?topic=12690.msg47657#msg47657) with DRBD. But no luck so far.

Also Unison is quit nice (see http://www.ifost.org.au/~peterw/) which works pretty good.

JFYI

RequestedDeletion

Arkman

Rsync is the way to go!
« Reply #4 on: February 04, 2002, 04:33:19 PM »
I have been 'syncing' my two SME's between my house and my office for a couple of years now. I don't sync the whole server, but do sync some pretty big directories and everything works great. I use rsync over ssh and have written some bash scripts that allow me to perform the sync very easily, you can even write a cron task to do the syncing at a particular time.

Darrel May has a handy little rsync how-to on his site. If you wnat to have a look at one of my bash scripts let me know.

Arkamn

guestHH

Re: Rsync is the way to go!
« Reply #5 on: February 04, 2002, 06:33:30 PM »
Hi Arkman,

I think RSync is good for a 'replicating' mechanism the way you use it *changes on 1 side only).

Unison is a good way to synchronise 2 files with changes on both sides.

Let's say I want to keep 2 SME server in sync by constantly by mirroring them. (RAID-1 over network) I'm looking for a way to do this with DRBD.

The big question is for all methods is 'what do I Sync/mirror to not get only data files but also user accouts, Ldap info and config info?' At least that's my question for now (and ofcource how to get DRBD working :-)

JFYI, regards

guestHH

Garret

Re: Rsync is the way to go!
« Reply #6 on: February 12, 2002, 05:44:19 PM »
Is this question still alive? Did I miss the answer?

Is there a way to sync to COMPLETE machines?

Thanks
Garret

Garret

Re: Rsync is the way to go!
« Reply #7 on: February 18, 2002, 01:12:25 AM »
Arkman,

If you would please, contact me at admin@ruffdogs.com.
I am interested in how you set all this up, I am trying to accomplish the exact same thing.

Thank you
Garret

Uwe

Re: Rsync is the way to go!
« Reply #8 on: February 18, 2002, 07:01:07 AM »
I would be interested in
  1) the URL for Darrel May's site
  2) any scripts you might have for syncing SME's

I'm sure others would be interested also.