how i got rsync working as a daemon on port 873 - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: Remote Access (https://www.linux-noob.com/forums/forum-88.html) +--- Thread: how i got rsync working as a daemon on port 873 (/thread-1551.html) |
how i got rsync working as a daemon on port 873 - DustyBin - 2007-03-11 install rsync (ie. on debian use apt-get install rsync) on the host machine and client machine HOST MACHINE cp /usr/share/doc/rsync/examples/rsyncd.conf /etc/rsyncd.conf edit /etc/rsyncd.conf to your requirements the only bit i changed was the path of the folder i wanted to rsync. edit /etc/default/rsync and change RSYNC_ENABLE=false to RSYNC_ENABLE=true /etc/init.d/rsync start do a netstat -l and you should now see that rsync is listening on port 873 CLIENT MACHINE to activate rsync rsync -av host::ftp /client/rsync'd/folder ftp is the name of the default module in /etc/rsyncd.conf you can change this to anything you want in the config or add new modules for different folders to rsync. you might get error messages if you try and rsync a folder what shares different file systems. |