Re: rsync 3.0.9 incompatible with self? (proto incompat on local-local)

2012-08-21 Thread Wayne Davison
On Sun, Aug 12, 2012 at 11:41 AM, Linda Walsh rs...@tlinx.org wrote:

 How can I show it to you?


One thing you can try is to build 3.1.0dev (from git or nightly tar file)
and run that with --debug=hlink5.  If the copying is remote (using ssh),
you can put the executable off to the side somewhere and use something like
--rsync-path=rsync-dev to make the remote side use it.

..wayne..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: How to remove files at source present on destination without transferring them

2012-08-21 Thread Wayne Davison
On Sat, Aug 18, 2012 at 2:47 AM, David Liontooth lionte...@cogweb.netwrote:

 Does rsync provide a way to remove files at the source that are present on
 the destination, without first transferring the files?


If the file that is already on the destination is identical to the one on
the other server's source (including modified-time), then a normal copy
(w/--remove-source-files) will notice they are identical and just remove
the source file.  If the times differ, you can use --checksum and it will
just tweak the time instead of doing an all-matching-data transfer.  If you
want to avoid the checksum time, you could consider using --size-only, but
only if you are sure that identically-named files of the same size are
always the same.

..wayne..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

weird rsync issue

2012-08-21 Thread Dariusz Dolecki
rsync fails on some directories while on others it works without issue.

Here are the inportant items:

On theserver from which directories are being copied:

more /etc/rsyncd.conf
snip
[abcd]
   path = /xyz/abcd
   comment = abcd   uid = 0
   gid = 3
   read only = yes
   list = no
   auth users = test-abcd
   secrets file = /etc/rsyncd.passwd
   strict modes = true
   hosts allow = IP
   refuse options = delete*
   transfer logging = true

snip

tail -f  /var/adm/rsyncd.log
2012/08/21 14:10:31 [15544] connect from hostname (IP)
2012/08/21 14:10:36 [15544] rsync: connection unexpectedly closed (22 bytes
received so far) [receiver]
2012/08/21 14:10:36 [15544] rsync error: error in rsync protocol data
stream (code 12) at io.c(600) [receiver=3.0.6]
2012/08/21 14:22:04 [15784] connect from hostname (IP)
2012/08/21 14:22:10 [15784] rsync: connection unexpectedly closed (22 bytes
received so far) [receiver]
2012/08/21 14:22:10 [15784] rsync error: error in rsync protocol data
stream (code 12) at io.c(600) [receiver=3.0.6]

ON the client to which directories are being copied to:

The command being run is:

/opt/rsync/bin/rsync -av --delete --exclude-from=/var/scripts/path to
dir.exclude test-abcd@server name::abcd/data/  /dir/data

and it prompts for a password, ssh has been setup for passwordless
passthrough for root

bash-3.00# ssh server date
Tuesday, August 21, 2012 03:51:58 PM CDT
bash-3.00#
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: weird rsync issue

2012-08-21 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Did the rsync command output any errors?

Also, you are using rsyncd not rsync over ssh so your ssh keys are not
relevant.  If you want to use rsync over ssh then use the
user@host:/path syntax instead of user@host::module.

Finally, in your config file is that uid = 0 on the same line as the
comment or was that a paste error?

On 08/21/12 16:52, Dariusz Dolecki wrote:
 rsync fails on some directories while on others it works without
 issue.
 
 Here are the inportant items:
 
 On theserver from which directories are being copied:
 
 more /etc/rsyncd.conf snip [abcd] path = /xyz/abcd comment = abcd
 uid = 0 gid = 3 read only = yes list = no auth users = test-abcd 
 secrets file = /etc/rsyncd.passwd strict modes = true hosts allow =
 IP refuse options = delete* transfer logging = true
 
 snip
 
 tail -f  /var/adm/rsyncd.log 2012/08/21 14:10:31 [15544] connect
 from hostname (IP) 2012/08/21 14:10:36 [15544] rsync: connection
 unexpectedly closed (22 bytes received so far) [receiver] 
 2012/08/21 14:10:36 [15544] rsync error: error in rsync protocol
 data stream (code 12) at io.c(600) [receiver=3.0.6] 2012/08/21
 14:22:04 [15784] connect from hostname (IP) 2012/08/21 14:22:10
 [15784] rsync: connection unexpectedly closed (22 bytes received so
 far) [receiver] 2012/08/21 14:22:10 [15784] rsync error: error in
 rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.6]
 
 ON the client to which directories are being copied to:
 
 The command being run is:
 
 /opt/rsync/bin/rsync -av --delete --exclude-from=/var/scripts/path
 to dir.exclude test-abcd@server name::abcd/data/ 
 mailto:test-abcd@%3Cserver%20name%3E::abcd/data/  /dir/data
 
 and it prompts for a password, ssh has been setup for passwordless 
 passthrough for root
 
 bash-3.00# ssh server date Tuesday, August 21, 2012 03:51:58 PM
 CDT bash-3.00#
 
 
 
 
 
 
 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Kevin Korb  Phone:(407) 252-6853
Systems Administrator   Internet:
FutureQuest, Inc.   ke...@futurequest.net  (work)
Orlando, Floridak...@sanitarium.net (personal)
Web page:   http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAz9gwACgkQVKC1jlbQAQc6+wCgmBqPmpK9W6gWz22sWJO1V84z
sl0AoNzJwk9rNGV0BSsPOPXfJihhy+RY
=zukk
-END PGP SIGNATURE-
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html