I configured the backup on the ubuntu system, it is working fine with the command line and in the controller.
I transferred it to windows, set the binary path, and it is working fine and made a backup by command line, but when using a controller with a route to creating a backup it is not working. No error returned, but no backup file was created as well.
I run the project with PHP artisan serve.
public function newBackup(Request $request){
try {
Artisan::call("backup:run");
} catch (\Throwable $th) {
throw $th;
}
}
I configured the backup on the ubuntu system, it is working fine with the command line and in the controller. I transferred it to windows, set the binary path, and it is working fine and made a backup by command line, but when using a controller with a route to creating a backup it is not working. No error returned, but no backup file was created as well.
I run the project with PHP artisan serve.