Page 1 of 1

Server to Server replication

Posted: Tue Dec 07, 2010 2:00 pm
by aenigmainc
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.

Re: Server to Server replication

Posted: Tue Dec 07, 2010 2:28 pm
by rgmhtt
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.

Re: Server to Server replication

Posted: Fri Dec 10, 2010 9:22 am
by aenigmainc
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.