How to restore sybase database (unknown version of db)

I have a database file (* .db) that needs to be restored.

The bad news is that the end user has zero idea of ​​the database version. I don’t know the password. The original developer is lost. The installed computer has been formatted. We have no experience with this database software. Yes, a nightmare.

My guess is the old database. I am trying to open it in Sybase 11, dev edition.

I follow these steps: http://dcx.sybase.com/1101en/sachanges_en11/unloading-reloading-upgrading-newjasper.html

I am trying to use the UNLOAD utility from the command line and from the central Sybase utility. From the command line:

./dbinfo -c "DBF=/Users/mamcx/Downloads/CEMDE_ENDOCRINO_S.A.DB;UID=DBA;PWD=sql" 
SQL Anywhere Information Utility Version 11.0.1.2045
Unable to start specified database: '/Users/mamcx/Downloads/CEMDE_ENDOCRINO_S.A.DB' was created by a different version of the software

Ok, I'm trying to unload:

./dbunload -c "DBF=/Users/mamcx/Downloads/CEMDE_ENDOCRINO_S.A.DB;UID=DBA;PWD=sql" -n /Users/mamcx/Desktop/
SQL Anywhere Unload Utility Version 11.0.1.2045
Connecting and initializing
***** SQL error: Unable to start database server

Ok, using the server administration tool:

dbunload -v -c "UID=dba;PWD=***;DBF=/Users/mamcx/Downloads/CEMDE_ENDOCRINO_S.A.DB" -an "/Users/mamcx/Desktop/baba.db" -ap 4096 -ea None -ii -sa -so _sc866192545
Connecting and initializing
***** SQL error: Unable to start database server
An error occurred while attempting to unload the database '/Users/mamcx/Downloads/CEMDE_ENDOCRINO_S.A.DB'.

, ? ?

+3
2

, , .

. ODBC, .

Sybase. , .

0

-z -o server.out. server.out , , . , -, SQL Anywhere.

http://sqlanywhere-forum.sap.com/.

0

Source: https://habr.com/ru/post/1733979/


All Articles