cancel
Showing results for 
Search instead for 
Did you mean: 

SAP log backup

jinxnbu
Level 5

I have installed nbu 7.6 on a new system with sap. I am trying to conifgure policy to backup redo logs and edited the redolog script, the util file and the initsap.sap file as mentioned in the admin guide. However when initiate a backup the nbu job completes successfully in  a few seconds. On checking the bphdb logs I can see following error in the sap_stdout log

CONNECT system/*******'
ORA-01017: invalid username/password; logon denied

In the stderr log file I see the below error

SAP_POLICY=xxxxx_LOG: Command not found.
export: Command not found.

 

I have checked with the dba and they insist the password for system account is correct. However the question back to me is from where does netbackup pick up the user account "system" and its password since its not hardcoded anywhere in the config files of netbackup. 

The linking of Netbackup with SAP has also been done. (Oracle db without RMAN )

Please advice if I am missing anything in the config. 

Thanks in advance. 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   

First of all - you are asking two different questions. Lets be sure to separate those :D

Secondly - I have never used Symantec Scripts - we used our own scripts.

Q1: from SAP manual page 50

Modify the script according to the instructions in the file.
On UNIX or Linux, remember to edit the lines that starts with su. If you do not
include su - user in your script, it does not run with the proper account and
environment variables. (user is the SAP administrator account.) This situation
can lead to problems with database backups and restores

I guess this means the oraSID user need sysdba privileges within the Oracle Database

See : 

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9e626b1c-0d01-0010-b2ba-cfa2443c1cce?overridelayout=true 

http://scn.sap.com/thread/1204130

Q2: SAP_POLICY - is normal a environment variable. Are you missing the $ in front of the POLICY name  ?

 

View solution in original post

1 REPLY 1

Nicolai
Moderator
Moderator
Partner    VIP   

First of all - you are asking two different questions. Lets be sure to separate those :D

Secondly - I have never used Symantec Scripts - we used our own scripts.

Q1: from SAP manual page 50

Modify the script according to the instructions in the file.
On UNIX or Linux, remember to edit the lines that starts with su. If you do not
include su - user in your script, it does not run with the proper account and
environment variables. (user is the SAP administrator account.) This situation
can lead to problems with database backups and restores

I guess this means the oraSID user need sysdba privileges within the Oracle Database

See : 

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9e626b1c-0d01-0010-b2ba-cfa2443c1cce?overridelayout=true 

http://scn.sap.com/thread/1204130

Q2: SAP_POLICY - is normal a environment variable. Are you missing the $ in front of the POLICY name  ?