Re: Partial transferred files useless at resume, compare-dir can help ?

2006-06-13 Thread Constantin Teodorescu
Matt McCutchen wrote: On Wed, 2006-06-14 at 00:21 +0300, Constantin Teodorescu wrote: This is EXACTLY what I wanted , and tried for the first time , like in the manual but no ... it's behaviour is not changed at all ! :-( I tested --partial-dir on my computer, and when I kill rsync ma

Re: Partial transferred files useless at resume, compare-dir can help ?

2006-06-13 Thread Constantin Teodorescu
Matt McCutchen wrote: No, but --partial-dir does exactly what you want. Use something like --partial-dir=.rsync-partial. When the receiving rsync dies, it will create a directory .rsync-partial and move the partial file from .mydb-dump.sql.bz2.MkVSHy to .rsync-partial/mydb-dumb.sql.bz2. It

Re: Partial transferred files useless at resume, compare-dir can help ?

2006-06-13 Thread Matt McCutchen
On Wed, 2006-06-14 at 00:21 +0300, Constantin Teodorescu wrote: > This is EXACTLY what I wanted , and tried for the first time , like in > the manual but no ... it's behaviour is not changed at all ! :-( I tested --partial-dir on my computer, and when I kill rsync manually by pressing Ctrl-C, th

Re: Partial transferred files useless at resume, compare-dir can help ?

2006-06-13 Thread Constantin Teodorescu
Matt McCutchen wrote: On Tue, 2006-06-13 at 22:00 +0300, Constantin Teodorescu wrote: I heard about the --partial option in order to keep the partial transferred file. I thought that rsync will apply his incremental check and update alghoritm on that partial file and resume the transfer. U

Re: Partial transferred files useless at resume, compare-dir can help ?

2006-06-13 Thread Matt McCutchen
On Tue, 2006-06-13 at 22:00 +0300, Constantin Teodorescu wrote: > I heard about the --partial option in order to keep the partial > transferred file. I thought that rsync will apply his incremental check > and update alghoritm on that partial file and resume the transfer. > > Unfortunatelly , th

Partial transferred files useless at resume, compare-dir can help ?

2006-06-13 Thread Constantin Teodorescu
So, my use case is : 1. lot of connections over dial-up lines 2. need to transfer safely A SINGLE BZIPPED FILE to the server 3. if dial-up line fails, it's automatically restarted after 5 minutes and transfer start again I heard about the --partial option in order to keep the partial transfe

RE: Compare ignoring the size AND file suffix: (not/) compressed files in a directory tree

2006-06-13 Thread Francois Collard
Thank you Matt, for your prompt answer and expert advice ! I'll test it asap. Regards Francois -Original Message- From: Matt McCutchen [mailto:[EMAIL PROTECTED] On Behalf Of Matt McCutchen Sent: 13 June 2006 17:17 To: Francois Collard Cc: rsync@lists.samba.org Subject: Re: Compare ignori

Re: transfer logging -- absolute file path?

2006-06-13 Thread Wayne Davison
On Mon, Jun 12, 2006 at 09:37:43AM -0600, Alan Sparks wrote: > I see in the code for the log_formatted() function the filename is > special-cased if rsync is sending the file, but do not understand why > this should be special-cased. That's because only the sender has (or needs) path info from out

Re: Compare ignoring the size AND file suffix: (not/) compressed files in a directory tree

2006-06-13 Thread Matt McCutchen
On Tue, 2006-06-13 at 12:49 +0200, Francois Collard wrote: > So, trying to automatically r'synchronize trees that can contain gzip > files on one side > I should find a way to a filter on .gz extenssion in name > and use only date comparison (size nor content comparison). As .gz > files keep origi

Compare ignoring the size AND file suffix: (not/) compressed files in a directory tree

2006-06-13 Thread Francois Collard
Hello all, Here, we use rsync for years to share software tests distributions between from France to USA, Singapore and London, and all is working fine. But to save space we also need to compress files depending on their access time, and on purpose uncompress automatically before use. This make

Re: Data Encryption

2006-06-13 Thread Shachar Shemesh
Brad Farrell wrote: > > Hi there > > > > Is there a way with rsync to encrypt data at the source before > transmitting? Not talking about the actually transmission, but the > data itself. I’ve got a few department heads that want their data > secured before it leaves their computer so that no o