Re: error in logging (version 3.1.0)

2009-11-07 Thread Matt McCutchen
On Sat, 2009-11-07 at 00:36 -0200, Carlos Carvalho wrote: > I use rsync -ii so that it logs *all* actions. Further, I don't use > any delete option but use --force. This means that if there's a name > collision rsync deletes files or directories. Here's an example: > > 0 0*deleting rwxrw

Re: exit status 13 in version 3.1

2009-11-03 Thread Matt McCutchen
On Tue, 2009-11-03 at 12:25 -0500, Matt McCutchen wrote: > On Thu, 2009-10-29 at 13:20 -0200, Carlos Carvalho wrote: > > Got this in the log: > > > > rsync error: errors with program diagnostics (code 13) at log.c(340) > > [generator= > > 3.1.0dev] > > I

Re: exit status 13 in version 3.1

2009-11-03 Thread Matt McCutchen
On Thu, 2009-10-29 at 13:20 -0200, Carlos Carvalho wrote: > Got this in the log: > > rsync error: errors with program diagnostics (code 13) at log.c(340) > [generator= > 3.1.0dev] I got this too on a big local run backing up my system to an external disk using rsnapshot. /etc/rsnapshot-rsync -a

Re: read errors mapping "/path/file": No data available (in version 3.0.6)

2009-11-03 Thread Matt McCutchen
On Mon, 2009-11-02 at 20:33 -0200, Carlos Carvalho wrote: > Got this in the log: > > WARNING: path/file failed verification -- update discarded (will try again). > rsync: read errors mapping "/path/file": No data available (61) > > The first line is rare but understandable. It's the second one th

Re: Almost desperate on rsync from macbook to NAS

2009-10-31 Thread Matt McCutchen
On Sat, 2009-10-31 at 17:06 +0100, Boniforti Flavio wrote: > I'm almost getting exhausted, thus I have to bother you people to get some > help. That's a non sequitur. Check http://www.catb.org/~esr/faqs/smart-questions.html#id382403 . > I simply want to sync my "iTunes Music" folder from my Mac

Re: Unix file ownership for wide open directories

2009-10-30 Thread Matt McCutchen
On Fri, 2009-10-30 at 12:16 -0400, JESSE CARROLL wrote: > Forgive me if the answer is obvious but I've googled and searched the > archives but I can't seem to find a good solution. > > Scenario on a Solaris system: > > ls -ld /foo > drwxrwxrwx 2 user1other512 Oct 30 16:05 /foo >

Re: Unix file ownership for wide open directories

2009-10-30 Thread Matt McCutchen
On Fri, 2009-10-30 at 12:16 -0400, JESSE CARROLL wrote: > Forgive me if the answer is obvious but I've googled and searched the > archives but I can't seem to find a good solution. > > Scenario on a Solaris system: > > ls -ld /foo > drwxrwxrwx 2 user1other512 Oct 30 16:05 /foo >

Re: Operation not supported (95)

2009-10-30 Thread Matt McCutchen
On Thu, 2009-10-29 at 21:11 +, List Reader wrote: > While I haven't > found the exact cause of the error, in my search I did find some > suggestions that XFS is a better choice for backing up from HFS+, so I > tried that and this error disappeared. > > This one remains though: > > rsync: r

Re: rsync ignoring files beginning with . ??

2009-10-29 Thread Matt McCutchen
On Thu, 2009-10-29 at 10:11 -0400, Michael W. Cocke wrote: > Quick question (I hope) I'm trying to use rsync 3.0.4 and opensuse 11.1 > to sync an entire /home tree. How to I get rsync to not skip files > beginning with a . (period) ? Rsync does not treat any filenames specially. There must be

Re: Parallel rsync's for better Performance.

2009-10-28 Thread Matt McCutchen
On Wed, 2009-10-28 at 23:46 +0100, Matthias Schniedermeyer wrote: > On 28.10.2009 18:27, Matt McCutchen wrote: > > On Wed, 2009-10-28 at 17:24 +0100, Matthias Schniedermeyer wrote: > > > On 28.10.2009 10:35, Matt McCutchen wrote: > > > > On Wed, 2009-10-28 at 10:01

Re: Operation not supported (95)

2009-10-28 Thread Matt McCutchen
On Wed, 2009-10-28 at 18:55 +, Kay wrote: > I'm running into a problem that I'm sure which part of the process > fails. I use wget (OSX Leopard, wget 3.0.6 compiled from source) to > backup my ~/Pictures directory to a linux server, also with wget 3.0.6 > (Debian). In persuit of being sur

Re: Parallel rsync's for better Performance.

2009-10-28 Thread Matt McCutchen
On Wed, 2009-10-28 at 17:24 +0100, Matthias Schniedermeyer wrote: > On 28.10.2009 10:35, Matt McCutchen wrote: > > On Wed, 2009-10-28 at 10:01 +0100, Matthias Schniedermeyer wrote: > > > Otherwise parallel rsyncs completly kill any performance you had because > > > n

Re: Parallel rsync's for better Performance.

2009-10-28 Thread Matt McCutchen
On Wed, 2009-10-28 at 10:01 +0100, Matthias Schniedermeyer wrote: > On 28.10.2009 09:05, Satish Shukla wrote: > > We have huge data to sync usually everyday and I wish rsync could guarantee > > performance. > > > > I thought of spliting the directories and run parallel rsyncs on them. It > > may

Re: OS X 10.6 (Snow Leopard) HFS+ File Compression

2009-10-27 Thread Matt McCutchen
On Tue, 2009-10-27 at 23:38 -0400, Tony wrote: > When rsync 3.0.6 copies files with HFS+ File Compression, the new > extended attribute decmpfs is not preserved, and the UF_COMPRESSED > flag is not set on the destination and the destination file is not > compressed. > > I examined the destin

Re: OS X 10.6 (Snow Leopard) HFS+ File Compression

2009-10-27 Thread Matt McCutchen
On Tue, 2009-10-27 at 19:31 -0400, Tony wrote: > Are there any patches (or planned updates) to rsync v3.0.6 to handle > the HFS+ File Compression that Apple introduced with Snow Leopard? What kind of special treatment from rsync were you expecting? I read http://arstechnica.com/apple/reviews/2

Re: Optional filter files

2009-10-27 Thread Matt McCutchen
On Tue, 2009-10-27 at 15:38 -0700, Jacob Weber wrote: > Is it possible to call rsync and tell it to use a filter file if it > exists, but otherwise continue without errors? > > If I pass "--filter=. .rsync-filter", it will fail if .rsync-filter > doesn't exist. > > I know you can pass "--filt

Re: avoid rsync deleting vanished files on receiver

2009-10-26 Thread Matt McCutchen
On Wed, 2009-10-21 at 12:14 +0200, Hans-Christian Jehg wrote: > I have a rather curious problem. I rsync from a fileserver shared in via > cifs. This connection sometimes fails (don't worry, that is not the > question I have). > I am not at all sure where it goes wrong, but in the end the result

Re: hard links on samba shares

2009-10-23 Thread Matt McCutchen
On Fri, 2009-10-23 at 11:31 +0200, Paul Slootman wrote: > On Fri 23 Oct 2009, Matt McCutchen wrote: > > On Fri, 2009-10-23 at 09:15 +0200, Riccardo Iaconelli wrote: > > > > > > [r...@popper linksys]# rsync -avz --hard-links test/ test2/ > > > sending increm

Re: hard links on samba shares

2009-10-23 Thread Matt McCutchen
On Fri, 2009-10-23 at 09:15 +0200, Riccardo Iaconelli wrote: > I'm encountering a bug with samba shares, rsync and hard links. I was trying > to investigate why on my "linksys" samba share i wouldn't get any hard link > transferred and rsyncs to it would take forever. To keep a long story short,

Re: Limiting remote operations to a particular directory, and not above ?

2009-10-21 Thread Matt McCutchen
On Wed, 2009-10-21 at 13:40 -0700, George Sanders wrote: > I am tasked with pointing rsync transfers to valuable, live systems. > > The requirements include that this rsync job be run as root (rsync > over ssh to the destination, as root) and that the --delete option be > used. > What would reall

Re: exclude files from backup with rsync -b

2009-10-21 Thread Matt McCutchen
On Wed, 2009-10-21 at 17:50 +0800, Thomas Gutzler wrote: > is there a way to exclude files from being backed up when running rsync -b? No. --backup is one of many rsync options for which per-file settings might be useful but are not currently supported. -- Matt -- Please use reply-all for mos

Re: Nice little performance improvement

2009-10-20 Thread Matt McCutchen
On Sat, 2009-10-17 at 12:13 -0700, Mike Connell wrote: > > Interesting. If you're not using incremental recursion (the default in > > rsync >= 3.0.0), I can see that the "du" would help by forcing the > > destination I/O to overlap the file-list building in time. But with > > incremental recursio

Re: Nice little performance improvement

2009-10-15 Thread Matt McCutchen
On Thu, 2009-10-15 at 19:07 -0700, Mike Connell wrote: > Today I tried the following: > > For all subsub directories > a) Fork a "du -s subsubdirectory" on the destination > subsubdirectory > b) Run rsync on the subsubdirectory > c) repeat untill done > > Seems to have improved the

Re: how can this be: "file has vanished" in --list-only?

2009-10-15 Thread Matt McCutchen
On Thu, 2009-10-15 at 17:40 -0300, Carlos Carvalho wrote: > I'm getting "file has vanished" messages during a (recursive) > --list-only. I find it strange because I'd expect rsync to access each > file only once when just sending the receiver the file list. There's still a small gap between the "r

Re: Delay for --remove-source-files

2009-10-15 Thread Matt McCutchen
On Tue, 2009-10-13 at 03:51 -0700, Martin Scharrer wrote: > I'm using rsync with -aP --remove-source-files to move files from one > machine to another while watching the progress. I'm under the impression > that rsync is deleting the transmitted source files on-the-fly, not at the > very end, but w

Re: Filter file: selected directories only

2009-10-11 Thread Matt McCutchen
On Fri, 2009-10-09 at 20:54 +0400, rs...@xbit.ru wrote: > Well, I must say that this must by bone by rsync. > That's because I'm creating small automation system, > part of it is rsync-based. > Yes, I can write "rm -r dirB/dir2", but this will break consitency > of the whole system and removes some

Re: Problem with symlinks

2009-10-11 Thread Matt McCutchen
On Sun, 2009-10-11 at 13:07 +0200, Thomas Ebert wrote: > rsync has problems with symlinks. First some background information: > I regularly back up my / and /home from my desktop PC and my netbook to > my Synology DiskStation (500GB) using rsync 3.0.6 with this script: > http://pastebin.com/m43d4

Re: gnu --target-dir, how to fake with rsync?

2009-10-11 Thread Matt McCutchen
On Wed, 2009-10-07 at 04:40 -0700, Martin Scharrer wrote: > I agree with both above points. However, I would also vote for adding such > an option to rsync. > This should not be to difficult and would come in handy. I'm not convinced of the need for a --target-dir option. Do you have an example i

Re: empty quotes for rsync parameter

2009-10-11 Thread Matt McCutchen
On Sun, 2009-10-11 at 00:37 -0700, Wolfram Volpi wrote: > Why does inserting an empty quote ("") into a rsync command cause the current > directory to be backed up? > > Not sure if this is a UNIX-syntax question or rsync-syntax question. > > Code: > #!/bin/sh > > echo "\nspace between quotes ha

Re: Filter file: selected directories only

2009-10-08 Thread Matt McCutchen
On Thu, 2009-10-08 at 03:17 +0400, rs...@xbit.ru wrote: > Thank you, it works. > > But if I want to delete only certain files or dirs from remote side? > > example: > > $ tree dirA/ > dirA/ > |-- dir2 > | `-- file3 > |-- file1 > `-- file2 > > $ tree dirB/ > dirB/ > |-- dir2 > | `-- file3 >

Re: --copy-unsafe-links does not work for "double" symlinks

2009-10-05 Thread Matt McCutchen
On Tue, 2009-10-06 at 01:47 +0200, Roland Koebler wrote: > as documented, if you use rsync with --copy-unsafe-links, and copy a > directory with a symlink pointing outside of the copied tree, the > referent of the symlink is copied. > > Now, assume that the directory contains a symlink, which poi

Re: gnu --target-dir, how to fake with rsync?

2009-10-05 Thread Matt McCutchen
On Mon, 2009-10-05 at 12:47 -0400, Sanjeev Sharma wrote: > Is this in rsync and I just can't find it, or if not, is there a way > to fake this OR, third possibility, is anyone working to add it? > > > For those who've never used this option - for the GNU cp & mv type > commands they have the > --

Re: LVM snapshots vs. --link-dest

2009-10-05 Thread Matt McCutchen
On Mon, 2009-09-28 at 14:18 +, Andrew Gideon wrote: > It assumes that --inplace > actually does what it sounds like it does: it modifies only the disk > pages of a file that have changed, as opposed to changing the entire file > or creating a new file or some other thing which causes the fil

Re: (Recent I/O change)

2009-10-05 Thread Matt McCutchen
On Sat, 2009-10-03 at 09:41 -0500, Wayne Davison committed: > Change the msg pipe to use a real multiplexed IO mode > for the data that goes from the receiver to the generator. Wayne, Would you care to explain the impact of this change on the rsync I/O design in terms that I might understand? It

Re: --keep-dirlinks --delete erroneously deletes symlinks to directories

2009-10-04 Thread Matt McCutchen
On Sat, 2009-10-03 at 12:59 +0200, Roland Koebler wrote: > the combination of --keep-dirlinks and --delete (--delete-during, > --delete-delay) erroneously deletes symlinks to directories on > the receiver. > With --delete-before and --delete-after it works as expected. > > (rsync version 3.0.3 p

Re: Filter file: selected directories only

2009-10-03 Thread Matt McCutchen
On Sun, 2009-10-04 at 00:29 +0400, rs...@xbit.ru wrote: > I'm trying to create a filter file for rsync what saying which dirs to > copy. For example i need only /lib and /var/lib dirs from remote server. > I say: > rsync -f ". /tmp/rsync_dirs" --dry-run --verbose "remote:/" > "/local_dir/". > >

Re: Exclude directory from --delete

2009-10-03 Thread Matt McCutchen
On Sat, 2009-10-03 at 22:06 -0700, Jeffrey Ellis wrote: > Hm. I've tried all of the following: > > rsync -avve ssh --numeric-ids --delete --ignore-errors -R > myu...@myisp.com:/usr/home/./myuser > myu...@myisp.com:/usr/home/./myuser/mail_boxes/ > myu...@myisp.com:/usr/home/./myuser/public_html/ /V

Re: Exclude directory from --delete

2009-10-03 Thread Matt McCutchen
On Sat, 2009-10-03 at 21:03 -0700, J. Ellis wrote: > So let me see if I understand correctly. First, are the \ characters > followed by a return, or are they all on a single line? In other words, is > this entered in the terminal as one command, or does it need to be broken up > somehow? The \ is

Re: Exclude directory from --delete

2009-10-03 Thread Matt McCutchen
On Sat, 2009-10-03 at 15:47 -0700, J. Ellis wrote: > I have the following 3 commands which are supposed to run every night > to back up my web server: > > rsync -avve ssh --numeric-ids --delete --ignore-errors > myu...@myisp.com:/usr/home/myuser /Volumes/Downloads > rsync -avve ssh --copy-links --

Re: --compare-dest and empty directories

2009-10-02 Thread Matt McCutchen
On Fri, 2009-10-02 at 03:21 -0500, Albert Chin wrote: > With rsync-3.0.6 on a Solaris 10/x86 system: > $ mkdir /opt/s/c > $ cd /opt/s/c > $ gtar zxf rsync-3.0.6.tar.gz > $ mkdir /opt/s/o > $ rsync -aHv rsync-3.0.6 /opt/s/o > $ mkdir /opt/s/o2 > $ cd /opt/s/o/rsync-3.0.6 > $ echo foo

Re: rsync finds files to sync which don't exist and then crashes

2009-09-26 Thread Matt McCutchen
On Sat, 2009-09-26 at 14:45 -0700, stefaan wrote: > I'm running the following script for backup: > SHORTHOST=`hostname | awk 'BEGIN { FS="." } { print $1 }'` > cd $HOME || exit 1 > rsync --ignore-errors --max-size=50m -v --delete --delete-excluded > --log-file=/tmp/backup.log --exclude-from=$HOME

Re: "quick check" failed

2009-09-23 Thread Matt McCutchen
On Thu, 2009-09-17 at 12:46 +0200, Harald Dunkel wrote: > We ran 2 mirror jobs using "rsync -av remote:/from /to" > of appr. 700 GByte. Problem: On the second run about 10 or 15 > files were copied again, even though we are very sure that there > was no service running which could have changed the

Re: rsync deletes target files after source drive failure

2009-09-23 Thread Matt McCutchen
On Thu, 2009-09-17 at 20:59 +0200, Enno Middelberg wrote: > Here the two directories which couldn't be read have been deleted from > the target directory (ie, the files contained in them were deleted, > the directories did still exist, if I remember correctly). If I > understand the man page correc

Re: Can I get rsync to delete missing files first?

2009-09-16 Thread Matt McCutchen
On Thu, 2009-09-17 at 14:41 +1200, Allistar wrote: > I am backing up a remove partition which is 38Gb onto a local partition > which is 40Gb. Rsync is complaining that I have run out of disk space on > the local partition, and I can tell that this would not happen if local > files that are missing

Re: Can I get rsync to delete missing files first?

2009-09-16 Thread Matt McCutchen
On Thu, 2009-09-17 at 14:41 +1200, Allistar wrote: > I am backing up a remove partition which is 38Gb onto a local partition > which is 40Gb. Rsync is complaining that I have run out of disk space on > the local partition, and I can tell that this would not happen if local > files that are missing

Re: Proposed tweaks

2009-09-15 Thread Matt McCutchen
Lee, Both of your proposals have been discussed before (see below), but neither has been taken very far because they would both involve large changes to rsync. On Wed, 2009-09-16 at 01:16 -0400, Lee Winter wrote: > A simplistic approach would be to add a file-list option able to > create-and-save

Re: Proposed tweaks

2009-09-15 Thread Matt McCutchen
On Mon, 2009-09-14 at 21:13 -0400, Lee Winter wrote: > The purpose of this note is to inquire about your collective interest > in optimizing rsync for certain uses, particularly atomic, > unidirectional transfers with few or single writer and many, often > very many, readers. > > After studying th

Re: Status of running rsync

2009-09-15 Thread Matt McCutchen
On Tue, 2009-09-15 at 08:37 +0200, Fabian Cenedese wrote: > Is there a way to get the status of a running rsync process? AFAIK, rsync has never had such a feature. One thing you can do is temporarily attach strace. > I believe > it has to be done by sending a signal, but I can't find it anymore.

Re: rsync deleted all my important docs...

2009-09-14 Thread Matt McCutchen
On Mon, 2009-09-14 at 10:30 -0300, Carlos Carvalho wrote: > Matt McCutchen (m...@mattmccutchen.net) wrote on 13 September 2009 16:53: > >On Sat, 2009-09-12 at 18:22 -0300, Carlos Carvalho wrote: > >> Sanjay Acharya (svachary...@gmail.com) wrote on 11 September 2009 11:02: &g

Re: time variable throttling rsync traffic

2009-09-13 Thread Matt McCutchen
On Sun, 2009-09-13 at 21:02 -0400, Eric S. Johansson wrote: > I am using rsync to back up across a VPN. Unfortunately, every so often the > home office miscreants drop a big block of data into the backup and that > particular backup cycle takes many hours. These same people also complain > whe

Re: rsync deleted all my important docs...

2009-09-13 Thread Matt McCutchen
On Sat, 2009-09-12 at 18:22 -0300, Carlos Carvalho wrote: > Sanjay Acharya (svachary...@gmail.com) wrote on 11 September 2009 11:02: > >How is rsync supposed to behave when I give the --delete-excluded? > > >From the manual for the --delete option: > >If the sending side detects any I/O erro

Re: originate sync from the daemon server

2009-09-10 Thread Matt McCutchen
On Thu, 2009-09-10 at 08:42 -0500, Kevin Kramer wrote: > is there anything special to do this from the daemon server. I've setup > the /etc/rsyncd.conf with some filesystems and I would rather originate > (control) my rsyncs from this server and not from the hosts that have > the data I want. ie

Re: how to use rsync installed on network

2009-09-07 Thread Matt McCutchen
On Mon, 2009-09-07 at 23:22 +0100, e-letter wrote: > Scenario: file.txt on local machine, to be transferred to remote host. > Remote host has rsync installed. Reading the manual I the examples > describe scenarios where rsync is installed on the local machine. Is > rsync suitable to use when instal

Re: [manpage] Error in French manpage for "--checksum-seed" description

2009-09-05 Thread Matt McCutchen
On Sat, 2009-09-05 at 14:25 +0200, Gilles-Alexandre wrote: > I think IMHO that the description of the option "--checksum-seed" > should be : > > "--checksum-seed=NUM spécifie le grain de sable pour la somme de > contrôle" The rsync project does not maintain a French manpage. Please report t

Re: Using rsync for buidling Oracle standbys.

2009-09-03 Thread Matt McCutchen
On Thu, 2009-09-03 at 10:25 -0700, Saibabu Devabhaktuni wrote: > We currently use rsync to create an Oracle standby on a target box > from an existing standby by copying all the datafiles while the source > standby is in recovery status. We are occasionally running into > datafile corruptions being

Re: unpack_smb_acl unknown error, + rsync maintainability

2009-09-02 Thread Matt McCutchen
On Tue, 2009-09-01 at 09:09 -0500, Mike Bombich wrote: > Rsync shouldn't be converting UUID to uid/gid *for ACL entries* > (because Mac OS X stores those ACEs with a reference to a UUID, not a > uid/gid). For file ownership, etc., it should maintain its current > behavior. My point is that

Re: Old versions of lib/addrinfo.h missing from rsync repo

2009-09-01 Thread Matt McCutchen
On Tue, 2009-09-01 at 23:09 -0700, Wayne Davison wrote: > The > incompatible code was expunged from CVS and was never imported into git. Two further remarks: - You didn't expunge http://rsync.samba.org/ftp/rsync/src/rsync-2.6.8.tar.gz . - You could have saved me some head-scratching by redacting

Re: Old versions of lib/addrinfo.h missing from rsync repo

2009-09-01 Thread Matt McCutchen
On Tue, 2009-09-01 at 23:09 -0700, Wayne Davison wrote: > On Wed, Sep 02, 2009 at 12:32:45AM -0400, Matt McCutchen wrote: > > Why were they dropped from the development history? There doesn't > > appear to be a copyright issue: the file bears a BSD license. > > It u

Re: rsyncd always compression

2009-09-01 Thread Matt McCutchen
On Tue, 2009-09-01 at 14:11 +, Andrew Gideon wrote: > On Mon, 31 Aug 2009 13:37:16 -0700, Wayne Davison wrote: > > >> Anyone knows a trick that the server only answer if the client is use > >> the compression? > > > > This is not currently possible. > > What if rsync-path is set to a little

Old versions of lib/addrinfo.h missing from rsync repo

2009-09-01 Thread Matt McCutchen
Wayne, Today, to investigate an issue on RHEL 5.2, I checked out rsync 2.6.8 from the rsync repository and attempted to build it. The build failed because the tagged tree did not contain lib/addrinfo.h, which is included by rsync.h. On further investigation, the 2007-10-24 snapshot of the CVS re

Re: unpack_smb_acl unknown error, + rsync maintainability

2009-08-31 Thread Matt McCutchen
On Mon, 2009-08-31 at 16:59 -0500, Mike Bombich wrote: > Regardless, rsync shouldn't be converting uuid to uid/gid for Mac OS > X, it's unnecessary. This is really a question of whether Mac users expect users/groups to be preserved by uid/gid or by uuid. Are you saying it makes more sense to pr

Re: rsync proxy

2009-08-30 Thread Matt McCutchen
On Wed, 2009-08-26 at 22:12 +1200, Nathan Ward wrote: > I'm trying to write an rsync 'proxy' of sorts. The plan is that my > code runs on two machines (one 'client' and one 'server') and each > piece of code executes a copy of rsync, and copies move in one > direction (server -> client). > >

Re: content of file

2009-08-28 Thread Matt McCutchen
On Thu, 2009-08-27 at 22:57 -0400, Mag Gam wrote: > Is it possible to stream the content of a file using rsync to stdout > instead of placing it into a file? No. Consider rdiff, which lets you call each of the three steps of the delta-transfer algorithm from a script. Or if you explain your use

Re: support for ext-attrs on non-supporting FS's

2009-08-24 Thread Matt McCutchen
On Mon, 2009-08-24 at 22:09 -0700, Linda A. Walsh wrote: > FUSE runs on windows? I took a quick look and found this "FUSE windows port": http://fuse4win.4host.ru/ And Dokan, a user-mode filesystem layer for Windows which doesn't appear to be directly compatible with FUSE (but I could be mistaken

Re: support for ext-attrs on non-supporting FS's

2009-08-24 Thread Matt McCutchen
On Mon, 2009-08-24 at 09:43 -0700, Linda A. Walsh wrote: > Maybe rsync could support extattrs on non-supporting fs's with a > ..xattr file stored > at the same place as the : > If a user used a switch to emulate 'xattrs', then on a fs that > didn't support real .xattrs one > could still ACL

Re: rsync 3.0.4 under cygwin: problems with --exclude

2009-08-20 Thread Matt McCutchen
On Tue, 2009-08-18 at 16:58 +0200, Alessandro Toso wrote: > I'm trying to backup a disk using rsync but I need to exclude some folder. > I'm using rsync 3.0.4 under cygwin on a winxp machine. > The script that I use is: > > # # > S

Re: --delete flag not working on cygwin rsync

2009-08-20 Thread Matt McCutchen
On Fri, 2009-08-14 at 07:24 -0700, Wayne Davison wrote: > On Tue, Aug 04, 2009 at 03:10:20PM -0400, Sharad K wrote: > > Everything works fine except the --delete flag. > > Does rsync output a warning about an I/O error, saying it is disabling > deletes? You can use --force if you're sure you want

Re: Need help of exclusion options in rsync-3.0.6

2009-07-26 Thread Matt McCutchen
On Sun, 2009-07-26 at 21:37 +0530, Jignesh Shah wrote: > I have a situation where I want to delete some of my excluded patterns > but still want to preserve some other. For example consider below > source and destination directory hierarchy. > > SourceDest > --

Re: --delete-before doesn't seem to actually be deleting before transfer

2009-07-20 Thread Matt McCutchen
On Mon, 2009-07-20 at 23:24 +0200, Tim Edwards wrote: > Matt McCutchen schrieb: > > > > No, rsync will only do that if if you have it > > "synchronize" /USBstick/backups/dir , i.e., specify a source directory > > that maps to it. Just copying several dirs _int

Re: please help me using rsync efficiently

2009-07-16 Thread Matt McCutchen
Paul, On Thu, 2009-07-16 at 15:10 +0200, Paul Slootman wrote: > On Thu 16 Jul 2009, vven...@gmail.com wrote: > > /folder1/folder2/users/01234002360/my/FSG2_PULL#79GA91205KAE -> > > /folder1/folder2/rep/01234018329/FSG2_PULL.txt#79GA91205KAE > Once two files are hard-linked, there is > no diffe

Re: partial-dir not being used?!

2009-07-16 Thread Matt McCutchen
On Thu, 2009-07-16 at 01:48 -0300, Carlos Carvalho wrote: > What's the purpose of --partial-dir then? I thought it was leaving the > partial transfer as path/partial/filename instead of > path/.filename.random. That's what it tried to do but this isn't fine > if it needs another move. If rsync is

Re: partial-dir not being used?!

2009-07-15 Thread Matt McCutchen
On Wed, 2009-07-15 at 17:01 -0300, Carlos Carvalho wrote: > Here's a running instance caught by ps (lines broken for readibility): > > rsync --perms --times --timeout=3600 --stats --no-motd -hh --force > --hard-links -ii --links --partial-dir=.~tmp~ --recursive --exclude > --out-format= --delete-

Re: are new directories created inside the partial dir?

2009-07-14 Thread Matt McCutchen
On Tue, 2009-07-14 at 17:31 -0300, Carlos Carvalho wrote: > From a quick look at generator.c it seems partial-dir applies only to > regular files (partialptr = NULL in line 1767), which means that > some/path/newdir/newfile is created at > some/path/newdir//newfile. Correct. > It also appears tha

Re: --delete-before doesn't seem to actually be deleting before transfer

2009-07-14 Thread Matt McCutchen
On Tue, 2009-07-14 at 13:01 +0200, Tim Edwards wrote: > I have a script transferring some backup files onto a USB stick, which > has limited space. I use rsync 3.0.5 with the following command: > rsync -av --delete-before /local/backups/dir/backup1_todaysdate > /local/backups/dir/backup2_todaysdat

Re: rsync flags freebsd

2009-07-03 Thread Matt McCutchen
On Fri, 2009-07-03 at 14:59 -0400, alexus wrote: > On Wed, Jul 1, 2009 at 10:50 AM, Wayne Davison wrote: > > On Tue, Jun 30, 2009 at 09:42:08PM -0400, alexus wrote: > >> I dont know if that helpful, but all I'm saying is fileflags.diff > >> isn't working for rsync-3.0.6, but it works for rsync-3.0.

Re: (Not retransferring files deleted from destination)

2009-06-26 Thread Matt McCutchen
On Fri, 2009-06-26 at 16:21 +0100, Ed W wrote: > I love rsync, but I recently discovered unison and for some tasks it > works better. In particular it is designed to track changes on both > sides and can spot the difference between something deleted and not > yet copied. Perhaps give it a whirl w

Re: (Not retransferring files deleted from destination)

2009-06-21 Thread Matt McCutchen
On Mon, 2009-06-22 at 09:24 +0800, Low, Alex wrote: > We do have a situation now where we need rsync to transfer the files > once only from the source directory. Please let me briefly explain > > using a simple generic exmple: > > 1. At t0, we transfer f0 location A to location B > > 2. At t1,

Re: could not make way for new symlink !!!

2009-06-08 Thread Matt McCutchen
On Mon, 2009-06-08 at 11:01 +0530, Jignesh Shah wrote: > You are correct Carlos but it wasn't happening with rsync-2.6 and > started happening with rsync-3.0.6. Do you have any idea on this? The "could not make way" error message is new in rsync 3.0.0 (see https://bugzilla.samba.org/show_bug.cgi?i

Re: Rsync spawning a child process when pulling files ?

2009-06-01 Thread Matt McCutchen
On Mon, 2009-06-01 at 12:22 +0200, Jan Alphenaar wrote: > Apparently there is a difference in pushing and pulling files with rsync. > When I push my files to the server with this command, I see one rsync > process on my WinXP machine, just as expected > But when I pull my files from the server to

Re: How to emulate rdiff behaviour

2009-05-31 Thread Matt McCutchen
On Mon, 2009-06-01 at 07:10 +0800, Daniel.Li wrote: > On Sun, 2009-05-31 at 14:34 -0400, Matt McCutchen wrote: > > > And one more thing here: > > > If you are going to prepare this batch file, it seems there will be > > double the workload of network, see belo

Re: How to emulate rdiff behaviour

2009-05-31 Thread Matt McCutchen
On Sun, 2009-05-31 at 17:08 +0800, Daniel.Li wrote: > Dear Wayne, > Excellent, that's really what I have expected! > > Is it stable now? Cause I have found that this feature seems to be > unstable before ver 3.0.6. > > - Fixed a --read-batch hang when rsync is reading a batch file that was >

Re: Rsync maintained patches repository

2009-05-29 Thread Matt McCutchen
On Fri, 2009-05-29 at 10:34 +0200, Petr Uzel wrote: > On Thu, May 28, 2009 at 09:04:59PM -0400, Matt McCutchen wrote: > > Wayne, > > > > How can I access the rsync maintained patches repository with the git > > tools? > See > http://www.mail-archive.com/rsync@l

Re: Rsync maintained patches repository

2009-05-29 Thread Matt McCutchen
On Fri, 2009-05-29 at 10:46 +0200, Paul Slootman wrote: > On Thu 28 May 2009, Matt McCutchen wrote: > > > > $ firefox http://gitweb.samba.org/?p=rsync.git;a=summary > > I guess you left out the quotes you must have used here, > as otherwise a=summary won't be includ

Rsync maintained patches repository

2009-05-28 Thread Matt McCutchen
Wayne, How can I access the rsync maintained patches repository with the git tools? These work: $ firefox http://gitweb.samba.org/?p=rsync.git;a=summary $ git clone git://git.samba.org/rsync.git $ firefox http://gitweb.samba.org/?p=rsync.git/patches.git;a=summary So I thought this might work, b

Re: rsync creates file twice

2009-05-28 Thread Matt McCutchen
On Fri, 2009-05-15 at 06:28 +0200, Heinrich Götzger wrote: > I'm using rsnapshot 1.3.1 on a Synology Diskstation ds 107+. > # uname -a > Linux ds107 2.6.15 #832 Sat Mar 7 00:44:45 CST 2009 armv5tejl GNU/Linux > > rsnpahot uses rsync, on my box there is: > > # rsync --version > rsync version 3.0.

Re: rsync delete architecture

2009-05-28 Thread Matt McCutchen
On Mon, 2009-05-18 at 02:28 -0700, tammy wrote: > I have 3 load balancing servers. Each user may login to different servers to > upload their data, lets say, a company logo. > That's why i tried to use rsync to synchronize the uploaded logo and some > other necessary modules. This mean, each server

Re: ESTALE error while synching

2009-05-28 Thread Matt McCutchen
the update without causing the redo or (if already redoing) exit code 23 that sending a bad checksum normally would. -- Matt On Wed, May 20, 2009 at 8:32 AM, Matt McCutchen wrote: > > > On Tue, 2009-05-19 at 15:49 +0530, Jignesh Shah wrote: > > > Hi, I am wondering how r

Re: Does rsync detect file corruption?

2009-05-28 Thread Matt McCutchen
On Sun, 2009-05-24 at 14:53 -0700, Wayne Davison wrote: > On Sun, May 24, 2009 at 06:32:40PM +0200, Christian Hecht wrote: > > Such a tool i plan to write for Mac OS X. The first time it should > > store checksums and mod times for all files to verify. > > There are various patches in the "patches

Re: How to emulate rdiff behaviour

2009-05-28 Thread Matt McCutchen
On Wed, 2009-05-27 at 21:58 +, Frank Harmann wrote: > i am new to rsync and i want to use rsync to emulate rdiff behaviour > (because i can't install rdiff on the system). > What i would like rsync to do is to generate a diff file (like with > rsync --write-batch) but WITHOUT changing the dest

Re: some files vanished before they could be transferred

2009-05-28 Thread Matt McCutchen
On Thu, 2009-05-28 at 10:41 -0400, Larry Irwin wrote: > So, I have a file like rsync.exclude that contains something like: > > /media/cdrom*/* > /media/floppy*/* > /tmp/* > /u/tmp/* > /v/tmp/* > /var/spool/lpd/*/df* > /var/spool/lpd/*/hf* > > And then in the script to kick off the rsync process:

Re: Does rsync detect file corruption? -- hard link

2009-05-24 Thread Matt McCutchen
On Mon, 2009-05-25 at 10:09 +0800, Daniel.Li wrote: > On Mon, 2009-05-25 at 09:58 +0800, Daniel.Li wrote: > > What if a video editor? > > > > Lots of work with video files, which is very large, about 500MB per > > file. Editor only delete or rearrange frames in that file. > > > > And then it will

Re: ESTALE error while synching

2009-05-19 Thread Matt McCutchen
On Tue, 2009-05-19 at 15:49 +0530, Jignesh Shah wrote: > Hi, I am wondering how rsync-3.0.6 react if it encounters ESTALE error > while synching? If I remember correctly then the rsync-2.6.0 skipping > that file/dir in case of ESTALE error. If rsync encounters any kind of error reading a source fi

Re: --relative, --dirs and --delete without --recursive

2009-05-19 Thread Matt McCutchen
On Tue, 2009-05-19 at 16:16 -0300, Carlos Carvalho wrote: > The manual says that without --recursive directories are (noisily) > skiped. However with --relative intermediate directories are created. > So what happens if you give only -R? Is -d the default? And what > happens when you give -R --no-

Re: incremental directory searche in rsync 3.0.6

2009-05-19 Thread Matt McCutchen
On Tue, 2009-05-19 at 12:49 +0530, Jignesh Shah wrote: > O... If I am not wrong then this behavior is same from older > rsync2.6.0 to latest rsync3.0.6. That's correct. -- Matt On Tue, May 19, 2009 at 12:33 PM, Matt McCutchen wrote: > > > On Tue, 2009-05-19 at 12:19

Re: incremental directory searche in rsync 3.0.6

2009-05-19 Thread Matt McCutchen
ions (-tpog, etc.), while without --implied-dirs, rsync will not set their attributes. -- Matt On Tue, May 19, 2009 at 11:24 AM, Matt McCutchen wrote: > > On Tue, 2009-05-19 at 10:58 +0530, Jignesh Shah wrote: > > I was in under impression that rsync

Re: incremental directory searche in rsync 3.0.6

2009-05-18 Thread Matt McCutchen
On Tue, 2009-05-19 at 10:58 +0530, Jignesh Shah wrote: > I was in under impression that rsync 3.0.5/3.0.6 creates all the > missing directories in the path but I think I am wrong. Could any one > tell me is it possible to create all missing dirs in path at > destination side if not exists. Currentl

Re: does --whole-file always work?

2009-05-14 Thread Matt McCutchen
On Thu, 2009-05-14 at 15:59 +0300, Amir Rapson wrote: > Running rsync with --whole-file yields poorer performance results than > a simple "cp". > Looking at the code - it looks like "copy_file" isn't really called > when I add the --whole-file flag. The regular "receive_data" is doing > the copy.

Re: --copy-links and --hard-links

2009-05-12 Thread Matt McCutchen
On Tue, 2009-05-12 at 17:18 +0200, Dieter Stüken wrote: > I want to use rsync in a may be unusual way: > > I have a source tree containing lots of symbolic links and I use > the option "--copy-links" to get the physical files (the referents of > the symlinks) > on the target host. > > As the h

Re: Problem with --fil

2009-05-08 Thread Matt McCutchen
On Fri, 2009-05-08 at 11:41 -0700, Wayne Davison wrote: > On Mon, May 04, 2009 at 03:46:38PM -0400, Matt McCutchen wrote: > > The only thing I see different between rsync 2.6.7 and 3.0.5 is > > that 3.0.5 puts thousand separators in the numbers: > > That's a 3.1.0dev f

Re: Problem with --fil

2009-05-04 Thread Matt McCutchen
On Tue, 2009-05-05 at 01:08 +0530, Jignesh Shah wrote: > I think I got it. The line in rsync 2.6.7 "wrote 130 bytes read 464 > bytes 108.00 bytes/sec" is changed to "2009/05/05 00:17:45 [26050] > sent 130 bytes received 464 bytes 108.00 bytes/sec" in rsync 3.0.5. > > Please let me know if I am

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