File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,9 @@ if [ ! -e "$BACKUP/$backup" ]; then
169169 downloaded=' yes'
170170 fi
171171 if [ -z " $downloaded " ]; then
172+ subj=" $user → Download of $backup has failed"
173+ $BIN /v-add-user-notification $user " $subj " " Download of $backup has failed because backup file $backup doesn't exist in '${BACKUP} ' folder"
174+ sed -i " /v-download-backup $user /d" $HESTIA /data/queue/backup.pipe
172175 check_result $E_NOTEXIST " backup file $backup doesn't exist in '${BACKUP} ' folder"
173176 else
174177 if [ -e " $BACKUP /$backup " ]; then
@@ -190,7 +193,6 @@ if [ -e "$BACKUP/$backup" ]; then
190193 email=$( get_user_value ' $CONTACT' )
191194 echo " Download of $backup has been completed you are able to download it for 12 hours" | $SENDMAIL -s " $subj " $email $notify
192195 $BIN /v-add-user-notification $user " $subj " " Download of $backup has been completed you are able to download it for 12 hours"
193-
194196fi
195197
196198# Cleaning restore queue
You can’t perform that action at this time.
0 commit comments