【发布时间】:2017-01-25 17:04:04
【问题描述】:
我怎样才能恢复(或以某种体面的形式读取)我被要求分析的 sybase 备份?
我从 sybase 数据库获得了一个备份,其中包含一个 .db 和一个 .log 文件。
我是 sybase 新手,无法访问原始系统,也没有关于这些文件包含的数据库结构的任何信息。
据我所知,备份可能是通过命令进行的
dbbackup -c "userid=xxx;password=xxx" -d -t -y D:\path\to\backup
有人要求我分析数据库的内容,为此我在 RedHat 7 上设置了 SAP ASE 16.0。
我尝试使用 load database 命令恢复备份,但得到的只是错误报告:
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.
【问题讨论】: