Re: two way synchronization with rsync?

2005-11-09 Thread Tomasz Chmielewski
Sumit malhotra schrieb: use samba's postexec and preexec option with RSYNC, it should resolve the issues. I tried that already, it's not reliable for this purpose, it seems to work only if someone connects / disconnacts to/from a share, and not always. -- Tomek http://wpkg.org WPKG - softwa

File transfer from/to mapped drive with cygwin rsync

2005-11-09 Thread sanalkumar.siva
Title: Message Hello all,       When we tried the rsync of files from a network mapped drive (Windows) to Linux host, we are getting the following error.       rsync -av @::        where is the rsync module name defined in rsyncd.conf file for mapped drive.     Error :-       @ERROR: c

Consider implmenting a --move or --delete-sent option?

2005-11-09 Thread Scott Edwards
Are there any plans to add support to rsync for moving files?. I'd like to remove files+directories after they're uploaded. For the time being, I'll use a workaround or do w/o. Thanks -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http:/

Re: Consider implmenting a --move or --delete-sent option?

2005-11-09 Thread Matt McCutchen
On Wed, 2005-11-09 at 13:30 -0700, Scott Edwards wrote: > Are there any plans to add support to rsync for moving files?. I'd > like to remove files+directories after they're uploaded. For the time > being, I'll use a workaround or do w/o. There's a --remove-sent-files option, but it removes only

Re: Consider implmenting a --move or --delete-sent option?

2005-11-09 Thread Manuel López-Ibáñez
Well, for me it seems this is quite unnecessary since it is already implemented elsewhere: "rm -rf upload_dir". Even the --remove-sent-files seems redundant, since removing files can always be done with "rm", can't it? Even when using complex rules to select the files, one can parse the outp

Problem with rsync on WinXP going to HP-UX or Linux

2005-11-09 Thread Stan Sieler
Hi, I can't get rsync from a PC to an HP-UX or Linux box to work, and am hoping for a pointer or two. I checked the FAQ and googled ... with no luck, so I hope this isn't a patently obvious newbie problem :) I just got interested in trying to use rsync to backup my WinXP PC to a Linux or HP-UX c

Re: Consider implmenting a --move or --delete-sent option?

2005-11-09 Thread Wayne Davison
On Wed, Nov 09, 2005 at 03:53:53PM -0500, Matt McCutchen wrote: > I would also like an option that removes every file in the transfer > from the sender, whether or not it was updated on the receiver. You can always use "--remove-sent-files -I" for that. Yes, that's does disable the "quick check",

Re: File transfer from/to mapped drive with cygwin rsync

2005-11-09 Thread Wayne Davison
On Wed, Nov 09, 2005 at 09:11:52PM +0530, [EMAIL PROTECTED] wrote: > @ERROR: chdir failed Just read the server's log file to discover what directory was being attempted in that chdir() call (rsync doesn't like to reveal such info from the daemon to the client). I'm guessing you're trying to u

Re: Fwd: error in rsync protocol data stream (code 12) at io.c(359)

2005-11-09 Thread Wayne Davison
On Tue, Nov 08, 2005 at 11:28:19AM +0200, stoil valchkov wrote: > How can I troubleshoot this? I sent a message to this list just a few hours after your original request responding to a message with an almost identical subject to yours. It essentially told you that the Issues and Debugging page i

Re: Reducing IO load for system mirroring

2005-11-09 Thread Wayne Davison
On Fri, Nov 04, 2005 at 03:54:00AM +, Matt Hersant wrote: > Perhaps a way to cache a list of changed files to give to rsync on the > bi-hourly run? If you know what files have changed, you can use the --files-from option to tell rsync to just update those specific files. ..wayne.. -- To uns

Re: Problem with rsync on WinXP going to HP-UX or Linux

2005-11-09 Thread Wayne Davison
On Wed, Nov 09, 2005 at 02:50:37PM -0800, Stan Sieler wrote: > rsync version 2.6.4 protocol version 29 > (2.6.6 requires too many things we don't have installed) The only extra thing I see is the addition of a setlocale() call in 2.6.5, and you can just run "./configure --disable-locale" to avoi

Re: Problem with rsync on WinXP going to HP-UX or Linux

2005-11-09 Thread Stan Sieler
Re: > > 1. from PC to HP-UX: rsh works, rsynch doesn't > > You should run rsync with -vv so you can see for sure what remote-shell thanks...here's the result... C:\rsync>type test.bat @echo off rsync -vv -auvzbPv test.bat ozma:/tmp/foo C:\rsync>test cmd= machine=ozma user= p

Re: Consider implmenting a --move or --delete-sent option?

2005-11-09 Thread Matt McCutchen
On Wed, 2005-11-09 at 15:57 -0800, Wayne Davison wrote: > You can always use "--remove-sent-files -I" for that. Yes, that's does > disable the "quick check", but it also ensures that all the files are > exactly the same before they are removed from the sending side. That trick falls a little bit

rsync local copy saves ower:group remote copy sets to rsync.conf owner:group

2005-11-09 Thread Flowers, Linda
Using sudo and rsync to perform migrations of source from test to prod When the rsync 'source' 'target' are both on the local server the owner:group is maintained from the source When the copy is 'source' local 'target' remote the owner:group changes to

RE: rsync local copy saves ower:group remote copy sets torsync.conf owner:group

2005-11-09 Thread Tony
"remote" copy to 127.0.0.1 maybe? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Flowers, Linda > Sent: Wednesday, November 09, 2005 10:34 PM > To: rsync@lists.samba.org > Subject: rsync local copy saves ower:group remote copy sets torsync.conf > own

Re: Fwd: error in rsync protocol data stream (code 12) at io.c(359)

2005-11-09 Thread stoil valchkov
Sorry - I haven't seen this message. I've figured out the problem. I've downloaded and build latest version - 2.6.6. However during cron job run it runs from another place version 2.6.3pre1. And with this version it doesn't run as expected. On 11/10/05, Wayne Davison <[EMAIL PROTECTED]> wrote: On

Re: "intelligent" rsync scripts?

2005-11-09 Thread Wayne Davison
On Mon, Nov 07, 2005 at 10:59:21PM -0500, Chris Shoemaker wrote: > Ok, so the purpose of the directory list is to make sure all the local > directories are scanned for potential basis files, even directores not > mentioned in the transmited file-list, right? I didn't realize that > would require a