i am using laradock
running backup when database is in a different docker container ie mariadb
Backup failed because The dump process failed with exitcode 127 : Command not found : sh: 1: /mysqldump: not found
.
Backup failed because: The dump process failed with exitcode 127 : Command not found : sh: 1: /mysqldump: not found
This is caused by mysqldump not being found. Either move the mysqldump to location in mentioned in the error or add the current path the dump_binary_path in the database config (https://docs.spatie.be/laravel-backup/v6/installation-and-setup#dumping-the-database)
@ankit20893 did you get it to work?
Yes, thanks
On Wed, 11 Sep 2019 at 15:09, Zaiman Noris notifications@github.com wrote:
@ankit20893 https://github.com/ankit20893 did you get it to work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spatie/laravel-backup/issues/891?email_source=notifications&email_token=ADCDIHQEMD3PDFMSMPMSV7TQJC4FNA5CNFSM4HDHTHP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6N43TA#issuecomment-530304460,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCDIHUCXHFMAEJXENRLC7TQJC4FNANCNFSM4HDHTHPQ
.
@ankit20893 what did yo do to mysqldump works fine? I have the same problem.
Just in case anyone comes looking for this, find WORKSPACE_INSTALL_MYSQL_CLIENT and update it to true and rebuild workspace container.
WORKSPACE_INSTALL_MYSQL_CLIENT=true
@ankit20893 please can your explain how you get this fixed am facing same issue on command console it working fine but on $schedule->command('backup:run') not working same error
Most helpful comment
@ankit20893 what did yo do to mysqldump works fine? I have the same problem.