Hi Chiel,
Since you're targeting /var, the directory to exclude would be /log, not
/var/log. Be sure to add it directly under the BackupFilesExclude config for
the /var share.
________________________________
From: chiel <[email protected]>
Sent: Thursday, February 24, 2022 7:16 AM
To: [email protected] <[email protected]>
Subject: [BackupPC-users] BackupFilesExclude doesn't exclude a directory from
backups
Hello,
I'm using BackupPC 4.4.0 and used the web gui to backup some
directories. This created the following config.
$Conf{RsyncShareName} = [
'/etc/',
'/usr/',
'/var/'
];
I try to exclude the log directory using the following config. However
this doesn't seem to work.
$Conf{BackupFilesExclude} = {
'*' => [
'/var/log'
]
};
The log directory is still included in the backups.
Is the above config correct? I'm using rsync. All machines are ubuntu.
Chiel
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/