Re: Take2: rsync over ssh with --link-dest

2009-11-11 Thread Alex
Hi, >> rsync -avz --delete --numeric-ids --exclude-from=/backup/exclude-file.txt \ >>      --link-dest=/backup/seg/serverA/xxx.xxx.228/cdrive/20091109 \ >>      rsync://serverA/cdrive/20091110/ \ >>      /backup/seg/serverA/xxx.xxx.228/cdrive/20091110 > > Your daemon setup looks exactly right.  I

Java Rsync Gui

2009-11-11 Thread Mathias Lambeau
Hello, I have done a Java Rsync Gui. It helps me to generate include list. And save daily datas from my desktop. http://mathiaz.com/index.php?n=JavaRsyncGui.JavaRsyncGui Tell me if you think this is usefull. This way you could add it on the rsync resources page (http://www.samba.org/rsync

RE: Does files-from work with --delete?

2009-11-11 Thread Matt McCutchen
On Wed, 2009-11-11 at 11:55 -0800, Philip Pokorny wrote: > If modifying the file sending code to detect the link_stat "not found" > error and if --delete is enabled, sending that as a delete request (is > there such a thing in the protocol?) is the right thing, then I'll > work > on a code patch.

RE: Does files-from work with --delete?

2009-11-11 Thread Philip Pokorny
I am trying to use rsync (3.0.6) to keep two directories as exact duplicates. I would normally run: rsync -av -S --delete /path/to/src/ /path/to/dst/ to do this. Unfortunately, the directories have become rather large (2TB, a million files) and so the tree walk has become a prohibitively

Re: Translating user names during transfer.

2009-11-11 Thread Matt McCutchen
[Please start a new thread for a new topic.] On Wed, 2009-11-11 at 12:38 -0500, Dave Mielke wrote: > Is there a way to translate file ownership during transfer. For example, can > it > be done such that all files owned by user1 end up being owned by user2, and > all > files owned by user3 end

Re: anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
On Wed, Nov 11, 2009 at 06:12:53PM +, Andy Smith wrote: > "-/ tmp/" works though, and does only exclude exactly what I want. I spoke too soon. For me, "-/ tmp/" works identically to "- tmp/", that is it excludes everything with a "tmp/" directory in it: [sender] hiding directory /data/home/a

Translating user names during transfer.

2009-11-11 Thread Dave Mielke
Is there a way to translate file ownership during transfer. For example, can it be done such that all files owned by user1 end up being owned by user2, and all files owned by user3 end up being owned by user4. The actual problem we're trying to solve is that some, but not all, users don't exist

Re: anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
On Wed, Nov 11, 2009 at 05:59:29PM +, Andy Smith wrote: > On Wed, Nov 11, 2009 at 06:43:33PM +0100, Paul Slootman wrote: > > From the manpage: > > > >The following modifiers are accepted after a “+” or “-”: > > > >o A / specifies that the include/exclude rule should be matched

Re: anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
Hi Paul, On Wed, Nov 11, 2009 at 06:43:33PM +0100, Paul Slootman wrote: > From the manpage: > >The following modifiers are accepted after a “+” or “-”: > >o A / specifies that the include/exclude rule should be matched > against the absolute pathname of the current item

Re: anchoring of patterns for per-directory merge files

2009-11-11 Thread Paul Slootman
On Wed 11 Nov 2009, Andy Smith wrote: > > On the sender, I have in the file "/data/home/andy/.rsync-filter": > > - /tmp/ > > The documentation leads me to believe that this should exclude a > directory called "tmp/" located only in the same directory as the > merge file. What happens is, nothin

anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
Hi, I'm extremely confused about anchoring of patterns for per-directory merge files, as what I see seems to not be the behaviour the documentation suggests. On the receiver side I have rsync version 3.0.3 protocol version 30. On the sender I have rsync version 2.6.9 protocol version 29. I'm

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-11 Thread H. Langos
On Wed, Nov 11, 2009 at 12:17:50PM +0100, H. Langos wrote: > Hi Matt, > > Thank you very much for the quick response! > > On Tue, Nov 10, 2009 at 12:13:09PM -0500, Matt McCutchen wrote: > > On Tue, 2009-11-10 at 17:55 +0100, H. Langos wrote: > > > Now the question is, if fuzzy search could be ext

--detect-renamed --detect-moved and -b

2009-11-11 Thread Thomas Gutzler
Hi, I played around with the combination of rsync --detect-renamed --detect-moved and -b. Given the following tree: src/dir/file dest/src/dir/file I renamed src/dir to src/dir2 and ran the following command: rsync -a --detect-renamed --detect-moved --delete -b --backup-dir=bak src dest ending up w

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-11 Thread H. Langos
Hi Matt, Thank you very much for the quick response! On Tue, Nov 10, 2009 at 12:13:09PM -0500, Matt McCutchen wrote: > On Tue, 2009-11-10 at 17:55 +0100, H. Langos wrote: > > Now the question is, if fuzzy search could be extended to search for > > moved files across directory borders. If for exam

Video Tutorial on how to install, configure and get rsync running on a Windows platform

2009-11-11 Thread Alan C. Bonnici
Hi, I would like to enquire about whether I can post a link to a page that points to a 22 minute tutorial on how to get rsync running on both a server as well as a client (Windows) environment. If this is not the appropriate place can anyone please suggest the best way to go about it. K