Re: supporting HFS+ attributes and forks on a Linux rsync server?

2008-06-20 Thread Matt McCutchen
On Fri, 2008-06-20 at 10:32 -0700, David Feldman wrote: You won't be able to preserve file flags and creation times since Linux doesn't have them. On the other hand, rsync 3.0.2 with -X will preserve getxattr-style extended attributes (including resource forks, which Mac OS 10.4+ exposes

Re: --exclude with whitespace

2008-06-16 Thread Matt McCutchen
On Mon, 2008-06-16 at 10:09 +0200, Philippe Niquille wrote: I am using the default rsync 2.6.3 on OS X 10.5.3 and having issues with my exclude options. I want to exclude a directory which has whitespace in its name e.g. My Directory by adding --exclude=My Directory as a relative path.

Re: Rsync compression problem - sometimes ineffective?

2008-06-12 Thread Matt McCutchen
On Thu, 2008-06-12 at 13:35 -0400, Bodle, Donald E wrote: Using bytes sent/literal data from statistics as a rough estimation (I know there is overhead in the bytes sent) of the effectiveness of compression, most days I see reasonable compression My initial thought was that days of no

Re: Could not start Rsync Server service on the Local Computer

2008-06-10 Thread Matt McCutchen
On Tue, 2008-06-10 at 08:51 -0400, Abdul Khan wrote: I have installed cwRsync Server on Windows Server 2000. I having problems starting the Rsync Server service. You should ask this on the cwRsync forum:

Re: rsync daemon not answering

2008-06-06 Thread Matt McCutchen
On Fri, 2008-06-06 at 10:02 -0300, Alejandro Celery wrote: I have a problem: I was running rsync --daemon on a Ubuntu 6.10 linux without problems. I used it to sync our company intranet from a Windows host through deltacopy. Then I migrated my system to new hardware and installed Ubuntu

Re: send_files fails to open file not in source or dest

2008-06-05 Thread Matt McCutchen
On Thu, 2008-06-05 at 16:14 -0400, Bit Byte wrote: I am getting a very strange rsync error: send_files failed to open /mydir/another/dir/goes/right/here/finally/crazyfilename.xx-what: No such file or directory rsync error: some files could not be transferred (code 23) at main.c(1045)

Re: rsync from Windows to Linux

2008-06-04 Thread Matt McCutchen
On Wed, 2008-06-04 at 07:20 -0700, becca23 wrote: Thanks for the help, i got the permissions issue worked out, but I'm interested in this --rsync-path command. It seems like it could be a powerful tool to make up for the lack of rsync commands in Delta copy. Yes, you can use it to pass options

Re: unison for windows

2008-06-02 Thread Matt McCutchen
On Mon, 2008-06-02 at 18:06 +0530, Madan Kumar wrote: Hi All, I am posting this querry second time. What i need is-- {Is there any command by which I can get only the updation of file ie only the incremental?. Suppose I have a text file say ss.txt of 3KB in size and I have taken the

Re: rsync over stdin/stdout

2008-06-02 Thread Matt McCutchen
On Mon, 2008-06-02 at 11:27 -0700, Tony Mantler wrote: So I've got this situation where I have two systems connected via a protocol that looks nothing at all like IP, and I'd like to be able to rsync between them. I can, though, open a perfectly normal looking socket through various magic

Re: rsync over stdin/stdout

2008-06-02 Thread Matt McCutchen
On Mon, 2008-06-02 at 14:29 -0700, Tony Mantler wrote: On Mon, 2008-06-02 at 13:45 -0700, Matt McCutchen wrote: On Mon, 2008-06-02 at 11:27 -0700, Tony Mantler wrote: Basically I need to set up the socket beforehand and then hand it to rsync somehow. This seems to be possible

Re: rsync over stdin/stdout

2008-06-02 Thread Matt McCutchen
On Mon, 2008-06-02 at 14:59 -0700, Tony Mantler wrote: On Mon, 2008-06-02 at 13:45 -0700, Matt McCutchen wrote: First, you should use an rsync daemon if you aren't already; with the remote shell mode, you have to get the server arguments across the socket yourself, whereas

Re: Step between --dry-run and running?

2008-06-01 Thread Matt McCutchen
On Sat, 2008-05-31 at 18:16 -0400, Tuc at T-B-O-H.NET wrote: That would be --only-write-batch. Hrm, so it does But creates a $FILE.sh filename. Any way to prevent that part? No. If you don't want the $FILE.sh, just delete it. Also, should running it twice in a row quickly

Re: Step between --dry-run and running?

2008-06-01 Thread Matt McCutchen
On Sun, 2008-06-01 at 13:18 -0400, Tuc at T-B-O-H.NET wrote: On Sat, 2008-05-31 at 18:16 -0400, Tuc at T-B-O-H.NET wrote: That would be --only-write-batch. =20 Hrm, so it does But creates a $FILE.sh filename. Any way to prevent that part? No. If you don't want the

Re: CPAN mirroring exclude syntax assistance request

2008-05-31 Thread Matt McCutchen
On Sat, 2008-05-31 at 10:33 -0500, David Favor wrote: Now I'm really confused. If I use the above command with -anv then all '/src/***' files are excluded. If I 'rm -rf src' and run the command again without -n then all the files from src get synced again. I'm confused when -azn and -az

Re: CPAN mirroring exclude syntax assistance request

2008-05-31 Thread Matt McCutchen
On Sat, 2008-05-31 at 14:12 -0500, David Favor wrote: Let me know if there is some way I can identify the protocol version of the funet.fi server as I saw no mention of this in the rsync man page. I passed it the -X option, which it doesn't support, and got this: rsync: on remote machine:

Re: How to backup files without destroying the destination?!

2008-05-31 Thread Matt McCutchen
On Sat, 2008-05-31 at 08:57 +0200, ml wrote: Instead of just one backup, keep a series of backups on ServerB and sanity-check them periodically. That way, if ServerA is hacked, you'll have a period of time to notice and recover from a good backup. To save space, you could use a tool that

Re: -4 / -ipv4 doesn't work

2008-05-30 Thread Matt McCutchen
On Fri, 2008-05-30 at 12:20 +0200, Gijs Molenaar wrote: I try to connect to a host that has IPv4 and IPv6, but IPv6 is currently blocked by ACL's. My host also has IPv6 and IPv4. When I pass the -4 or --ipv4 option to rsync, it doesn't pass it to ssh: [...] Currently, options like -4 only

Re: rsync on stand alone winXP

2008-05-30 Thread Matt McCutchen
On Fri, 2008-05-30 at 12:02 +0530, Madan Kumar wrote: And also I am able to copy the files or directory in the same location where these four(rsync.exe,cygwin.dll,cygwin-0-dll,rsync-param.reg) are. like these are in C:\program files\rsync folder so by using the command- C:\program

Re: rsync using wildcard (*) character

2008-05-30 Thread Matt McCutchen
On Fri, 2008-05-30 at 08:32 -0700, Meeaz wrote: All files are transferring now. It however shows an error as follows:- rsync: failed to set permissions on /var/log/Wlog/TEST/.: Operation not permitted (1) This is a potential drawback of the include/exclude approach: the root source directory

Re: Request for exclude syntax assistance

2008-05-30 Thread Matt McCutchen
On Thu, 2008-05-22 at 13:46 -0500, David Favor wrote: I'm baffled by exclude syntax. I'm mirroring CPAN and am trying to exclude all files in the src/ directory. I've tried for days to figure this out and now throwing myself on the mercy of this list. Here's my current incantation:

Re: (CPAN src exclusion problem)

2008-05-30 Thread Matt McCutchen
On Fri, 2008-05-30 at 10:00 -0600, lewis butler wrote: On 28-May-2008, at 05:28, David Favor wrote: /usr/bin/rsync -av --delete --exclude '/src/***' why all the *? A trailing triple star makes the rule match /src/ and everything under it, which is overkill in this case but doesn't hurt

Re: Archive of bad things during rsync?

2008-05-30 Thread Matt McCutchen
On Fri, 2008-05-30 at 12:16 -0400, Tuc at T-B-O-H.NET wrote: Wouldn't you know, I can't get rsync to throw an error during a copy. :) I need to put together some instructions for a guy that runs a WISP for him to look over before weekly backups are made (I'll be copying the files to

Re: (CPAN src exclusion problem)

2008-05-30 Thread Matt McCutchen
On Fri, 2008-05-30 at 12:43 -0500, David Favor wrote: Still not working. If I remove a random file like src/fo.md5.txt all the following fail. In other works, each of the following exclude patterns recreate the file. #--exclude='src/' #--exclude='src/***' #

Re: How to backup files without destroying the destination?!

2008-05-30 Thread Matt McCutchen
On Fri, 2008-05-30 at 21:22 +0200, ml wrote: i would like to copy/mirror/rsync the backup files from ServerA to ServerB. Since i must assume that ServerA is hacked (public server with a few services), i would like to pull the files to ServerB (save server with no services). That means i

slp hunks snuck into rsync 3.0.2 xattrs.diff

2008-05-30 Thread Matt McCutchen
I noticed that somehow the slp additions to the rsyncd.conf.5 man page ended up in xattrs.diff in the released rsync-patches-3.0.2.tar.gz and thereby in the Fedora rsyncd.conf.5 man page. This could indicate a problem with the patch-update script. Matt signature.asc Description: This is a

Re: rsync using wildcard (*) character

2008-05-29 Thread Matt McCutchen
On Thu, 2008-05-29 at 06:57 -0700, Meeaz wrote: We are using rsync version 2.6.3 and do not intend to upgrade to the latest version. I am using the following command:- rsync -arv --files-from=./myfile /app/dd/gesb [EMAIL PROTECTED]:/var/log/hhsb I want to mention the file list in the myfile

Re: rsync using wildcard (*) character

2008-05-29 Thread Matt McCutchen
On Thu, 2008-05-29 at 12:07 -0700, Meeaz wrote: If I run the following command using include option, it does not copy the first file from under /opt/bea/test directory rsync -arv --include /opt/bea/test/z* [EMAIL PROTECTED]:/var/log/Wlog/TEST Note that the rest of the files are copied.

Re: How to exclude directories from source with --relative

2008-05-27 Thread Matt McCutchen
On Mon, 2008-05-26 at 23:40 -0700, Wayne Davison wrote: On Mon, May 26, 2008 at 09:46:04PM -0700, Stuart Anderson wrote: 3) Try excluding a/, this does not work: # rsync -avn --relative --exclude a/ /tmp/source/./a/? /tmp/destination That's because 'a' is an implied directory in the

Re: rsync --files-from option file with a custom Delimiter

2008-05-19 Thread Matt McCutchen
JanakiRam, please CC the rsync list in replies so that your messages are archived and others can help you. On Mon, 2008-05-19 at 02:34 -0700, JanakiRam wrote:  Is there any way i can specify the custom delimiter to rsync to read the file names. Please help me to solve this. You can

Re: SSL/TLS support in RSYNC

2008-05-19 Thread Matt McCutchen
On Mon, 2008-05-19 at 11:26 +0200, Bruno (libvirt) wrote: What are the plans to implement TLS directly into the mainstream rsync? This would be a huge improvement, when using rsync with a daemon and modules-based setup. It's already easy to tunnel rsync into ssh, but this requires 1)

Re: Status of --ignorcase option in main tree/build?

2008-05-17 Thread Matt McCutchen
On Sat, 2008-05-17 at 01:32 -0400, Aaron Davies wrote: How does this work on OS X/HFS+ (case-preserving, but case-insensitive)? Any issues with the standard build in a mixed-OS scenario like this? The standard version should work mostly fine on a case-insensitive, case-preserving filesystem.

Re: rsync --files-from option file with a custom Delimiter

2008-05-17 Thread Matt McCutchen
On Sun, 2008-05-18 at 02:35 +, JanakiRam wrote: I'm new to rsync usage in Mac OS X. I'm having a strange issue with -- files-from option. I'm providing the --files-from to provide a file , which contains the list of files separated by newline character , to perform backup operation.

Re: Does rsync 2.6.9 works for resource forks in Mac OS X

2008-05-17 Thread Matt McCutchen
On Sun, 2008-05-18 at 02:35 +, JanakiRam wrote: I've downloaded the rsync 2.6.9 version and using it to perform backup to my server. My doubt is when i try to copy a file Does rsync is capable of copying the resource forks of that files as well ? Since version 10.4, the Mac OS X filesystem

Re: Status of --ignorcase option in main tree/build?

2008-05-16 Thread Matt McCutchen
On Fri, 2008-05-16 at 08:54 -0400, Charles Marcus wrote: On 5/15/2008 7:18 PM, Wayne Davison wrote: I don't particularly like the option, so my current inclination is to just keep it available in the patches directory for those that want it. Hi Wayne, I hope you don't mind a

Re: Ignore Owner and group at destination

2008-05-16 Thread Matt McCutchen
On Fri, 2008-05-16 at 09:43 -0700, Meeaz wrote: Is there a way we could transfer files and force rsync not to look for the same user:group as host on the destination? If you mean you want destination files to take on the user/group of the receiving rsync process instead of the source

Re: Ignore Owner and group at destination

2008-05-16 Thread Matt McCutchen
On Fri, 2008-05-16 at 20:01 +0200, [EMAIL PROTECTED] wrote: Have you looked at the man pages (man rsync)? You are using version 2.6.3, and the manual will tell you that the --no-o and --no-g options are not available (they were added at a later version). Moritz is right. I forgot that the

Re: openssh vulnerability

2008-05-15 Thread Matt McCutchen
Gabriel, You sent this internal-looking message to the rsync list. If it pertains to rsync, would you please explain how? Matt On Thu, 2008-05-15 at 11:39 +0200, Gabriel CORRE wrote: Hello Rene, Maybe have you already upgrade you openssl/openssh packages if you using debian (or *buntu).

Re: RSync from NAS machine over WinXP with cwRSync to another PC

2008-05-15 Thread Matt McCutchen
On Thu, 2008-05-15 at 13:11 +0200, Manfred Rebentisch wrote: some people want to use the following construction: they have a NAS machine with an integrated rsync (may be on embedded linux). they have a WinXP with cwRsyncServer (with rsync 3.0.2) and they have on WinXP a network share

Re: rsyncing a r/o-permissioned tree?

2008-05-15 Thread Matt McCutchen
On Thu, 2008-05-15 at 09:50 -0400, Aaron Davies wrote: Hi, i have a question about rsyncing a tree which is largely permissioned for read-only access(444/555, etc.). I have a production environment which is mostly kept in r/o to make it harder to screw up, but parts of it are sometimes

Re: rsyncing a r/o-permissioned tree?

2008-05-15 Thread Matt McCutchen
On Thu, 2008-05-15 at 16:31 -0400, Aaron Davies wrote: (unfortunately this tree is enormous and takes half an hour just to index, before any data actually starts moving, or i'd know if i've fixed that issue) Rsync 3.0.x's incremental recursion mode will help with that, too. Matt

Re: Status of --ignorcase option in main tree/build?

2008-05-15 Thread Matt McCutchen
On Thu, 2008-05-15 at 16:47 -0400, Charles Marcus wrote: On 5/15/2008 4:31 PM, Matt McCutchen wrote: On Thu, 2008-05-01 at 10:55 -0400, Charles Marcus wrote: Did [the --ignore-case] patch get included in the new 3.0.x standard version? No. O-k... bummer. I thought

Re: Should no-tweak mode become the default?

2008-05-10 Thread Matt McCutchen
On Sat, 2008-05-10 at 10:13 -0700, Carl E. Thompson wrote: Truly, though, it's not really a problem in rsync but in the backup systems that made the assumption that rsync's default behavior is appropriate for the job they are giving it. My view exactly. If the default won't be changed then

Re: Should no-tweak mode become the default?

2008-05-10 Thread Matt McCutchen
On Sat, 2008-05-10 at 21:04 +0200, Paul Slootman wrote: A backup system should at the least ensure that the last version is correct. If it has to tweak the attributes to do that, it should. No one is considering leaving the last version incorrect. The no-tweak mode replaces the destination

Re: Should no-tweak mode become the default?

2008-05-10 Thread Matt McCutchen
On Sat, 2008-05-10 at 15:22 -0700, Carl E. Thompson wrote: --link-dest introduces other security problems itself which I have already discussed at length. I guess you're referring to item 2 in your original description of bug 5448? Item 2a would be solved by the daemon link-dest parameter that

Re: name substitution

2008-05-08 Thread Matt McCutchen
On Thu, 2008-05-08 at 09:47 -0400, [EMAIL PROTECTED] wrote: I am using rsync between a BSD/OS system and a Linux system. On the BSD system, the user/group is www.www. On the Linux system the user/group is apache.apache. I have not yet found a way to get rsync to change www.www on the source

Should no-tweak mode become the default?

2008-05-08 Thread Matt McCutchen
This is to continue my discussion with Carl from: https://bugzilla.samba.org/show_bug.cgi?id=5448 about whether no-tweak mode should become rsync's default when --inplace is not specified. I'm eager to get some comments from other people on this too. On Thu, 2008-05-08 at 15:07 -0500,

Methods for safe hard-linked push backup

2008-05-08 Thread Matt McCutchen
This is to continue my discussion with Carl from: https://bugzilla.samba.org/show_bug.cgi?id=5448 on methods for hard-linked push backup where the client can't corrupt old backups via attribute tweaking. I don't know why one would use cp -al. I was thinking that the client would

Re: Patch to not modify files in place unless --inplace option specified

2008-05-08 Thread Matt McCutchen
On Thu, 2008-05-08 at 17:08 -0700, Carl E. Thompson wrote: This also appears to be counter to the man page description of the --inplace option which states This causes rsync not to create a new copy of the file and then move it into place. This implies of course that if the --inplace

Re: rsync only the directories, not the files

2008-04-24 Thread Matt McCutchen
On Thu, 2008-04-24 at 18:00 +0100, Joao Ferreira gmail wrote: can I tell rsync to sync only the directory struture but _not_ the files inside the directories ? Yes. Pass the following option to exclude (-) everything but (!) directories (/): --filter='-! */' Matt signature.asc Description:

Re: File List

2008-04-14 Thread Matt McCutchen
On Mon, 2008-04-14 at 11:15 +0200, intripoon wrote: Is there a way to give a list of files to rsync and it only synchronizes those files? Yes, --files-from. See the man page for details. Matt signature.asc Description: This is a digitally signed message part -- To unsubscribe or change

Re: Howto: Mac OS X to Windows VM

2008-04-10 Thread Matt McCutchen
On Wed, 2008-04-09 at 17:12 -0500, Rama D. Chavali wrote: I have a mac pro and a windows Vm which I want to keep sync. I tired using other Sync programs but they do not seems to be working. I tend to leave applications running which create their own temp files in its own specific folder,

Re: rsync error: some files could not be transferred -- How to ignore

2008-04-10 Thread Matt McCutchen
On Tue, 2008-04-08 at 21:27 -0600, Kenneth Seal wrote: In my case, rsync displays the error code rsync error: some files could not be transferred (code 23) and it kills my script. Do you have any advice on how would I go about writing, researching etc. a script to tell rsync to ignore

Re: rsync installation _error exit code1

2008-04-08 Thread Matt McCutchen
On Tue, 2008-04-08 at 14:28 +0530, sri vasulu wrote: Here i am trying to install rsync3.0.1 on HP-UNIX machine. i have downloaded the source rsync-3.0.1.tarrsync-patches-3.0.1.tar from rsync website. After that i have executed the ./configure, it got executed it displayed message as rsync

Re: scripting rsync ssh port issue

2008-04-04 Thread Matt McCutchen
Paul has addressed the errant dollar signs, the misspelled $DST, and two possible workarounds for the quoting issue, but I would like to explain the quoting issue a bit further. On Fri, 2008-04-04 at 11:23 -0400, Sterling Windmill wrote: RSYNC_OPTIONS=-aH --delete --numeric-ids -e \'ssh -p

Re: combining --preallocate and --fuzzy

2008-04-03 Thread Matt McCutchen
On Thu, 2008-04-03 at 15:49 -0400, John Taylor wrote: What I would like to accomplish is the merging of the .preallocate patch and the .fuzzy option. When these 2 switches are used together (at least on Windows platforms), I want rsync to determine which fuzzy file to use (from the

Re: Feature request: Store diffed files separately.

2008-04-02 Thread Matt McCutchen
On Tue, 2008-04-01 at 16:12 -0700, Ben Wilber wrote: I would like to be able to store diffed files in a separate directory on the receiver so it makes doing an incremental backup easy and efficient. Let me explain: For completeness, I'll point out that you can accomplish what you originally

Re: RFE: Lockfile option for use in cronjobs

2008-04-02 Thread Matt McCutchen
On Mon, 2008-03-31 at 11:43 +0200, Dag Wieers wrote: Looking for an easy way to prevent a repetitive rsync to be running multiple times, I was wondering if it could be useful to have an option like: --pidfile /some/path/rsync-mirror-org.pid So that rsync can be run directly from

Re: replicating a live directory

2008-04-02 Thread Matt McCutchen
On Sun, 2008-03-30 at 20:55 +0200, Lasse Kliemann wrote: * Message by -Joao Miguel Ferreira- from Sun 2008-03-30: We would really like to leave all those important services up but we are really affraid of producing a corrupted replica... Use filesystem snapshots. Linux supports them via

Re: replicating a live directory

2008-04-02 Thread Matt McCutchen
On Wed, 2008-04-02 at 19:15 -0400, Clark wrote: Matt McCutchen wrote: It's not clear to me how a filesystem snapshot would solve the problem. It guarantees that rsync sees an instantaneous state of the filesystem, but that state could still include files that are half-modified by other

Re: Suggestions for basic rsync configuration

2008-04-01 Thread Matt McCutchen
On Tue, 2008-04-01 at 03:36 -0700, Peter Heiss wrote: Wayne Davison-2 wrote: Search for the string admins in the config file. You presumably set the gid in more than one spot, such as in the module's settings. I have checked the config file and have not found any duplicates.

Re: Issue with rsync 3.0.0 and iconv

2008-04-01 Thread Matt McCutchen
On Tue, 2008-04-01 at 01:59 -0700, Kurt Martinsen 543 wrote: I have the same problem: received request to transfer non-regular file: 88183 [sender] rsync error: protocol incompatibility (code 2) at rsync.c(298) [sender=3.0.0] Is it just the one file that gets discarded or is it the whole

Re: another iconv question

2008-04-01 Thread Matt McCutchen
On Mon, 2008-03-31 at 09:54 -0400, Robert DuToit wrote: I am trying to help my friend set up his rsync with iconv. Presently it works fine but re-copies every file with an umlaute in the filename. I saw a recent post about this and the fix but... he ran locale ( both source and dest

Re: another iconv question

2008-04-01 Thread Matt McCutchen
On Tue, 2008-04-01 at 19:59 -0700, Wayne Davison wrote: Wayne, please consider adding this material to the copies every file entry on http://rsync.samba.org/FAQ.html . I renamed the entry and added more info on extraneous copying. Thanks! Thanks, but I noticed that you mangled the

Re: using rsync on raw device

2008-03-30 Thread Matt McCutchen
On Sun, 2008-03-30 at 15:00 -0400, George Georgalis wrote: I'm trying to use rsync to manage a raw disk image file. rsync --checksum --perms --owner --group --sparse --partial --progress \ 192.168.80.189:/dev/rwd0d /u0510a/rwd0d.img skipping non-regular file rwd0d Use the

Re: transfer stats wrong?

2008-03-30 Thread Matt McCutchen
On Sun, 2008-03-30 at 22:34 -0500, Dan Letkeman wrote: I have a set of files on my laptop running xp. I'm using cwRsync_2.0.10 and syncing to a Netware Server. Everything appears to be working fine, but the stats don't look right. When I run the sync for the first time it says this:

Re: rsync errors

2008-03-28 Thread Matt McCutchen
On Thu, 2008-03-27 at 19:56 +0530, Kaushal Shriyan wrote: I am still getting the below error rsync: failed to set permissions on /var/lib/mysql: Operation not permitted (1) [...] User sms can't set the permissions of files owned by mysql; there's no way to change this policy using ACLs. I

Re: Major rsync issue - overwriting files!!!

2008-03-28 Thread Matt McCutchen
On Fri, 2008-03-28 at 00:36 -0700, Nathan Griffiths wrote: I'm having a MAJOR issue with an rsync backup script that is actually OVERWRITING the files that it should be backing up! BAK_PATH=/Volumes/REM Backup/RsyncBackups/REM LINK_DEST=/Volumes/REM

Re: Installation and configuration of rsync in AIX

2008-03-26 Thread Matt McCutchen
On Tue, 2008-03-25 at 18:51 -0700, Moole Rathnakar Reddy wrote: I need help in installing and configuring rsync in AIX 5.3, i have tested installing the popt and rsync 2.6.2 in a test test box. steps I have done on both the systems... Installed the popt and rsync. (By default

Re: Bad habits

2008-03-20 Thread Matt McCutchen
On Thu, 2008-03-20 at 13:20 +0100, Daniel Maher wrote: Actually, you can post to the list even if you're not subscribed - the mail will wait in the moderation queue until an admin releases it, however. Whether the/an admin actually performs this function is still up for debate though. ;)

Re: Bad habits

2008-03-20 Thread Matt McCutchen
Stuart, On Thu, 2008-03-20 at 15:33 +, Stuart Halliday wrote: If they're not on the list why assume they want to be emailed? If a user asks a question and I answer it, I assume he/she wants to receive my answer whether or not he/she is on the list. Is that unreasonable? Why are non

Re: Suggestions for basic rsync configuration

2008-03-20 Thread Matt McCutchen
On Thu, 2008-03-20 at 07:04 -0700, Peter Heiss wrote: # rsync -zav --progress root@remote-server-ip::realperson /random/file-or-directory rsync: failed to connect to remote-server-ip: Connection timed out (110) rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]

Re: AW: rsync Windows UNC

2008-03-19 Thread Matt McCutchen
On Wed, 2008-03-19 at 16:37 +, Stuart Halliday wrote: Probably easier to just do: net use Z: \\sharename\ Run rsync script (with a path of /cygdrive/z/) net use z: /DELETE Certainly quicker... ;-) The problem is that Stefan is operating a daemon with too many shares for them

Re: rsync fails to exclude... sometimes?

2008-03-19 Thread Matt McCutchen
On Wed, 2008-03-19 at 10:11 -0700, rdwyer wrote: Rsync seems to intermittently ignore the exclude statement and copies them from time to time. rsync -avz --delete --update --stats --exclude=/library/webserver/documents/domains/mydomain/file_to_exclude.html -e ssh [EMAIL

Re: rsync Windows UNC

2008-03-18 Thread Matt McCutchen
On Tue, 2008-03-18 at 07:55 +0100, Kalb Stefan wrote: after some pain it works now. Great! How did you fix the problem (for the benefit of users having issues with UNC paths on Cygwin in the future)? Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync

Re: Do we need excluded_below?

2008-03-18 Thread Matt McCutchen
On Tue, 2008-03-18 at 11:51 -0700, Wayne Davison wrote: The latest version in the git repository has thwarted my attempts at receiving or sending files inside an excluded directory. With exclude = /secret in the configuration file, I can still pull the contents of a daemon-excluded directory

Re: crypting remote data

2008-03-18 Thread Matt McCutchen
On Mon, 2008-03-10 at 22:55 +0100, david reinares wrote: when I'm restoring the crypted data after a while rsync shows rsync: Failed to close: Bad file descriptor (9) rsync: Failed dup/close: Bad file descriptor (9) rsync error: error in IPC code (code 14) at pipe.c(208) [receiver=3.0.0]

Re: --detect-moved patch and --link-dest

2008-03-18 Thread Matt McCutchen
On Fri, 2008-03-07 at 14:20 +0100, Matt wrote: I am using --link-dest for my rotating backups. Noticing the --detect-renamed-lax patch to rsync 3.0.0. I was hoping to make use of the --detect-moved. Unfortunately, --detect-moved does not seem to recognize the --linkdest option. A

[PATCH] Unsnarl missing_below/dry_run logic.

2008-03-18 Thread Matt McCutchen
The generator can skip a directory's contents altogether due to --ignore-non-existing, a daemon exclude, or a mkdir failure. On a --dry-run, the generator can also note the missingness of a directory while still scanning its contents. These two scenarios were conflated using a single set of

[SCM] rsync branch, master, updated. v3.0.0-50-gd7b6774

2008-03-18 Thread Matt McCutchen
d7b6774d82ae234978542c43c9ad655c8ade101e Author: Matt McCutchen [EMAIL PROTECTED] Date: Mon Mar 17 15:19:13 2008 -0400 More typo fixes. --- Summary of changes: NEWS |4 ++-- configure.in |2 +- 2 files changed, 3 insertions(+), 3 deletions

Re: Suggestions for basic rsync configuration

2008-03-17 Thread Matt McCutchen
On Mon, 2008-03-17 at 05:58 -0700, Peter Heiss wrote: Although, I am still having problems with the daemon on the remote server. I ran the command rsync --daemon on the remote server, no error there. But then I ran the following error to do a test backup and received this error: # rsync

Re: Suggestions for basic rsync configuration

2008-03-17 Thread Matt McCutchen
On Mon, 2008-03-17 at 05:58 -0700, Peter Heiss wrote: hosts allow = trusted.hosts BTW, the hosts allow field needs to contain the actual list of trusted hosts, not the name of a file holding the list. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Matt McCutchen
On Mon, 2008-03-17 at 12:24 +0100, Andy Smith wrote: ok so basically that would (invoke with SETUID) be to invoke rsync daemon as root for example? More or less I have to run the daemon as root to be able to update files for all users dont I? For example if I want to rsync the homedirs

Re: rsync Windows UNC

2008-03-17 Thread Matt McCutchen
On Mon, 2008-03-17 at 15:57 +0100, Kalb Stefan wrote: I try to backup files from a NAS to our backup-server using rsync. The NAS itself is not able to run rsync. Therefore I installed rsyncd (cwrsync 2.1.1) on a windowsserver which has access to the NAS. I configured the rsyncd like this:

[PATCH] Fix typo in rsyncd.conf man page.

2008-03-17 Thread Matt McCutchen
--- rsyncd.conf.yo |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index f365333..f17e3d5 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -456,7 +456,7 @@ tt(fe80::%link1/:::::)nl() ) You can also combine hosts

Re: --ignore-existing not as expected

2008-03-17 Thread Matt McCutchen
On Fri, 2008-02-22 at 17:14 -0500, Matt McCutchen wrote: On Fri, 2008-02-22 at 14:19 +0100, Lasse Kliemann wrote: Is this correct behavior? File `foo' gets overwritten with directory `foo', even though --ignore-existing is given. I had never thought about this case, but probably

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Matt McCutchen
On Mon, 2008-03-17 at 17:48 +0100, Andy Smith wrote: I've tried implementing this but Im getting a nasty issue, rsync is core dumping on the recieving server (the daemon side). Alas, there's a bug in rsync 3.0.0: a daemon crashes unless it is given an explicit --config=FILE option. Either

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Matt McCutchen
On Mon, 2008-03-17 at 18:33 +0100, Andy Smith wrote: Once last point, does it make any difference if I push or pull from the server side? Im thinking the only important thing is if you pull you can set the server side read-only which is better for security, that about right?? Yes, that's

Re: AW: rsync Windows UNC

2008-03-17 Thread Matt McCutchen
Stefan, Please keep this on the list (CC rsync@lists.samba.org ). On Mon, 2008-03-17 at 17:33 +0100, Kalb Stefan wrote: I corrected the path to: [nspPR53_so2] path = //172.21.87.9/nspPR53_so/material/doc read only = true transfer logging = yes But no success. Error message remains the

[PATCH] Attempt to rewrite the description of the filter parameters in rsyncd.conf.yo.

2008-03-17 Thread Matt McCutchen
- Collect material that applies to all daemon filters in the documentation of the filter parameter, and make it more complete and coherent. - Amplify the recommendation to exclude entire subtrees properly since the excluded_below check is easy to circumvent and I have proposed removing it

[SCM] rsync branch, master, updated. v3.0.0-48-gdf476bf

2008-03-17 Thread Matt McCutchen
df476bfcff992fb66765d338128dffcf58369722 Author: Matt McCutchen [EMAIL PROTECTED] Date: Mon Mar 17 11:30:08 2008 -0400 Fix typo in rsyncd.conf man page. --- Summary of changes: rsyncd.conf.yo |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks

Re: Incremental file updates over a network, NFS?

2008-03-15 Thread Matt McCutchen
On Fri, 2008-03-14 at 12:46 +0100, Andy Smith wrote: can anyone point me at some consise info on when rsync is capable of performing incremental updates of binary files? I need to rsync over a network, and currently I have this over an NFS share but I suppose that even if binary updates are

Re: Incremental file updates over a network, NFS?

2008-03-15 Thread Matt McCutchen
On Sat, 2008-03-15 at 19:32 +0100, Andy Smith wrote: If you don't want to touch the server user's authorized_keys file, you could have a separate user accept the ssh logins and either invoke the daemon via setuid/sudo or connect to a background daemon on the same machine (which works

Re: Rsync Failed 3072

2008-03-14 Thread Matt McCutchen
On Fri, 2008-03-14 at 17:14 +0530, [EMAIL PROTECTED] wrote: I m getting bug for incremental backup from my server Error:Rsync Failed 3072 Rsync does not have such an error message. Probably you are using rsync as part of a larger backup script and that script is printing the message. You may

Re: untransferred files

2008-03-14 Thread Matt McCutchen
On Thu, 2008-03-13 at 11:01 -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? For example, we scan the whole file system and N files are not transferred. Instead

Re: Suggestions for basic rsync configuration

2008-03-14 Thread Matt McCutchen
I'd like to expand on Stuart's response a bit... On Fri, 2008-03-14 at 06:29 -0700, Geofoxer wrote: Thanks for your response, I think that I am on my way of getting stuff configured here. I still have a couple of questions though. I am also using linux with rsync!!! I want to clear up the

Re: Suggestions for basic rsync configuration

2008-03-14 Thread Matt McCutchen
On Fri, 2008-03-14 at 14:15 +, Stuart Halliday wrote: Forget ssh until you've got it working as plain vanilla Rsync. Like I said in my 1st posting. Get a working daemon and then list a rsync folder using a Rsync list command. Don't do anything else until you've got that working.

[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

Re: tired of typing long paths

2008-03-12 Thread Matt McCutchen
On Wed, 2008-03-12 at 08:25 -0400, Neal Becker wrote: rsync /usr/share/xemacs/blah/bla dest:/usr/share/same/long/path/here Wouldn't it be nice to have an option to just say: rsync --same-path /some/long/local/path dest: Two ways to do this: 1. Use --relative (but this may affect anchored

Re: (cw)rsync 3.0.0 incompatible with 2.6.9

2008-03-12 Thread Matt McCutchen
On Wed, 2008-03-12 at 16:02 +0100, Mojca Miklavec wrote: I have updated the windows binary for rsync to 3.0.0 (cwrsync), and now I get the following error: receiving file list ... rsync: on remote machine: --iconv=.: unknown option rsync error: requested action not supported (code 4) at

RE: (cw)rsync 3.0.0 incompatible with 2.6.9

2008-03-12 Thread Matt McCutchen
On Wed, 2008-03-12 at 17:11 +0100, Tevfik Karagülle wrote: I am a little bit confused now. What's best ? An rsync with iconv enabled or not ? I thought that iconv support could be useful to handle file names with foreign characters. However, I see now that an iconv-enabled rsync has some

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