Backup failed because The dump process failed with exitcode 1 : General error : The system cannot find the path specified. #1078
-
Hello I have laravel 7 installed in my local machine, I have installed laravel backup package, but when I am trying to run backup command I am getting an error also, I have added the following code into my config/database.php , if any changes please help me with the same. 'mysql' => [ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I have got the solution, there is a problem with my code is 'dump_binary_path' since I am testing this in my local machine. I have updated my code as follow and its worked for me ! 'dump' => [ |
Beta Was this translation helpful? Give feedback.
-
right now I have updated the 'dump_binary_path' as 'C:\xampp\mysql\bin', but when I upload code into the server (means into GoDaddy server) what I should put over there? |
Beta Was this translation helpful? Give feedback.
I have got the solution, there is a problem with my code is 'dump_binary_path' since I am testing this in my local machine. I have updated my code as follow and its worked for me !
'dump' => [
'dump_binary_path' => 'C:\xampp\mysql\bin',
'use_single_transaction',
'timeout' => 60 * 5, // 5 minute timeout
'exclude_tables' => ['table1', 'table2'],
],