Re: [BackupPC-users] Share exclude lists among different servers

2018-01-21 Thread Craig Barratt via BackupPC-users
Alex,

I added shareName substitution for RsyncArgs* in commit 0b6dee6

.

Craig

On Wed, Nov 29, 2017 at 3:34 AM, Alexander Kobel  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/


[BackupPC-users] Share exclude lists among different servers

2017-11-29 Thread Alexander Kobel

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



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/