2 MBW's synchronised over the Internet
Forum » Forum / Installing & Configuring Programs » 2 MBW's synchronised over the Internet
started by: fweijersfweijers
on: 1215551487|%e %b %Y, %H:%M %Z|agohover
number of posts: 5
rss icon RSS: new posts
summary:
rsync internet two MBW's
2 MBW's synchronised over the Internet
fweijersfweijers 1215551487|%e %b %Y, %H:%M %Z|agohover

Hi
I have a MBW, and I'm thinking of buying a second MBW and put it in my parents house, and use RSYNC to keep a folder synchronised from MBW1 to MBW2.

I want to use this to keep my pictures safe in 2 seperate locations while those little buddies take care of keeping the same set of data on both locations :-)

1) Does anyone have this rsync feature running over the internet?
2) Do I need SSH or SSL?
I probably do need one of them for security reasons… but will this kill the performance so dramatically that this set-up is no longer an option?

Cheers!

last edited on 1215586067|%e %b %Y, %H:%M %Z|agohover by fweijers + show more
unfold 2 MBW's synchronised over the Internet by fweijersfweijers, 1215551487|%e %b %Y, %H:%M %Z|agohover
Re: 2 MBW's synchronised over the Internet
number3number3 1215627183|%e %b %Y, %H:%M %Z|agohover

Hi
1) Yes, I setup 2 MBW to just do that. It works fine, I use rync over ssh to do this.
2) If you use rsync, then you can use ssh to setup a secure connection.

It works reliable over the internet. I use a dynamice DNS setup to make sure the host is findable, where it moves (either by ISP or …).

The Gigabytes fly over the net at night while I sleep. I have setup both sides in RAID-1. So during the day there is no synchronizing going on… only between 10pm and 8am this is happening.

I did setup msmtp and used a script to send me logfile daily and logrotate to rotate the logs from time to time.
O, I have setup ssh to only accept rsa keys authentications, no password/userid combinations are allowed. This will hopefully prevent a lot of script kiddies (and weak password from myself). I have NOT moved sshd to another port (lazy me), but I think that using a hardend sshd configuration should do the trick.

O, right… I made a BACKUP share on each of the devices… and the scripts run on two ends. This way, I give my parents a secure storage as well, in exchange for some "hosting" space ;-)

If you want I can tell you more, just let me know.
Grtz,
Robert

unfold Re: 2 MBW's synchronised over the Internet by number3number3, 1215627183|%e %b %Y, %H:%M %Z|agohover
Re: 2 MBW's synchronised over the Internet
fweijersfweijers 1215675610|%e %b %Y, %H:%M %Z|agohover

Yes, I'm planning of giving my parents the same feature in exchange for cheap hosting ;-)

This sounds like exactly the set up that I was looking for, great!! Also the email function is very useful.

Could you please give me (and others interested) your configuration?
It would help me a lot!!
I'm not very good at linux, however I successfully managed to work my way through the configuration "Making a MyBook cool and quiet".

Many thanks in advance

Greetz,
Frank

last edited on 1215677725|%e %b %Y, %H:%M %Z|agohover by fweijers + show more
unfold Re: 2 MBW's synchronised over the Internet by fweijersfweijers, 1215675610|%e %b %Y, %H:%M %Z|agohover
Re: 2 MBW's synchronised over the Internet
number3number3 1215882440|%e %b %Y, %H:%M %Z|agohover

Frank,
I have started to document my project on this page:
http://mybookworld.wikidot.com/tutorial-setup-2mbwe-with-rsync-over-the-internet
Maybe you and others can verify the steps and help improving the tutorial where needed.
L8r, #3

last edited on 1215896175|%e %b %Y, %H:%M %Z|agohover by number3 + show more
unfold Re: 2 MBW's synchronised over the Internet by number3number3, 1215882440|%e %b %Y, %H:%M %Z|agohover
Re: 2 MBW's synchronised over the Internet
starkstark 1215595519|%e %b %Y, %H:%M %Z|agohover

Helo,

"n.b. This only applies if you are connecting directly to rsyncd (i.e. via port 873). If you intend to rsync over ssh which I believe is the default for rsync, none of the above is required, if you have ssh access, you can rsync to it like below without any further modifications!

rsync -az source user@host:directory"

So after what i read in the how to, i guess you'll just have to fordware the ssh port from your parents house. add then connect to it.

unfold Re: 2 MBW's synchronised over the Internet by starkstark, 1215595519|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License