[Bug 8266] fileflags.diff compile fix

2011-06-26 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8266 --- Comment #3 from Chris Dunlop 2011-06-27 05:52:54 UTC --- In gmane.network.rsync.general, Wayne Davison wrote: > Note that it is always nice to generate a patch on the files themselves, not a > patch of a patch. Patch files are auto-generated.

Re: does rsync not preserve directory mtimes?

2011-06-26 Thread Faheem Mitha
On Sun, 26 Jun 2011, Matt McCutchen wrote: From the man page: -b, --backup [...] Note that if you don’t specify --backup-dir, (1) the --omit-dir-times option will be implied, [...] Thanks for the fast explanation. I was using this flag out of force of habit.

Re: does rsync not preserve directory mtimes?

2011-06-26 Thread Matt McCutchen
On Mon, 2011-06-27 at 03:01 +0530, Faheem Mitha wrote: > I'm running the following command as a local copy command. > > faheem@bulldog:/mnt/data$ sudo rsync -abvz --super /data/ . > > Origin directory > > faheem@bulldog:/data$ ls -la > total 28 > drwxr-xr-x 7 root root 4096 Jun 26 08:34

does rsync not preserve directory mtimes?

2011-06-26 Thread Faheem Mitha
Hi, I'm running the following command as a local copy command. faheem@bulldog:/mnt/data$ sudo rsync -abvz --super /data/ . Origin directory faheem@bulldog:/data$ ls -la total 28 drwxr-xr-x 7 root root 4096 Jun 26 08:34 . drwxr-xr-x 25 root root 4096 Apr 13 17:09 .. drwxr-xr-x

[Bug 7622] Factor out common logic from itemize and unchanged_attrs functions

2011-06-26 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=7622 --- Comment #1 from Matt McCutchen 2011-06-26 20:46:51 UTC --- Created attachment 6630 --> https://bugzilla.samba.org/attachment.cgi?id=6630 Patch W00t! My first patch since about a year ago! Also in my repository at https://mattmccutchen.net/

[Bug 8265] Various corruption of devices and sockets

2011-06-26 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8265 --- Comment #8 from Matt McCutchen 2011-06-26 16:11:35 UTC --- (In reply to comment #7) > Not sure if the patch is ok, rsync stalls in some different cases > and needs ctrl-c. As you can see, all the patch does is add print statements, so the hang

Re: Using rsync as an incremental backup

2011-06-26 Thread Henri Shustak
> I'm using rsync to do an incremental backup of my desktop here, to a > remote server as follows: > > #/usr/bin/bash > > old=$(date -d 'now - 1 week' +%Y-%m-%d) > new=$(date +%Y-%m-%d) > > rsync -avP --delete --link-dest=../$dir /home/bakers > bak...@perturb.org:/home/bakers/backup/$new/ > >