Hi Mailinglist,
i tried since last Friday to migrate a database from Win NT to Win 2K. I work with SAP
DB 7.4.3.25. First i make a complete databackup. I copied this file to the new machine
and there i want to recover the database with dbmcli. But i fail every time, because
on the new machine is no backuphistory. With the dbmgui, it no problem, but i wanted
to write a batchfile, which does this job. Someone out of the mailinglist sends me an
batchfile, but it does not work either. the *.knl file says everytime:
3F2E48B70002| |HISTLOST | | |2003-08-04
13:51:19| | | | |
| | | 0|
|
3F2E48B70003|DAT_00012|RESTORE |2003-08-04 12:48:34|2003-08-04 12:48:34|2003-08-04
13:51:19|2003-08-04 13:51:25| 2928| |NO |Datensicherung
| 1072| 1| 0|
|
My batchfile contains:
dbmcli -d KNL_SAMM -u ROOT,TELEKOM db_drop
dbmcli db_create KNL_SAMM ROOT,TELEKOM
dbmcli -d KNL_SAMM -u ROOT,TELEKOM -i D:\Datenbankrecovery\command.dat
And in the command.dat stands:
medium_put Datensicherung D:\Datenbankrecovery\KNL_SAMM.backup FILE DATA 1300 8 YES NO
medium_getall
service_connect
recover_config Datensicherung
service_release
param_startsession
param_put RUNDIRECTORY D:\programme\sapdb\indep_data\wrk\KNL_SAMM
param_put DIAG_HISTORY_PATH D:\programme\sapdb\indep_data\wrk\KNL_SAMM\DIAGHISTORY
param_checkall
param_commitsession
db_admin
util_connect
util_execute init config
util_release
util_connect
recover_start Datensicherung DATA
util_release
db_online
And the last command is the problem, it is not possible to set the new database
online. Why?? Where is the failure?
Greeting and thanks,
Andreas
______________________________________________________________________________
Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021120
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general