Permission denied error when doing backup

Hello,

Since now, I’ve been able to do backup the database without any problem. But today, when I tried so, I got the following message:
“Error : sh: /home/xavi/Dades/Empresa/Dolibarr: Permission denied”
The attached file (mysqldump_dolibarr_3.0.1_201202231756.sql.bz2.err) is created instead of database dump file.

mysqldump_dolibarr_3.zip (93 Bytes)
I’ve checked directory permissions and all seems OK. The command used to perform the backup is reported to be:
“/home/xavi/Dades/Empresa/Dolibarr dolibarr -h localhost -u dolibarrmysql -P 3306 -l --single-transaction -K --tables --hex-blob -p********”

System info:

Dolibarr
Versió 3.0.1

SO
Versió Linux Trastu 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64

Servidor web
Versió Apache/2.2.14 (Ubuntu)

Php
Versió 5.3.2-1ubuntu4.14
Enllaç Web-PHP apache2handler

Base de dades
Versió MySQL 5.1.41-3ubuntu12.10

Browser
UserAgent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Smartphone No

Many thanks in advance for your help

Xavi

When you are on screen to make backup, whet is value into field “Path to mysqldump program” ?

The complete path to mysqldump command is:
/home/xavi/Dades/Empresa/Dolibarr

Many thanks

Xavi

Hi again,

Any idea regarding this. It’s a long time since i did the last good backup. I’ve even thought about upgrading to the latest Dolibarr version to see if it solves the problem. But I don’t like at all doing an upgrade without having a backup of all the data.

Many thanks in advance.

Xavi

/home/xavi/Dades/Empresa/Dolibarr is not a path to mysqldup command.
Try to find where is store the file mysqldump onto your disk and then
replace /home/xavi/Dades/Empresa/Dolibarr with
/pathintoyourdisk/mysqldump

Fine!

Now it works!!!

Thank you very much