Commit 52fe9e21 authored by Florian Schaal's avatar Florian Schaal

add umount to backup-jobs

parent a8995cc2
......@@ -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');
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment