Can not access: $bk_dir
Can not create .htaccess file to secure backup directory
Nothing to do... Change Backup Settings
Performing Optimization: " . $method.""; $result = $wpdb->query($query); echo "$result items deleted.
"; echo "Checking Database..."; $local_query = 'SHOW TABLE STATUS FROM `'. DB_NAME.'`'; $result = mysql_query($local_query); if (mysql_num_rows($result)){ while ($row = mysql_fetch_array($result)){ $check_query = "CHECK TABLE ".$row['Name']; $check_result = mysql_query($check_query); if (mysql_num_rows($check_result)){ while($rrow = mysql_fetch_assoc($check_result)){ if( $debug_enabled == "true"){ echo "Table: " . $row['Name'] ." ". $rrow['Msg_text']; echo ""; } } } //$initial_table_size += $table_size; } echo "Done!"; } echo "
"; echo "Repairing Database..."; $local_query = 'SHOW TABLE STATUS FROM `'. DB_NAME.'`'; $result = mysql_query($local_query); if (mysql_num_rows($result)){ while ($row = mysql_fetch_array($result)){ $check_query = "REPAIR TABLE ".$row['Name']; $check_result = mysql_query($check_query); if (mysql_num_rows($check_result)){ while($rrow = mysql_fetch_assoc($check_result)){ if( $debug_enabled == "true"){ echo "Table: " . $row['Name'] ." ". $rrow['Msg_text']; echo ""; } } } } echo "Done!"; } echo "
"; echo "Optimizing Database..."; $local_query = 'SHOW TABLE STATUS FROM `'. DB_NAME.'`'; $result = mysql_query($local_query); if (mysql_num_rows($result)){ while ($row = mysql_fetch_array($result)){ //var_dump($row); $table_size = ($row[ "Data_length" ] + $row[ "Index_length" ]) / 1024; $optimize_query = "OPTIMIZE TABLE ".$row['Name']; if(mysql_query($optimize_query)){ if( $debug_enabled == "true"){ echo "Table: " . $row['Name'] . " optimized!"; echo ""; } } $initial_table_size += $table_size; } echo "Done!"; } $local_query = 'SHOW TABLE STATUS FROM `'. DB_NAME.'`'; $result = mysql_query($local_query); if (mysql_num_rows($result)){ while ($row = mysql_fetch_array($result)){ $table_size = ($row[ "Data_length" ] + $row[ "Index_length" ]) / 1024; $final_table_size += $table_size; } } echo ""; echo "Initial DB Size: " . number_format($initial_table_size, 2) . " KB"; echo "Final DB Size: " . number_format($final_table_size, 2) . " KB"; $space_saved = $initial_table_size - $final_table_size; $opt_pctg = 100 * ($space_saved / $initial_table_size); echo "Space Saved: " . number_format($space_saved,2) . " KB (" . number_format($opt_pctg, 2) . "%)"; echo "
"; echo "Executing Command:$command"; ob_flush(); flush(); echo ""; $debug_enabled = false; if( $debug_enabled == "true"){ exec($command); ob_start(); passthru($base_bk_command); $debug_output = htmlentities(ob_get_clean()); echo $debug_output; }else{ exec($command); }; echo ""; echo "Done!"; echo "
"; echo "Executing Command in Background:$command"; ob_flush(); flush(); echo ""; $debug_enabled = false; if( $debug_enabled == "true"){ passthru($command); }else{ $this->exec_backup($command, $bk_name); }; echo ""; echo ""; echo " File Backup is Processing in the Background! (Refresh)"; //echo "Processing!"; echo "
"; echo " File Backup is Processing in the Background! (Refresh)
File Backup Processing is Finished! (Close)
View Simple Backup Plugin Settings