Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
75c3d472
Commit
75c3d472
authored
Feb 02, 2017
by
Till Brehm
Browse files
Add warning message to log file when backup fails.
parent
55ad2819
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/cron.d/500-backup.inc.php
View file @
75c3d472
...
...
@@ -142,6 +142,7 @@ class cronjob_backup extends cronjob {
}
}
else
{
if
(
is_file
(
$web_backup_dir
.
'/'
.
$web_backup_file
))
unlink
(
$web_backup_dir
.
'/'
.
$web_backup_file
);
$app
->
log
(
'Backup of '
.
$web_path
.
' failed.'
,
LOGLEVEL_WARN
);
}
//* Remove old backups
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment