Re: [HELP] rsync recursive jumps across directories

2024-07-09 Thread Ian Z via rsync
On Tue, Jul 09, 2024 at 11:37:19AM GMT, BP25 via rsync wrote: > In other words, the recursion did not happen linearly (according to > the tree structure of either the sender or the receiver). This is > very counter-intuitive: I'd expect that every line which lies > between any two lines of the for

Re: [HELP] rsync recursive jumps across directories

2024-07-09 Thread BP25 via rsync
Also note the SORTED TRANSFER ORDER paragraph in the rsync manual. I don't think this paragraph is relevant to my question because I understand it's only relevant to multiple nonrecursive rsync commands; whereas I have one single recursive rsync command. -- Please use reply-all for most r

Re: [HELP] rsync recursive jumps across directories

2024-07-09 Thread BP25 via rsync
The only explanation I can find for such behaviour is that incremental recursion is being used, which leads me to deduce that the lines with path outside of the directory "A/B/...", can only indicate folder creation. But yet I cannot buy this explanation because why would such "atypical fol

Re: Help - rsync runs from command line, fails from task scheduler, hangs at msg checking charset: UTF-8

2017-07-30 Thread Perry Hutchison via rsync
leonv12 via rsync wrote: > I don't get why it runs from the command line but not from a scheduled > task. Any suggestions for a fix or a work-around? Check the environment settings, which are often the cause of differences in behavior between running from the command line vs. as scheduled. You

Re: Help - rsync runs from command line, fails from task scheduler, hangs at msg checking charset: UTF-8

2017-07-29 Thread Karl O. Pinc via rsync
On Sat, 29 Jul 2017 19:45:22 -0700 (PDT) leonv12 via rsync wrote: > I don't get why it runs from the command line but not from a > scheduled task. Any suggestions for a fix or a work-around? Talk to someone who knows about task scheduling and its failure modes? Karl Free Software: "You don't

Re: Help - rsync runs from command line, fails from task scheduler, hangs at msg checking charset: UTF-8

2017-07-29 Thread leonv12 via rsync
I don't get why it runs from the command line but not from a scheduled task. Any suggestions for a fix or a work-around? -- View this message in context: http://samba.2283325.n4.nabble.com/Help-rsync-runs-from-command-line-fails-from-task-scheduler-hangs-at-msg-checking-charset-UTF-8-tp472214

Re: Help - rsync runs from command line, fails from task scheduler, hangs at msg checking charset: UTF-8

2017-07-29 Thread Karl O. Pinc via rsync
On Fri, 28 Jul 2017 14:47:02 -0700 (PDT) leonv12 via rsync wrote: >(18 args)*msg > checking charset: UTF-8*[sender] io timeout after 3000 seconds -- > exiting[sender] _exit_cleanup(code=30, file=io.c, line=195): > enteredrsync error: timeout in data send/receive (code 30) at > io.c(195) [sender=3

Re: Help: Make 2 Dirs Identical

2013-02-10 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rsync -vai --exclude=ccc/ --delete /valut/test[12] dest:/store/ On 02/10/13 11:19, Lee Eric wrote: > Hi mate, > > Thanks for your reply. However, I think there's more common > scenario I will encounter. > > SRC: > > dir: /vault/test1 file: /vault/t

Re: Help: Make 2 Dirs Identical

2013-02-10 Thread Lee Eric
Hi mate, Thanks for your reply. However, I think there's more common scenario I will encounter. SRC: dir: /vault/test1 file: /vault/test1/aaa file: /vault/test1/bbb file: /vault/test1/ccc dir: /vault/test2 dir: /vault/test3 dir: /vault/test4 dir: ... file: ... DEST: dir: /store file: /store/xx

Re: Help: Make 2 Dirs Identical

2013-02-10 Thread Justin T Pryzby
If you really want to exclude /vault/test1/ccc, and for /vault/test2 to end up at /store/test2, then I would suggest: rsync -avz --exclude /test1/ccc src:/vault/ dest:/store rsync -avz src:/vault/test2 dest:/store that runs rsync over ssh. Note that the trailing slash on the "src" argument in th

Re: Help for Beginners: A Simple Way of Installing the Latest Version of Rsync?

2012-05-08 Thread s . noble
Hello, Thanks again for your helpful comments. They're appreciated. SN > Yes you must install at minumum the Command Line Tools, this will include all > compiler nedded to construct the programm (gcc, make and others) > > After rsync has been installed, the folder can be trashed. > > The new prog

Re: Help for Beginners: A Simple Way of Installing the Latest Version of Rsync?

2012-05-08 Thread Flex Banana
Yes you must install at minumum the Command Line Tools, this will include all compiler nedded to construct the programm (gcc, make and others) After rsync has been installed, the folder can be trashed. The new programm is accessible in /usr/local/bin. With the which command you can find same pr

Re: Help for Beginners: A Simple Way of Installing the Latest Version of Rsync?

2012-05-08 Thread s . noble
Hello, Thanks. I appreciate the help. I'd never have figured out those steps on my own (not a guru yet...). I was hoping to avoid completely anything from Apple's Developer Tools, but, apparently, this is not possible. Just to verify two things: (1) Once your instructions have been followed (lea

Re: Help for Beginners: A Simple Way of Installing the Latest Version of Rsync?

2012-05-08 Thread Flex Banana
hello, 1. Install only Command Line Tools from Xcode (if you don't want the complete package) 2. Download rsync-3.0.9.tar.gz from rsync.samba.org and untar it*. 3. Go into the rsync folder with the Terminal (cd Downloads/rsync-3.0.9) 4. Run: ./configure 5. Run: make 6. Run: sudo make install *ta

Re: Help debugging an issue with --fuzzy --fuzzy and --link-dest

2012-03-23 Thread Andrew Gideon
On Thu, 22 Mar 2012 17:48:44 +0100, Paul Slootman wrote: > --fuzzy aside, I'm a great believer of logrotate's "dateext" option. So am I, and not just for backups. It's easier to find the log file one needs with datestamps. Unfortunately, that machine not using it isn't my machine to administer

Re: Help debugging an issue with --fuzzy --fuzzy and --link-dest

2012-03-22 Thread Paul Slootman
On Thu 22 Mar 2012, Andrew Gideon wrote: > > Note that the source ads_live_error.log.9.gz would not match the > destination "HOLD.ads_live_error.log.9.gz". Instead, it should have > matched the destination ads_live_error.log.10.gz. I mention this in case > that plays a role in this "failure".

Re: Help debugging an issue with --fuzzy --fuzzy and --link-dest

2012-03-22 Thread Andrew Gideon
On Thu, 22 Mar 2012 14:23:13 +, Andrew Gideon wrote: > Assuming my expectation is correct, and that --fuzzy should have an > effect in this case, I'm wondering how best to test what's occurring. > I've tried using --itemize-changes in a --dry-run, but all it tells me > is ">f.st.." which i

Re: Help needed getting rsync to copy from windows to mac

2011-08-27 Thread milutin
Hi, rsync -A -X -a --delete --rsync-path="/opt/local/bin/rsync --fake-super --log-file=/tmp/rlog.txt" /cygdrive/c/DRIVERS "rsync@kleiman-ibook:/Volumes/Windows rsync/rsync" You command if fine, but -X will NOT copy both windows long and shot file name. I don't think it possible. So at the

Re: Help with correct text file syntax EXCLUDE/INCLUDE + OPTION

2010-01-21 Thread nomnex
Yan, I might be tired from repeated tries. It still fail. m...@fmv:~$ rsync -rvt --include-from=rsyncfinal /home /home/rsynctest sending incremental file list [sender] hiding directory home because of pattern ** delta-transmission disabled for local transfer or --whole-file total: matches=

Re: Help with correct text file syntax EXCLUDE/INCLUDE + OPTION

2010-01-21 Thread nomnex
I can not get it to work http://pastebin.com/f432bf596 On Thu, 2010-01-21 at 18:05 +0900, nomnex wrote: > On Thu, 2010-01-21 at 09:55 +0200, Yan Valuyskiy wrote: > > > I believe for this you'll have to provide a kind of next include file > > with --files-include option: > > Thank you. What is

Re: Help with correct text file syntax EXCLUDE/INCLUDE + OPTION

2010-01-21 Thread nomnex
On Thu, 2010-01-21 at 09:55 +0200, Yan Valuyskiy wrote: > I believe for this you'll have to provide a kind of next include file > with --files-include option: Thank you. What is the full string for the [OPTION "--file-include option"], saying the file name below is "rsync.list". My understanding

Re: Help creating incremental backups using --backup-dir.

2009-04-16 Thread Eric Bravick
David, I haven't found any other file systems that directly support HFS meta data... however, you mentioned in your post trying the "mount a NAS based sparse file" approach but that it was unreliable. Honestly, I'd fix whatever on your network is making this unreliable - I use this method

Re: Help creating incremental backups using --backup-dir.

2009-04-15 Thread henri
Hi David, I am also interested to know if anyone has found a file system which will store Mac OS X meta data. In the mean time, I would suggest that you back up to another Mac OS X machine with a pull backup strategy. On 10/04/2009, at 11:05 AM, David Miller wrote: Ok, I figured out th

Re: Help creating incremental backups using --backup-dir.

2009-04-14 Thread henri
Have you considered pulling the backup via SSH rather than pushing it to the server over SMB? If pulling the backup is a possibility, I would recommend this configuration. As an example if you run LBackup (rsync backend) on the server and pull the backup then hard-links will work great. The

Re: Help creating incremental backups using --backup-dir.

2009-04-09 Thread David Miller
Ok, I figured out the problem. I had to put in the full path for the -- backup-dir option. However, I have ran into another problem that makes doing this just about useless. If I rsync to an HFS+ volume it works correctly. If I rsync to a Samba share it gives me errors and puts files it th

Re: Help With File transfer of files named "Apple*" + Lacie 5Big RAID

2009-03-31 Thread henri
Hi there, Which version of rsync are you using? The following link has some details regarding compiling the latest version of rsync on Mac OS X : http://connect.homeunix.com/lbackup/developer/rsync_hfs Also, I am unsure if it will make any difference, but perhaps the underlying file system

Re: help required for passing parameters to rsync within a script

2008-09-24 Thread michael
On Tue, 2008-09-23 at 20:39 -0400, Matt McCutchen wrote: > On Tue, 2008-09-23 at 22:22 +0100, michael wrote: > > I'm attempting to write a short script to copy all 'CONC*' files in any > > subdir under ./ using rsync and filters but I can't get the correct > > quoting/escaping... any ideas? > > >

Re: help required for passing parameters to rsync within a script

2008-09-23 Thread Matt McCutchen
On Tue, 2008-09-23 at 22:22 +0100, michael wrote: > I'm attempting to write a short script to copy all 'CONC*' files in any > subdir under ./ using rsync and filters but I can't get the correct > quoting/escaping... any ideas? > # filter: all subdirs but only CONC* files > FILTER="--filter=+ \* --

Re: Help

2008-05-14 Thread Wayne Davison
On Wed, May 14, 2008 at 03:55:40PM -0400, Victor Farah wrote: > I need to know if it can save the file list it generates and > uses it over again for the other machines? As long as each of the machines you are updating is in the same state, you can use a batch file to update them all. Create the

Re: Help

2008-05-14 Thread Yan Seiner
On Wed, May 14, 2008 12:55 pm, Victor Farah wrote: > Hello there > I have a question about rsync, and some options. > I have 10 servers here that all need data from one machine. It's a > LARGE amount of files all pictures and files and such, now every time I > rsync the directory over it ta

Re: help please, updating rsync on OS X

2008-01-17 Thread Warren Oates
On 1/16/08, Scott Griswold <[EMAIL PROTECTED]> wrote: > Hi, > I tried using rsyncX which is a GUI front end for rsync and as it > turns out, the installer downgraded the current version from version > 2.6.3 protocol version 28 to version 2.6.6 protocol version 27. > I would like to learn more abo

Re: Help with complicated heirarchy exclude syntax

2007-12-25 Thread reader
Matt McCutchen <[EMAIL PROTECTED]> writes: > Then maybe you want to take only entirely numeric files (the exact > opposite of your original scenario) rather than all files except > entirely alphabetic ones. To do that, you should replace > --include='/nntp/**[!a-zA-Z]*' --exclude='/nntp/**' with

Re: Help with complicated heirarchy exclude syntax

2007-12-25 Thread Matt McCutchen
On Tue, 2007-12-25 at 15:52 -0600, [EMAIL PROTECTED] wrote: > None of these seem to get to the wanted files: > > rsync -navv --prune-empty-dirs --exclude='/nntp/**/' \ > --include='/nntp/**[!a-zA-Z]*' --exclude='/nntp/**' \ > ~/projects/backup/rsync/nntp ./here/ The first filter needs t

Re: Help with complicated heirarchy exclude syntax

2007-12-25 Thread reader
Matt McCutchen <[EMAIL PROTECTED]> writes: [...] >> I've tried lots of combination of slashes and ** but it looks to me >> like those shown above should work. > > By analogy to the other case, those filter rules should exclude files > whose names are entirely alphabetic, and they seem to be doin

Re: Help with complicated heirarchy exclude syntax

2007-12-25 Thread Matt McCutchen
On Tue, 2007-12-25 at 11:08 -0600, [EMAIL PROTECTED] wrote: >--include='/nntp/**[!a-zA-Z]*' --exclude='/nntp/**' > (run in dry run mode to study the output): :) > rsync -navv--include='/nntp/**[!a-zA-Z]*' \ > --exclude='/nntp/**' > ~/projects/backup/rsync/nntp ./

Re: Help with complicated heirarchy exclude syntax

2007-12-25 Thread reader
[EMAIL PROTECTED] writes: > Matt McCutchen <[EMAIL PROTECTED]> writes: > >> To get the rules to apply only in ~/News, anchor the patterns and use >> the ** syntax to match anything below ~/News. The patterns are matched >> against files' full paths from ~, but the first pattern accepts a >> non-n

Re: Help with complicated heirarchy exclude syntax

2007-12-23 Thread Matt McCutchen
On Sat, 2007-12-22 at 17:02 -0600, [EMAIL PROTECTED] wrote: > One further aspect of this that would be nice to solve too, is that > using that technique in this case means that rsync has to check > something like 550,000 (literally) messages to get thru a sync. > > That number will dwindle to a fr

Re: Help with complicated heirarchy exclude syntax

2007-12-22 Thread reader
Matt McCutchen <[EMAIL PROTECTED]> writes: > To get the rules to apply only in ~/News, anchor the patterns and use > the ** syntax to match anything below ~/News. The patterns are matched > against files' full paths from ~, but the first pattern accepts a > non-numeric character only in the basen

Re: Help with complicated heirarchy exclude syntax

2007-12-22 Thread Matt McCutchen
On Sat, 2007-12-22 at 10:09 -0600, [EMAIL PROTECTED] wrote: > Further, how would I define files with numbers for names? > As I understand it, exclude files do not understand regular > expressions. Correct, exclude patterns are globs, and there's no glob that matches files whose names consist enti

Re: Help! What is this error??

2007-09-17 Thread rsync-mail-gateway
Did you found a solution for your Problem? I have the same problem! Read this topic online here: Sent using Mail2Forum (http://www.mail2forum.com). http://forums.nasbackup.com/viewtopic.php?p=6049#6049 -- To

Re: Help install rsync on SCO Unix

2007-01-31 Thread Paul Slootman
On Wed 31 Jan 2007, Tinashe Shoko wrote: > #sh config.sub --help > UX:sh (config.sub): ERROR: ^M: Not found Apparently the files have been transferred in DOS mode?! I recommend you unpack the tar file again, on the system itself. Paul Slootman -- To unsubscribe or change options: https://lists

Re: Help install rsync on SCO Unix

2007-01-30 Thread Tinashe Shoko
3 000 ext: 11637 Mobile: +263 11 879 569 --- Paul Slootman <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 30/01/2007 17:47 Please respond to rsync@lists.samba.org To rsync@lists.samba.org cc Subject Re: Help insta

Re: Help install rsync on SCO Unix

2007-01-30 Thread Paul Slootman
On Tue 30 Jan 2007, Paul Slootman wrote: > > anyone encounter this or know where I can get a bianry that runs with > > minimum fuss > > SCO used to have prebuilt open source software available for download, > search for Skunkware or something like that. OTOH, don't bother, according to http://w

Re: Help install rsync on SCO Unix

2007-01-30 Thread Paul Slootman
On Tue 30 Jan 2007, Tinashe Shoko wrote: > I am running SCO UNIXware 7.1.3 > I would to install rsync so I can synchronise our servers but get errors > simply refuses to run the ./configure file > complains about the sh So what is shown when you run: sh config.sub --help Back in the dark ages wh

Re: Help install rsync on SCO Unix

2007-01-30 Thread Wayne Davison
On Tue, Jan 30, 2007 at 05:07:02PM +0200, Tinashe Shoko wrote: > I am running SCO UNIXware 7.1.3 > I would to install rsync so I can synchronise our servers but get errors > simply refuses to run the ./configure file > complains about the sh Since the configure script is created by autoconf, I wou

Re: Help with rsync configuration

2007-01-06 Thread Matt McCutchen
On 1/5/07, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: 6)modified the file on node A (the one from node B) 7)node A ran the script before node B, so it got the version from B (which was older then the one on A) Right...if the scripts notice that a file differs between node A and node B, they n

Re: Help with rsync configuration

2007-01-05 Thread Vinicius Carvalho
Thanks :) I've just tested without the ssh (all machines are inside a DMZ) and it worked, not as expected but did ;) As I was saying we would like to have a mirror right, well what i did was start the daemon on 2 machines, and then have a cron script to run the rsync -avz ... command it almost wo

Re: Help with rsync configuration

2007-01-05 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You need to exchange public keys with the server (go to .ssh directory in home directory and pull out .pub key and copy the content of it into .authorized_keys in home directory on the server do the same with the receiving server) Vinicius Carvalho

Re: Help using rsync

2006-12-27 Thread Matt McCutchen
On 12/26/06, Shiva Kumar R <[EMAIL PROTECTED]> wrote: I want to do a fetch files from the remote server using rsync on a regular interval basis. Every client checks the file in the remote server and if it finds that there is a change in the file that exists in the server compared to the file t

Re: Help -- rsync Causing High Load Averages

2006-04-08 Thread Plugger
Thanks Wayne, Disk I/O is indeed the problem. This server is serving primarily images and video content, and when we try to rsync it, the disks cannot handle the load. That causes the apache processes to take longer. As a result of that, more apache process are spawned and waiting and it just snow

Re: Help -- rsync Causing High Load Averages

2006-03-31 Thread Wayne Davison
On Tue, Mar 28, 2006 at 04:58:42PM -0800, Plugger wrote: > When it runs, however, the load averages on the content1 server > continue to grow to the 100s, bringing the server to a practical > standstill. After a day of tweaking, and killing the content1 server > periodically, I have not been able t

Re: Help -- rsync Causing High Load Averages

2006-03-30 Thread Shachar Shemesh
Matt McCutchen wrote: >On Tue, 2006-03-28 at 16:58 -0800, Plugger wrote: > > >>We have a server with about 400GB of data that we are trying to backup >>with rsync. [...] When it runs, >>however, the load averages on the content1 server continue to grow to >>the 100s, bringing the server to a pra

Re: Help -- rsync Causing High Load Averages

2006-03-30 Thread Matt McCutchen
On Tue, 2006-03-28 at 16:58 -0800, Plugger wrote: > We have a server with about 400GB of data that we are trying to backup > with rsync. [...] When it runs, > however, the load averages on the content1 server continue to grow to > the 100s, bringing the server to a practical standstill. If your in

Re: Help understanding rsync and cwrsync

2006-03-02 Thread Doug Lochart
Thank you for your insight.  It has been very beneficial!On 3/2/06, Tevfik Karagülle <[EMAIL PROTECTED]> wrote: > Hi all,  we are just beginning to dive into rsync. I have> limited experience with just playing around with the examples > and reading all the docs that I can.  I just read an> interest

RE: Help understanding rsync and cwrsync

2006-03-02 Thread Tevfik Karagülle
> Hi all, we are just beginning to dive into rsync. I have > limited experience with just playing around with the examples > and reading all the docs that I can. I just read an > interesting post from a developer that mentions cwrsync is a > minimalistic rsync and thus things like permission

Re: Help understanding rsync and cwrsync

2006-03-01 Thread wwp
Hello Peter, Doug, On Wed, 1 Mar 2006 21:40:56 -0500 (EST) Peter <[EMAIL PROTECTED]> wrote: > > --- Doug Lochart <[EMAIL PROTECTED]> wrote: > > > Windows (cw)Rsync Client --> Linux Rsync server > > > > 1) Should we abandon cwrsync for cygwin + rsync? > > Have the > > disparities between th

Re: Help understanding rsync and cwrsync

2006-03-01 Thread Peter
--- Doug Lochart <[EMAIL PROTECTED]> wrote: > Ok, how does cwrsync handle ACLs, users and > permissions as on the > windows box? How/where is that info kept in the > filesystem on the > linux box? Is it in meta-data? I figure basic file > permissions are > stored with the file but how is the

Re: Help understanding rsync and cwrsync

2006-03-01 Thread Doug Lochart
On 3/1/06, Peter <[EMAIL PROTECTED]> wrote: > > --- Doug Lochart <[EMAIL PROTECTED]> wrote: > > > Windows (cw)Rsync Client --> Linux Rsync server > > > > 1) Should we abandon cwrsync for cygwin + rsync? > > Have the > > disparities between the two versions been resolved? > > I am using cwrsync an

Re: Help understanding rsync and cwrsync

2006-03-01 Thread Peter
--- Doug Lochart <[EMAIL PROTECTED]> wrote: > Windows (cw)Rsync Client --> Linux Rsync server > > 1) Should we abandon cwrsync for cygwin + rsync? > Have the > disparities between the two versions been resolved? I am using cwrsync and it runs fine connecting to Slackware server. > 2) What

Re: help with uninstalling rsync

2006-01-25 Thread Matt McCutchen
On Wed, 2006-01-25 at 10:34 -0500, Bhuwan Chawla wrote: > Hi Everyone! > Can someone tell me the exact mehtod to install Rsync from a > linuxmachine? thanks! Rsync consists of three files: the executable rsync and the man pages rsync.1 and rsyncd.conf.5 (which might be gzipped). To install rsync,

Re: Help with --delete option

2005-12-17 Thread scott
> On Sat, Dec 17, 2005 at 03:55:27PM -0600, scott wrote: > > rsync --archive -e '/usr/bin/ssh -p 22' --verbose > > \ --include-from=/root/my-backupfilter --recursive > > \ --delete --existing / [EMAIL PROTECTED]:/home/backupdir > > > > which is close, but still updates files > > You need to also ad

Re: Help with --delete option

2005-12-17 Thread Wayne Davison
On Sat, Dec 17, 2005 at 03:55:27PM -0600, scott wrote: > rsync --archive -e '/usr/bin/ssh -p 22' --verbose > \ --include-from=/root/my-backupfilter --recursive > \ --delete --existing / [EMAIL PROTECTED]:/home/backupdir > > which is close, but still updates files You need to also add --ignore-exi

Re: Help me with this Questiions

2005-11-24 Thread Shachar Shemesh
Harish wrote: >I would like to understand the capabilities of GNU rsync software / >utility. This is used for syncing file systems / file level data across >two systems. I specifically would like to know its capabilities in >syncing files – > > >1) How does it replicate data changes to files –

Re: Help me with this Questiions

2005-11-24 Thread Martin Geisler
Harish <[EMAIL PROTECTED]> writes: > 1) How does it replicate data changes to files – entire file or only > the incremental blocks? It sends only the differences, using the rsync algorithm. See: http://rsync.samba.org/tech_report/node2.html -- Martin Geisler

Re: HELP: need better understanding of "--delete" flag

2005-11-23 Thread Wayne Davison
On Tue, Nov 22, 2005 at 08:08:56PM -0800, Jeff Martin wrote: > Need to understand exactly what the "--delete" flag does when rsync > runs. I think the rsync manpage explains this quite well: This tells rsync to delete extraneous files from the receiving side (ones that aren't on the send

Re: HELP: need better understanding of "--delete" flag

2005-11-22 Thread Alan Chandler
On Wednesday 23 Nov 2005 04:08, Jeff Martin wrote: > Need to understand exactly what the "--delete" flag > does when rsync runs. > > Here is my understanding... If a file is created on > the source machine on monday, then rsync'd to the > rsync server on monday night, then deleted on the > source m

Re: Help needed with filtering rules - how to copy named director ies only

2005-10-19 Thread Wayne Davison
On Wed, Oct 19, 2005 at 03:41:16PM +0100, CARTER-HITCHIN, David, FM wrote: > What would be really nice, and I imagine quite easy from a coding > perspective would be to allow the user to apply a regex match on the > full pathname of the files being transferred. It's already possible to match on th

RE: Help needed with filtering rules - how to copy named director ies only

2005-10-19 Thread CARTER-HITCHIN, David, FM
. -- Royal Bank of Scotland Interest Rate Derivatives IT 135 Bishopsgate LONDON EC2M 3TP Tel: +44 (0) 207 085 1088 -Original Message- From: Wayne Davison [mailto:[EMAIL PROTECTED] Sent: 18 October 2005 21:02 To: CARTER-HITCHIN, David, FM Cc: 'rsync@lists.samba.org' Subject

Re: Help needed with filtering rules - how to copy named directories only

2005-10-18 Thread Wayne Davison
On Tue, Oct 18, 2005 at 01:03:17PM +0100, CARTER-HITCHIN, David, FM wrote: > The only way I can think around this is to run on the source server > "find /apps/IRDtools/pkgs -name lib -type d" and pipe the output of > that into an rsync "--files-from=-". Yes, that's the only solution that avoids cr

Re: Update: Re: Help with synchronizing two directories on remoteservers

2005-10-14 Thread Paul Slootman
On Fri 14 Oct 2005, symbulos - ethical services (external mailing lists) wrote: > Here are answers to all you questions, I hope. > > The platforms are: > > 1)administration desktop (pc here) > Mandriva LE2005 > > 2)servera > Debian 3.0 > > 3)serverb > Fedora Core 3 > > ssh from servera to ser

Re: Update: Re: Help with synchronizing two directories on remoteservers

2005-10-14 Thread symbulos - ethical services (external mailing lists)
Here are answers to all you questions, I hope. The platforms are: 1)administration desktop (pc here) Mandriva LE2005 2)servera Debian 3.0 3)serverb Fedora Core 3 ssh from servera to serverb (in a remote ssh shell from "pc here") is working ssh from serverb to severa (in a remote ssh shell fr

RE: Update: Re: Help with synchronizing two directories on remoteservers

2005-10-12 Thread Tevfik Karagülle
between ? Rgrds Tev > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of symbulos - ethical services (external mailing lists) > Sent: 10. oktober 2005 19:03 > To: rsync@lists.samba.org > Subject: Update: Re: Help with synchronizing

Re: Update: Re: Help with synchronizing two directories on remote servers

2005-10-12 Thread Paul Slootman
On Mon 10 Oct 2005, symbulos - ethical services (external mailing lists) wrote: > Strangely we can login as ssh from the pc here, but we > cannot login as ssh from the other remote server (ssh: > connect to host serverb port 22: Connection refused). I don't know what "the pc here" is, but this

Re: Help with synchronizing two directories on remote servers

2005-10-11 Thread Bob Hutchinson
On Monday 10 Oct 2005 17:32, symbulos - ethical services (external mailing lists) wrote: > I apologise for the incongruous posting. > > We have two webservers, a and b, both of them with rsync > installed. > > We would like to rsync one directory on one server with > another directory on another s

Re: Help with synchronizing two directories on remote servers

2005-10-11 Thread Nick Demou (enLogic)
symbulos - ethical services (external mailing lists) wrote: I apologise for the incongruous posting. We have two webservers, a and b, both of them with rsync installed. We would like to rsync one directory on one server with another directory on another server. What I do is to go to one of

Update: Re: Help with synchronizing two directories on remote servers

2005-10-10 Thread symbulos - ethical services (external mailing lists)
Strangely we can login as ssh from the pc here, but we cannot login as ssh from the other remote server (ssh: connect to host serverb port 22: Connection refused). What is happening? I do not understand. Corrado On Monday 10 Oct 2005 17:44, Paul Slootman wrote: > On Mon 10 Oct 2005, symbulos

Re: Help with synchronizing two directories on remote servers

2005-10-10 Thread symbulos - ethical services (external mailing lists)
The fact is, we can login as username on this server. Instead of giving an error should then ask me for password, I think. Corrado On Monday 10 Oct 2005 17:44, Paul Slootman wrote: > On Mon 10 Oct 2005, symbulos - ethical services (external mailing lists) wrote: > > What I do is to go to one

Re: Help with synchronizing two directories on remote servers

2005-10-10 Thread Paul Slootman
On Mon 10 Oct 2005, symbulos - ethical services (external mailing lists) wrote: > > What I do is to go to one of the server (server a) as root > using ssh, navigate to the directory, and write > > rsync -avz [EMAIL PROTECTED]:directory/ ./ > > This is the error we get > > ssh: connect to h

Re: Help with synchronizing two directories on remote servers

2005-10-10 Thread symbulos - ethical services (external mailing lists)
I apologise for the incongruous posting. We have two webservers, a and b, both of them with rsync installed. We would like to rsync one directory on one server with another directory on another server. What I do is to go to one of the server (server a) as root using ssh, navigate to the direc

Re: help me understand keepalive..

2005-05-18 Thread Steve Sether
That patch works perfectly. Thanks! On Wed, May 18, 2005 at 04:36:55PM -0700, Wayne Davison wrote: > On Wed, May 18, 2005 at 11:23:38AM -0500, Steve Sether wrote: > > But it looks to me like last_io is reset on the sender side every > > time it receives a packet (as well as when it sends a packet

Re: help me understand keepalive..

2005-05-18 Thread Wayne Davison
On Wed, May 18, 2005 at 11:23:38AM -0500, Steve Sether wrote: > But it looks to me like last_io is reset on the sender side every > time it receives a packet (as well as when it sends a packet). Ah yes -- how silly of me. Yes, that will prevent my patch from working right. I was fooled into thin

Re: help me understand keepalive..

2005-05-18 Thread Steve Sether
I don't think it's the blocksize. I'm still not terribly familiar with the inner workings of rsync, but from what I see maybe_send_keepalive() is never sending a keepalive on the sender side. It looks like the test in maybe_send_keepalive() is never passed. Right now that test is: if (time(NULL)

Re: help me understand keepalive..

2005-05-17 Thread Wayne Davison
On Sun, May 15, 2005 at 07:20:42PM -0500, Steve Sether wrote: > Truly strange results. I tried --timeout=59 on the client side > (which is what my server config is set to), and got identical results > from before (timeout). I then tried a smaller value than what's > specified on the server conf

Re: help me understand keepalive..

2005-05-15 Thread Steve Sether
Truly strange results. I tried --timeout=59 on the client side (which is what my server config is set to), and got identical results from before (timeout). I then tried a smaller value than what's specified on the server config file, and it ran to completion. Even specifying 58 seconds on the

Re: help me understand keepalive..

2005-05-15 Thread Wayne Davison
On Sun, May 15, 2005 at 06:46:01AM -0500, Steve Sether wrote: > I applied this patch to 2.6.5pre1 and recompiled both sides > and am still getting the same error. My timeout is set to > 59 seconds. Hmm, it appears that your timeout is set in the server's config file, not via the client's command

Re: help me understand keepalive..

2005-05-15 Thread Steve Sether
I applied this patch to 2.6.5pre1 and recompiled both sides and am still getting the same error. My timeout is set to 59 seconds. Do you want strace output again? On Sat, May 14, 2005 at 12:50:40PM -0700, Wayne Davison wrote: > On Sat, May 14, 2005 at 12:28:20PM -0700, Wayne Davison wrote: > >

Re: help me understand keepalive..

2005-05-14 Thread Wayne Davison
On Sat, May 14, 2005 at 12:28:20PM -0700, Wayne Davison wrote: > I'll attach a patch that you can try out with 2.6.5pre1 or the > latest "nightly" tar file (or probably even 2.6.4 [...] I was a little hasty with that patch -- the sender needs to use the global allowed_lull var, otherwise maybe_sen

Re: help me understand keepalive..

2005-05-14 Thread Wayne Davison
On Sat, May 14, 2005 at 12:08:44PM -0700, Wayne Davison wrote: > So, it would be good to extend the keep-alive code to have the sender > periodically spit out keep-alive packets to the receiver while it is > busy reading the checksum data from the generator. This turns out to be very easy -- I tes

Re: help me understand keepalive..

2005-05-14 Thread Wayne Davison
On Fri, May 13, 2005 at 06:22:56AM -0500, Steve Sether wrote: > I'm assuming that wouldn't help this bug, since my test is only > sending one file. Ahh, interesting. The keep-alive protection is currently only in the generator, and it guards against long lulls that occur during the gaps between f

Re: help me understand keepalive..

2005-05-13 Thread Steve Sether
> Maybe. You must be using at least 2.6.4 on both ends of the connection > and not overriding the protocol version below 29. (You can see what > protocol was negotiated by specifying at least four -v options.) If the > remote system has multiple versions of rsync installed, perhaps it is > runni

Re: help me understand keepalive..

2005-05-12 Thread Wayne Davison
On Thu, May 12, 2005 at 04:43:55PM -0500, Steve Sether wrote: > Now my understanding was that the keepalive feature was supposed to > prevent this from ever happening. Yes, that's certainly what it's supposed to prevent. > Am I doing something wrong? Maybe. You must be using at least 2.6.4 on b

Re: help with web proxying for anonymous rsync

2005-02-09 Thread Stefan Nehlsen
On Sat, Feb 05, 2005 at 11:22:46AM -0700, Todd Harris wrote: > Hi all - > > I've searched long and hard for some docs on configuring a web proxy for > rsync. This is probably in part an apache config question so I apologize if > this is in the wrong forum. > > What I would like to do is provide

Re: [HELP] Rsync to remote machine sometimes produces different binaries

2005-02-05 Thread Wayne Davison
On Sat, Feb 05, 2005 at 11:12:37AM +0100, Michael Gasch wrote: > after rsyncing both machines, some files differ ! > i verified these differences with "diff", hexdump and "md5sum" By default, rsync considers a file to be the same if it has the same size and the same modified-time, so it is possibl

Re: [HELP] Rsync to remote machine sometimes produces different binaries

2005-02-05 Thread Michael Gasch
[update] at the moment there're just .xls documents, which have this behaviour hope this helps!!! Michael Gasch wrote: hi, i'm using machine 1 (SuSE 9.0 32Bit): rsync 2.6.2 (from SuSE RPM) machine 2 (SuSE 9.1 64Bit): rsync 2.6.2 (from SuSE RPM) my command looks like the following: /usr/bin/rsync -W

Re: help troubleshooting inconsistencies in back up sizes

2005-02-04 Thread Wayne Davison
On Fri, Feb 04, 2005 at 10:14:20PM -0500, gauze wrote: > what is df measuring I wonder ... Keep in mind that df reports all the size used for a file, including wasted space, which can result in a different amount for the same file on a different filesystem. Also, directories often differ in size.

Re: help troubleshooting inconsistencies in back up sizes

2005-02-04 Thread gauze
On Fri, 4 Feb 2005, gaw zay wrote: > On Fri, 4 Feb 2005, John Van Essen wrote: > > > On Thu, 3 Feb 2005, gaw zay <[EMAIL PROTECTED]> wrote: > > > > > > To examine the difference between hierarchies, do this on each server > > (replacing N with a number): > > > > find /mailhome -ls | sort +10 >/t

Re: help troubleshooting inconsistencies in back up sizes

2005-02-04 Thread gaw zay
On Fri, 4 Feb 2005, John Van Essen wrote: > On Thu, 3 Feb 2005, gaw zay <[EMAIL PROTECTED]> wrote: > > > I use this shell script to back up: > > > > for i in a b c d e f g h i j k l m n o p q r s t u v w x y z `seq 0 9`; do > > /usr/local/bin/rsync -a -z -W --delete /mailhome/$i/ [EMA

Re: help troubleshooting inconsistencies in back up sizes

2005-02-03 Thread John Van Essen
On Thu, 3 Feb 2005, gaw zay <[EMAIL PROTECTED]> wrote: > I use this shell script to back up: > > for i in a b c d e f g h i j k l m n o p q r s t u v w x y z `seq 0 9`; do > /usr/local/bin/rsync -a -z -W --delete /mailhome/$i/ [EMAIL > PROTECTED]:/mailhome/$i > done > > question one

Re: Help for a newbie.

2005-01-27 Thread Wayne Davison
On Tue, Jan 25, 2005 at 11:22:57PM +0100, Andrea Riciputi wrote: > rsync -a --include "~/Library/bar/" --exclude "Library/" source target Read the section of the man page on how excludes are anchored to the base of the transfer. There are extensive examples in the modern version (which you can fi

Re: Help for a newbie.

2005-01-25 Thread Andrea Riciputi
Thanks Rick, actually rsync -a --include "~/Library/bar/" --exclude "*/Library/*" source target doesn't work as expected, but the following: rsync -a --include "Library/bar/" --exclude "*/Library/*" source target does work! Could anyone explain what's going on here, even if I've read rsync man p

  1   2   >