Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
52fe9e21
Commit
52fe9e21
authored
Mar 06, 2015
by
Florian Schaal
Browse files
add umount to backup-jobs
parent
a8995cc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/cron.d/500-backup.inc.php
View file @
52fe9e21
...
...
@@ -314,6 +314,8 @@ class cronjob_backup extends cronjob {
}
}
}
//* end run_backups
if
(
$server_config
[
'backup_dir_is_mount'
]
==
'y'
)
$app
->
system
->
umount_backup_dir
(
$backup_dir
);
}
else
{
//* send email to admin that backup directory could not be mounted
$global_config
=
$app
->
getconf
->
get_global_config
(
'mail'
);
...
...
server/lib/classes/cron.d/500-backup_mail.inc.php
View file @
52fe9e21
...
...
@@ -181,7 +181,8 @@ class cronjob_backup_mail extends cronjob {
}
}
}
}
if
(
$server_config
[
'backup_dir_is_mount'
]
==
'y'
)
$app
->
system
->
umount_backup_dir
(
$backup_dir
);
}
//* end run_backups
}
parent
::
onRunJob
();
...
...
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