免费注册 查看新帖 |

Chinaunix

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

[备份软件] 请教:CA Arcserve V7.0备份和恢复sybase数据库的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-04 11:48 |只看该作者 |倒序浏览
环境:
备份服务器A,win2000,arcserve v7.0
客户机B,C,都装有sybase11.5,arcserve的backup agent for sybase
问题:
从B机上备份了一个数据库,恢复到原路径时不成功(已把原数据库和设备都删掉了),现象是恢复到7%时出错。恢复到C机上则成功。
从C机上备份了一个数据库,恢复到原路径时不成功(已把原数据库和设备都删掉了),现象是恢复到7%时出错。恢复到B机上则成功。
数据和日志放在不同的设备上,都作了备份。恢复时如果单个恢复,情况同上;如果同时恢复,则恢复到53%时出错。

请教了!

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2003-09-04 11:57 |只看该作者

请教:CA Arcserve V7.0备份和恢复sybase数据库的问题

出错信息!

论坛徽章:
0
3 [报告]
发表于 2003-09-04 15:21 |只看该作者

请教:CA Arcserve V7.0备份和恢复sybase数据库的问题

E8603 Failed to write to database.(DBNAME=ss,EC=Backup Agent Error - (94) "Failed to send SQL command.Please check the log file DBASYB.LOG"
以上是job log 中的一行。DBASYB.LOG中只是一些connect和disconnect的记录,并没有什么提示性的东西。
还有,我刚才测试时只删掉数据库中的表,恢复到原路径时是成功的;但是把数据库删掉就出问题了。
老大们,帮帮忙了。刚开始接触数据库备份,不大懂啊!

论坛徽章:
0
4 [报告]
发表于 2003-09-04 16:58 |只看该作者

请教:CA Arcserve V7.0备份和恢复sybase数据库的问题

If you are completely reconstructing an entire Sybase Server, you must confirm that the same database and/or log and the corresponding physical devices are defined in the Sybase Server’s master database. If they are damaged and cannot be recovered, you must drop the database and the related devices before proceeding with the restore. The Backup Agent will check the validity of each restore before it starts to restore.
Important! It is assumed that you have sufficient knowledge about the database to restore, such as the size, logical and physical names of devices, and so on.
以上是option guide 中的一段话。按此要求操作是成功的。但是为什么我恢复到另外一台sybase服务器上就不需要先建设备和数据库而直接恢复就可以呢?不过设备的名字已经不是原设备的名字了,变成了自动命名的。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2003-09-04 19:53 |只看该作者

请教:CA Arcserve V7.0备份和恢复sybase数据库的问题

测试没必要删设备吧,drop掉个表就可以了吧
你是怎么删的?操作系统删的还是?
应该是不能把整个设备k掉的

论坛徽章:
0
6 [报告]
发表于 2003-09-05 16:31 |只看该作者

请教:CA Arcserve V7.0备份和恢复sybase数据库的问题

是从sybase中delete掉的。

单独drop掉若干表在恢复时是没有问题的。看来在恢复之前先保证有和原始状态一样的设备才是保证恢复无误的前提。

谢谢你对我的回复!

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
7 [报告]
发表于 2003-09-05 16:50 |只看该作者

请教:CA Arcserve V7.0备份和恢复sybase数据库的问题

设备是不能k掉的,你试试用dd copy点东西进去,略过前面的若干字节(64k应该够了),呵呵,借用oracle的经验。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP