Re: Milestone release for rsync 3.0.0?

2007-09-06 Thread Matt McCutchen
On 9/3/07, Wayne Davison [EMAIL PROTECTED] wrote: I'm hoping that it won't be all that much longer before the first pre-release version will be ready. I mainly want to get hard-link support working in incremental recursion mode (which is getting pretty close in my local copy), and to fix a

Re: (CYGWIN) Rsync Stalling Upon first file transfer.

2007-09-07 Thread Matt McCutchen
On 9/6/07, Jonathan Hurd [EMAIL PROTECTED] wrote: Problem: http://cygwin.com/ml/cygwin/2006-04/msg00792.html Explained: http://cygwin.com/ml/cygwin/2006-04/msg00835.html This is the exact same problem that I'm experiencing, but couldn't find a fix for it... Anyone? As far as I know, the

Re: rsync to blastwave mirror on solaris 10

2007-09-06 Thread Matt McCutchen
On 9/6/07, Drift [EMAIL PROTECTED] wrote: We have a proxy server and wanted to know how to get rsync to work through the proxy. Perhaps set the RSYNC_PROXY environment variable to the proxy's hostname:port , as described in the man page? Matt -- To unsubscribe or change options:

Re: What is the different between these rsync command

2007-09-09 Thread Matt McCutchen
On 9/7/07, Yue Davis [EMAIL PROTECTED] wrote: I would like to know why attempt one and two's result looks identical? For attempt two without the -e ssh how secure is rsync transferring the data? Is it ssh or just plain binary or ASCII transfer? The first two commands do exactly the same thing

Re: Batch mode scenario (use case)

2007-09-09 Thread Matt McCutchen
On 9/9/07, Suresh Govindachar [EMAIL PROTECTED] wrote: Question: How can Wer use the batch file /e/cmds/foo to recover c_a in a timely manner (recall /e/gold is 200 Gigs and Wer cannot wait to rebuild the entire /f/new_home/wer/work; and he needs c_a

Re: Rsync the changing File 'Date Modified'

2007-09-09 Thread Matt McCutchen
Thanks. Please re-run rsync at -vvv verbosity level to make the receiver print the modification times it intends to set. Then send the verbose output and the actual modification times on the source and destination for the affected files. That should help us figure out what is going on. Matt

Re: Batch mode scenario (use case)

2007-09-10 Thread Matt McCutchen
On 9/9/07, Suresh Govindachar [EMAIL PROTECTED] wrote: How about the following scheme? open /e/cmds/foo do till end-of-file: begin-continue discard lines till there is a match to some/path/projects/c_a keep lines till there is a match to a directory outside

Re: rsync include partial files in list to send?

2007-09-11 Thread Matt McCutchen
On 9/11/07, brad miele [EMAIL PROTECTED] wrote: i am hoping to use rsync with the --remove-sent-files option. the sending side of the transaction will very likely include files that are being written to when rsync is run. will rsync include these partial files in it's list? i want to avoid the

Re: Verifying understanding of backup-dir vs compare-dest

2007-09-12 Thread Matt McCutchen
On 9/12/07, Suresh Govindachar [EMAIL PROTECTED] wrote: Say one starts with creating an archive rsync work - archive and periodically (below, i = 1 to N) does rsync --backup-dir=a_i work - archive and rsync --compare-dest=archive work - b_i Then suppose one

Re: error in IPC Code (code 14) at main.c(669) [receiver=2.6.9cvs]

2007-09-13 Thread Matt McCutchen
On 9/13/07, Suresh Kumar [EMAIL PROTECTED] wrote: Can anybody tell me the good way of find out the which process is opened too many files and this is causing rsync fails to open new fd?? The error message tells you: it's the client/receiver process. Currently i want to see /proc/pid/fd

Re: file statistics collection using stat(2) data obtained by rsync

2007-09-14 Thread Matt McCutchen
On 9/14/07, Hugo Connery [EMAIL PROTECTED] wrote: I[...] wish now to collect file usage statistics per user per rsync operation. There is already a --stats option that provides some statistics. Does that give you everything you want? If not, what other statistics do you want? Matt -- To

Re: file statistics collection using stat(2) data obtained by rsync

2007-09-15 Thread Matt McCutchen
Note: In the future, please Cc the rsync list in your responses so that others can help you if I become unavailable and so that future users can refer to your message. On 9/15/07, Hugo Connery [EMAIL PROTECTED] wrote: I want to obtain summary statistics grouped by file owner and access times.

Re: Rsync Active Mirroring

2007-09-16 Thread Matt McCutchen
On 9/16/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: Can rsync support active mirroring? I've used robocopy in the past and it has a –mon switch that can copy ever x changes or every x minutes. I'm mostly interested in the x changes as the x minutes could easily be scheduled. Darryl Dixon

Re: file statistics collection using stat(2) data obtained by rsync

2007-09-16 Thread Matt McCutchen
On 9/16/07, Hugo Connery [EMAIL PROTECTED] wrote: Yes, uid/access time based statistics gathering is quite orthogonal to rsync's motivation. But, rsync, as it backs up my data, it has access to all the statistics I need, so why not piggy back the stats gathering on rsync as a matter of

Re: File changed during save....

2007-09-16 Thread Matt McCutchen
On 9/15/07, roland [EMAIL PROTECTED] wrote: what`s the rsync equivalent to this? how can i see which files changed while rsync was transferring them ? Handling of concurrent changes to source files is one of rsync's weaknesses. The rsync sender naively reads each source file from beginning to

Re: Data corruption check

2007-09-18 Thread Matt McCutchen
On 9/18/07, Fabian Cenedese [EMAIL PROTECTED] wrote: I was wondering what happens if a file that is regularly synched but seldom changes gets corrupted in the copy. Are you referring to rsync writing corrupted data to the destination file or a problem with the destination filesystem or disk

Re: Data corruption check

2007-09-19 Thread Matt McCutchen
On 9/19/07, Fabian Cenedese [EMAIL PROTECTED] wrote: Thanks for the explanations. That means that -l and -c are not usable together as they contradict themselves, right? Correct. I tested with rsync 2.6.9 and it appears that if you use both, -c overrides -I. I guess if I first made a normal

Re: delta copies

2007-09-22 Thread Matt McCutchen
On 9/22/07, Robert Fitzpatrick [EMAIL PROTECTED] wrote: I do a simple tar of /var twice and then rsync the two files only as a test, no folders involvedtrying to determine why the entire file is being copied in its entirety and not synchronized bit-by-bit. esmtp# rsync -az --progress

Re: Using rsync with the iriver T60

2007-09-22 Thread Matt McCutchen
On 9/22/07, David Fletcher [EMAIL PROTECTED] wrote: It plays Ogg files from my PC perfectly well, but only in the same order in which it thinks they were copied onto its flash memory. It makes no attempt to sort the file names into alphabetical order to play them. I imagine the player is

Re: compression of source and target files

2007-09-22 Thread Matt McCutchen
On 9/21/07, Kenneth Simpson [EMAIL PROTECTED] wrote: Sorry, I neglected to mention the source is uncompressed but we need to compress the target file because we're running out of disk space and the files are highly compressible. You might try the experimental patch

Re: delta copies

2007-09-22 Thread Matt McCutchen
On 9/22/07, Robert Fitzpatrick [EMAIL PROTECTED] wrote: Are you saying that rsync knows the difference and will enable/disable delta transfers depending on whether local or not? Yes. However, again, I get the same result doing remote transfers. Either the delta transfer algorithm is not

Re: compression of source and target files

2007-09-23 Thread Matt McCutchen
On 9/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i can transfer remote files to a local dir and they are being compressed on the local side Good, so it basically works. +Use of --dest-filter automatically enables --whole-file. I suppose the patch could be changed to allow delta

Re: delta copies

2007-09-23 Thread Matt McCutchen
On 9/23/07, Robert Fitzpatrick [EMAIL PROTECTED] wrote: Doing some more testing this morning, maybe what you suggested about the pgsql backup is what is happening. I took a closer look and realize that my sql backup is actually smaller some days than the destination, will that affect delta

Re: delta copies

2007-09-23 Thread Matt McCutchen
On 9/23/07, Robert Fitzpatrick [EMAIL PROTECTED] wrote: On Sun, 2007-09-23 at 00:56 -0400, Matt McCutchen wrote: Either the delta transfer algorithm is not being used due to a misconfiguration, or the pgsql backups are changing in a perverse way that prevents it from matching any data

Re: delta copies

2007-09-23 Thread Matt McCutchen
On 9/23/07, WebTent [EMAIL PROTECTED] wrote: Well, I am getting matched data, but it just doesn't seem to be matching very much considering the small change in file size. I tested one dump after another rsyncing in between dumps and got very little matched data :( mx1# pg_dump -Fc -Upgsql

Re: delta copies

2007-09-24 Thread Matt McCutchen
On 9/24/07, Fabian Cenedese [EMAIL PROTECTED] wrote: I was wondering if it would be possible to add a switch (probably coupled to -v(+) ) that would report the number of matched blocks per file. Maybe even with the offset of the block. Rsync already lists all matched blocks by their offsets

Re: --delete not working

2007-09-24 Thread Matt McCutchen
On 9/24/07, Sylvain Viart [EMAIL PROTECTED] wrote: from the source host I do : rsync -rtlv --exclude='.svn/**' --exclude=.svn --delete preprod/ rsync://remote-host/deploiement/preprod/ the --dry-run gives me some file to delete. but when I run the command without --dry-run, nothing is

Re: Mapped Drive

2007-09-24 Thread Matt McCutchen
On 9/24/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: I am having trouble running rsync over a mapped drive. Basically it only copies whole files. I use the –rvcS switches. Any suggestions? The delta-transfer algorithm reduces only the communication between the sending and receiving rsync

Re: Mapped Drive

2007-09-24 Thread Matt McCutchen
On 9/24/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: What exactly is involved in the remote shell? Can this be done on a windows to windows backup? Do you have a link handy otherwise google to the rescue. Thank you very much. You set up an ssh server on the machine with the mapped drive,

Re: Mapped Drive

2007-09-24 Thread Matt McCutchen
On 9/24/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: The reason I was trying this was because all I can do is map a drive. As of yet, I cannot modify the server like that. If the only access you have to the remote directory is to read or write it via a mapped drive, you can't hope to do any

Re: using rsync on selinux

2007-09-24 Thread Matt McCutchen
On 9/24/07, Richard Riley [EMAIL PROTECTED] wrote: Searching the WEB, I have found references to a -X option to rsync, but this option does not exist in the RHEL4 version of rsync. Is there rsync source code somewhere, compatible with my OS, I could compile that would fix my problem? Yes.

Re: --delete not working

2007-09-25 Thread Matt McCutchen
On 9/25/07, Sylvain Viart [EMAIL PROTECTED] wrote: Exactly what I've also found. See my post : Re: --delete not working = +filtering disable delete! Indeed; I responded to your first post without noticing that you had posted again. I try to avoid doing that, but I'm not perfect. remove

Re: A checksum question

2007-09-25 Thread Matt McCutchen
The email you sent to the rsync list seems to be empty. If you have a question, please try posting it again. Matt -- 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: using rsync on selinux

2007-09-26 Thread Matt McCutchen
On 9/26/07, Richard Riley [EMAIL PROTECTED] wrote: I downloaded the source from the samba.org site. My current question/problem is that after I compiled and installed, it did not provide/create an rsyncd.conf file. Do I have to create one from scratch? No, you can keep the one you were

Re: Copies and deletions from a single list of files / directories?

2007-09-27 Thread Matt McCutchen
On 9/26/07, Box, Wallace [EMAIL PROTECTED] wrote: However, I do have available on the source server an exact, simple list of what should be copied and also what should be deleted, and if I could control the rsync processing with this file, I should be able to cut down the process to just a few

Re: Problem with hard links

2007-09-28 Thread Matt McCutchen
Fabian's suggestion to use the CVS rsync with incremental recursion is good; that will be an improvement. However, rsync still has to remember all files in S1 that had multiple hard links in case they show up again in S2. If remembering the contents of even one of the directories makes rsync run

Re: Mapped Drive

2007-09-29 Thread Matt McCutchen
On 9/28/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: Would this still help for online storage though as most have much greater download bandwidth than upload. So it would basically download the file with your faster download speeds, compare, then upload the changes with your slower upload

Re: Mapped Drive

2007-09-29 Thread Matt McCutchen
On 9/28/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: Is there a way to have rsync cache the checksums for something like this and would that help? I'm not sure exactly what you mean. You said you were using the -c (--checksum) option, which makes rsync decide whether to update each

Re: Mapped Drive

2007-09-30 Thread Matt McCutchen
On 9/30/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: The problem is some files don't change in size. So I was hoping that the checksums could be cached. Perhaps I'm mistaken but I thought the checksum determined what actual blocks were transferred. I suppose it could be cached at either

Re: reducing file list bytes transferred

2007-10-01 Thread Matt McCutchen
On 10/1/07, Peter Salameh [EMAIL PROTECTED] wrote: Has the rsync team considered an rsync option which would remember the last file list on both ends, and only send changes to the list? Perhaps a more natural approach is to use the delta-transfer algorithm to send the file list. Jamie Lokier

Re: reducing file list bytes transferred

2007-10-01 Thread Matt McCutchen
On 10/1/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: I think the next release is supposed to speed this up. Are you thinking of incremental recursion? It interleaves file list and file data transmission but does not decrease the total amount of file-list data sent. Matt -- To unsubscribe or

Re: --delete not working, fixed!

2007-10-01 Thread Matt McCutchen
On 9/25/07, Sylvain Viart [EMAIL PROTECTED] wrote: As I said, Protect and Hide, are not really documented. It's only said in the doc : hide, H specifies a pattern for hiding files from the transfer. You're right that that line is not enough to thoroughly explain hide filters. However, the

Re: reducing file list bytes transferred

2007-10-01 Thread Matt McCutchen
On 10/1/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: I thought it was supposed to do it more effeciently Not that I know of. (Wayne, please correct me if necessary.) Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read:

Re: cygwin rsync windows to windows ACL problem

2007-10-01 Thread Matt McCutchen
On 10/1/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: Let's get terminology out of the way first. The computer sending data is the client and the computer storing the backups is the server. No, you may be pushing, but Havoc is pulling. Look at the command in the original message: I am

Re: cygwin rsync windows to windows ACL problem

2007-10-01 Thread Matt McCutchen
On 10/1/07, Steve Radich [EMAIL PROTECTED] wrote: Wouldn't robocopy better serve these EXACT needs? It doesn't handle partial file transfers, but neither will rsync given that you are running it only on one end - I.e. to calculate the crc to compare the files contents it would have to read the

Re: Mapped Drive

2007-10-01 Thread Matt McCutchen
On 9/30/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: OK, let's say this is the first sync and every file is being transferred. The checksum for each of the files is cached on the local drive. Then, the next time you sync, it checks the checksum from the cache against the file to be copied.

Re: Mapped Drive

2007-10-01 Thread Matt McCutchen
On 10/1/07, Matt McCutchen [EMAIL PROTECTED] wrote: If the remote filesystem supports efficient copying of a range of data from one offset to another, then #2 is moot and a smart client can do both pushes and pulls efficiently using your scheme and zsync's reverse delta-transfer algorithm

Re: Interpreting output from rsync

2007-10-01 Thread Matt McCutchen
On 10/1/07, Suresh Govindachar [EMAIL PROTECTED] wrote: In regard to output, rsync has the following features: Where can I find an explanation of the format, content and interpretation of the outputs (a-e)? a) -v option with various levels of verbosity Roughly, here is what is

Re: why not a gui for rsync

2007-10-01 Thread Matt McCutchen
On 10/1/07, Suresh Govindachar [EMAIL PROTECTED] wrote: 1) consider the message: 2007/09/13 16:50:52 [13688] receiving file list Isn't the list of files determined from the command line used to invoke rsync? So what this new list of files that are being received from

Re: reducing file list bytes transferred

2007-10-01 Thread Matt McCutchen
On 10/2/07, Peter Salameh [EMAIL PROTECTED] wrote: Thanks for that. Doesn't the delta-transfer algorithm compare the files on sender and receiver? Correct. For the file list, we would only need compare the new file list with the last one on the sender Unison (

Re: estimating nightly diffs

2007-10-02 Thread Matt McCutchen
On 10/2/07, Noam Birnbaum [EMAIL PROTECTED] wrote: Any suggestions on how to estimate how much data rsync would synchronize on average in a given installation? Assume that a full rsync has already run and the only data being updated is just the daily diffs. As Steve implied, the best way is

Re: Include on few directory

2007-10-04 Thread Matt McCutchen
On 10/4/07, OOzy Pal [EMAIL PROTECTED] wrote: excludes-nix * include-nix Development/* www/* Personal/* You are including items immediately inside each of the directories Development, www, Personal but not the directories themselves, also, the exclude rule * is excluding items more than

Re: rsync stops/hangs (from windows to debian)

2007-10-04 Thread Matt McCutchen
On 10/4/07, Wayne Davison [EMAIL PROTECTED] wrote: Yes, due to a bug in cygwin's pipe code (the pipe that carries data between rsync and ssh). Until cygwin fixes its pipe code, you can only reliably rsync data to/from a cygwin system if you avoid pipes (e.g. use a daemon transfer). I'm not

Re: Rsync not able to transfer over jumbo frames?

2007-10-04 Thread Matt McCutchen
On 10/3/07, Jake Conk [EMAIL PROTECTED] wrote: [...] I enabled jumble frames by setting the mtu to 9000. Jumble frames! Now there's an idea to join the ranks of the April Fools' Day RFCs! :-D Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before

Re: [Detecting renames]

2007-10-04 Thread Matt McCutchen
On 10/4/07, Frank Thomas [EMAIL PROTECTED] wrote: This action is the simplest method of performing an rsync, but it would be nice to have rsync to be intelligent enough to recognize a name change but not an inode change on the source. The --detect-renamed option provided by the patch

Re: Rsync 3.0.0pre1 released

2007-10-04 Thread Matt McCutchen
On 10/4/07, Wayne Davison [EMAIL PROTECTED] wrote: I've just released rsync 3.0.0pre1, the first pre-release version for the upcoming 3.0.0 release. Hooray! I have built an RPM of rsync 3.0.0pre1 and posted it here: http://mattmccutchen.net/rsync/#rsync-packages This pre-release has finally

Re: Problem with hard links

2007-10-05 Thread Matt McCutchen
On 10/5/07, limule pika [EMAIL PROTECTED] wrote: On 9/28/07, Matt McCutchen [EMAIL PROTECTED] wrote: [...] If remembering the contents of even one of the directories makes rsync run out of memory, you'll have to do something different. Thanks for your reply.I think that there is too many

Re: Rsync not able to transfer over jumbo frames?

2007-10-05 Thread Matt McCutchen
On 10/5/07, Jake Conk [EMAIL PROTECTED] wrote: I think whatever your reading is probably wrong. It doesn't make sense or else like wha you said nothing will be able to communicate over jumbo frames. *Jumbo* frames are fine. In one place in your original message, you made a typo and called

Re: Rsync 3.0.0pre1 released

2007-10-05 Thread Matt McCutchen
On 10/4/07, Manuel Kissoyan [EMAIL PROTECTED] wrote: Wondering if there are somewhere to download an rpm version for centos? My RPM will probably work fine on CentOS, as it is based on the Fedora packaging and Fedora is similar to CentOS. If you want a pure CentOS package, you or I could

Re: (no subject)

2007-10-06 Thread Matt McCutchen
On 10/5/07, Charles Marcus [EMAIL PROTECTED] wrote: Seems to me the best way to accomplish this is to be sure that the parent directory is not a directory that someone can rename... ie, when I rsync our home directories, there is no danger of anyone ever renaming the 'home' directory... So,

Re: Renaming a directory results in an expensive retransmission

2007-10-06 Thread Matt McCutchen
On 10/5/07, N.J. van der Horn (Nico) [EMAIL PROTECTED] wrote: It is a tricky problem to deal with i think, it is tempting to keep a checksum'd file/directory list on both sides with information like: * a fingerprint/signature/checksum to identify each file or directory * inode number *

Re: Any ide why it take long time to run from WinXP to Linux?

2007-10-06 Thread Matt McCutchen
On 10/3/07, Thiep Duong [EMAIL PROTECTED] wrote: Anyone know why it take this long? Well, the simplest explanation is that more source data had changed than usual or someone renamed a large directory (which looks like a deletion + creation to rsync). There could be something else going on, but

Re: non-recursive remote listing breakage in 3.0.0pre1

2007-10-06 Thread Matt McCutchen
On 10/6/07, Erik Jan Tromp [EMAIL PROTECTED] wrote: It would appear something snuck in that breaks non-recursive remote listings when talking to a non-3.0.0pre1 version of rsync. The symptom itself is simple enough to see; rather than displaying member directories/regular files/symlinks/etc as

Re: non-recursive remote listing breakage in 3.0.0pre1

2007-10-06 Thread Matt McCutchen
On 10/7/07, Wayne Davison [EMAIL PROTECTED] wrote: This was a simple problem with the code that was trying to skip implied directories failing to check if the relative flag was set. The latest CVS version has this fixed. That fix misses the point. If I pass --relative --no-implied-dirs, the

Re: non-recursive remote listing breakage in 3.0.0pre1

2007-10-06 Thread Matt McCutchen
In the process of investigating this, I ran across another oddity with --dirs and --relative that appears to be present in both rsync 2.6.9 and the current CVS rsync. When a source argument ends in a ./ but isn't ./ itself, rsync skips the subdirectories. Continuing the previous example: $

Re: non-recursive remote listing breakage in 3.0.0pre1

2007-10-06 Thread Matt McCutchen
On 10/7/07, Wayne Davison [EMAIL PROTECTED] wrote: On Sun, Oct 07, 2007 at 01:18:46AM -0400, Matt McCutchen wrote: That fix misses the point. No, it's just incomplete. Patience. Sorry. What I meant was that, once impliedness of directories is represented properly (which is necessary

Re: rsync error

2007-10-07 Thread Matt McCutchen
On 10/7/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: Additionally, this backup contains about 100GB of photos. It seems to backup each file every backup. Any ideas? Try --modify-window=1 . Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before

Re: Extremely poor rsync performance on very large files (near 100GB and larger)

2007-10-07 Thread Matt McCutchen
On 10/7/07, Wayne Davison [EMAIL PROTECTED] wrote: On Mon, Jan 08, 2007 at 10:16:01AM -0800, Wayne Davison wrote: And one final thought that occurred to me: it would also be possible for the sender to segment a really large file into several chunks, handling each one without overlap, all

Re: rsync error

2007-10-07 Thread Matt McCutchen
On 10/7/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: Still seems to transfer all files. Funny thing is it seems to only do it for the pictures folder. Please run rsync with -i and look at the output to see why it is transferring the files. Matt -- To unsubscribe or change options:

Re: Recognizing directory name changes

2007-10-09 Thread Matt McCutchen
On 10/9/07, Frank Thomas [EMAIL PROTECTED] wrote: I've decided to proceed down another path to solve this problem, at least until rsync is able. You aren't happy with --detect-renamed ? Is there any way to change the dry-run option to display a probable transfer size if the command was run.

Re: high CPU usage with TAR files

2007-10-09 Thread Matt McCutchen
On 10/9/07, James V [EMAIL PROTECTED] wrote: I am trying to use rsync to backup our Linux server and when the rsync is running it uses 1-2% CPU for most operations until it reaches a tar file (or another file archive), then the CPU usage increases to 90%. I am assuming that rsync is looking

Re: Recognizing directory name changes

2007-10-10 Thread Matt McCutchen
On 10/10/07, Frank Thomas [EMAIL PROTECTED] wrote: First, I'm not sure how to safely compile this into rsync I don't know what you mean by safely. To get an rsync executable with the patch, download an rsync source package from http://rsync.samba.org/ (your choice of the stable rsync 2.6.9 or a

Re: Recognizing directory name changes

2007-10-11 Thread Matt McCutchen
On 10/11/07, Frank Thomas [EMAIL PROTECTED] wrote: Thanks Matt for your reply. What my problem is, I didn't install rsync from source, but through a rpm package. I wonder if it is possible to apply the patch and re-create the rpm, to minimize the work involved. Yes. Obtain the rsync source

Re: Rsync 3.0.0pre1 released

2007-10-11 Thread Matt McCutchen
On 10/11/07, Manuel Kissoyan [EMAIL PROTECTED] wrote: Matt, any chance you do one compiled with glibc 2.3.x? No, and I don't know of a way that I could make one without actually installing glibc 2.3.x on my system, which would break everything. Instead, you could rebuild my source RPM on your

download links in rsync's cvsweb don't work

2007-10-11 Thread Matt McCutchen
Dear webmaster, The download links in the cvsweb interface to the rsync source repository (e.g., on http://cvs.samba.org/cgi-bin/cvsweb/rsync/patches/detect-renamed.diff ) don't work. They give an error page similar to the one attached. Please fix this. Thanks, Matt Title: Error ​​​​​

Re: Recognizing directory name changes

2007-10-11 Thread Matt McCutchen
On 10/11/07, Frank Thomas [EMAIL PROTECTED] wrote: Thanks Matt again for the info. So now I'm feeling foolish. I tried to just pull the latest version of this from the cvs and I keep getting the following errors when I try to click onto 'download'. Yes, the cvsweb seems to be broken; I have

Re: Rsync 3.0.0pre2 released

2007-10-11 Thread Matt McCutchen
On 10/11/07, Wayne Davison [EMAIL PROTECTED] wrote: I've just released rsync 3.0.0pre2, the second pre-release version for the upcoming 3.0.0 release. I have built RPMs (source and i386 binary) for rsync 3.0.0pre2: http://mattmccutchen.net/rsync/#rsync-packages Matt -- To unsubscribe or

Re: Rsync 3.0.0pre2 released

2007-10-11 Thread Matt McCutchen
On 10/11/07, Manuel Kissoyan [EMAIL PROTECTED] wrote: Using which Glibc version? The one that is on my computer: Fedora's glibc-2.6-4 . If you want an RPM that works with the glibc on your servers, just rebuild my source RPM on one of the servers: $ wget

Re: period in folder name

2007-10-11 Thread Matt McCutchen
On 10/11/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: I'm having a terrible time with one particular customer using rsync. Every once in awhile, they create a folder like Jon Const. Rsync seems to have a terrible time with the period in the folder name. After the backup runs and fails due

Re: period in folder name

2007-10-11 Thread Matt McCutchen
On 10/11/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: XP Pro on both ends. This is the error in the log building file list ... file has vanished: /cygdrive/F/Share/CP Art/M-P/M/McCullough Const. done IO error encountered -- skipping file deletion I imagine that once a period gets into the

Re: rsync error: protocol incompatibility (code 2) at main.c(1385)

2007-10-11 Thread Matt McCutchen
On 10/8/07, Mario Domgörgen [EMAIL PROTECTED] wrote: i'm trying to backup one of my hosts with a two rsync-scripts, which are mainly just calling on the client side /usr/bin/rsync --server --sender -vlogDtprz --delete-excluded --numeric-ids --exclude-from=/etc/sm-backup/rsync.exclude / and

Re: --detect-renamed question

2007-10-12 Thread Matt McCutchen
destination file without verifying that its data matches that of the source file. This is risky but it is what Greg [EMAIL PROTECTED] wanted: http://lists.samba.org/archive/rsync/2007-October/018827.html This patch is EXPERIMENTAL, though it did work correctly in my single test. -- Matt McCutchen

detect-renamed.diff fixes and improvements

2007-10-12 Thread Matt McCutchen
Wayne, The detect-renamed.diff in the current CVS rsync appears to be very badly broken. I have fixed it and made some other improvements: Crash fixes: - Move misplaced the_fattr_list initialization hunk back to recv_file_list - Send --detect-renamed to the sender so it knows to disable

Re: Recognizing directory name changes

2007-10-12 Thread Matt McCutchen
. I didn't even know that it was available in that tarball. I have really no experience in making or modifying rpm's. New stuff to learn! Frank. From: [EMAIL PROTECTED] on behalf of Matt McCutchen Sent: Thu 10/11/2007 5:58 PM To: Frank Thomas Cc: rsync

Re: Rsync on 3 places

2007-10-12 Thread Matt McCutchen
On 10/12/07, Alexandros Papadopoulos [EMAIL PROTECTED] wrote: With that in mind, I would go for one daemon on machine A, and the two other machines using simple scripted rsync commands to exchange data with the daemon. Having the other machines connect to A via ssh may be easier than setting

Re: --detect-renamed question

2007-10-12 Thread Matt McCutchen
in my light testing. FIXME: If a run with --trust-rename stages a different-basename destination file and then gets interrupted, a subsequent run with --trust-move trusts the staged file. -- Matt McCutchen [EMAIL PROTECTED] --- old/generator.c +++ new/generator.c @@ -80,6 +80,7 @@ extern int

Re: Recognizing directory name changes

2007-10-12 Thread Matt McCutchen
On 10/12/07, Frank Thomas [EMAIL PROTECTED] wrote: Thank you for telling me of it's issues. When the patch approaches testing, please contact me and I can setup a test environment to test transfers in the Gig's. I have fixed the patch and Wayne has committed my fixes to the CVS. You may test

Re: [feature request] Modify --backup option to make backups on source side, too

2007-10-15 Thread Matt McCutchen
On 10/15/07, Aaron Digulla [EMAIL PROTECTED] wrote: Can you please modify the backup options to work together with --remove-source-files so I'm able to create a reliable move between hosts script? The patch patches/source-backup.diff in the source tree adds an option --source-backup to do

Re: rsync error: protocol incompatibility (code 2) at main.c(1385)

2007-10-15 Thread Matt McCutchen
Please CC the list so people other than me can help you and so your messages will be available to future users. On 10/15/07, Mario Domgörgen [EMAIL PROTECTED] wrote: No, i don't run the client side command myself. The backup should start from the server, so i use the the second command to

Re: SSH daemon questions

2007-10-15 Thread Matt McCutchen
On 10/13/07, Alan Cheers [EMAIL PROTECTED] wrote: If you had multiple people making rsync backups over ssh wouldn't it be preferred to use the single-use daemons from a security standpoint? If multiple people use this method I would want to limit the chance of somebody being able to grab

Re: [feature request] Modify --backup option to make backups on source side, too

2007-10-15 Thread Matt McCutchen
On 10/15/07, Aaron Digulla [EMAIL PROTECTED] wrote: Thanks for the input. If this wasn't for a production system, I'd do that :-) Why don't you apply the patch the release version? Because the patch is a quick hack to serve a niche need, so the benefit of saving people who need source backups a

Re: [feature request] Modify --backup option to make backups on source side, too

2007-10-15 Thread Matt McCutchen
On 10/15/07, Aaron Digulla [EMAIL PROTECTED] wrote: Thanks. I'll try to convince my bosses to see this as payment for using rsync :-) I just hope I can find a simple way to build rsync on Windows ... I guess I'll try with Cygwin since I already have that installed and I could build GhostPCL

Re: Symlinks in OS X (10.4.1)

2007-10-15 Thread Matt McCutchen
On 10/15/07, Wayne Davison [EMAIL PROTECTED] wrote: Is there a system call that allows their permissions to be changed after they've been created? (Since lchmod is lacking.) I don't think so, but as Wesley hinted, one can effectively change a symlink's permissions by deleting it, setting the

To inc_recurse or not to inc_recurse? [Re: 3.0.0pre2: bookend breakage (2 different errors)]

2007-10-15 Thread Matt McCutchen
On 10/15/07, Erik Jan Tromp [EMAIL PROTECTED] wrote: # The second error Invalid file index: -101 (-1 - 0) with iflags 0 [receiver] rsync error: protocol incompatibility (code 2) at rsync.c(273) [receiver=3.0.0pre2] rsync: connection unexpectedly closed (21 bytes received so far) [generator]

detect-renamed-lax.diff

2007-10-15 Thread Matt McCutchen
On 10/13/07, Wayne Davison [EMAIL PROTECTED] committed: Added Files: detect-renamed-lax.diff Log Message: My version of Matt's --trust-rename patch. The option --detect-moved should be named --detect-moved-lax because it contains the lax behavior. --detect-moved would mean use a file

Re: To inc_recurse or not to inc_recurse? [Re: 3.0.0pre2: bookend breakage (2 different errors)]

2007-10-15 Thread Matt McCutchen
On 10/16/07, Wayne Davison [EMAIL PROTECTED] wrote: It also allows for future expansion in certain situations -- e.g. I can imagine making a future version of --prune-empty-dirs and/or --delay-updates compatible with inc-recursion, and this will allow a more modern rsync to try to tell a

Re: To inc_recurse or not to inc_recurse? [Re: 3.0.0pre2: bookend breakage (2 different errors)]

2007-10-15 Thread Matt McCutchen
On 10/16/07, Wayne Davison [EMAIL PROTECTED] wrote: Yeah, I agree that it is better for the client to explicitly tell the server what is going on (and allows a batch file to indicate what is happening too). Now you could revert the unconditional sending of --detect-renamed in

Re: To inc_recurse or not to inc_recurse? [Re: 3.0.0pre2: bookend breakage (2 different errors)]

2007-10-15 Thread Matt McCutchen
On 10/16/07, Matt McCutchen [EMAIL PROTECTED] wrote: (That's why I said negotiate.) One more thing I want to point out in case you haven't already thought of it. Once two-way negotiation is in place, each side should refuse incremental recursion only if it can't fulfill its *own* duties under

Re: Files aren't copied into specified dest directory

2007-10-17 Thread Matt McCutchen
On 10/17/07, Alexander Skwar [EMAIL PROTECTED] wrote: /opt/csw/bin/rsync --port=55873 -avPi winds06.win.ch.da.rtr::racebeta/xml \ winds06.win.ch.da.rtr::racebeta/xrfsharedresource \ /opt/apps/Teamcenter/Production/racebeta b) Why does rsync copy files to this directory in the first place?

Snapshot of rsync CVS repository?

2007-10-24 Thread Matt McCutchen
Wayne, I would like to import the entire rsync CVS repository into git for my own use. I can do this by fetching revisions one by one from the pserver, but it's abominably slow and probably bogs down the server unacceptably. Is there somewhere I can download a snapshot of the repository (which

<    1   2   3   4   5   6   7   8   9   10   >