02-26-2013 06:36 AM
hi,
i read the admin guide. i have used the command
"brrestore -d util_file -b last -m full -c force"
but no success. can some one guide me wher i m wrong.
i take a backup via netbackup policy usind SAP. it runs successfully.
for restoration can i chnage the initxyz.utl file ? if yes then which line i modify.
your prompt response is highly appriciated.
regards
Solved! Go to Solution.
02-28-2013 05:48 PM
Hello Noman,
Similar issues encountered under "http://scn.sap.com/thread/1404076". They reset the "system" password or enabled the SAP NBU policy as it was disabled..
Regards,
02-26-2013 08:19 AM
hi support,
can some one help me for the above issue?
02-26-2013 10:54 AM
Sorry - this is not Support... See the link called 'Contact Technical Support' at the bottom of the page for Support.
This is NetBackup Community forum where fellow users try to help from own experience. The amount of assistance that you may receive will be limited because you have selected 'PartnerNet Group' only.
For Connect Community to help you, please provide as much info as possible:
NBU version and patch level on SAP client.
Solaris version on client.
Restore to same or alternate client?
Have you created any log folders (with 777 permissions) on SAP client as per Troubleshooting section in the manual? Can you please post those logs as File attachments?
Do you have bprd log on master server? Please post as File attachment.
You say "but no success."
What does that mean? Are you getting any error messages? If so, please share.
Does job show up in Activity Monitor? If so, please post all text in Details tab.
02-26-2013 11:21 AM
hi marianne,
thanx for your reply.
1. first i run the backup
brbackup -u / -c -d util_file -t online -m /oracle/SLM/sapdata3
BR0051I BRBACKUP 7.00 (40)
BR0055I Start of database backup: bekpgevm.pnf 2013-02-21 14.50.22
BR0484I BRBACKUP log file: /oracle/SLM/sapbackup/bekpgevm.pnf
BR0477I Oracle pfile /oracle/SLM/112_64/dbs/initSLM.ora created from spfile /oracle/SLM/112_64/dbs/spfileSLM.ora
BR0280I BRBACKUP time stamp: 2013-02-21 14.50.39
BR0319I Control file copy created: /oracle/SLM/sapbackup/cntrlSLM.dbf 15843328
BR0280I BRBACKUP time stamp: 2013-02-21 14.50.39
BR0057I Backup of database: SLM
BR0058I BRBACKUP action ID: bekpgevm
BR0059I BRBACKUP function ID: pnf
BR0110I Backup mode: PARTIAL
BR0077I Database files for backup:
/oracle/SLM/sapdata3/sr3701_1/sr3701.data1
/oracle/SLM/sapdata3/sr3701_2/sr3701.data2
/oracle/SLM/sapdata3/sr3701_3/sr3701.data3
/oracle/SLM/sapdata3/sr3701_4/sr3701.data4
/oracle/SLM/sapdata3/sr3701_5/sr3701.data5
/oracle/SLM/sapbackup/cntrlSLM.dbf
BR0061I 6 files found for backup, total size 16585.148 MB
BR0143I Backup type: online
BR0130I Backup device type: util_file
BR0109I Files will be saved by backup utility
BR0126I Unattended mode active - no operator confirmation required
BR0280I BRBACKUP time stamp: 2013-02-21 14.50.43
BR0315I 'Alter tablespace PSAPSR3701 begin backup' successful
BR0280I BRBACKUP time stamp: 2013-02-21 14.50.43
BR0229I Calling backup utility with function 'backup'...
BR0278I Command output of '/usr/sap/SLM/SYS/exe/run/backint -u SLM -f backup -i /oracle/SLM/sapbackup/.bekpgevm.lst -t file -p /oracle/SLM/112_64/dbs/initSLM.utl -c':
WARNING: sort_backup_type not specified in .utl file
WARNING: default sort_backup_type to <size> for backup
********************************************************************************
Program: /usr/sap/SLM/SYS/exe/run/backint 7.5
Input File: /oracle/SLM/sapbackup/.bekpgevm.lst
Profile: /oracle/SLM/112_64/dbs/initSLM.utl
Function: BACKUP
Backup Type: BACKUP_FILE
********************************************************************************
[19865.01] 14:50:58 INF - Processing /oracle/SLM/sapdata3/sr3701_1/sr3701.data1
14:50:58.820 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_1/sr3701.data1> is in progress.
[19865.01] 14:51:00 INF - Data buffer size = 262144
[19865.01] 14:51:05 INF - Using Media ID @AAAAB for Backup ID slmntc_1361440171
[19865.01] 14:54:04 INF - Using Media ID @AAAAB for Backup ID slmntc_1361440171
[19865.01] 14:55:54 INF - Processing /oracle/SLM/sapdata3/sr3701_2/sr3701.data2
14:55:54.861 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_2/sr3701.data2> is in progress.
[19865.01] 14:57:09 INF - Using Media ID @AAAAB for Backup ID slmntc_1361440171
[19865.01] 15:00:10 INF - Using Media ID @AAAAB for Backup ID slmntc_1361440171
[19865.01] 15:01:51 INF - Processing /oracle/SLM/sapdata3/sr3701_3/sr3701.data3
15:01:51.910 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_3/sr3701.data3> is in progress.
[19865.01] 15:03:14 INF - Using Media ID @AAAAB for Backup ID slmntc_1361440171
[19865.01] 15:06:22 INF - Using Media ID @AAAAB for Backup ID slmntc_1361440171
[19865.01] 15:09:25 INF - Using Media ID @AAAAB for Backup ID slmntc_1361440171
[19865.01] 15:11:26 INF - Processing /oracle/SLM/sapdata3/sr3701_4/sr3701.data4
15:11:26.989 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_4/sr3701.data4> is in progress.
[19865.01] 15:12:30 INF - Using Media ID @AAAAB for Backup ID slmntc_1361440171
[19865.01] 15:15:32 INF - Using Media ID @AAAAB for Backup ID slmntc_1361440171
[19865.01] 15:16:14 INF - Processing /oracle/SLM/sapdata3/sr3701_5/sr3701.data5
15:16:15.028 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_5/sr3701.data5> is in progress.
[19865.01] 15:17:03 INF - Processing /oracle/SLM/sapbackup/cntrlSLM.dbf
15:17:04.035 [19865] <1> : Backup of </oracle/SLM/sapbackup/cntrlSLM.dbf> is in progress.
15:17:10.036 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_1/sr3701.data1> is done.
15:17:10.037 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_2/sr3701.data2> is done.
15:17:10.037 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_3/sr3701.data3> is done.
15:17:10.037 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_4/sr3701.data4> is done.
15:17:10.037 [19865] <1> : Backup of </oracle/SLM/sapdata3/sr3701_5/sr3701.data5> is done.
15:17:10.037 [19865] <1> : Backup of </oracle/SLM/sapbackup/cntrlSLM.dbf> is done.
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.10
#FILE..... /oracle/SLM/sapdata3/sr3701_1/sr3701.data1
#SAVED.... VXF1361440171
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.10
#FILE..... /oracle/SLM/sapdata3/sr3701_2/sr3701.data2
#SAVED.... VXF1361440171
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.10
#FILE..... /oracle/SLM/sapdata3/sr3701_3/sr3701.data3
#SAVED.... VXF1361440171
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.10
#FILE..... /oracle/SLM/sapdata3/sr3701_4/sr3701.data4
#SAVED.... VXF1361440171
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.10
#FILE..... /oracle/SLM/sapdata3/sr3701_5/sr3701.data5
#SAVED.... VXF1361440171
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.10
#FILE..... /oracle/SLM/sapbackup/cntrlSLM.dbf
#SAVED.... VXF1361440171
********************************************************************************
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.10
BR0232I 6 of 6 files saved by backup utility
BR0230I Backup utility called successfully
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.20
BR0317I 'Alter tablespace PSAPSR3701 end backup' successful
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.20
BR0340I Switching to next online redo log file for database instance SLM ...
BR0321I Switch to next online redo log file for database instance SLM successful
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.23
BR0229I Calling backup utility with function 'backup'...
BR0278I Command output of '/usr/sap/SLM/SYS/exe/run/backint -u SLM -f backup -i /oracle/SLM/sapbackup/.bekpgevm.lst -t file -p /oracle/SLM/112_64/dbs/initSLM.utl -c':
WARNING: sort_backup_type not specified in .utl file
WARNING: default sort_backup_type to <size> for backup
********************************************************************************
Program: /usr/sap/SLM/SYS/exe/run/backint 7.5
Input File: /oracle/SLM/sapbackup/.bekpgevm.lst
Profile: /oracle/SLM/112_64/dbs/initSLM.utl
Function: BACKUP
Backup Type: BACKUP_FILE
********************************************************************************
[20080.01] 15:17:36 INF - Processing /oracle/SLM/11203/dbs/initSLM.ora
15:17:36.660 [20080] <1> : Backup of </oracle/SLM/112_64/dbs/initSLM.ora> is in progress.
[20080.01] 15:17:37 INF - Processing /oracle/SLM/11203/dbs/spfileSLM.ora
15:17:37.661 [20080] <1> : Backup of </oracle/SLM/112_64/dbs/spfileSLM.ora> is in progress.
[20080.01] 15:17:37 INF - Data buffer size = 262144
[20080.01] 15:17:38 INF - Processing /oracle/SLM/11203/dbs/initSLM.sap
15:17:39.662 [20080] <1> : Backup of </oracle/SLM/112_64/dbs/initSLM.sap> is in progress.
[20080.01] 15:17:40 INF - Processing /oracle/SLM/11203/dbs/initSLM.utl
15:17:40.663 [20080] <1> : Backup of </oracle/SLM/112_64/dbs/initSLM.utl> is in progress.
[20080.01] 15:17:41 INF - Processing /oracle/SLM/sapreorg/spaceSLM.log
15:17:41.664 [20080] <1> : Backup of </oracle/SLM/sapreorg/spaceSLM.log> is in progress.
[20080.01] 15:17:42 INF - Processing /oracle/SLM/sapbackup/bekpgevm.pnf
15:17:42.664 [20080] <1> : Backup of </oracle/SLM/sapbackup/bekpgevm.pnf> is in progress.
[20080.01] 15:17:43 INF - Using Media ID @AAAAB for Backup ID slmntc_1361441767
[20080.01] 15:17:43 INF - Processing /oracle/SLM/sapbackup/backSLM.log
15:17:44.666 [20080] <1> : Backup of </oracle/SLM/sapbackup/backSLM.log> is in progress.
15:17:48.667 [20080] <1> : Backup of </oracle/SLM/112_64/dbs/initSLM.ora> is done.
15:17:48.668 [20080] <1> : Backup of </oracle/SLM/112_64/dbs/spfileSLM.ora> is done.
15:17:48.668 [20080] <1> : Backup of </oracle/SLM/112_64/dbs/initSLM.sap> is done.
15:17:48.668 [20080] <1> : Backup of </oracle/SLM/112_64/dbs/initSLM.utl> is done.
15:17:48.668 [20080] <1> : Backup of </oracle/SLM/sapreorg/spaceSLM.log> is done.
15:17:48.668 [20080] <1> : Backup of </oracle/SLM/sapbackup/bekpgevm.pnf> is done.
15:17:48.668 [20080] <1> : Backup of </oracle/SLM/sapbackup/backSLM.log> is done.
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.48
#PFLOG.... /oracle/SLM/112_64/dbs/initSLM.ora
#SAVED.... VXF1361441767
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.48
#PFLOG.... /oracle/SLM/112_64/dbs/spfileSLM.ora
#SAVED.... VXF1361441767
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.48
#PFLOG.... /oracle/SLM/112_64/dbs/initSLM.sap
#SAVED.... VXF1361441767
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.48
#PFLOG.... /oracle/SLM/112_64/dbs/initSLM.utl
#SAVED.... VXF1361441767
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.48
#PFLOG.... /oracle/SLM/sapreorg/spaceSLM.log
#SAVED.... VXF1361441767
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.48
#PFLOG.... /oracle/SLM/sapbackup/bekpgevm.pnf
#SAVED.... VXF1361441767
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.48
#PFLOG.... /oracle/SLM/sapbackup/backSLM.log
#SAVED.... VXF1361441767
********************************************************************************
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.48
BR0232I 7 of 7 files saved by backup utility
BR0230I Backup utility called successfully
BR0056I End of database backup: bekpgevm.pnf 2013-02-21 15.17.48
BR0280I BRBACKUP time stamp: 2013-02-21 15.17.49
BR0052I BRBACKUP completed successfully
2. i want to restore to same client.
brrestore -d util_file_online -b last -m full -c force
BR0401I BRRESTORE 7.00 (40)
BR0169I Value 'util_file_online' of parameter/option 'backup_dev_type/-d' ignored for 'brrestore' - 'util_file' assumed
BR0405I Start of file restore: rekqfbdj.rsb 2013-02-26 16.12.03
BR0484I BRRESTORE log file: /oracle/SLM/sapbackup/rekqfbdj.rsb
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_1' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_10' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_2' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_3' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_4' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_5' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_6' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_7' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_8' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata2/sr3_9' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata3/sr3701_1' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata3/sr3701_2' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata3/sr3701_3' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata3/sr3701_4' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata3/sr3701_5' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata4/sr3db_1' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata4/sr3db_2' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata4/sr3db_3' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata4/sr3usr_1' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata1/undo_1' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata1/sysaux_1' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata1/system_1' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata1/system_2' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0252E Function mkdir() failed for '/oracle/SLM/sapdata1/cntrl' at location BrDirCreate-1
BR0253E errno 2: No such file or directory
BR0406I End of file restore: rekqfbdj.rsb 2013-02-26 16.12.04
BR0280I BRRESTORE time stamp: 2013-02-26 16.12.04
BR0404I BRRESTORE terminated with errors
02-26-2013 11:22 AM
in above sceniero SAP/oracle instances was down.
i also try to restore after up the SAP/oracle instances and run the command via brtool
brrestore -d util_file -b last -m full -c force
BR0401I BRRESTORE 7.00 (40)
BR0405I Start of file restore: rekqfefh.rsb 2013-02-26 16.46.41
BR0484I BRRESTORE log file: /oracle/SLM/sapbackup/rekqfefh.rsb
BR0428W File /oracle/SLM/sapdata2/sr3_1/sr3.data1 will be overwritten
BR0428W File /oracle/SLM/sapdata2/sr3_10/sr3.data10 will be overwritten
BR0428W File /oracle/SLM/sapdata2/sr3_2/sr3.data2 will be overwritten
BR0428W File /oracle/SLM/sapdata2/sr3_3/sr3.data3 will be overwritten
BR0428W File /oracle/SLM/sapdata2/sr3_4/sr3.data4 will be overwritten
BR0428W File /oracle/SLM/sapdata2/sr3_5/sr3.data5 will be overwritten
BR0428W File /oracle/SLM/sapdata2/sr3_6/sr3.data6 will be overwritten
BR0428W File /oracle/SLM/sapdata2/sr3_7/sr3.data7 will be overwritten
BR0428W File /oracle/SLM/sapdata2/sr3_8/sr3.data8 will be overwritten
BR0428W File /oracle/SLM/sapdata2/sr3_9/sr3.data9 will be overwritten
BR0428W File /oracle/SLM/sapdata3/sr3701_1/sr3701.data1 will be overwritten
BR0428W File /oracle/SLM/sapdata3/sr3701_2/sr3701.data2 will be overwritten
BR0428W File /oracle/SLM/sapdata3/sr3701_3/sr3701.data3 will be overwritten
BR0428W File /oracle/SLM/sapdata3/sr3701_4/sr3701.data4 will be overwritten
BR0428W File /oracle/SLM/sapdata3/sr3701_5/sr3701.data5 will be overwritten
BR0428W File /oracle/SLM/sapdata4/sr3db_1/sr3db.data1 will be overwritten
BR0428W File /oracle/SLM/sapdata4/sr3db_2/sr3db.data2 will be overwritten
BR0428W File /oracle/SLM/sapdata4/sr3db_3/sr3db.data3 will be overwritten
BR0428W File /oracle/SLM/sapdata4/sr3usr_1/sr3usr.data1 will be overwritten
BR0428W File /oracle/SLM/sapdata1/undo_1/undo.data1 will be overwritten
BR0428W File /oracle/SLM/sapdata1/sysaux_1/sysaux.data1 will be overwritten
BR0428W File /oracle/SLM/sapdata1/system_1/system.data1 will be overwritten
BR0428W File /oracle/SLM/sapdata1/system_2/system.data2 will be overwritten
BR0428W File /oracle/SLM/origlogA/cntrl/cntrlSLM.dbf will be overwritten
BR0428W File /oracle/SLM/origlogB/cntrl/cntrlSLM.dbf will be overwritten
BR0428W File /oracle/SLM/sapdata1/cntrl/cntrlSLM.dbf will be overwritten
BR0456I Probably the database must be recovered due to restore from online backup
BR0280I BRRESTORE time stamp: 2013-02-26 16.46.41
BR0407I Restore of database: SLM
BR0408I BRRESTORE action ID: rekqfefh
BR0409I BRRESTORE function ID: rsb
BR0449I Restore mode: FULL
BR0411I Database files for restore:
/oracle/SLM/origlogA/cntrl/cntrlSLM.dbf
/oracle/SLM/origlogB/cntrl/cntrlSLM.dbf
/oracle/SLM/sapdata1/cntrl/cntrlSLM.dbf
BR0419I Files will be restored from backup: bekpyyad.anf 2013-02-25 10.19.15
BR0416I 24 files found to restore, total size 56515.289 MB
BR0421I Restore device type: util_file
BR0134I Unattended mode with 'force' active - no operator confirmation allowed
BR0280I BRRESTORE time stamp: 2013-02-26 16.46.42
BR0229I Calling backup utility with function 'restore'...
BR0278I Command output of '/usr/sap/SLM/SYS/exe/run/backint -u SLM -f restore -i /oracle/SLM/sapbackup/.rekqfefh.lst -t file -p /oracle/SLM/112_64/dbs/initSLM.utl -c':
ERROR: incorrect format or option in .utl file (-p)
BR0280I BRRESTORE time stamp: 2013-02-26 16.46.42
BR0279E Return code from '/usr/sap/SLM/SYS/exe/run/backint -u SLM -f restore -i /oracle/SLM/sapbackup/.rekqfefh.lst -t file -p /oracle/SLM/112_64/dbs/initSLM.utl -c': 2
BR0374E 0 of 24 files restored by backup utility
BR0280I BRRESTORE time stamp: 2013-02-26 16.46.42
BR0231E Backup utility call failed
BR0406I End of file restore: rekqfefh.rsb 2013-02-26 16.46.42
BR0280I BRRESTORE time stamp: 2013-02-26 16.46.42
BR0404I BRRESTORE terminated with errors
02-28-2013 05:48 PM
Hello Noman,
Similar issues encountered under "http://scn.sap.com/thread/1404076". They reset the "system" password or enabled the SAP NBU policy as it was disabled..
Regards,
02-28-2013 11:06 PM
hi,
thanx for your reply. yup its true my natbackup policy was deactivate. i don't know who do this. when i activate it starts restoration.