BezhanSalleh

@adnan483 you can't exactly call artisan commands as you would in CLI. In your case you would do as follow:

\Artisan::call('backup:run',['--only-db'=>true]);

check this out: https://laravel.com/docs/5.4/artisan#programmatically-executing-commands

Return to Thread...