我知道的是,备份可能是由命令
做出的dbbackup -c "userid=xxx;password=xxx" -d -t -y D:\path\to\backup
我试图使用LOAD数据库命令来还原备份,但我得到的只是一个错误报告:
Backup Server session id is: 17. Use this value when executing the
'sp_volchanged' system stored procedure after fulfilling any volume change
request from the Backup Server.
Backup Server: 4.10.2.1: Label validation error: first label not VOL1.
Backup Server: 6.31.2.4: Volume rejected.
Backup Server: 1.14.2.2: Unrecoverable I/O or volume error. This DUMP or LOAD
session must exit.
Backup Server: 6.32.2.3: /data/sybase/backup/adbname.db: volume not valid
or not requested (server: , session id: 17.)
Backup Server: 1.14.2.4: Unrecoverable I/O or volume error. This DUMP or LOAD
session must exit.
Msg 8009, Level 16, State 1:
Server 'ASE1', Line 1:
Error encountered by Backup Server. Please refer to Backup Server messages for
details.
错误表明数据库备份文件无效。 您确定它是一个Sybase ASE转储文件吗? “ .db”文件看起来比ASE备份文件更多的DB2备份文件?
首先,您没有编写恢复DB的还原命令,我认为您使用了错误的命令来获得备份。 简而言之,要获得Sybase DB的备份,您必须写下:
创建备份
backup文件存储在da \ server \ instance \ dasd ackup \ unique_backup_id。
为了加载它,您必须写下:Go
如果还原备份成功,服务器会自动关闭;您必须手动重新启动它。
resources是:
Http://infocenter.sybase.com/help/index.jsp?topic =/com.sybase.infocenter.dc36272.1570/html/html/commands/commands/x16531.htm
我将执行死灵术并从死里复活,为了其他任何人,通过互联网搜索导致此答案。
问题是ASE被用来尝试进行还原/负载,但这不是ASE数据库的备份。线索在于它谈论用于备份的“ dbbackup”的问题。那不是SAP ASE命令。
ITIS
SAPASA(自适应服务器)命令。两种不同的产品注定要失败。 “你不能从这里到达那里。”