Feng Forum

Support => Older versions => Feng Office 1 => : Karl January 27, 2009, 02:03:59 PM

: 1.2 beta 2: Error while creating database backup: Backup command failed.
: 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.
: Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
: ignacio January 27, 2009, 02:55:23 PM
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'?
: Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
: Karl January 27, 2009, 03:11:11 PM
Can you check if a file exists at 'tmp/db.sql'?
Hi Ignacio,

No, this file isn't there.
: Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
: ignacio January 29, 2009, 03:45:10 PM
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.
: Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
: Karl February 01, 2009, 08:30:24 AM
The command does not print anything, it just runs without error. The file db.sql has been generated in /tmp.
: Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
: Karl February 10, 2009, 01:27:46 PM
1.3.1 final: This is still an issue with my installation.

Any ideas?
: Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
: Arthur Mullard March 03, 2009, 07:09:18 PM
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?
: Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
: setekh April 01, 2009, 06:59:33 AM
Check php.ini if exec is not disabled in the disable_functions directive and that you have mysqldump with your installation of MySQL.
: Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
: Karl April 01, 2009, 09:11:28 AM
exec was disabled. mysqldump is already working -- see posting above.

I enabled exec now but it does not help. I still get this error.