Alex,
I added shareName substitution for RsyncArgs* in commit 0b6dee6
<https://github.com/backuppc/backuppc/commit/0b6dee6d2d0aa536a0401faf583972558fff0ee2>
.
Craig
On Wed, Nov 29, 2017 at 3:34 AM, Alexander Kobel <a-ko...@a-kobel.de> wrote:
> 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
>
>
> ------------------------------------------------------------
> ------------------
> 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/
>
>
------------------------------------------------------------------------------
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/