Skip to content

Commit ae6674c

Browse files
authored
Exclude tmp/ folder from backups
1 parent 04fc163 commit ae6674c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-backup-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ if [ "$USER" != '*' ]; then
477477
set -f
478478
i=0
479479

480-
for udir in $(ls -a |egrep -v "^conf$|^web$|^dns$|^mail$|^\.\.$|^\.$"); do
480+
for udir in $(ls -a |egrep -v "^conf$|^web$|^dns$|^tmp$|^mail$|^\.\.$|^\.$"); do
481481
exclusion=$(echo "$USER" |tr ',' '\n' |grep "^$udir$")
482482
if [ -z "$exclusion" ]; then
483483
((i ++))

0 commit comments

Comments
 (0)