]> arthur.barton.de Git - backup-script.git/commitdiff
backup-audit: Exclude quota status files in / directory
authorAlexander Barton <alexander.barton@thomas-daily.de>
Wed, 27 Mar 2019 13:07:41 +0000 (14:07 +0100)
committerAlexander Barton <alexander.barton@thomas-daily.de>
Wed, 27 Mar 2019 13:07:41 +0000 (14:07 +0100)
bin/backup-audit

index 146a9559c6be32ea5bf6f1b456697c00935af10a..7ead1969283b968b5ea7b65124654d05346f204d 100755 (executable)
@@ -84,6 +84,7 @@ ListDirectory() {
                exclude="$exclude"'| \.stamp$| dev$| etc$| proc$| root$| run$| sys$| tmp$'
                exclude="$exclude"'| data$| net$| srv$'
                exclude="$exclude"'| [[:alnum:]_-]+\.log(\.[[:alnum:]]+|)$'
+               exclude="$exclude"'| (aquota.user|aquota.group)$'
        fi
 
        # shellcheck disable=SC2012