Re: (fwd from uke@jeremy.org) thanks and patch

2002-04-07 Thread Martin Pool

On 21 Mar 2002, Dave Dykstra [EMAIL PROTECTED] wrote:

   I guess that makes sense; I can't think of another easy to do what you want
   to do.  Pretty obscure case though.
  
  Obscure now, but I expect not forever.
  
  If you consider it desirable for rsync to be able to do this task
  (encrypted backups on untrusted servers) all by itself, all it needs
  in addition to the --date-only option is the ability to accept a
  user-specified filter for each file to be transferred.  If I were to
  make a patch for that, I don't suppose you'd want it?
 
 I don't know, I think it would depend on the implementation.  There might
 be a number of uses that people could put it to.  The thing that I don't
 like about it is that for most uses I can think of (compression is another
 example) it won't be able to use the rsync rolling checksum algorithm,
 which is mostly what people think of when they think of rsync.  It's true
 that a lot of people end up using rsync just for its ability to recurse
 down two directory structures and identify differences, however, so they
 might be happy with it.  I would think the option would default to
 have the option.

So, you could possibly say that rsync should run gpg on the remote
machine to decrypt the old backup, transfer differences, and then
encrypt the new backup.  Of course this is not so secure if you really
distrust the remote admin.

I once thought that it would be good to have a way for rsync to call
commands in various scripting languages or through the shell at
crucial points.  I'm not really sure the complication it causes is
justified.  Machine-parseable output might get many of the same
benefits.

-- 
Martin 

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



Re: metadata in dryrun mode

2002-04-07 Thread Martin Pool

On  5 Apr 2002, Mark Santcroos [EMAIL PROTECTED] wrote:

 While digging through the code it was sometimes unclear to me what the
 particular piece of code does. I found the number of comments very low.
 How about that we put some more description in the code to make it easier
 for everyone?

I agree completely.  Also, some of the special cases, like (f == -1)
are quite mysterious.

If anybody is writing comments, please format them to work with
Doxygen www.doxygen.org, which is quite similar to Javadoc.
Basically, you just need to mark documentation comments with /** **/;
there are other tags you can use either by copying existing examples
or looking at the Doxygen web site.

You can see the results here:

  http://rsync.samba.org/rsync/doxygen/head/files.html

I know people usually want to look at the source in an editor rather
than a web browser, but even so having a standard format for comments
might be good.

-- 
Martin 

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



(no subject)

2002-04-07 Thread Rizvi Inamdar



Hi

I want to exclude some files from a Raid so can 
anybody explain me how can i do that

Regards
Rizvi inamdar


CVS update: rsync/testsuite

2002-04-07 Thread Martin Pool


Date:   Sun Apr  7 23:01:26 2002
Author: mbp

Update of /data/cvs/rsync/testsuite
In directory va:/tmp/cvs-serv29712

Modified Files:
unsafe-byname.test 
Log Message:
Cleanup


Revisions:
unsafe-byname.test  1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/rsync/testsuite/unsafe-byname.test?r1=1.3r2=1.4

___
rsync-cvs mailing list
[EMAIL PROTECTED]
http://lists.samba.org/mailman/listinfo/rsync-cvs