DO NOT REPLY [Bug 5403] New: -H (--hard-links) is broken when sending to remote

2008-04-18 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5403

   Summary: -H (--hard-links) is broken when sending to remote
   Product: rsync
   Version: 3.0.2
  Platform: x86
OS/Version: NetBSD
Status: NEW
  Severity: normal
  Priority: P3
 Component: core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]


Running local to local, hard-link support has exhibited no obvious problems.

Running local to remote, a file hard-linked, say 153 times, would be sent 153
times and stored on the remote 153 times.  Both ends running 3.0.2.
This seems to be independent of recursion options - exhibited without -r, with
-r, and with -r --no-i-r

Not tested:
- interaction between 3.* and 2.*
- running remote to remote, or remote to local


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
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: Rsync Error Code 23

2008-04-18 Thread Wayne Davison
On Thu, Apr 17, 2008 at 12:57:27PM -0600, Kenneth Seal wrote:
 I have tried running my script in verbose mode -vv but I really don't
 want to read all 1000+ lines of output to look for the error code.

Errors should be output to stderr, and it isn't required that you have
even one -v specified to see errors.  You should be able to redirect
stderr (file-handle 2) like this:

rsync -av src/ dest/ 2/tmp/rsync-$$.txt

That should give you the errors in whatever file you like.

..wayne..
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Pam Authentication

2008-04-18 Thread Léo LEROY
Hello,

First, i'd like to thank all of you who are involved in the rsync project. You 
do it great.

2nd, i'd like to share with you a problem, which i think could be solved pretty 
easily.

I got to set a backup solution. I'm using nasbackup ( nasbackup.com ).
Nasbackup is rsync based ( via cygwin ).
I have a file server, which already have Samba + LDAP, up  running.

I'd like to map rsyncd authentication with LDAP. But as you know, there's no 
build-in solution in rsync. So, regarding the most basic authentication scheme 
on Unix/Gnu Linux platform, i thought of PAM, which could be much more 
interesting, because it could act as an authentication gateway. I think you 
know PAM.

Here are my questions :

- Has anyone worked or thought on a similar solution ?
- Is there any other way to extend the classic scheme provided by 
rsyncd.secrets ?

Thanks :-)

Léo LEROY
Equipe Support Actinux
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Incorrect Total File Size

2008-04-18 Thread Nittany Jim
Greetings, 

I am rsync'ing a file approximately 30-50MB in size.  The source file changes 
several times a day.  rsync is launched on the destination host every 1-2 
minutes using the following command: 

/usr/bin/rsync --stats --verbose --bwlimit=16 --delete -Cavz ${hostname}::grids 
${localdir} 

Since the file only changes several times a day, most of the rsync commands do 
nothing.  Most of the time when the source file changes, rsync pulls the source 
file over just fine. 

Occasionally rsync will think it needs to update the destination file when in 
reality the source file has not been touched for hours.  In those cases, the 
contents of the destination file do not change, but rsync still seems to go 
through the motions.  I noticed that rsync seems to think that the source 
file's byte count has changed when in reality it has not.  The results of the 
stats argument shows the following: 

- 
Number of files transferred: 1 
Total file size: 38595728 bytes 
Total transferred file size: 38595728 bytes 
Literal data: 0 bytes 
Matched data: 36412008 bytes 
File list size: 84 
Total bytes sent: 42362 
Total bytes received: 160 

sent 42362 bytes  received 160 bytes  2932.55 bytes/sec 
total size is 38595728  speedup is 907.66 
- 

The source file is 36412008 bytes (I confirmed this), yet rsync thinks it is 
38595728 bytes.  If I am understanding things properly, rsync attempts to move 
the updated bytes, finds that in reality nothing changed, and exits.  The next 
rsync attempt usually recognizes the correct file size. 

Can anyone explain why I am seeing this behavior?  It's not causing huge 
problems for me, but it is creating some minor annoyances that I would like to 
resolve. 

The particulars: 

rsync version 2.6.3 protocol version 28 (yes, I know it's old) 
source host: Red Hat 3.4.6-8 
destination host: Red Hat 3.4.6-2 

Any help is greatly appreciated. 

Thanks! 
Jim

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

DO NOT REPLY [Bug 5404] New: rsync --dry-run should show where files will go

2008-04-18 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5404

   Summary: rsync --dry-run should show where files will go
   Product: rsync
   Version: 3.0.3
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P3
 Component: core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]


Multiple times I've run rsync -n (aka --dry-run) to check if the files I'm
transferring are gonna go where I want them to, to make sure I've got trailing
slashes in the right spots and such. But it does not tell me, which is very
frustrating.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


DO NOT REPLY [Bug 5404] rsync --dry-run should show where files will go

2008-04-18 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5404


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Comment #1 from [EMAIL PROTECTED]  2008-04-18 21:24 CST ---
I'd suggest using -i (--itemize-changes) with -n.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html