mysqldump.exe --user=root--password=passroot--host=localhost --port=3306 --result-file="C:\xampp\htdocs\Demo\backup.%date:~10,4%%date:~7,2%%date:~4,2%.sql" --default-character-set=utf8 --single-transaction=TRUE --databases "dbname"
This is how I did my back up of database in task scheduler. What I did is I set this in action but i get the error.
The system cannot find the specified file. (0x80070002)
What is the correct way to do task scheduler that will backup the database in xxammp
User contributions licensed under CC BY-SA 3.0