Browse Source

Exclude tmp/ folder from backups

dpeca 7 years ago
parent
commit
ae6674c1c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-backup-user

+ 1 - 1
bin/v-backup-user

@@ -477,7 +477,7 @@ if [ "$USER" != '*' ]; then
     set -f
     i=0
 
-    for udir in $(ls -a |egrep -v "^conf$|^web$|^dns$|^mail$|^\.\.$|^\.$"); do
+    for udir in $(ls -a |egrep -v "^conf$|^web$|^dns$|^tmp$|^mail$|^\.\.$|^\.$"); do
         exclusion=$(echo "$USER" |tr ',' '\n' |grep "^$udir$")
         if [ -z "$exclusion" ]; then
             ((i ++))