On 19-Aug-2011 00:35, Patrick Wong wrote:
Quote:
Hello,
I am using Sybase ASA 9.0.0.1108 on a Windows 7 Professional SP1.
When running the following line in a batch file, I receive a "Specified database not found" error message:
dbbackup -c "eng=MyDatabaseSvc;dbn=SampleDb;uid=ABC;pwd=12345; " -x -y- o .\Backup\LogFile.txt .\Backup
I initially created a service (MyDatabaseSvc) and connected to the database (database name=SampleDb; database filename=demolive.db) in Sybase Central. I tried disconnecting the database, stopping the service, creating an ODBC DSN to the database. Nothing would make the message go away.
The Backup Database utility within Sybase Central works flawlessly.
I launch Sybase Central and "Run As Administrator". Same goes for the batch file.
Am I missing something? What can I do to get the batch file to run?
Regards. |
I suggest you post your question in the SQL ANywhere newsgroup. This is
sybase.public.sqlanywhere.general; the NNTP server is forums.sybase.com,
but the group can also be accessed through Google Groups.
--
HTH,
Rob V.
-----------------------------------------------------------------
Rob Verschoor
Certified Sybase Professional DBA for ASE 15.0/12.5/12.0/11.5/11.0
and Replication Server 15.0.1/12.5 // TeamSybase
Author of Sybase books (order online at www.sypron.nl/shop):
"Tips, Tricks& Recipes for Sybase ASE" (ASE 15 edition)
"The Complete Sybase ASE Quick Reference Guide"
"The Complete Sybase Replication Server Quick Reference Guide"
rob (AT) NO (DOT) SPAM.sypron.nl | www.sypron.nl | Twitter: @rob_verschoor
Sypron B.V., The Netherlands | Chamber of Commerce 27138666
-----------------------------------------------------------------