Hi @Julien_L,
This configuration line will be very picky about small changes – the form that’s in the documentation should be correct for most users:
[cli]
dump = "/usr/bin/mysqldump -h {$hostname} -u {$username} -p{$password} {$databasename}"
If that doesn’t work, I have two suggestions:
- Check your PHP error log around the time you attempted the database dump. It’s possible that it’ll contain something helpful.
- Test the dump command yourself on the server e.g. using a secure shell connection. Try running the same command that you’ve configured:
…replacing/usr/bin/mysqldump -h {$hostname} -u {$username} -p{$password} {$databasename}{$hostname}with the database hostname,{$username}with the database username, etc., each matching the value in yourconfig.inc.phpconfiguration file and being careful not to change anything else about that command.
Regards,
Alec Smecher
Public Knowledge Project Team