I was under the incorrect assumption that specifying an asterisk would apply
the exclusion list to all ShareNames until I struggled with making it work and
re-read the tutorial [1] where it specifies that the asterisk "means it applies
to all shares that don't have a specific entry".
$Conf{BackupFilesExclude} = {
'*' => [
'*access_log*',
'.apdisk',
'*/.apdisk',
'.cache'
]
Is there a method to make an exclusion list for all shares, even if individual
shares have specific lists of their own? For example, I want to exclude the
/var/lib/mysql folder on the /var share, but I also want to exclude any
directory named .cache from all shares.
Would it be valid to list all shares in a common definition, and also break
them out into individual lists like this:
$Conf{BackupFilesExclude} = {
'/home, /var, /usr, /boot, /data' => [
'*access_log*',
'.apdisk',
'*/.apdisk',
'.cache'
]
$Conf{BackupFilesExclude} = {
'/var' => [
'/lib/mysql'
]
My list of files to exclude from every ShareName includes over 40 items so it's
not trivial (or aesthetically pleasing) to append this list to each share
definition.
[1] http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_backupfilesexclude_
+----------------------------------------------------------------------
|This was sent by itismike AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|