Re: delta copies

2007-09-24 Thread Fabian Cenedese
Not necessarily. Depending on how pg_dump works, it could be that small changes to the database are resulting in unnecessarily large changes to the dump. Make sure you are using the uncompressed format because most compression algorithms defeat the delta-transfer algorithm almost completely.

Re: delta copies

2007-09-24 Thread Matt McCutchen
On 9/24/07, Fabian Cenedese [EMAIL PROTECTED] wrote: I was wondering if it would be possible to add a switch (probably coupled to -v(+) ) that would report the number of matched blocks per file. Maybe even with the offset of the block. Rsync already lists all matched blocks by their offsets

Re: delta copies

2007-09-24 Thread Fabian Cenedese
At 07:51 24.09.2007 -0400, Matt McCutchen wrote: On 9/24/07, Fabian Cenedese [EMAIL PROTECTED] wrote: I was wondering if it would be possible to add a switch (probably coupled to -v(+) ) that would report the number of matched blocks per file. Maybe even with the offset of the block. Rsync

--delete not working

2007-09-24 Thread Sylvain Viart
Hi, I've set up a rsync deamon with the following config, on the remote side. [deploiement] path = /data/one_tree use chroot = yes max connections=2 lock file = /var/lock/rsyncd read only = no uid = nobody gid = nogroup hosts allow = someIP from the source host I do :

Re: --delete not working = +filtering disable delete!

2007-09-24 Thread Sylvain Viart
Hi, Sylvain Viart a écrit : rsync -rtlv --exclude='.svn/**' --exclude=.svn --delete preprod/ rsync://remote-host/deploiement/preprod/ the --dry-run gives me some file to delete. but when I run the command without --dry-run, nothing is deleted? I think I've it. The remote folder in the

Re: --delete not working

2007-09-24 Thread Matt McCutchen
On 9/24/07, Sylvain Viart [EMAIL PROTECTED] wrote: from the source host I do : rsync -rtlv --exclude='.svn/**' --exclude=.svn --delete preprod/ rsync://remote-host/deploiement/preprod/ the --dry-run gives me some file to delete. but when I run the command without --dry-run, nothing is

Mapped Drive

2007-09-24 Thread Stephen Zemlicka
I am having trouble running rsync over a mapped drive. Basically it only copies whole files. I use the -rvcS switches. Any suggestions? TIA _ Stephen Zemlicka Integrated Computer Technologies PH. 608-558-5926 E-Mail mailto:[EMAIL PROTECTED] [EMAIL

Re: Mapped Drive

2007-09-24 Thread Matt McCutchen
On 9/24/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: I am having trouble running rsync over a mapped drive. Basically it only copies whole files. I use the –rvcS switches. Any suggestions? The delta-transfer algorithm reduces only the communication between the sending and receiving rsync

Re: Mapped Drive

2007-09-24 Thread Paul Slootman
On Mon 24 Sep 2007, Stephen Zemlicka wrote: I am having trouble running rsync over a mapped drive. Basically it only copies whole files. I use the -rvcS switches. Any suggestions? From the manpage: -W, --whole-file With this option the incremental rsync algorithm is not

Re: Mapped Drive

2007-09-24 Thread Matt McCutchen
On 9/24/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: What exactly is involved in the remote shell? Can this be done on a windows to windows backup? Do you have a link handy otherwise google to the rescue. Thank you very much. You set up an ssh server on the machine with the mapped drive,

RE: Mapped Drive

2007-09-24 Thread Stephen Zemlicka
The reason I was trying this was because all I can do is map a drive. As of yet, I cannot modify the server like that. I tried the --inplace and it still did the whole file. Also, this will eventually be over the internet but right now I'm doing it locally (faster testing). I may take a peek

Re: Mapped Drive

2007-09-24 Thread Matt McCutchen
On 9/24/07, Stephen Zemlicka [EMAIL PROTECTED] wrote: The reason I was trying this was because all I can do is map a drive. As of yet, I cannot modify the server like that. If the only access you have to the remote directory is to read or write it via a mapped drive, you can't hope to do any

RE: Mapped Drive

2007-09-24 Thread Stephen Zemlicka
I'm pushing. I thought rdiff could install just the changes to a dir and then when you restore, it applies the changes from the dir you specify. Is that incorrect? If rdiff does do that, I could write a gui or wrapper for it to make restores more user friendly. _

using rsync on selinux

2007-09-24 Thread Richard Riley
I'm trying to use rsync to synchronize customer application files across multiple WEB servers. The actual copying of the files works fine. The problem is that it changes the selinux security context of some of the files. Since there are over 2000 files for each customer, it becomes a major

RE: Mapped Drive

2007-09-24 Thread Stephen Zemlicka
I think I got it (with the help of a friend). You can, in fact, rsync to a mapped drive efficiently. You must include --no-whole-file. My 100MB file only transferred a few MB using that method and it opened up with the changes just fine. Now it works just like I want. It's not the quickest

Re: using rsync on selinux

2007-09-24 Thread Matt McCutchen
On 9/24/07, Richard Riley [EMAIL PROTECTED] wrote: Searching the WEB, I have found references to a -X option to rsync, but this option does not exist in the RHEL4 version of rsync. Is there rsync source code somewhere, compatible with my OS, I could compile that would fix my problem? Yes.