Skip to content

Commit b06ddec

Browse files
Replace /tmp with $BACKUP
/tmp size is not enough for larger websites.
1 parent e9589f5 commit b06ddec

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
@@ -69,7 +69,7 @@ while [ "$la" -ge "$BACKUP_LA_LIMIT" ]; do
6969
done
7070

7171
# Creating temporary directory
72-
tmpdir=$(mktemp -p /tmp -d)
72+
tmpdir=$(mktemp -p $BACKUP -d)
7373

7474
if [ "$?" -ne 0 ]; then
7575
echo "Can't create tmp dir $tmpdir" |$SENDMAIL -s "$subj" $email $notify

0 commit comments

Comments
 (0)