Author Topic: 1.2 beta 2: Error while creating database backup: Backup command failed.  (Read 8732 times)

Karl

  • Sr. Member
  • ****
  • Posts: 339
    • ICQ Messenger - 464979879
    • View Profile
After starting the backup process I get an error message:

Quote
Error while creating database backup: Backup command failed. Check MYSQLDUMP_COMMAND constant.

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
« Reply #1 on: 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'?

Karl

  • Sr. Member
  • ****
  • Posts: 339
    • ICQ Messenger - 464979879
    • View Profile
Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
« Reply #2 on: 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.

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
« Reply #3 on: 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:
Code: [Select]
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.

Karl

  • Sr. Member
  • ****
  • Posts: 339
    • ICQ Messenger - 464979879
    • View Profile
Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
« Reply #4 on: 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.

Karl

  • Sr. Member
  • ****
  • Posts: 339
    • ICQ Messenger - 464979879
    • View Profile
Re: 1.2 beta 2: Error while creating database backup: Backup command failed.
« Reply #5 on: February 10, 2009, 01:27:46 PM »
1.3.1 final: This is still an issue with my installation.

Any ideas?
« Last Edit: April 01, 2009, 09:07:46 AM by Karl »

Arthur Mullard

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
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?

setekh

  • Newbie
  • *
  • Posts: 35
    • View Profile
Check php.ini if exec is not disabled in the disable_functions directive and that you have mysqldump with your installation of MySQL.

Karl

  • Sr. Member
  • ****
  • Posts: 339
    • ICQ Messenger - 464979879
    • View Profile
exec was disabled. mysqldump is already working -- see posting above.

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

 

anything
anything