dbTalk Databases Forums  

Specified Database Not Found -- dbbackup

comp.databases.sybase comp.databases.sybase


Discuss Specified Database Not Found -- dbbackup in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Patrick Wong
 
Posts: n/a

Default Specified Database Not Found -- dbbackup - 08-18-2011 , 05:35 PM






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 batchfile.

Am I missing something? What can I do to get the batch file to run?

Regards.

Reply With Quote
  #2  
Old   
Rob V
 
Posts: n/a

Default Re: Specified Database Not Found -- dbbackup - 08-19-2011 , 03:34 AM






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
-----------------------------------------------------------------

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.