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.tar&rsync-patches-3.0.1.tar from > rsync website. > After that i have executed the ./configure, it got executed it > displayed message as rsy

Re: Lower-case filenames on receiver side

2008-04-08 Thread Matt McCutchen
On Tue, 2008-04-08 at 18:10 +0200, Marco Bridge wrote: > The source partition on my mac is case sensitive > the problem is probably the target FAT partition on linux. I would suggest tinkering with the "shortname" mount option of the FAT partition and using the --ignore-case rsync option added by

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 folde

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 igno

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 o

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: 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 sourc

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, Bugzilla

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 "-

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 t

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 t

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 sh

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 manu

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 signature

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? > > > N

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 f

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 user/grou

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 t

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 filesyst

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. > > > >

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: 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

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 "myfi

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 cop

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 af

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 files\r

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 dire

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/***' > #--e

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 me

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 digit

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

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

2008-05-31 Thread Matt McCutchen
On Sat, 2008-05-31 at 14:35 -0400, Tuc at T-B-O-H.NET wrote: > Is there either a step, or a recipe for a step between > --dry-run and actually running? > > In a particular instance, --dry-run isn't enough. I want > to actually attempt to read the entire file in, but then write > it out

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: -dX

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 to

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 > quick

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 yo

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 > m

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. T

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 argume

Re: rsync from Windows to Linux

2008-06-03 Thread Matt McCutchen
On Tue, 2008-06-03 at 07:31 -0700, becca23 wrote: > I am having a problem rsyncing from windows to linux, or rather, keeping the > file permissions the way I want them. My project is basically to keep two > identical directories, one in Windows and one in Linux, mirrored, but they > must retain th

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 optio

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 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: 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: http://www.itefix.no/phpws/index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_I

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: --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

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

2008-06-20 Thread Matt McCutchen
On Thu, 2008-06-19 at 17:48 -0700, David Feldman wrote: > I'm trying to use rsync to back up a Mac OS X machine to a Linux server. > I've used the instructions at http://www.bombich.com/mactips/rsync.html > to patch and install rsync 3.0.2 to support HFS+ attributes and forks on > the client. I

Re: problem with rdiff

2008-06-20 Thread Matt McCutchen
On Fri, 2008-06-20 at 15:51 +0530, Madan Kumar wrote: > I am trying to get only incremental backup using "rdiff-backup" (that > also uses rsync). Ask on the rdiff-backup mailing list: http://www.nongnu.org/rdiff-backup/savannah.html#mailing_list Matt signature.asc Description: This is a digit

Re: 'Invalid cross-device link' on GNU/Linux

2008-06-20 Thread Matt McCutchen
On Fri, 2008-06-20 at 09:16 -0500, Ryan Rodriguez wrote: > I am running out of space on my compact flash card and want to have > rsync use the "--delete-after --delay-updates --partial-dir=/tmpfs" > which is mounted as tmpfs. Once the renaming part of the rsync > starts I get "Invalid cross-devic

Re: pre/post-xfer exec not executed ?

2008-06-20 Thread Matt McCutchen
On Fri, 2008-06-20 at 17:53 +0200, Loïc wrote: > I've setup a rsync server on my backup host, with shares using > post/pre-xfer exec options but the scripts seems not to even be called : > they should write a lockfile, and write in a logfile some information > about the transfer request / report

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+

Re: Xattrs and Delete over AFP

2008-06-21 Thread Matt McCutchen
On Sat, 2008-06-21 at 21:34 -0400, [EMAIL PROTECTED] wrote: > I have an OSX 10.3.9 Server that I'm trying to back up with rsync 3.0.2. > Since I didn't have any luck with the 10.3.9 patch To be perfectly clear, do you mean you have tried Vitorio Machado's patch? http://lists.samba.org/archive/rs

Re: Xattrs and Delete over AFP

2008-06-22 Thread Matt McCutchen
On Sun, 2008-06-22 at 17:28 -0400, [EMAIL PROTECTED] wrote: > And it works on most files OK. So far, so good. It does > gets this error on some files and directories: > > rsync: get_xattr_names: llistxattr(" New Art Dept/John:Projects",1024) failed: > Invalid argument (22) > > I've narrowed thi

Re: pre/post-xfer exec not executed ?

2008-06-22 Thread Matt McCutchen
On Sun, 2008-06-22 at 18:23 +0200, Loïc wrote: > I'm currently using debian's testing version (rsync version 3.0.2 protocol > version 30) and here's the client side command line and the stunnel > configurations. All of that looks fine. Is there anything relevant in rsyncd.log? Run the rsync

Re: save transfer:using rsync

2008-06-23 Thread Matt McCutchen
On Mon, 2008-06-23 at 12:55 +0530, Madan Kumar wrote: > I need to know the details of "save transfer" command using rsync. > What is the purpose of using this command. > Can we save only the diffs of files using this command? The "support/savetransfer" program dumps all the data exchanged between

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

2008-06-23 Thread Matt McCutchen
On Mon, 2008-06-23 at 11:49 -0500, Mike Bombich wrote: > Will --fake-super handle [Mac-specific metadata]? The only thing it might handle is a Mac ACL that can't be set on Linux. --fake-super doesn't have special handling for creation times or file flags (in the respective patches) or any other Ma

Re: filtered --delete ?

2008-06-23 Thread Matt McCutchen
On Mon, 2008-06-23 at 15:05 +, Corey wrote: > Is there any way of filtering which files --delete removes? > > ...something like a --delete-exclude=FILTER option or something equivalent? This is exactly what "protect" filters (--filter='P pattern') do. Actually, by default, a plain exclude li

Re: fully-qualified symlinks & --exclude question

2008-06-23 Thread Matt McCutchen
On Sun, 2008-06-22 at 22:26 +, Corey wrote: > I've got an existing linux box, with a particular directory that needs > to be mirrored onto another server, into a different base path on that > server - i.e.: > > server1:/var/lib/bar/ to server2:/backupdir/var/lib/bar/ > > Now, server1:/var/lib

Re: link-dest storage saving on backup server not on usb hard drive

2008-06-25 Thread Matt McCutchen
On Wed, 2008-06-25 at 12:50 -0700, fglos wrote: > I have setup rsync to backup another linux computer with the link-dest option > and realized storage savings. 1st backup is 31gb, daily backups only take > approx 4gb. But when I rsync with link-dest to usb external drive all > backups take up 31gb

Re: --delete and --files-from

2008-06-25 Thread Matt McCutchen
On Wed, 2008-06-25 at 16:26 -0400, Aaron Davies wrote: > I want to maintain mirror of a sliding window of the last N > subdirectories of a particular directory. My first attempt was to use > ls -t|head to generate a list of dirs to pass to --files-from (with -- > recursive). It's working nicel

Re: --delete and --files-from

2008-06-26 Thread Matt McCutchen
On Thu, 2008-06-26 at 07:41 -0700, Wayne Davison wrote: > On Wed, Jun 25, 2008 at 04:26:08PM -0400, Aaron Davies wrote: > > My guess is that the subdirectories of the target directory not > > mentioned in the --files-from file are not considered part of the > > sync and are thus not considered for

Re: rsync: failed to set times on ***

2008-07-02 Thread Matt McCutchen
On Wed, 2008-07-02 at 10:18 -0700, stratton wrote: > I#m trying to rsync from 1 server to another with the following command: > rsync -auzv --stats /cygdrive/d/path/to/dir/ [EMAIL PROTECTED]::dyndns > --exclude=config/ --delete >>%RSYNCLOG% 2>>%RSYNCERROR% > > the dyndns directory is specified i

Re: rsync: failed to set times on *** (and "inflate returned -3")

2008-07-03 Thread Matt McCutchen
On Thu, 2008-07-03 at 01:58 -0700, stratton wrote: > >Are you sure? Please post your daemon configuration and "ls -l" output > >for the affected destination files. > > the destination files all belong to the rsyncd user as i made a chown -R > rsyncd. on the whole destination directory tree. >

Re: rsync --delete isn't deleting files

2008-07-04 Thread Matt McCutchen
On Fri, 2008-07-04 at 16:13 +0100, Tiago Marques wrote: > I had this working on an older version, since 2.6.9 that when I set > --delete and --dry-run, I get no "Deleting **" lines. Be sure to pass -v because, since rsync 2.6.7, --dry-run no longer implies it: http://gitweb.samba.org/?p=rsync

Re: rsync --delete isn't deleting files

2008-07-04 Thread Matt McCutchen
On Fri, 2008-07-04 at 20:11 +0100, Tiago Marques wrote: > In the past, since > --delete-before did nothing, I did a dry run and then parsed the > output to have it "rm" the files that were to be deleted. That so also > because the --delete needs the --recursive option, which for me is > very imprac

Re: Rsync "roadmap" and version numbering (3.1.0 vs 3.0.4)

2008-07-04 Thread Matt McCutchen
On Fri, 2008-07-04 at 21:55 -0400, Crawford Kyle wrote: > I'd like to see the create times and fileflags patches included so all > metadata tests pass with backup bouncer 'out of the box' on Mac OS X. Those patches are Mac-specific, so I'm pretty sure they won't go into the main rsync, but it wo

Re: Handful of files are giving me error 13, directory executable bit issue

2008-07-06 Thread Matt McCutchen
On Sun, 2008-07-06 at 11:27 -0700, mike wrote: > I am getting a handful of these errors, and I am not sure why. The > directories in question have rights like this: > > drw-r--r-- 2 osstbb osstbb 42 2008-05-02 00:04 12981826/ > rsync: recv_generator: failed to stat > "/home/backups/linux01/home/

Re: Handful of files are giving me error 13, directory executable bit issue

2008-07-06 Thread Matt McCutchen
On Sun, 2008-07-06 at 17:54 -0700, mike wrote: > On 7/6/08, Matt McCutchen <[EMAIL PROTECTED]> wrote: > Actually, what happened was it created the local directory, without > the +x bit set. But I was running it as the owner, which should mean I > can still read/write/etc. to i

Re: RFE: extend --keep-dirlinks to files also

2008-07-07 Thread Matt McCutchen
On Mon, 2008-07-07 at 12:49 +0200, Hendrik Maryns wrote: > I just read the thread > http://lists.samba.org/archive/rsync/2004-June/009678.html which > describes how --keep-dirlinks came to be. My use case is similar, but > I’d like a similar option for files as well. > > Setup: in my public_ht

Re: RFE: extend --keep-dirlinks to files also

2008-07-08 Thread Matt McCutchen
On Tue, 2008-07-08 at 15:28 +0200, Hendrik Maryns wrote: > > A --keep-links option may still be worth having in rsync. Updating a > > file atomically through a symlink is nontrivial (one has to readlink the > > chain of symlinks and combine the paths to find the ultimate location to > > rename to)

Re: connection unexpectedly closed

2008-07-08 Thread Matt McCutchen
On Tue, 2008-07-08 at 09:08 -0300, Marcelo Leal wrote: > Every night i receive the messages: > > rsync: connection unexpectedly closed (14801530 bytes received so far) > [generator] > rsync error: error in rsync protocol data stream (code 12) at > io.c(453) [generator=2.6.9] > > but the synchro

Re: connection unexpectedly closed

2008-07-08 Thread Matt McCutchen
On Tue, 2008-07-08 at 14:29 -0300, Marcelo Leal wrote: > Thanks a lot! > ps.: Why google did not find [the issues and debugging page]? :-) The samba.anu.edu.au version of the page is the first result when I search for "rsync connection unexpectedly closed". Matt signature.asc Description: This

Re: Rsync Log change Protocol

2008-07-11 Thread Matt McCutchen
On Fri, 2008-07-11 at 14:11 +, Robert Obremski wrote: > I need to know what : > > .d..t > cd+++ > >f+++ > >f.st > .f...p... > >f..t > > and so on in the Log describe. See the description of --itemize-changes in the man page: http://rsync.samba.org/ftp/rsync/rsync.h

Re: rsync --delete isn't deleting files

2008-07-11 Thread Matt McCutchen
On Fri, 2008-07-11 at 13:01 -0700, Wayne Davison wrote: > On Fri, Jul 11, 2008 at 04:22:04PM +0100, Tiago Marques wrote: > > I was already using the -d option, it download the subdirs also. > > You also need to not use -r (e.g. either expand -a and omit -r, or > specify --no-r). -d will create th

Re: rsync --delete isn't deleting files

2008-07-12 Thread Matt McCutchen
On Sat, 2008-07-12 at 03:48 +0100, Tiago Marques wrote: > Hmm, looks like I'm not done with this, yet. > With rsync 3.02, it works fine: > > rsync --exclude='/*/' --delete-before -tvlpr > rsync://rsync.sabayonlinux.org/SabayonLinux/ /storage/mirrors/ > > But not with the 2.6.9 version :| > I just

Re: rsync --delete isn't deleting files

2008-07-13 Thread Matt McCutchen
o) > recv_files(SabayonLinux-x86_64-3.4.miniEdition.iso.md5) > recv_files phase=1 > generate_files phase=2 > recv_files phase=2 > generate_files phase=3 > recv_files finished > recv_generator(.,0) > generate_files finished > > sent 185 bytes received 608 bytes 1586.00 bytes/sec > total size is 11592052049 speedup is 14617972.32 > _exit_cleanup(code=0, file

Re: Problem remote sync with several directories/files

2008-07-14 Thread Matt McCutchen
On Mon, 2008-07-14 at 13:42 +0200, [EMAIL PROTECTED] wrote: > does anyone know what is wrong with that command line ? > > rsync -e "//ssh -i//.ssh/id_rsa " -vaoRrn [EMAIL > PROTECTED]:'/root/directory/./dirToSync1' :'/root/directory/./dirToSync2' > '/dir/to/destination' > > Calling it with rea

Re: rsync+ZFS snapshot

2008-07-16 Thread Matt McCutchen
On Sun, 2008-07-20 at 18:06 +0530, Madan Kumar wrote: > I am not so expert on rsync. I am using windows XP and Vista. > I am able to take the backup using rsync.(It does not give the > incremental) > I need to take incremental also. After some googling (referring the > link- http://www.jeffawaddell

Re: Yet another rsync incremental thread

2008-07-18 Thread Matt McCutchen
On Fri, 2008-07-18 at 12:40 +0200, macuserfr wrote: > What's new? On my new job I have several servers to > administrate. Servers that aren't backed up (sic). So, there's why I'm > back to rsync. > > The backup plan I would like: > > 1) Client side: PCs running rsync (or cwrsync with UTF-8 mo

Re: Yet another rsync incremental thread

2008-07-19 Thread Matt McCutchen
On Sat, 2008-07-19 at 15:45 +0200, Mac User FR wrote: > For rsnapshot, OK, I understood now how to connect them. The "post- > xfer exec" I was looking for don't exist on the rsync man page, but > on the rsyncd.conf which I've didn't look at (my fault :/ ). I think I > will not use rsnapshot b

Re: Rsync job exiting with error "unexpected tag 3 [sender]"

2008-07-22 Thread Matt McCutchen
On Tue, 2008-07-22 at 09:20 -0300, Alejandro Celery wrote: > I´m rSyncing three folders from my main server to my backup server. > Main is Ubuntu 7.10 64 bit and backup is Ubuntu 6.10 32 bit. Both are > Rsync 3.0.2. Please advise me if there any other debug information I > should provide. > I get t

Re: pipe cretion failure

2008-07-22 Thread Matt McCutchen
On Tue, 2008-07-22 at 08:21 +0530, Raja Vonna wrote: > I am using cwRsync on windows xp and getting following error when I > start the rsync client to do local copy. Looks like some kind of > permission issue. Any configuration to be done on windows or rsync > side? > > C:\Program Files\cwRsync\b

Re: Rsync job exiting with error "unexpected tag 3 [sender]"

2008-07-22 Thread Matt McCutchen
Alejandro, please CC the rsync list (rsync@lists.samba.org) in replies so that your messages are archived and others can help you. On Tue, 2008-07-22 at 14:26 -0300, Alejandro Celery wrote: > Matt McCutchen escribió: > > On Tue, 2008-07-22 at 09:20 -0300, Alejandro Celery wrote:

Re: popt-devel necessary for 3.0.3?

2008-07-23 Thread Matt McCutchen
On Wed, 2008-07-23 at 12:06 -0300, Manuel Kissoyan wrote: > Im trying to install rsync 3.0.3 and looks like it needs the popt-devel > package. I did find in the net and im not fionding any for centos 4 and > 5, anyone have an idea where i can find one? It appears that for some reason CentOS 5 lu

Re: rsync

2008-07-24 Thread Matt McCutchen
On Thu, 2008-07-24 at 17:29 +0200, [EMAIL PROTECTED] wrote: > Hello, I am interested in work with rsync in .net platform. In fact I need > to work with a Linux server. Could you send me your code? > > On 2006-03-19 22:26, Alex Pedenko wrote: > > I wrote a port of rsync to c# / .net. If there i

Re: popt-devel necessary for 3.0.3?

2008-07-25 Thread Matt McCutchen
t-1.13-4.fc9.i386.rpm http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/popt-devel-1.13-4.fc9.i386.rpm Matt > Matt McCutchen wrote: > > On Wed, 2008-07-23 at 12:06 -0300, Manuel Kissoyan wrote: > > > >> Im trying to install rsync 3.0.3 and looks like it ne

Re: IO error encountered -- skipping file deletion

2008-07-26 Thread Matt McCutchen
On Fri, 2008-07-25 at 16:23 -0700, Wayne Davison wrote: > On Fri, Jul 25, 2008 at 03:37:52PM -0300, Manuel Kissoyan wrote: > > Wondering how i can trace to the problemim backing up many servers > > and on all of them im seeing this error. > > Look at the stderr output for earlier errors that w

Re: IO error encountered -- skipping file deletion

2008-07-26 Thread Matt McCutchen
On Sat, 2008-07-26 at 13:06 -0300, Manuel Kissoyan wrote: > Im not finding any useful infothis is the only thing that did show: > > rsync: link_stat "/etc/domainalias" failed: No such file or directory (2) > rsync: link_stat "/etc/ips.remotedns" failed: No such file or directory (2) > rsync: l

Re: synced files are linked to originals?

2008-07-28 Thread Matt McCutchen
On Mon, 2008-07-28 at 12:33 +0200, Mogens Kjaer wrote: > lewis butler wrote: > ... > > mail ~ $ ls -ls etc/postfix/main.cf > > 28 -rw-r--r-- 1 root wheel 28322 Jul 27 16:31 /etc/postfix/main.cf > > mail ~ $ ls -ls /backup/daily.0/etc/postfix/main.cf > > 28 -rw-r--r-- 1 root wheel 28322 Jul

Re: Yet another rsync incremental thread

2008-07-28 Thread Matt McCutchen
> Le 28 juil. 08 à 09:39, macuserfr a écrit : > > Hi folks, that's me again... > > > > Well, following Matt's suggestion, I'm trying to setup my server to > > call a post transfer script. Guess what? It's not working and I > > don't know why. I've looked around other posts in this mail list and

Re: synced files are linked to originals?

2008-07-28 Thread Matt McCutchen
On Mon, 2008-07-28 at 11:36 -0600, lewis butler wrote: > Ah... /etc/postfix is a symlink to /usr/local/etc/postfix/ > > > Lewis, if you want symlinks in backups to point to the proper items > > in the backup, you > > could make the original symlinks relative. > > ah... well, that would be ugly

<    5   6   7   8   9   10   11   12   13   14   >