Hi, Ghislain! That's a lot fancier than I was going for, but I can certainly use what you've shared to solve my question. Thank you for responding! ________________________________ From: Ghislain Adnet <gad...@aqueos.com> Sent: Thursday, May 27, 2021 7:41 AM To: Mike Hughes <m...@visionary.com> Cc: General list for user discussion, questions and support <backuppc-users@lists.sourceforge.net> Subject: Re: [BackupPC-users] maintaining exclusion templates
Le 20/05/2021 à 21:18, Mike Hughes a écrit : > Hi BackupPC users, > > I'd like to maintain several templates for exclusion lists to be available > across all clients. For example, the LINUX_WWW template might exclude these > directories: > /proc > /sys > /home/this_user > /mnt/this_network_share > /tmp > hi, i use things like this that i include in each host file: while ( my ($key,$value) = each(%{$Conf{BackupFilesExclude}}) ) { push (@{$value}, '**/lost+found/**' ); push (@{$value}, '**/.svn/**' ); #SPAMASSASSIN push (@{$value}, '**/.spamassassin/bayes*' ); push (@{$value}, '**/.spamassassin/auto*' ); # symfony 3 push (@{$value}, '**/app/cache/**' ); push (@{$value}, '**/app/logs/**' ); # symfony 4 push (@{$value}, '**/var/cache/**' ); push (@{$value}, '**/var/logs/**' ); # cms mystere, on a retrouve ceci utilise push (@{$value}, '**/www/cache/**' ); if ( "$key" eq "/etc" ){ push (@{$value}, '/etc/webmin/mailboxes' ); } } i include it in my server file with do "/etc/backuppc/include/baseexclude.pl"; -- cordialement, Ghislain
_______________________________________________ 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/