How to backup and restore sybase database tables using command line [closed]
How can I backup my sybase tables and restore using command line? please help me with the command using bcp I have tried using sybase central GUI Thanks. Michael Gardner Since you didn't specify whether you are running on Windows or Unix I'll try to cover both. Unix bcp is located in $SYBASE/$SYBASE_OCS/bin/ Windows bcp is located in %SYBASE%\%SYBASE_OCS%\bin Export bcp DB_NAME..TABLE_NAME out TABLE_NAME.bcp -Sservername -Uusername -Ppassword -[c or n] Choose either -c or -n depending if you want the file to be human readable or not. I recommend using -n unless you have a compelling need to