Hallo,<br>
<br>
I try to recover a Database with the HP Data Protector Plug-in. I had made a Full-Backup and a Trans-Backup. These sessions were terminated successfully. <br><br><br>
<br>
After that i had deleted the Data volume and the Log volume of the database and rebooted the Server. Now I want recover the Database.<br><br><br>
<br>
Following actions are done by Data Protector:<br><br>
Executing the dbmcli command: `user_logon'.<br> Executing the dbmcli command: `dbm_configset -raw BSI_ENV /var/opt/omni/tmp/DEMODB.bsi_env'.<br> Executing the dbmcli command: `db_admin'.<br> Executing the dbmcli command: `dbm_configset -raw set_variable_10 OB2BACKUPAPPNAME=DEMODB'.<br> Executing the dbmcli command: `dbm_configset -raw set_variable_11 OB2BACKUPHOSTNAME=n4shost.sapdb.local'.<br> Executing the dbmcli command: `util_connect'.<br> Restoring backup 2009/06/04 0020.<br> Executing the dbmcli command: `medium_put BACKDP-Data[1]/1 /var/opt/omni/tmp/DEMODB.BACKDP-Data[1].1 PIPE DATA 0 8 NO NO \"\" BACK'.<br> Executing the dbmcli command: `recover_start BACKDP-Data[1] DATA ExternalBackupID "DEMODB 09060420:1 Stream"'.<br><br> STARTING Media Agent "LTO_drive2"<br><br> Starting OB2BAR Restore: n4shost.sapdb.local:/DEMODB/Data/1 "SAPDB"<br><br> Completed OB2BAR Restore: n4shost.sapdb.local:/DEMODB/Data/1 "SAPDB"<br><br> Restoring backup 2009/06/04 0021.<br><br> Executing the dbmcli command: `medium_put BACKDP-Archive/1 /var/opt/omni/tmp/DEMODB.BACKDP-Archive.1 PIPE LOG 0 8 NO NO \"\" BACK'.<br><br> Executing the dbmcli command: `db_state'.<br><br> Executing the dbmcli command: `recover_start BACKDP-Archive LOG ExternalBackupID "DEMODB 09060421:1 Stream"'.<br><br> Starting OB2BAR Restore: n4shost.sapdb.local:/DEMODB/Data/1 "SAPDB"<br><br> Completed OB2BAR Restore: n4shost.sapdb.local:/DEMODB/Data/1 "SAPDB"<br><br> Executing the dbmcli command: `db_state'.<br><br> Executing the dbmcli command: `recover_start BACKDP-Archive LOG ExternalBackupID "DEMODB 09060421:2 Stream"'.<br><br> Error: SAPDB responded with: -24920,ERR_BACKUPOP: backup operation was unsuccessful<br> The database was unable to fulfill a request (-1, ).<br> .<br><br> Executing the dbmcli command: `exit'.
<br>
<br>
<br>
The recovery of the last Full-Backup is successful. But the logfiles not.<br>
<br>
First time I get this error in the Kernel log:<br>
2009-06-04 17:25:57 35 ERR 11000 d0_vatta Cannot open volume, No such file or directory <br> 2009-06-04 17:25:57 35 ERR 11000 d0_vatta Volume name 'DISKL0001'
<br>
(DISKL001 is my Database Log file)<br>
I had generated a new Log-File with db_activate.<br>
<br>
Now I get:<br>
2009-06-04 17:50:09 24 ERR 51080 SYSERROR -9407 unexpected error<br> 2009-06-04 17:50:09 24 ERR 3 Admin Kernel_Administration.cpp:606<br> 2009-06-04 17:50:09 24 ERR 3 Admin 2009-06-04 17:50:09 Admin Error 3<br> 2009-06-04 17:50:09 24 ERR 3 Admin Database state: OFFLINE<br> 2009-06-04 17:50:09 24 ERR 3 Admin + Log_Volume.cpp:342<br> 2009-06-04 17:50:09 24 ERR 3 Admin + 2009-06-04 17:50:09 Log Error 20040<br> 2009-06-04 17:50:09 24 ERR 3 Admin - Logrecovery is not allowed, because state of log volume is 'HistoryLost' (log must be cleared)<br> 2009-06-04 17:50:09 24 ERR 3 Admin + Log_Volume.cpp:343<br> 2009-06-04 17:50:09 24 ERR 3 Admin + 2009-06-04 17:50:09 Log Info 8<br> 2009-06-04 17:50:09 24 ERR 3 Admin - Log- and Data are not compatible because 'Restore Log with Log State 'HistoryLost' is not allowed'.<br> 2009-06-04 17:50:09 24 ERR 3 Admin + Kernel_Administration.cpp:762<br> 2009-06-04 17:50:09 24 ERR 3 Admin + 2009-06-04 17:50:09 Admin Warning 20025<br> 2009-06-04 17:50:09 24 ERR 3 Admin - Initialization of log for 'restore log' failed with 'LogAndDataIncompatible'<br> 2009-06-04 17:50:11 0 ERR 12009 DBCRASH Kernel exited due to signal 0(Killed after timeout with state SERVER_KILL)<br> 2009-06-04 17:50:11 ___ Stopping GMT 2009-06-04 15:50:11 7.6.00 Build 018-123-119-055
<br>
<br>
How can I clear the History Log. I had try rename the dbm.knl file. Now the Backup history in the dbmcli is empty. But the error is still there.<br>
<br>
Can anyone help me to fix this issue?<br>
<br>
Thanks to everyone!<br>
Edited by: Timm Letzel on Jun 4, 2009 6:59 PM