Dear all,

is there a good/clean/recommended way of sharing exclude lists between servers by decoupling them from the main config.pl file? I have a couple of servers whose configs differ just a bit, but enough that synchronizing changes becomes slightly annoying. Also, I'm sure that many people have put quite a bit of effort to write sensible default exclude lists, and sharing/distributing such lists would be easier if they are decoupled from the rest of the configuration.

On a related note (perhaps more appropriate for -devel): $Conf{RsyncArgsExtra} pretty much allows me to do what I need:

    $Conf{RsyncArgsExtra} = [
            '--exclude-from=$confDir/pc/$host.exclude',
    ];

Unfortunately, there is no variable substitution for $shareName, unlike in the tar and SMB client commands. Is there a specific reason why it is not allowed for RsyncArgs?


Thanks,
Alex

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to