SAP R/3 / Backup did not run due initORACLE_SID.sap not in default path
New SAP R/3 integration backup has been properly configured but fails like this:
[Normal] From: BSM@cm.server.com "SAPbackup" Time: 6/1/2020 2:24:41 PM
OB2BAR application on "sap.server.com" successfully started.
[Normal] From: BSM@cm.server.com "SAPbackup" Time: 6/1/2020 2:24:42 PM
OB2BAR application on "sap.server.com" disconnected.
[Critical] From: BSM@cm.server.com "SAPbackup" Time: 6/1/2020 2:24:42 PM
None of the Disk Agents completed successfully.
Session has failed.
SAP Netweaver 7.40
Due SAP architecture, when the Oracle DB is installed as RAC or ASM, the initORACLE_SID.sap is placed in a different location than ORACLE_HOME.
This is in the SAP documentation:
For installations with Oracle 11g (or higher) RAC or ASM, the profile is located in the directory $SAPDATA_HOME/sapprof.
DP tries to search the file in the ORACLE_HOME:
To solve this, you can create a softlink on ORACLE_HOME to the current initORACLE_SID.sap
ln -s $SAPDATA_HOME/sapprof/initORACLE_SID.sap ORACLE_HOME/dbs/initORACLE_SID.sap
For Windows you can create a direct access link in the corresponding paths.