Backup Restore Plugin doesn’t work for WP2.2
-
please anyone can help, i am using this great BACKUP RESTORE plugin since I start using WP, it is always doing great until I use it after upgraded to 2.2.1
Error msg:
Warning: passthru() has been disabled for security reasons in /home/domains/website.com/public_html/blog/wp-content/plugins/backuprestoreAdmin.php on line 21 Backup Successful.
but then there’s no SQL file backup at my “backup” folder on server.
on the php file line 21, it wrote:
echo passthru("mysqldump --opt -h$server -u$loginsql -p$passsql $base >$file_name");
*the whole paragraph:
switch($_GET['action']) { case 'backupdatabase': $datum = date('Ymd-His'); $base_file_name = $base . '_' . $datum . ".sql"; $file_name = $path . $base_file_name; echo '<div class="wrap">'; //echo "mysqldump --opt -h$server -u$loginsql -p$passsql $base >$file_name "; echo passthru("mysqldump --opt -h$server -u$loginsql -p$passsql $base >$file_name"); echo 'Backup Successful. <br/><a href="' . $siteurl . '/' . $backup_folder . $base_file_name . '">Download the new Backup Sql File</a>'; echo '</div>'; if ($user_level > 0) { include('backuprestoreForm.php'); } else { ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Backup Restore Plugin doesn’t work for WP2.2’ is closed to new replies.