Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to sync my home folder using a server with ssh, is it possible to do it with rsync? I need to be able to sync it between a few computers.

Thanks for your help

share|improve this question
    
A webserver can't really sync anything, it serves webpages. An rsync server daemon only acts as a one end of an rsync command. If you want your home directory to be shared across multiple machines you would probably do best to host it on one machine and have the others NFS mount it from the host. If you want multiple copies, all kept in sync with each other, you'll need to better explain your needs. –  msw Dec 18 '10 at 23:17
    
I meant a dedicated server with ssh access. –  mnml Dec 18 '10 at 23:21
add comment

1 Answer 1

up vote 11 down vote accepted

Unison Install unison is the bidirectional equivalent of rsync. Normally it just runs with no fuss, copying from whichever side has changed to the other side. If there's a conflict, i.e. you've changed the file on both sides, it tells you and asks you what to do.

To synchronize between more than two machines, use a star pattern where there is a center machine and any number of satellite machines: run unison between each satellite machine and the center machine. In your setup, the server would be the center machine.

share|improve this answer
    
I use Unison, it's great. –  Matt Joiner Dec 19 '10 at 3:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.