![]() |
Backup error - 4.8.5 upgrade 1 Attachment(s) I have upgraded 4.8.2 > 4.8.5 and all is OK but cannot now do a backup. See attached jpeg for error message. The backup files are not being created. Bob |
Have you uploaded the latest version? The backup directory path is located in the admin options now not the config file. |
After I ran the upgrade script I uploaded the new config-inc.php after entering the mysql access details. I then 'saved' the settings in both the config and options admin pages. The backup does not work with the new config-inc.php file even though the correct path is shown in the options admin page. I reverted to the 4.8.2 config-inc.php file and backup ran OK. |
You have not downloaded the latest download as I stated. The initial download in the adm-backup it was looking for the backup directory in the config. This has been corrected and the distribution has been corrected about a week ago. |
I downloaded 4.8.5 on December 17. Are you saying there is a more current version that is also 4.8.5?? |
Of course that is exactly what I have said. |
I just downloaded the 'latest' v4.8.5 and then uploaded adm-backup.php and tried again. Same error message. Are there any other files I need to reupload? I cant see any documentation referring to this. |
As with all backups there are 3 things one needs to consider. The new file has this print "Directory to store backups: <i>{$Globals['backupdir']}</i><br /><br />"; Number 1 The directory server path you have entered in the global option for backups must exist and be writable 777 Number 2 Mysql must be on the same server as the install. Number 3 The path to mysql must be entered correctly also in the backup options in admin If you now have the new file and it still does not work you have not done one of the other options. |
You only need the adm-backup.php file from the current build. |
I followed the upgrade instruction from 4.8.2 > 4.8.5 to the letter - not uploading config-inc.php until after running the upgrade script and saving the settings. So to your points. Quote:
/home/backups/photopost Quote:
Quote:
/usr/bin/mysqldump |
Are those the entries in the new admin options as yes it has changed since 4.8.2. They are no longer exist in the config file. They are found in the global options. What do your global options state for 4.8.5 on this subject? I have the following in my config and it backups without flaw Directory for backups? The full path to the directory to store backups /var/www/html/backups Path to mysqldump The full path to your mysqldump executable /usr/bin/mysqldump |
1 Attachment(s) The paths are in the new admin global options - see attached jpeg. The only way to run the backup is with the old (v4.8.2) config-inc.php file. Running the backup with the new (v4.8.5) config-inc.php gived 0 size backup files. |
Firstrebel Try changing this line print "Path to mysqldump: <i>$mysqldumpcmd/mysqldump</i><br />"; to this print "Path to mysqldump: <i>{$Globals['mysqldumppath']}</i><br />"; then this line $dumpcmd = "$mysqldumppath --opt -h $host -u$mysql_user -p$mysql_password $database "; to this $dumpcmd = "{$Globals['mysqldumppath']} --opt -h $host -u$mysql_user -p$mysql_password $database "; |
Yes, that fixed the problem. Thanks for your time and prompt help. Bob |
Upgrade 4.8.5 > 4.86 backup error I have just upgraded 4.8.5 > 4.86 and this same error has happened. The fix you suggested above has not worked for 4.86 Bob |
Any help with this please? |
| All times are GMT -5. The time now is 03:05 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0