- 论坛徽章:
- 0
|
一个关于DUMP 的问题请教大家!
由于刚接触SYBASE,没用过压缩备份的命令.我用了以下几种方法,都提示有错误:
=============================================
Microsoft Windows 2000 [Version 5.00.2195]
(C) 版权所有 1985-2000 Microsoft Corp.
C:\>;isql -S orifound -U sa -P
1>; DUMP DATABASE ZHSGeneral to compress::9:: 'd:\dbbak\text'
2>; go
Msg 102, Level 15, State 1:
Line 1:
Incorrect syntax near 'compress:'.
1>; DUMP DATABASE ZHSGeneral to 'compress::9:: d:\dbbak\text'
2>; go
Backup Server session id is: 71. Use this value when executing the
'sp_volchanged' system stored procedure after fulfilling any volume change
request from the Backup Server.
Backup Server: 4.132.1.1: Attempting to open byte stream device: 'compress::9::
d:\dbbak\text::00'
Backup Server: 4.124.2.1: Archive API error for device='compress::9::
d:\dbbak\text::00': Vendor application name=Compress API, Library version=1, API
routine=syb_open(), Message=syb_open: open() error=22, msg=Invalid argument
Msg 8009, Level 16, State 1:
Line 1:
Error encountered by Backup Server. Please refer to Backup Server messages for
details.
1>; DUMP DATABASE ZHSGeneral to compress::8:: d:\dbbak\text
2>; go
Msg 102, Level 15, State 1:
Line 1:
Incorrect syntax near 'compress:'.
1>; DUMP DATABASE ZHSGeneral to 'compress::8:: d:\dbbak\text.bak'
2>; go
Backup Server session id is: 75. Use this value when executing the
'sp_volchanged' system stored procedure after fulfilling any volume change
request from the Backup Server.
Backup Server: 4.132.1.1: Attempting to open byte stream device: 'compress::8::
d:\dbbak\text.bak::00'
Backup Server: 4.124.2.1: Archive API error for device='compress::8::
d:\dbbak\text.bak::00': Vendor application name=Compress API, Library version=1,
API routine=syb_open(), Message=syb_open: open() error=22, msg=Invalid argument
Msg 8009, Level 16, State 1:
Line 1:
Error encountered by Backup Server. Please refer to Backup Server messages for
details.
1>; exit
===========================================
为什么?? |
|