You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed this Spatie's Laravel Backup package locally in Laravel Homestead.
If I run php artisan backup:run
everything works fine.
However, in Laradock, when running that same command artisan backup:run right inside the workspace container, where the Laravel app is located, I get the following error:
Backup failed because: The dump process failed with exitcode 127 : Command not found : sh: 1: mysqldump: not found
I want to point out that in Laradock the database already works fine (users can register, login, etc.). But then why doesn't it work with the php artisan backup:run?
Does anybody know how to make it work in Laradock?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have installed this Spatie's Laravel Backup package locally in Laravel Homestead.
If I run
php artisan backup:run
everything works fine.
However, in Laradock, when running that same command
artisan backup:run
right inside theworkspace
container, where the Laravel app is located, I get the following error:My .env in Laradock is:
And the database.php file
I want to point out that in Laradock the database already works fine (users can register, login, etc.). But then why doesn't it work with the
php artisan backup:run
?Does anybody know how to make it work in Laradock?
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions