Hi artisans, is there any way to dump the MySQL database in a Laravel up, I've tried some packages that uses commands like "db:backup" but when I use those commands with Artisan::call('command') I get an empty file while when using prompt command I get what I want.
You can try mysqldump
with shell_exec('your command here')
Sounds like a good idea, I'll try it and let you know, thank you Bajescu
@teeyo you can also try using this database backup artisan command from this library:
Their are many options in taking your backup one you can try using "Cloudbacko home" software i am basically using this software from long time and really satisfied using this software . It basically gives backup to your Mac as well and helps restoring also . I am leaving a link below just check:
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community