Well the best I can recommend at this point is to remove the MySQL dump delete. Look for the following section in the control_backup.class.php file (lines 115-134):
// Delete MySQL dump files
$view -> viewNav('backup', 'delete_sql_start', null);
if($mdl -> mdl_config -> config['mysql'] == '3') ob_flush();
flush();
foreach(glob($mdl -> mdl_config -> config['base_path']
. $mdl -> mdl_config -> config['archive_dir'] . '*.sql') as $file) {
$mdl -> mdlNav('file', 'attr', $file);
$file = $mdl -> mdl_file -> file_attr;
$view -> viewNav('backup', 'delete_sql_file', $file);
$mdl -> mdlNav('file', 'delete', $file);
} // END foreach
$view -> viewNav('backup', 'delete_sql_end', null);
if($mdl -> mdl_config -> config['mysql'] == '3') ob_flush();
flush();
} // END if
comment out the section by adding "/*" at the start and "*/" at the end as follows:
// Delete MySQL dump files
/*
$view -> viewNav('backup', 'delete_sql_start', null);
if($mdl -> mdl_config -> config['mysql'] == '3') ob_flush();
flush();
foreach(glob($mdl -> mdl_config -> config['base_path']
. $mdl -> mdl_config -> config['archive_dir'] . '*.sql') as $file) {
$mdl -> mdlNav('file', 'attr', $file);
$file = $mdl -> mdl_file -> file_attr;
$view -> viewNav('backup', 'delete_sql_file', $file);
$mdl -> mdlNav('file', 'delete', $file);
} // END foreach
$view -> viewNav('backup', 'delete_sql_end', null);
if($mdl -> mdl_config -> config['mysql'] == '3') ob_flush();
flush();
*/
} // END if
You should find the sql dump file(s) still on the server and can download the sql file(s) separately. Sorry, but I don’t understand what is preventing the scripts fro functioning as expected.