简体   繁体   English

如何找到mysql备份成功?

[英]How to find that mysql backup is successful?

I am using WAMP on windows 7. I created a windows batch file backup.bat with following code: 我在Windows 7上使用WAMP。我使用以下代码创建了Windows批处理文件backup.bat:

    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. 当我运行backup.bat时,命令提示符将闪烁并进行备份,但它不会告诉您备份是否成功。

Any suggestion to get confirmation? 任何建议得到确认?

如果您只想手动验证它,请在脚本末尾添加一个PAUSE ,使提示停留在您有时间阅读可能的错误消息之前。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM