sybase备份学习总结

本文详细介绍了在Sybase数据库中遇到的备份错误及解决方法,包括DUMP DATABASE和DUMP TRANSACTION的区别与使用,以及如何进行数据库和日志的备份与恢复操作。通过实例演示了如何处理备份过程中遇到的问题,确保数据的安全迁移。
摘要由CSDN通过智能技术生成


一、错误

   1.  一开始用sybase示例库pubs2进行备份,报如下错误

  Syslogs does not exist in its own segment in database 'test' with segmap '7'with logical start page number of '0'. You cannot use DUMP TRANSACTION in this case, use DUMP DATABASE instead.
  删除日志段的设备(master.dat)并重新分配日志设备后后执行备份,报如下错误

   2.DUMP TRANSACTION for database 'DBname' failed: log page (1030) is on a data-only segment. This is probably due to an incomplete move of the log to a device separate from the data. Complete the log migration or contact the System Administrator.

  ××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

   to resolve the error:

  1. Run dbcc checktable(syslogs) to determine which page is currently in use.

  2. Execute enough transactions to fill the extent currentlyin use. The fo

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值