<div>Sybase Module for python had been installed successful.<br>My commands like this:<br><font style="BACKGROUND-COLOR: #66ffff">&gt;&gt;&gt; from Sybase import *<br>&gt;&gt;&gt; a = connect('SYBASE','sa','')<br>&gt;&gt;&gt; a
</font><br>&lt;Sybase.Connection instance at 0x0093BBC0&gt;<br><br><font style="BACKGROUND-COLOR: #66ffff">&gt;&gt;&gt; cur = a.cursor()<br>&gt;&gt;&gt; cur</font><br>&lt;Sybase.Cursor instance at 0x00934350&gt;<br><font color="#000000">
<font style="BACKGROUND-COLOR: #33ffff">&gt;&gt;&gt; cur.execute('dump database test to &quot;c:\\test&quot; ')</font><br></font><br>The result like this:<br><br><font style="BACKGROUND-COLOR: #ff9966">Traceback (most recent call last):
<br>&nbsp;&nbsp;File &quot;&lt;stdin&gt;&quot;, line 1, in ?<br>&nbsp;&nbsp;File &quot;D:\Python24\Lib\site-packages\Sybase.py&quot;, line 764, in execute<br>&nbsp;&nbsp;&nbsp;&nbsp;self.description = fetcher.start(self.arraysize)<br>&nbsp;&nbsp;File &quot;D:\Python24\Lib\site-packages\Sybase.py&quot;, line 515, in start
<br>&nbsp;&nbsp;&nbsp;&nbsp;return self._start_results()<br>&nbsp;&nbsp;File &quot;D:\Python24\Lib\site-packages\Sybase.py&quot;, line 619, in _start_results<br>&nbsp;&nbsp;&nbsp;&nbsp;status, result = self._cmd.ct_results()<br>&nbsp;&nbsp;File &quot;D:\Python24\Lib\site-packages\Sybase.py&quot;, line 200, in _servermsg_cb
<br>&nbsp;&nbsp;&nbsp;&nbsp;raise DatabaseError(_fmt_server(msg))<br>Sybase.DatabaseError: Msg 3216, Level 10, State 1, Line 1<br>Backup Server session id is:&nbsp;&nbsp;47.&nbsp;&nbsp;Use this value when executing the 'sp_volchan<br>ged' system stored procedure after fulfilling any volume change request from the
<br>Backup Server.<br>Msg 404101, Level 1, State 1, Procedure bs_write_header<br>Backup Server: <a href="http://4.41.1.1">4.41.1.1</a>: Creating new disk file c:\test.</font></div>
<div><font style="BACKGROUND-COLOR: #ff9966"></font>&nbsp;</div>
<div><font style="BACKGROUND-COLOR: #ffffff">But the database has been dumped successful.</font></div>
<div>&nbsp;</div>
<div>How can I dump database by python?</div>