Operating System - HP-UX
1838105 Members
3661 Online
110124 Solutions
New Discussion

Re: how install & configure rsync

 
prasanth.v.a
Occasional Contributor

how install & configure rsync

pls explain the step to install the rsync
in k class 10.20 server .And tell me from where will i get the downloadable version and installable version of it.
2 REPLIES 2
Chandan Kumar_1
Honored Contributor

Re: how install & configure rsync

Hi Prasanth,

To download open the following web link:

http://samba.anu.edu.au/rsync/download.html

For details:

http://www.uta.edu/oit/how-to/docs/rsync.php

All the best!
Chandan
Learn. Share. Inspire.
Geoff Wild
Honored Contributor

Re: how install & configure rsync

Why install rsync when rdist is built in already?

This is how I setup rdist:

rdist was setup as follows:

created /app/admin/drp

created script to update files tn DR server called update-binaries.sh

created file to store what to update called distfile

/app/admin/drp # cat update-binaries.sh
#! /bin/sh

# Keep the DRP copy of the vgpadm up-to-date.
# Currently the files are in:
#
# /home/vgpadm
#
# See the rdist(1M) distfile for a list of exclusions.

DRPDIR=/app/admin/drp
DRPHOST=svr032

mount | grep /home > /dev/null 2>&1
if [ $? -eq 0 ]
then
( su - vgpadm -c "rdist -f $DRPDIR/distfile vgpadm"; ) 2>&1 |\
tee $DRPDIR/drp.log 2>&1 |\
mailx -s "VGPADM DRP rdist output" gwild@mydomain.com
fi

/app/admin/drp # cat distfile
VGPDR = ( svr032 )

#
# File systems to be copied over to the DR host.
VGPADM = /home/vgpadm

vgpadm: ( ${VGPADM} ) -> ( ${VGPDR} )
install -R -w ;
except ${VGPADM}/logfiles;

Add to cron:

# Copy vgpadm across to the DR site.
05 01 * * * /app/admin/drp/update-binaries.sh


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.