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. -- 73, Ged. _______________________________________________ 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/