You are not logged in.
I want to clone /home/* for 2 computers in my local network, they have the same 4 users. This way any family member can login to any of the two and have their files and configuration. They have plenty of HDD space and bandwidth is not a problem since this is done via local network and they both have gigabit ethernet cards (and yes, the router supports that speed). I could use an old laptop with linux to work as a server if that will simplify the process...
I'm thinking rsync + ssh + cron job the script?
> Ping the other computer, if it's alive, run the following:
> run rsync command including ssh-ing into it as root user (because the other users wont have access to the other's home directories)
> repeat every ~15min
I'm not sure if that will be the best way, any suggestions?
Anyone does this and wants to share their method/script?
I'm also not sure about the rsync command, any suggestions?
Thanks
!
Offline
Go look at an app called Unison. It will do exactly what you want and is scriptable.
Offline