Re: Can a rsync server use MySQL for authentication

2008-03-13 Thread Daniel Maher
On Wed, 12 Mar 2008 17:58:53 -0800 Robert Fargher [EMAIL PROTECTED] wrote: What I'd like to know is if I can do the same thing with rsync? Specifically, can I run rsync as a daemon that permits secure connections and encrypted transfers from remote users using the same MySQL database for

Re: Can a rsync server use MySQL for authentication

2008-03-13 Thread Robert Fargher
On Thursday 13 March 2008 02:58:43 Daniel Maher wrote: On Wed, 12 Mar 2008 17:58:53 -0800 Robert Fargher [EMAIL PROTECTED] wrote: What I'd like to know is if I can do the same thing with rsync? Specifically, can I run rsync as a daemon that permits secure connections and encrypted transfers

Group name vs. GID

2008-03-13 Thread Mark, Oren
Hi, I use rsync the replicate data between several sites. As far as I know the default rsync operation is to copy group name and not GID. I have two sites, lets say A and B with the same GIDs, and one, C, with different GID. When I replicated data from site A to C it is working fine - it copied

Suggestions for basic rsync configuration

2008-03-13 Thread Geofoxer
Hello, I am very new to rsync and am wanting to have it back up more than 4 remote linux servers via ftp. I want to write a script that will open up a ftp connection using ftp://username:[EMAIL PROTECTED] with a server, then mount the drive containing the backups, copy the data that is new,

Re: Can a rsync server use MySQL for authentication

2008-03-13 Thread Daniel Maher
On Thu, 13 Mar 2008 04:23:15 -0800 Robert Fargher [EMAIL PROTECTED] wrote: Sounds like a job for PAM. http://www.google.com/search?q=linux+PAM :) No, specifically not. We are already using MySQL to authenticate secure FTP, using ProFTPDd. What I'd like to do is to use the *same*

Re: Can a rsync server use MySQL for authentication

2008-03-13 Thread Robert Fargher
On Thursday 13 March 2008 06:51:57 Daniel Maher wrote: PAM provides a way to develop programs that are independent of authentication scheme. Thank you for all that, you make some very good points and I learned more about the capabilities of PAM. I've presented the relevant info to the

RE: (cw)rsync 3.0.0 incompatible with 2.6.9

2008-03-13 Thread Tevfik Karagülle
I have now uploaded a new version of cwrsync including plain rsync with default settings. https://sourceforge.net/project/showfiles.php?group_id=69227package_id=6808 1release_id=583975 Tev -Original Message- From: Matt McCutchen [mailto:[EMAIL PROTECTED] Sent: 13. mars 2008 03:39

Re: Suggestions for basic rsync configuration

2008-03-13 Thread Stuart Halliday
Whilst it is possible to write a script to mount FTP and copy the files across. This isn't what is usually done with Rsync. Rsync can be a replacement for FTP client. So it collects a list of altered files between two directories and puts these files into a remote directory. No FTP required.

untransferred files

2008-03-13 Thread Ming Zhang
Hi All Some time rsync just return error code 23 that some files are not transferred. Is there a way to get a list of these files so we can retry it later time? For example, we scan the whole file system and N files are not transferred. Instead of scan the whole file system later again, we can

Re: Group name vs. GID

2008-03-13 Thread Wayne Davison
On Thu, Mar 13, 2008 at 02:11:28PM +0200, Mark, Oren wrote: On both A and B I use the rsync daemon version and configuration. See the rsyncd manpage for a discussion of the use chroot setting, how it affects user-/group-name mapping, and what you can do about it:

[PATCH] More itemize clarifications.

2008-03-13 Thread Matt McCutchen
--- Note: From now on, my submitted patches will also be pullable from: http://mattmccutchen.net/rsync/rsync.git/ Matt rsync.yo |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rsync.yo b/rsync.yo index 82b0fff..9c99645 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1678,8

Possibile rsync --link-dest or --compare-dest bug

2008-03-13 Thread jan
: rsync -av --link-dest=20080313/ --compare-dest=/data/20080313/ 20080313/ /data/20080314/ It just creates a copy of directory 20080313 to 20080314, but not with an old fashion copy, but hard linking back to 20080313. This is the error it is producing: === BEGIN SNIP === -bash-3.1$ rsync

Re: Possibile rsync --link-dest or --compare-dest bug

2008-03-13 Thread Wayne Davison
On Thu, Mar 13, 2008 at 09:33:42PM +0100, jan wrote: -bash-3.1$ rsync -av --link-dest=20080313/ --compare-dest=/data/BOC55/20080313/ 20080313/ /data/BOC55/20080314/ That set of options is impossible since you can't mix --link-dest with --compare-dest. Back in the days of 2.6.3, rsync would

Re: error allocating core memory buffers with certain iconv args

2008-03-13 Thread Wayne Davison
On Tue, Mar 11, 2008 at 03:00:25PM +0100, Giuliano Gavazzi wrote: rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32) This just tells you that the receiver side went away, but we don't know why it went away. If it is crashing, try to get a core dump and report the

Re: untransferred files

2008-03-13 Thread Wayne Davison
On Thu, Mar 13, 2008 at 11:01:35AM -0400, Ming Zhang wrote: Some time rsync just return error code 23 that some files are not transferred. Is there a way to get a list of these files so we can retry it later time? The list of files was output on stderr during the copy. Rsync will try them

Re: untransferred files

2008-03-13 Thread Ming Zhang
On Thu, 2008-03-13 at 18:27 -0700, Wayne Davison wrote: On Thu, Mar 13, 2008 at 11:01:35AM -0400, Ming Zhang wrote: Some time rsync just return error code 23 that some files are not transferred. Is there a way to get a list of these files so we can retry it later time? The list of files