let's show the error please
Backup with Spatie does not work on Windows.
Hello. I'm trying Spatie to create a backup from a controller and it only works when I try to create a copy of only the files, but if I try to create a database copy an error occurs. However, from a console the copy of the files and the database is created correctly.
I think it may be due to not having access to mysqldum.exe or something, since at first I couldn't create backups from the console until I added the path to mysqldump.exe to the environment variables.
I am using Windows and XAMPP for development.
Does anyone have an idea what the problem is?
Edit: Sorry, I can't upload images. You can see the screenshots on Facebook: facebook dot com/groups/laravelesp/permalink/7470589049661800/
Excuse me friend, it is already working correctly. It must have been that the system needed to be restarted or something like that for the environment variable to be updated or I don't know what happened. I had restarted Apache many times and it didn't work. And just now that I was trying to make adjustments to place the code here, the creation of backups with the databases is now working correctly.
Thanks for responding to my post.
Please or to participate in this conversation.