Hi All:
I thought the default behaviour for Rsync was that it would only
overwrite
destination files that have a lesser date than the source file. Instead
I
have this:
Source
[EMAIL PROTECTED]
[/csapps115/IBMHTTPD/content-external/cna/html/meet]: ls -al meet.html
-rwxr-xr-x 1 ibmhttpd ibmhttpd 30151 Jul 9 2002 meet.html
Destination
[EMAIL PROTECTED] [/opt/IBMHTTPD/content/cna/html/meet]: ls -al
meet.html
-rwxrwxr-x 1 ibmhttpd ibmhttpd 198 Oct 23 20:15 meet.html
I have an rsync job running every 15 minutes:
#!/usr/bin/ksh
/usr/local/bin/rsync -v --stats --archive --times -e "ssh -1 -p
2245" /csapps115/IBMHTTPD/content-internal/ [EMAIL PROTECTED]::Intranet
/usr/local/bin/rsync -v --stats --archive --times -e "ssh -1 -p
2245" /csapps115/IBMHTTPD/content-external/
[EMAIL PROTECTED]::MoveRequest116
Originally I ran this w/ flags of "-av", reading some posted responses
at the rsync FAQ, I then tried
The flags "--times" and "--archive"
Here is the /etc/rsyncd.conf file on sch1p116:
max connections = 20
list = yes
[HTTPD116]
uid = ibmhttpd
gid = ibmhttpd
path = /opt/IBMHTTPD/logs
comment = HTTPD Rsync Work Area- Logs
[MoveRequest116]
uid = ibmhttpd
gid = ibmhttpd
path = /opt/IBMHTTPD/content
read only = false
comment = Move Request Rsync Work Area- Content
[TMP116]
uid = ibmhttpd
gid = ibmhttpd
read only = false
path = /tmp
comment = Testing Area for writing files/dirs
Versions of rsync running on both source & destination are 2.4.6 for
HP-UX.
Are there some other lags to force it change only on datestamps ? What
about
In my copy of /etc/rsyncd.conf
Thanks,
Eisen Chao
CNA Insurance
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html