Feng Forum
Support => Older versions => Feng Office 1 => : Karl January 27, 2009, 02:03:59 PM
-
After starting the backup process I get an error message:
Error while creating database backup: Backup command failed. Check MYSQLDUMP_COMMAND constant.
-
Hi Karl,
That error is because the mysqldump command didn't generate the db.sql file. Can you check if a file exists at 'tmp/db.sql'?
-
Can you check if a file exists at 'tmp/db.sql'?
Hi Ignacio,
No, this file isn't there.
-
If you have access to a command line in your server please try executing the command manually to see what it prints. The commands would be:
cd (opengoo path)
mysqldump --host=(host) --user=(user) --password=(password) (database) > tmp/db.sql
The values for (host), (user), (password) and (database) are the ones in your config/config.php. Replace (opengoo path) for the path to your OpenGoo installation.
-
The command does not print anything, it just runs without error. The file db.sql has been generated in /tmp.
-
1.3.1 final: This is still an issue with my installation.
Any ideas?
-
We've never been able to get backup working. We get:
Error
Error while creating database backup: Backup command failed. Check MYSQLDUMP_COMMAND constant.
Did anyone get any further with this?
-
Check php.ini if exec is not disabled in the disable_functions directive and that you have mysqldump with your installation of MySQL.
-
exec was disabled. mysqldump is already working -- see posting above.
I enabled exec now but it does not help. I still get this error.