I am using WAMP on windows 7. I created a windows batch file backup.bat with following code:
C:\wamp\bin\mysql\mysql5.6.17\bin\mysqldump -uroot -hlocalhost dbcreditors > C:\wamp\www\bkp_dbcreditors.sql
When I run backup.bat a command prompt flashes and backup is taken but it does not tell whether backup was successful or not.
Any suggestion to get confirmation?
如果您只想手动验证它,请在脚本末尾添加一个PAUSE
,使提示停留在您有时间阅读可能的错误消息之前。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.