I posted a message on the users list about this, however I'd like to
know if the developers believe the following is a good idea -- if
there is general agreement I can look into creating a patch for it.

I think it would be useful if the "Do not edit these!" rsync
parameters were separate from the other rsync arguments. Something like:

$Conf{RsyncBaseArgs} = [
            #
            # Do not edit these!
            #
            '--numeric-ids',
            '--perms',
            '--owner',
            '--group',
            '-D',
            '--links',
            '--hard-links',
            '--times',
            '--block-size=2048',
            '--recursive',

            #
            # Rsync >= 2.6.3 supports the --checksum-seed option
            # which allows rsync checksum caching on the server.
            # Uncomment this to enable rsync checksum caching if
            # you have a recent client rsync version and you want
            # to enable checksum caching.
            #
            #'--checksum-seed=32761',
];


$Conf{RsyncArgs} = [
            #
            # Add additional arguments here
            #
            '-v',
];

This would allow users to easily override just the relevant
"additional arguments" for rsync on a per-host basis, instead of
copying all of the basic "Do not edit these" parameters as well (and
losing any changes to these parameters on updates for example).

It would also be much cleaner in the web interface, since the basic
parameters would generally not be shown to a user.

Cheers,
Raman Gupta


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to