[Ilugc] Doubt on Rsync

  • From: basker@xxxxxxxxxxxx (P BASKER)
  • Date: Tue, 16 Jul 2002 15:06:34 +0530 (IST)

If u get connection refused, then rsyncd is not starting, perhaps in
/etc/xinetd.d/rsync file u need to edit enable it by saying disable as no

U can use the rsync daemon to do the transfer. U will require to create
/etc/rsyncd.conf on the remote machine.

################### start of /etc/rsyncd.conf #############
Example of /etc/rsyncd.conf is
[test1]
path = /tmp/backup
read only = FALSE

############ end of /etc/rsyncd.conf ######################

After doing that create restart xinetd by

/etc/rc.d/init.d/xinetd restart

Following example will sync /home/foo on local machine to /tmp/backup on
remote machine.

rsync -avz /home/foo/ linux107::test1/backup

NOTE: test1 is not a directory in the server, also note use of "::" in the
destination path.

for more info RTFM.

        P.Basker



On Tue, 16 Jul 2002, Prabhu Ramachandran wrote:

"TS" == Thanu Skariah <tskariah@xxxxxxxxxxxxxxx> writes:

    TS> What all to be done inorder to make rsync run on a mcahine.  I
    TS> am getting the following error when I am tring to run the
    TS> same.

You need to have rsync on both the local and remote systems.  Plus you
need either rsh or preferably ssh on both machines installed and
working properly.


Other related posts: