Rsync on webserver
David Nickel Jr.
dnickel at aug.edu
Tue Jan 8 06:00:38 EST 2002
Here is the problem.
I have a primary and a secondary web server. I want to sync the home
directory paths on the primary server with the secondary server. I am
fairly ignorant to rsync and wondering what is the best method of doing this
and how would I call the procedure from say a "perl script".
Both Servers are FreeBSD 4.2 and there are actually two directorys I want
to sync 1) /www/home 2) /www/default. Here is my rsyncd.conf file
#####
motd file = /etc/rsyncmotd
max connections = 5
syslog facility = local3
[home]
path = /www/home
comment = Home Directory Path
uid = nobody
gid = nobody
max connections = 2
read only = no
[default]
path = /www/default
comment = ASU Homepage Path
uid = nobody
gid = nobody
max connections = 2
read only = no
######
David
More information about the rsync
mailing list