HI,
Ahh, based on your config I think that I see my problem.  I've split my exclude list from a single list to 2 lists one for my root share and one form my home share .
Hopefully that will solve my problem.
Thanks for the info.
Pete

On 12/13/21 08:38, G.W. Haywood via BackupPC-users wrote:
Hi there,

On Mon, 13 Dec 2021, Pete Geenhuizen wrote:

... I have a pretty long exclude list, and now I need to add an
additional directory to exclude.? I added the new directory
/home/new/* but the directory and it's contents are being backed up.
I tried /home/new/ and /home/new with no success.? ...

You need to show us exactly what you have in the configuration which
you think is excluding things.  It's not obvious what might be wrong
if we can't see it.

By way of example, here's an exclude of mine:

8<----------------------------------------------------------------------
$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncShareName}  = [ 'Config', 'Homes', ];
$Conf{BackupFilesExclude} =
{
    'Homes'  =>
    [
        '/XXXX/src',
        '/XXXX/DVD',
        '/XXXX/temp',
        '/XXXX/.cache',
        '/XXXX/.mozilla',
    ]
};
$Conf{RsyncdUserName} = XXXX
$Conf{RsyncdPasswd} = XXXX
8<----------------------------------------------------------------------

This is in a per-PC file at

/etc/BackupPC/pc/receptionpc.pl

As you can see I'm using rsyncd.  I've redacted parts of the config
and any comments.  Otherwise, what you see there is the entire file.

The exclude itself is a Perl structure.  There are two files and three
directories in it.  If you aren't familiar with Perl the syntax can be
a little taxing but you can probably use my example by just tweaking
the paths to suit.  Note that there IS supposed to be a trailing comma
at the end of my lists of items; Perl doesn't care either way but it's
convenient to leave one there for the next time it gets changed. This
example however hasn't changed since February 2020.  It runs nightly.


--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to