|
From: Michael S. <ms...@ch...> - 2017-04-29 15:19:45
|
On 2017-04-29 08:05, Richard Shaw wrote:
> Ok, getting a little closer... I changed the configuration to:
>
> $Conf{BackupFilesExclude} = {
> '*' => [
> '/home/*/.cache',
> ''
> ]
> };
>
> And ran the dump from the command line and got:
>
> --exclude=/home/\*/.cache --exclude= <host>:/home/<user>/
>
> It seemed to generate two excludes but the second one seems to be
> malformed with the space after the = and I'm not sure it's even
> needed...
>
> Thanks,
> Richard
... which begs the question, why did you include it? Why not just use
the first exclude, which seems perfectly valid, i.e.
$Conf{BackupFilesExclude} = {
'*' => [
'/home/*/.cache'
]
};
I'm genuinely baffled.
|