Server to Server replication

aenigmainc
Posts: 2
Joined: Tue Dec 07, 2010 1:57 pm

Server to Server replication

Postby aenigmainc » Tue Dec 07, 2010 2:00 pm

I did a quick search of the forum and I apologize if this topic is in there somewhere but I didn't see it.

I'd like to have two Amahi servers set up and have the data replicated between them, basically Mirrored servers. In some cases i dont' want to mirror everything, maybe only a folder or two.
And, i'd like to have this go over the internet if possible.

Is this possible? i've been looking but can't find anything that calls this out.

thanks in advance for the help.

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Server to Server replication

Postby rgmhtt » Tue Dec 07, 2010 2:28 pm

If you want to do this periodically, rsync is your friend.

You can run it over ssh and NOT need to be running the rsync service and have that port open. This is how I do things:

rsync -a -e "ssh" /var/hda/files/Music/ hda2:/var/hda/files/Music

Play with it a bit, the put it into your crontab.

aenigmainc
Posts: 2
Joined: Tue Dec 07, 2010 1:57 pm

Re: Server to Server replication

Postby aenigmainc » Fri Dec 10, 2010 9:22 am

I thought about rsync, but my brothers and i wanted to basically be able to set up a "shared" set of folders that we could have replicated automatically between our servers. basically we set up a sharing relationship and then when we add files or remove files they replicate to each others boxes.

and, it would have to be idiot resistant.

Who is online

Users browsing this forum: No registered users and 40 guests