Admin Backup is fine with this option. But inside custombuild doesn't work with mysql_backup.
example: I set "extra_mysqldump_options" inside directadmin.conf
And run mysql_backup
Result:
so let find more how custombuild grab "extra_mysqldump_options" option
inside build script around line "9273"
Result:
then let change some command line options to get correct value.
example: I set "extra_mysqldump_options" inside directadmin.conf
extra_mysqldump_options=--ignore-table-data=mydatabase.mytable1
And run mysql_backup
Code:
./build mysql_backup
Result:
Illegal use of option --ignore-table-data=<database>.<table>
so let find more how custombuild grab "extra_mysqldump_options" option
inside build script around line "9273"
Code:
/usr/local/directadmin/directadmin c | grep -m1 '^extra_mysqldump_options=' | cut -d'=' -f2
--ignore-table-data
then let change some command line options to get correct value.
Result/usr/local/directadmin/directadmin c | grep -m1 '^extra_mysqldump_options=' | cut -d'=' -f 2-
--ignore-table-data=mydatabase.mytable1
Last edited: