Hi Andreas,

The following works fine for me (I just extended your script):

medium_put Datensicherung E:\backup.sve FILE DATA 1300 8 YES NO
medium_getall
service_connect
recover_config Datensicherung
service_release
>
db_cold
> util_connect
> util_execute init config
> util_release
> util_connect
> recover_start
Datensicherung DATA
> util_release
> db_warm

Greets
        Andre

--
Andre Seidelt
Softwareentwicklung EWS-18
BIOTRONIK GmbH & Co.
Woermannkehre 1
D-12359 Berlin
Germany

Tel (+49 30) 6 89 05 - 2910
Email [EMAIL PROTECTED]



"Andreas Grund" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

31.07.2003 16:21

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Why doesn�t the following script work?



Hi,

i created a batch-file with the three commands:
dbmcli -d KNL_SAMM -u <sysdba>,<password> db_drop
dbmcli db_create KNL_SAMM <sysdba>,<password>
dbmcli -d KNL_SAMM -u <sysdba>,<password> -i E:\command.dat

In the command.dat are listet:
medium_put Datensicherung E:\backup.sve FILE DATA 1300 8 YES NO
medium_getall
service_connect
recover_config Datensicherung
service_release
db_admin
util_connect
recover_start Datensicherung DATA
util_release
db_restart
db_state

With this batchfile i tried to write a file, which is doubleclick and it installs out of an backup the database. But when the script get to the db_restart command, i get the error -24895 ERR_SHUTDOWN: shutdown of database occured -71,connection broken.

Why doesn�t this script work? Where is my failure? Can anybody help my, please??

Thanks in advanced and greetings,
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




Reply via email to