on 04-11-2012 2:31 PM
Hi
We have a system that crashed completely, and we only have the system data backup on tape. There unfortunately was no OS, SAP or MaxDB executables backed up. The backup history is gone. I have since then reinstalled the SAP system and i now want to recover the backup from tape.
Can anyone point me in the right direction to get this to work? I have tried recovering using the MaxDB GUI, using the exact same medium name, but it does not pick up the netbackup backup.
MaxDB version is 7.8.01.14
Backup tool is Netbackup
Any assistance will be appreciated.
Robert
Look in the following MaxDB log files (with MaxDB Database Studio e.g.) and locate the exact error which prevents your restore:
- External Backup Log
- Database Errors
- Database Messages
I would also update to the current version 7.8.02.28 and set the recommended parameters before running the next restore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Sorry about the delayed response, here are the extracts from the files you requested:
DATABASE ERROR
--------------
Thread 0x1D Task 208 2012-04-10 16:10:13 ERR RTEIO 113: medium /sapdb/pipe1 cannot be opened for READ access,_FILE=RTEIO_StreamMedium+noPIC.cpp,_LINE=1261
DESCRIPTION:
Medium /sapdb/pipe1 cannot be opened for READ access.
ACTION:
Contact your system administrator. Show him the error message which points to an operating system configuration error and then contact the database support if your system administrator can not fix the error.
2012-04-10 16:10:13 ERR RTEIO 1: The opening of path '/sapdb/pipe1' failed,DESCRIPTION=open(READ,EXISTING),ERRORTEXT=No such file or directory,RETURNCODE=2,_FILE=RTEIO_StreamMedium+noPIC.cpp,_LINE=4908
DESCRIPTION:
An attempt to open the path '/sapdb/pipe1' failed. The operating system returned the error code 2 and the error text 'No such file or directory'. The complete command line reads 'open(READ,EXISTING)'.
Thread 0x23 Task 97 2012-04-10 16:10:13 ERR RESTORE 52012: error occured, basis_err 3700
Thread 0x23 Task 97 2012-04-10 16:10:13 AdminMsg 0: 4F843F45005E 0000 IC1 RETURNCODE -903;CREATE INSTANCE WITH RESTORE DATA FROM '/sapdb/pipe1' PIPE BLOCKSIZE 8 MEDIANAME
Thread 0x23 Task 97 2012-04-10 16:10:13 ERR Recovery 6: Data recovery failed,_FILE=Kernel_Administration+noPIC.cpp,_LINE=1999
2012-04-10 16:10:13 SrvTasks 17: Servertask Info: because Error in backup task occured
2012-04-10 16:10:13 SrvTasks 10: Job 1 (Backup / Restore Medium Task) [executing] WaitingT97 Result=3700
2012-04-10 16:10:13 KernelComm 6: Error in backup task occured, Error code 3700 "hostfile_error"
2012-04-10 16:10:13 Backup 1: Backupmedium #1 (/sapdb/pipe1) Could not open stream
2012-04-10 16:10:13 KernelComm 6: Backup error occured, Error code 3700 "hostfile_error"
Thread - Task - 2012-04-10 16:11:52 ERR Messages 13: Extension of message file KnlMsgArchive by 4096 failed,_FILE=Msg_OutputFile+noPIC.cpp,_LINE=1160
DESCRIPTION:
An attempt to extend the file KnlMsgArchive by 4096 was made. This was aborted, probably because no more free space is available on the file system.
Thread - Task - 2012-04-10 16:11:52 ERR Messages 13: Extension of message file KnlMsgArchive by 4096 failed,_FILE=Msg_OutputFile+noPIC.cpp,_LINE=1160
DESCRIPTION:
An attempt to extend the file KnlMsgArchive by 4096 was made. This was aborted, probably because no more free space is available on the file system.
Thread - Task - 2012-04-10 16:11:52 ERR Messages 13: Extension of message file KnlMsgArchive by 4096 failed,_FILE=Msg_OutputFile+noPIC.cpp,_LINE=1160
DESCRIPTION:
An attempt to extend the file KnlMsgArchive by 4096 was made. This was aborted, probably because no more free space is available on the file system.
Thread 0x1 Task - 2012-04-11 11:09:11 ERR Messages 7: Begin of dump of registered messages,_FILE=Msg_Registry+noPIC.cpp,_LINE=507
Thread 0x1 Task - 2012-04-10 16:10:13 ERR RTEIO 1: The opening of path '/sapdb/pipe1' failed,DESCRIPTION=open(READ,EXISTING),ERRORTEXT=No such file or directory,RETURNCODE=2,_FILE=RTEIO_StreamMedium+noPIC.cpp,_LINE=4908
DESCRIPTION:
An attempt to open the path '/sapdb/pipe1' failed. The operating system returned the error code 2 and the error text 'No such file or directory'. The complete command line reads 'open(READ,EXISTING)'.
Thread 0x1 Task - 2012-04-11 11:09:11 ERR Messages 8: End of the message list registry dump,_FILE=Msg_Registry+noPIC.cpp,_LINE=544
EXTERNAL BACKUP LOG
-------------------
------------------ Start of a new external backup tool action ------------------
2012-04-11 11:11:14
Setting environment variable 'TEMP' for the directory for temporary files and pipes to default ''.
Using environment variable 'TMP' with value '/var/tmp' as directory for temporary files and pipes.
Using MaxDB Kernel Process.
Using connection to Backint for MaxDB Interface.
2012-04-11 11:11:14
Checking existence and configuration of Backint for MaxDB.
Using configuration variable 'BSI_ENV' = '/usr/openv/netbackup/ext/db_ext/sap/scripts/sap_maxdb/bsidaily.env' as path of the configuration file of Backint for MaxDB.
Setting environment variable 'BSI_ENV' for the path of the configuration file of Backint for MaxDB to configuration value '/usr/openv/netbackup/ext/db_ext/sap/scripts/sap_maxdb/bsidaily.env'.
Reading the Backint for MaxDB configuration file '/usr/openv/netbackup/ext/db_ext/sap/scripts/sap_maxdb/bsidaily.env'.
Found keyword 'BACKINT' with value '/usr/openv/netbackup/bin/backint'.
Found keyword 'INPUT' with value '/sapdb/ZBP/data/wrk/ZBP/backint.in'.
Found keyword 'OUTPUT' with value '/sapdb/ZBP/data/wrk/ZBP/backint.out'.
Found keyword 'ERROROUTPUT' with value '/sapdb/ZBP/data/wrk/ZBP/backint.err'.
Found keyword 'PARAMETERFILE' with value '/usr/openv/netbackup/ext/db_ext/sap/scripts/sap_maxdb/initZBPdaily.utl'.
Finished reading of the Backint for MaxDB configuration file.
Using '/usr/openv/netbackup/bin/backint' as Backint for MaxDB program.
Using '/sapdb/ZBP/data/wrk/ZBP/backint.in' as input file for Backint for MaxDB.
Using '/sapdb/ZBP/data/wrk/ZBP/backint.out' as output file for Backint for MaxDB.
Using '/sapdb/ZBP/data/wrk/ZBP/backint.err' as error output file for Backint for MaxDB.
Using '/usr/openv/netbackup/ext/db_ext/sap/scripts/sap_maxdb/initZBPdaily.utl' as parameter file for Backint for MaxDB.
Using '300' seconds as timeout for Backint for MaxDB in the case of success.
Using '300' seconds as timeout for Backint for MaxDB in the case of failure.
Using '/sapdb/ZBP/data/wrk/ZBP/dbm.knl' as backup history of a database to migrate.
Using '/sapdb/ZBP/data/wrk/ZBP/dbm.ebf' as external backup history of a database to migrate.
Checking availability of backups using backint's inquire function.
Check passed successful.
2012-04-11 11:11:14
Preparing query for available backups.
Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
Setting environment variable 'BI_REQUEST' to value 'NEW'.
Setting environment variable 'BI_BACKUP' to value ''.
Restoring the needed Backup History files.
Have encountered error -24925:
Can not flush file '/sapdb/ZBP/data/wrk/dbmsrv_sisol02z01.err'.
(System error 2; No such file or directory)
Constructed the following reply:
ERR
-24925,ERR_PREPARE: preparation of backup operation failed
Can not flush file '/sapdb/ZBP/data/wrk/dbmsrv_sisol02z01.err'.
(System error 2; No such file or directory)
The database messages file did not have anything relevant to this restore.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.