Hi, I've got one thats really stumping me... rsync 2.6.9 from FreeBSD ports on both ends. /usr/local/tmp/rsync --dry-run -v -v -v -v -v -v -v -v -v -v -v -v --dry-run -vrlptHDgozxS --partial --force --delete --numeric-ids --exclude='A/*' --include='*/' /usr/local/etc/machines/ rsync@A:/usr/local/etc/machines/ It seems to be sending over files that I can't understand why.>From an ls, sum, etc standpoint the files are the same.For my example, I'll use the file named : F/etc/apache/vh.209/www.example.com In the output I see : [sender] make_file(F/etc/apache/vh.209/www.example.com,*,2) .... [sender] i=898 /usr/local/etc/machines F/etc/apache/vh.209/www.example.com mode=0100644 len=735 uid=0 gid=0 flags=0 .... recv_file_name(F/etc/apache/vh.209/www.example.com) .... [receiver] i=898 5 F/etc/apache/vh.209/www.example.com mode=0100644 len=735 uid=0 gid=0 flags=0 .... [generator] make_file(F/etc/apache/vh.209/www.example.com,*,2) ..... [generator] i=20 0 F/etc/apache/vh.209/www.example.com mode=0100644 len=735 uid=0 gid=0 flags=0 ..... recv_generator(F/etc/apache/vh.209/www.example.com,898) send_files(898, /usr/local/etc/machines/F/etc/apache/vh.209/www.example.com) F/etc/apache/vh.209/www.example.com is uptodate .... recv_files(F/etc/apache/vh.209/www.example.com) E# ls -l F/etc/apache/vh.209/www.example.com -rw-r--r-- 1 root wheel 735 Jun 21 2005 F/etc/apache/vh.209/www.example.com erda# sum F/etc/apache/vh.209/www.example.com 20287 1 F/etc/apache/vh.209/www.example.com A# ls -l F/etc/apache/vh.209/www.example.com -rw-r--r-- 1 root wheel 735 Jun 21 2005 F/etc/apache/vh.209/www.example.com A# sum F/etc/apache/vh.209/www.example.com 20287 1 F/etc/apache/vh.209/www.example.com So why did it send it? Thanks, Tuc
Tuc at T-B-O-H
2008-Feb-05 07:38 UTC
Sends files when I don't think it should [SOLVED, sorta]
> > Hi, > > I've got one thats really stumping me... rsync 2.6.9 from FreeBSD > ports on both ends. > > /usr/local/tmp/rsync --dry-run -v -v -v -v -v -v -v -v -v -v -v -v --dry-run -vrlptHDgozxS --partial --force --delete --numeric-ids --exclude='A/*' --include='*/' /usr/local/etc/machines/ rsync@A:/usr/local/etc/machines/ > > It seems to be sending over files that I can't understand why. > From an ls, sum, etc standpoint the files are the same. >According to Einstein : Insanity: doing the same thing over and over again and expecting different results. Well, I ran the rsync over again today, expecting the SAME results, but alas... It gave me the expected behaviour today! I didn't change anything in the command line. I didn't change anything on the sending server. I didn't change anything on the receiving server. So how come one time it wanted to transfer over 40 files that shouldn't have, and today it works perfectly???? Thanks, Tuc
On Sat, Feb 02, 2008 at 08:12:20PM -0500, Tuc at T-B-O-H.NET wrote:> /usr/local/tmp/rsync --dry-run -v -v -v -v -v -v -v -v -v -v -v -v --dry-run -vrlptHDgozxS --partial --force --delete --numeric-ids --exclude='A/*' --include='*/' /usr/local/etc/machines/ rsync@A:/usr/local/etc/machines/ > > It seems to be sending over files that I can't understand why.If you use -i (instead of all the -v options), it will itemize the changes being made. That will show you if the file is new, or how it was changed. ..wayne..