Altering cpanel's mysqdump command

tompgl

Registered
Jun 26, 2007
3
0
51
Hi,

I run a busy website and cpanel's daily mysqldump locks my database - i presume it's using the options --lock-tables or --lock-all-tables and for my purposes these options need to be removed. Can anybody point me to the location of the specific script that contains the mysqldump command? I see no other option than to perform a hack because the backup configuration doesn't allow one to disable per account mysql backups without disabling backup altogether.

Thanks
 

Murtaza_t

Well-Known Member
Jan 24, 2005
476
0
166
Earth
cPanel Access Level
Website Owner
mysqldump itself is a script that will need to be modified. I have never looked into it closely but you can find the script with the command below:

whereis mysqldump