I have tried to add the spatie/laravel-backup package but it is not working for Laravel 8. The app is in shared hosting so I am not able to run exec() or passthru(). Are there any alternatives?
The solution I am looking to solve is to be able to export and email the mysql DB for my app that is hosted in shared hosting.
I attempted to add the spatie/laravel-backup package in my local env for this app but it does not work with Laravel 8 and this is according to their documentation.
I created a command that executes the mysqldump command using exec() and passthru() wihich works locally but is blocked in shared hosting. The hosting company will not allow them.