免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1439 | 回复: 6
打印 上一主题 下一主题

【求助】数据库备份不完整 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-02-25 09:33 |只看该作者 |倒序浏览
晚上自动调用bat文件进行备份,内容如下:
isql -Usa -P -Spyserver <dumpdb.sql>; mesg-dumpdb.txt

dumpdb.sql内容如下:
use pydb
go
dump database pydb to 'd:\pydb.dmp'
go

这个应该没有问题,备份执行完毕后,早上检查发现数据库备份不完整,正确备份文件大小应有5G多点,现在只有3G多点,errorlog日志如下:
00:00000:00013:2004/02/25 05:07:11.75 kernel  Cannot send, host process disconnected: PYSERVER 2644 spid: 13
00:00000:00013:2004/02/25 05:07:11.80 server  Error: 1608, Severity: 18, State: 4
00:00000:00013:2004/02/25 05:07:11.80 server  A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.

那位好心人帮忙看下是什么问题,这两天sybase老出问题,真是头大。

论坛徽章:
0
2 [报告]
发表于 2004-02-25 09:47 |只看该作者

【求助】数据库备份不完整

isql -Spyserver  -Usa -P -i c:\dumpdb.sql -o c:\dumpdb.txt

论坛徽章:
0
3 [报告]
发表于 2004-02-25 09:55 |只看该作者

【求助】数据库备份不完整

这两个参数和'<' '>;'符号的作用是一样的吧。

论坛徽章:
0
4 [报告]
发表于 2004-02-25 09:58 |只看该作者

【求助】数据库备份不完整

那我不知道,我知道-i在NT下肯定没问题。

论坛徽章:
0
5 [报告]
发表于 2004-02-25 10:25 |只看该作者

【求助】数据库备份不完整

试过了,不是这两个参数原因。

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2004-02-25 11:00 |只看该作者

【求助】数据库备份不完整

加上<<EOF
标记,看看
应该是你脚本执行时,进程断了,所以备份就推出了,没有备份完

论坛徽章:
0
7 [报告]
发表于 2004-02-25 22:08 |只看该作者

【求助】数据库备份不完整

看了sybase相关技术手册,说Error: 1608是因为一下的原因引起的,但是我的network应该没有问题的。
1.1        Issue:
The following Error appears in the Sybase Error Log
Error 1608, Severity Level, 21
A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
1.2        Explanation:
This error occurs when a client process stopped without informing SQL Server and a subsequent attempt by SQL Server to send results to this client fails.
Error 1608 is usually not serious and may be viewed as notification that a client process no longer exists. Some of the possible reasons a client process can disappear are:
·        The client application was killed or ended abnormally
·        The client machine was powered off or rebooted
·        There is excessive network traffic
·        The network connection has been dropped or interrupted
1.3        Resolution:
Do not be concerned if this error occurs only sporadically. However, if the error occurs frequently and continuously, or frequently for short periods of time, it may be a result of excessive network traffic or network problems.
If  it is suspected  that there are network problems, contact the network administrator in order to run diagnostics on the network between the client and the SQL Server machines to isolate the problem.
Note:        If this error is preceded by another Sybase error then obtain a complete and current copy of the Sybase error log and forward it to the SPS Help Desk for further analysis. The error log can be found in the c:\sybase\install directory on the server.


刚好今天单位换了新服务器,现在没有这个问题了,以后再说吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP