on 06-26-2007 11:50 PM
Hi All
I'm trying to configure NetBackup on one of our SAP BW 7.0 system with MaxDB 7.6.00.35 running on Linux. I followed sap help and configure the backint. But when I execute the backup I'm getting the following error.
Constructed the following reply:
ERR
-24920,ERR_BACKUPOP: backup operation was unsuccessful
The backup tool failed with 2 as sum of exit codes. The database request failed with error -8020.
Reply buffer filled.
following is the dbm.ebp
2007-06-26 21:35:40
Setting environment variable 'TEMP' for the directory for temporary files and pipes to default ''.
Setting environment variable 'TMP' for the directory for temporary files and pipes to default ''.
Using connection to Backint for MaxDB Interface.
2007-06-26 21:35:40
Checking existence and configuration of Backint for MaxDB.
Using configuration variable 'BSI_ENV' = '/sapdb/data/wrk/BWA/backint/config' 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 '/sapdb/data/wrk/BWA/backint/config'.
Reading the Backint for MaxDB configuration file '/sapdb/data/wrk/BWA/backint/config'.
Found keyword 'BACKINT' with value '/sapdb/BWA/db/bin/backint'.
Found keyword 'INPUT' with value '/sapdb/data/wrk/BWA/backint/backint4MAXDB.in'.
Found keyword 'OUTPUT' with value '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out'.
Found keyword 'ERROROUTPUT' with value '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err'.
Found keyword 'PARAMETERFILE' with value '/sapdb/data/wrk/BWA/backint/adapter.para'.
Found keyword 'TIMEOUT_SUCCESS' with value '600'.
Found keyword 'TIMEOUT_FAILURE' with value '300'.
Found keyword 'ORIGINAL_RUNDIRECTORY' with value '/sapdb/data/wrk/BWA/'.
Finished reading of the Backint for MaxDB configuration file.
Using '/sapdb/BWA/db/bin/backint' as Backint for MaxDB program.
Using '/sapdb/data/wrk/BWA/backint/backint4MAXDB.in' as input file for Backint for MaxDB.
Using '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out' as output file for Backint for MaxDB.
Using '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err' as error output file for Backint for MaxDB.
Using '/sapdb/data/wrk/BWA/backint/adapter.para' as parameter file for Backint for MaxDB.
Using '600' 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/data/wrk/BWA/dbm.knl' as backup history of a database to migrate.
Using '/sapdb/data/wrk/BWA/dbm.ebf' as external backup history of a database to migrate.
Checking availability of backups using backint's inquire function.
Check passed successful.
2007-06-26 21:35:40
Checking medium.
Check passed successfully.
2007-06-26 21:35:40
Preparing backup.
Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
Setting environment variable 'BI_REQUEST' to value 'NEW'.
Setting environment variable 'BI_BACKUP' to value 'FULL'.
Constructed Backint for MaxDB call '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/adapter.para -i /sapdb/data/wrk/BWA/backint/backint4MAXD
B.in -c'.
Created temporary file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out' as output for Backint for MaxDB.
Created temporary file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err' as error output for Backint for MaxDB.
Writing '/backup/BWA/BWAPIPE #PIPE' to the input file.
Prepare passed successfully.
2007-06-26 21:35:40
Creating pipes for data transfer.
Creating pipe '/backup/BWA/BWAPIPE' ... Done.
All data transfer pipes have been created.
2007-06-26 21:35:40
Starting database action for the backup.
Requesting 'SAVE DATA QUICK TO '/backup/BWA/BWAPIPE' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BWAPIPE'' from db-kernel.
The database is working on the request.
2007-06-26 21:35:40
Waiting until database has prepared the backup.
Asking for state of database.
2007-06-26 21:35:40 Database is still preparing the backup.
Waiting 1 second ... Done.
Asking for state of database.
2007-06-26 21:35:41 Database is still preparing the backup.
Waiting 2 seconds ... Done.
Asking for state of database.
2007-06-26 21:35:43 Database has finished preparation of the backup.
The database has prepared the backup successfully.
2007-06-26 21:35:43
Starting Backint for MaxDB.
Starting Backint for MaxDB process '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/adapter.para -i /sapdb/data/wrk/BWA/backint/backint4MAXD
B.in -c >>/sapdb/data/wrk/BWA/backint/backint4MAXDB.out 2>>/sapdb/data/wrk/BWA/backint/backint4MAXDB.err'.
Process was started successfully.
Backint for MaxDB has been started successfully.
2007-06-26 21:35:44
Waiting for end of the backup operation.
2007-06-26 21:35:44 The backup tool is running.
2007-06-26 21:35:44 The database is working on the request.
2007-06-26 21:35:49 The backup tool is running.
2007-06-26 21:35:49 The database is working on the request.
2007-06-26 21:35:59 The backup tool is running.
2007-06-26 21:35:59 The database is working on the request.
2007-06-26 21:36:14 The backup tool is running.
2007-06-26 21:36:14 The database is working on the request.
2007-06-26 21:36:34 The backup tool is running.
2007-06-26 21:36:34 The database is working on the request.
2007-06-26 21:36:41 The backup tool process has finished work with return code 2.
2007-06-26 21:36:41 The database has finished work on the request.
Receiving a reply from the database kernel.
Got the following reply from db-kernel:
SQL-Code :-8020
Date :20070626
Time :00213542
Database :BWA
Server :s254176rg04
KernelVersion :Kernel 7.6.00 Build 035-123-139-084
PagesTransfered :131072
PagesLeft :2847194
MediaName :BWAPIPE
Location :/backup/BWA/BWAPIPE
Errortext :end of file
Label :DAT_000000025
IsConsistent :true
FirstLogPageNo :1777329
DBStamp1Date :20070626
DBStamp1Time :00213541
BDPageCount :2978242
DevicesUsed :1
DatabaseID :s254176rg04:BWA_20070605_123955
Max Used Data Page
Converter Page Count :1604
The backup operation has ended.
2007-06-26 21:36:41
Filling reply buffer.
Have encountered error -24920:
The backup tool failed with 2 as sum of exit codes. The database request failed with error -8020.
Constructed the following reply:
ERR
-24920,ERR_BACKUPOP: backup operation was unsuccessful
The backup tool failed with 2 as sum of exit codes. The database request failed with error -8020.
Reply buffer filled.
2007-06-26 21:36:41
Cleaning up.
Removing data transfer pipes.
Removing data transfer pipe /backup/BWA/BWAPIPE ... Done.
Removed data transfer pipes successfully.
Copying output of Backint for MaxDB to this file.
-
Begin of output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.out)----
Reading parameter file /sapdb/data/wrk/BWA/backint/adapter.para.
Using staging area /sapdb/BWA/backintstage/stage1 with a size of 1073741824 bytes.
Using staging area /sapdb/BWA/backintstage/stage2 with a size of 1073741824 bytes.
Using staging area /sapdb/BWA/backintstage/stage3 with a size of 1073741824 bytes.
Using staging area /sapdb/BWA/backintstage/stage4 with a size of 1073741824 bytes.
Using 2 file per Backint for Oracle call.
Using /sapdb/BWA/db/bin/backint as Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/initBWA.utl as parameterfile of Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/BackintHistory as history file.
Using /sapdb/data/wrk/BWA/backint/backint4Oracle.in as input of Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/backint4Oracle.out as output of Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/backint4Oracle.err as error output of Backint for Oracle.
Reading input file /sapdb/data/wrk/BWA/backint/backint4MAXDB.in.
Backing up pipe /backup/BWA/BWAPIPE.
Found 1 entry in the input file.
Starting the backup.
Starting pipe2file program(s).
Waiting for creation of temporary files.
1 temporary file is available for backup.
Calling Backint for Oracle at 2007-06-26 21:36:40.
Calling '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/initBWA.utl -i /sapdb/data/wrk/BWA/backint/backint4Oracle.in -c' .
Backint for Oracle ended at 2007-06-26 21:36:40 with return code 2.
Backint for Oracle output: Reading parameter file /sapdb/data/wrk/BWA/backint/initBWA.utl.
Backint for Oracle output:
Backint for Oracle output:
Backint for Oracle error output: No staging area is defined in the parameter file.
Backint for Oracle error output: The path of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output: The name of the history file is not defined in the parameter file.
Backint for Oracle error output: The name of the input file of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output: The name of the output file of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output: The name of the error output file of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output:
Finished the backup unsuccessfully.
#ERROR /backup/BWA/BWAPIPE
-
End of output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.out)----
Removed Backint for MaxDB's temporary output file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out'.
Copying error output of Backint for MaxDB to this file.
-
Begin of error output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.err)----
Backint for Oracle was unsuccessful.
-
End of error output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.err)----
Removed Backint for MaxDB's temporary error output file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err'.
Removed the Backint for MaxDB input file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.in'.
Have finished clean up successfully.
Please help
Thanks
Andy
Hello Andy,
In your case a Configuration File for Backint for MaxDB :
configuration variable
'BSI_ENV' = '/sapdb/data/wrk/BWA/backint/config'
/sapdb/data/wrk/BWA/backint/config ::
BACKINT /sapdb/BWA/db/bin/backint
INPUT /sapdb/data/wrk/BWA/backint/backint4MAXDB.in
OUTPUT /sapdb/data/wrk/BWA/backint/backint4MAXDB.out
ERROROUTPUT /sapdb/data/wrk/BWA/backint/backint4MAXDB.err
PARAMETERFILE /sapdb/data/wrk/BWA/backint/adapter.para
TIMEOUT_SUCCESS 600
TIMEOUT_FAILURE 300
ORIGINAL_RUNDIRECTORY /sapdb/data/wrk/BWA
=>
Could you please update with settings in the file /sapdb/data/wrk/BWA/backint/adapter.para < Parameter File for the MaxDB Adapter Program >
It should have following settings:
STAGING AREA:
FILES PER BACKINT CALL:
BACKINT: < Backint for Oracle !!!! >
PARAMETERFILE OF BACKINT: < parameterfile of Backint for Oracle >
HISTORY FILE:
INPUTFILE FOR BACKINT:
OUTPUTFILE FOR BACKINT:
ERRORFILE FOR BACKINT:
MAXIMAL DELAY OF BACKINT CALL:
=> Please check where the Backint for Oracle is located.
****
Please review the documentation at
http://maxdb.sap.com/currentdoc/default.htm -> Basic Information
-> Concepts of the Database System -> Administration
-> Backing Up and Restoring -> Using Backup Tools from Other Providers
< -> Connecting to VERITAS NetBackup >
Thank you and best regards, Natalia Khlopina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Natalia
Thanks for the reply.
I have raised the staging file size to 10 GB from 1 GB and the backup is running i for much longer than it was yesturday. Is error 8020 related to staging file size? Do I really need that big disk space for staging. Please advice me If I need to set any other parameters.
PARAMETERS in initBWA.utl that are set is--->
switch_list /sapdb/BWA/backintstage/.switch.lis
switch_sem /sapdb/BWA/backintstage/.switch.sem
switch_log /sapdb/BWA/backintstage/.switch.log
-
>cat config
BACKINT /sapdb/BWA/db/bin/backint
INPUT /sapdb/data/wrk/BWA/backint/backint4MAXDB.in
OUTPUT /sapdb/data/wrk/BWA/backint/backint4MAXDB.out
ERROROUTPUT /sapdb/data/wrk/BWA/backint/backint4MAXDB.err
PARAMETERFILE /sapdb/data/wrk/BWA/backint/adapter.para
TIMEOUT_SUCCESS 600
TIMEOUT_FAILURE 300
ORIGINAL_RUNDIRECTORY /sapdb/data/wrk/BWA/
-
># cat adapter.para
STAGING AREA: /sapdb/BWA/backintstage/stage1 10 GB
STAGING AREA: /sapdb/BWA/backintstage/stage2 10 GB
STAGING AREA: /sapdb/BWA/backintstage/stage3 10 GB
STAGING AREA: /sapdb/BWA/backintstage/stage4 1 GB
FILES PER BACKINT CALL: 2
BACKINT: /sapdb/BWA/db/bin/backint
PARAMETERFILE OF BACKINT: /sapdb/data/wrk/BWA/backint/initBWA.utl
HISTORY FILE: /sapdb/data/wrk/BWA/backint/BackintHistory
INPUTFILE FOR BACKINT: /sapdb/data/wrk/BWA/backint/backint4Oracle.in
OUTPUTFILE FOR BACKINT: /sapdb/data/wrk/BWA/backint/backint4Oracle.out
ERRORFILE FOR BACKINT: /sapdb/data/wrk/BWA/backint/backint4Oracle.err
MAXIMAL DELAY OF BACKINT CALL: 30
-
># cat dbm.ebp
2007-06-27 10:07:29
Setting environment variable 'TEMP' for the directory for temporary files and pipes to default ''.
Setting environment variable 'TMP' for the directory for temporary files and pipes to default ''.
Using connection to Backint for MaxDB Interface.
2007-06-27 10:07:30
Checking existence and configuration of Backint for MaxDB.
Using configuration variable 'BSI_ENV' = '/sapdb/data/wrk/BWA/backint/config' 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 '/sapdb/data/wrk/BWA/backint/config'.
Reading the Backint for MaxDB configuration file '/sapdb/data/wrk/BWA/backint/config'.
Found keyword 'BACKINT' with value '/sapdb/BWA/db/bin/backint'.
Found keyword 'INPUT' with value '/sapdb/data/wrk/BWA/backint/backint4MAXDB.in'.
Found keyword 'OUTPUT' with value '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out'.
Found keyword 'ERROROUTPUT' with value '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err'.
Found keyword 'PARAMETERFILE' with value '/sapdb/data/wrk/BWA/backint/adapter.para'.
Found keyword 'TIMEOUT_SUCCESS' with value '600'.
Found keyword 'TIMEOUT_FAILURE' with value '300'.
Found keyword 'ORIGINAL_RUNDIRECTORY' with value '/sapdb/data/wrk/BWA/'.
Finished reading of the Backint for MaxDB configuration file.
Using '/sapdb/BWA/db/bin/backint' as Backint for MaxDB program.
Using '/sapdb/data/wrk/BWA/backint/backint4MAXDB.in' as input file for Backint for MaxDB.
Using '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out' as output file for Backint for MaxDB.
Using '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err' as error output file for Backint for MaxDB.
Using '/sapdb/data/wrk/BWA/backint/adapter.para' as parameter file for Backint for MaxDB.
Using '600' 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/data/wrk/BWA/dbm.knl' as backup history of a database to migrate.
Using '/sapdb/data/wrk/BWA/dbm.ebf' as external backup history of a database to migrate.
Checking availability of backups using backint's inquire function.
Check passed successful.
2007-06-27 10:07:30
Checking medium.
Check passed successfully.
2007-06-27 10:07:30
Preparing backup.
Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
Setting environment variable 'BI_REQUEST' to value 'NEW'.
Setting environment variable 'BI_BACKUP' to value 'FULL'.
Constructed Backint for MaxDB call '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/adapter.para -i /sapdb/data/wrk/BWA/backint/backint4MAXD
B.in -c'.
Created temporary file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out' as output for Backint for MaxDB.
Created temporary file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err' as error output for Backint for MaxDB.
Writing '/backup/BWA/BWAPIPE #PIPE' to the input file.
Prepare passed successfully.
2007-06-27 10:07:30
Creating pipes for data transfer.
Creating pipe '/backup/BWA/BWAPIPE' ... Done.
All data transfer pipes have been created.
2007-06-27 10:07:30
Starting database action for the backup.
Requesting 'SAVE DATA QUICK TO '/backup/BWA/BWAPIPE' PIPE COUNT 3932160 BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BWAPIPE'' from db-kernel.
The database is working on the request.
2007-06-27 10:07:30
Waiting until database has prepared the backup.
Asking for state of database.
2007-06-27 10:07:30 Database is still preparing the backup.
Waiting 1 second ... Done.
Asking for state of database.
2007-06-27 10:07:32 Database is still preparing the backup.
Waiting 2 seconds ... Done.
Asking for state of database.
2007-06-27 10:07:34 Database is still preparing the backup.
Waiting 3 seconds ... Done.
Asking for state of database.
2007-06-27 10:07:37 Database is still preparing the backup.
Waiting 4 seconds ... Done.
Asking for state of database.
2007-06-27 10:07:41 Database is still preparing the backup.
Waiting 5 seconds ... Done.
Asking for state of database.
2007-06-27 10:07:46 Database has finished preparation of the backup.
The database has prepared the backup successfully.
2007-06-27 10:07:46
Starting Backint for MaxDB.
Starting Backint for MaxDB process '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/adapter.para -i /sapdb/data/wrk/BWA/backint/backint4MAXD
B.in -c >>/sapdb/data/wrk/BWA/backint/backint4MAXDB.out 2>>/sapdb/data/wrk/BWA/backint/backint4MAXDB.err'.
Process was started successfully.
Backint for MaxDB has been started successfully.
2007-06-27 10:07:46
Waiting for end of the backup operation.
2007-06-27 10:07:46 The backup tool is running.
2007-06-27 10:07:46 The database is working on the request.
2007-06-27 10:07:51 The backup tool is running.
2007-06-27 10:07:51 The database is working on the request.
2007-06-27 10:08:02 The backup tool is running.
2007-06-27 10:08:02 The database is working on the request.
2007-06-27 10:08:16 The backup tool is running.
2007-06-27 10:08:16 The database is working on the request.
2007-06-27 10:08:36 The backup tool is running.
2007-06-27 10:08:36 The database is working on the request.
2007-06-27 10:09:01 The backup tool is running.
2007-06-27 10:09:01 The database is working on the request.
2007-06-27 10:09:31 The backup tool is running.
2007-06-27 10:09:31 The database is working on the request.
2007-06-27 10:10:06 The backup tool is running.
2007-06-27 10:10:06 The database is working on the request.
2007-06-27 10:10:46 The backup tool is running.
2007-06-27 10:10:46 The database is working on the request.
2007-06-27 10:11:31 The backup tool is running.
2007-06-27 10:11:31 The database is working on the request.
2007-06-27 10:12:21 The backup tool is running.
2007-06-27 10:12:21 The database is working on the request.
2007-06-27 10:13:16 The backup tool is running.
2007-06-27 10:13:16 The database is working on the request.
2007-06-27 10:13:49 The backup tool process has finished work with return code 2.
2007-06-27 10:13:49 The database has finished work on the request.
Receiving a reply from the database kernel.
Got the following reply from db-kernel:
SQL-Code :-8020
Date :20070627
Time :00100745
Database :BWA
Server :s254176rg04
KernelVersion :Kernel 7.6.00 Build 035-123-139-084
PagesTransfered :1310720
PagesLeft :1673988
MediaName :BWAPIPE
Location :/backup/BWA/BWAPIPE
Errortext :end of file
Label :DAT_000000031
IsConsistent :true
FirstLogPageNo :1812226
DBStamp1Date :20070627
DBStamp1Time :00100742
BDPageCount :2984684
DevicesUsed :1
DatabaseID :s254176rg04:BWA_20070605_123955
Max Used Data Page
Converter Page Count :1609
The backup operation has ended.
2007-06-27 10:13:56
Filling reply buffer.
Have encountered error -24920:
The backup tool failed with 2 as sum of exit codes. The database request failed with error -8020.
Constructed the following reply:
ERR
-24920,ERR_BACKUPOP: backup operation was unsuccessful
The backup tool failed with 2 as sum of exit codes. The database request failed with error -8020.
Reply buffer filled.
2007-06-27 10:13:56
Cleaning up.
Removing data transfer pipes.
Removing data transfer pipe /backup/BWA/BWAPIPE ... Done.
Removed data transfer pipes successfully.
Copying output of Backint for MaxDB to this file.
-
Begin of output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.out)----
Reading parameter file /sapdb/data/wrk/BWA/backint/adapter.para.
Using staging area /sapdb/BWA/backintstage/stage1 with a size of 10737418240 bytes.
Using staging area /sapdb/BWA/backintstage/stage2 with a size of 10737418240 bytes.
Using staging area /sapdb/BWA/backintstage/stage3 with a size of 10737418240 bytes.
Using staging area /sapdb/BWA/backintstage/stage4 with a size of 1073741824 bytes.
Using 2 file per Backint for Oracle call.
Using /sapdb/BWA/db/bin/backint as Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/initBWA.utl as parameterfile of Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/BackintHistory as history file.
Using /sapdb/data/wrk/BWA/backint/backint4Oracle.in as input of Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/backint4Oracle.out as output of Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/backint4Oracle.err as error output of Backint for Oracle.
Using a maximal delay for a Backint for Oracle call of 30 seconds.
Reading input file /sapdb/data/wrk/BWA/backint/backint4MAXDB.in.
Backing up pipe /backup/BWA/BWAPIPE.
Found 1 entry in the input file.
Starting the backup.
Starting pipe2file program(s).
Waiting for creation of temporary files.
1 temporary file is available for backup.
Calling Backint for Oracle at 2007-06-27 10:13:48.
Calling '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/initBWA.utl -i /sapdb/data/wrk/BWA/backint/backint4Oracle.in -c' .
Backint for Oracle ended at 2007-06-27 10:13:48 with return code 2.
Backint for Oracle output: Reading parameter file /sapdb/data/wrk/BWA/backint/initBWA.utl.
Backint for Oracle output:
Backint for Oracle output:
Backint for Oracle error output: No staging area is defined in the parameter file.
Backint for Oracle error output: The path of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output: The name of the history file is not defined in the parameter file.
Backint for Oracle error output: The name of the input file of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output: The name of the output file of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output: The name of the error output file of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output:
Finished the backup unsuccessfully.
#ERROR /backup/BWA/BWAPIPE
-
End of output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.out)----
Removed Backint for MaxDB's temporary output file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out'.
Copying error output of Backint for MaxDB to this file.
-
Begin of error output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.err)----
Backint for Oracle was unsuccessful.
-
End of error output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.err)----
Removed Backint for MaxDB's temporary error output file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err'.
Removed the Backint for MaxDB input file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.in'.
Have finished clean up successfully.
Please advice
Thanks
Hello Andy,
You could see that you failed to run the command :
Calling Backint for Oracle at 2007-06-27 10:13:48.
Calling '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/initBWA.utl -i /sapdb/data/wrk/BWA/backint/backint4Oracle.in -c' .
The MAXDB Backint tool /sapdb/BWA/db/bin/backint called with the Oracle parameter file /sapdb/data/wrk/BWA/backint/initBWA.utl, where you didn't give the information about the staging area.
At that step you need to call the Oracle Backint tool.
***
Please check where the Backint for Oracle is located.
As I wrote you above Could you please update with settings in the file /sapdb/data/wrk/BWA/backint/adapter.para < Parameter File for the MaxDB Adapter Program >
BACKINT: < Backint for Oracle !!!! >
And you have :
BACKINT: /sapdb/BWA/db/bin/backint
/sapdb/BWA/db/bin/backint is MAXDB Backint.
***
I gave you above also the reference to the documentation, where the Examples/Definitions of the all values for the Parameters are given.
Thank you and best regards, Natalia Khlopina
Hi Natalia
Thanks for explaing me again. Now I got Backint for oracle installed and running the below command.
/usr/openv/netbackup/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/initBWA.utl -i /sapdb/data/wrk/BWA/backint/backint4Oracle.in -c
Now my backup hangs at 1GB which is size of staging file. I dont know how to define the staging file location in initBWA.utl. currently below variables are set.
switch_list /sapdb/BWA/backintstage/.switch.lis
switch_sem /sapdb/BWA/backintstage/.switch.sem
switch_log /sapdb/BWA/backintstage/.switch.log
Please advice.
Thank you
Andy
Hi Natalia
following is the dbm.ebp
2007-06-28 05:57:45
Setting environment variable 'TEMP' for the directory for temporary files and pipes to default ''.
Setting environment variable 'TMP' for the directory for temporary files and pipes to default ''.
Using connection to Backint for MaxDB Interface.
2007-06-28 05:57:46
Checking existence and configuration of Backint for MaxDB.
Using configuration variable 'BSI_ENV' = '/sapdb/data/wrk/BWA/backint/config' 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 '/sapdb/data/wrk/BWA/backint/config'.
Reading the Backint for MaxDB configuration file '/sapdb/data/wrk/BWA/backint/config'.
Found keyword 'BACKINT' with value '/sapdb/BWA/db/bin/backint'.
Found keyword 'INPUT' with value '/sapdb/data/wrk/BWA/backint/backint4MAXDB.in'.
Found keyword 'OUTPUT' with value '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out'.
Found keyword 'ERROROUTPUT' with value '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err'.
Found keyword 'PARAMETERFILE' with value '/sapdb/data/wrk/BWA/backint/adapter.para'.
Found keyword 'TIMEOUT_SUCCESS' with value '600'.
Found keyword 'TIMEOUT_FAILURE' with value '300'.
Found keyword 'ORIGINAL_RUNDIRECTORY' with value '/sapdb/data/wrk/BWA/'.
Finished reading of the Backint for MaxDB configuration file.
Using '/sapdb/BWA/db/bin/backint' as Backint for MaxDB program.
Using '/sapdb/data/wrk/BWA/backint/backint4MAXDB.in' as input file for Backint for MaxDB.
Using '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out' as output file for Backint for MaxDB.
Using '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err' as error output file for Backint for MaxDB.
Using '/sapdb/data/wrk/BWA/backint/adapter.para' as parameter file for Backint for MaxDB.
Using '600' 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/data/wrk/BWA/dbm.knl' as backup history of a database to migrate.
Using '/sapdb/data/wrk/BWA/dbm.ebf' as external backup history of a database to migrate.
Checking availability of backups using backint's inquire function.
Check passed successful.
2007-06-28 05:57:46
Checking medium.
Check passed successfully.
2007-06-28 05:57:46
Preparing backup.
Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
Setting environment variable 'BI_REQUEST' to value 'NEW'.
Setting environment variable 'BI_BACKUP' to value 'FULL'.
Constructed Backint for MaxDB call '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/adapter.para -i /sapdb/data/wrk/BWA/backint/backint4MAXD
B.in -c'.
Created temporary file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out' as output for Backint for MaxDB.
Created temporary file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err' as error output for Backint for MaxDB.
Writing '/data01/BWAPIPE #PIPE' to the input file.
Prepare passed successfully.
2007-06-28 05:57:46
Creating pipes for data transfer.
Creating pipe '/data01/BWAPIPE' ... Done.
All data transfer pipes have been created.
2007-06-28 05:57:46
Starting database action for the backup.
Requesting 'SAVE DATA QUICK TO '/data01/BWAPIPE' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BWAPIPE'' from db-kernel.
The database is working on the request.
2007-06-28 05:57:46
Waiting until database has prepared the backup.
Asking for state of database.
2007-06-28 05:57:46 Database is still preparing the backup.
Waiting 1 second ... Done.
Asking for state of database.
2007-06-28 05:57:47 Database has finished preparation of the backup.
The database has prepared the backup successfully.
2007-06-28 05:57:47
Starting Backint for MaxDB.
Starting Backint for MaxDB process '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/adapter.para -i /sapdb/data/wrk/BWA/backint/backint4MAXD
B.in -c >>/sapdb/data/wrk/BWA/backint/backint4MAXDB.out 2>>/sapdb/data/wrk/BWA/backint/backint4MAXDB.err'.
Process was started successfully.
Backint for MaxDB has been started successfully.
2007-06-28 05:57:47
Waiting for end of the backup operation.
2007-06-28 05:57:47 The backup tool is running.
2007-06-28 05:57:47 The database is working on the request.
2007-06-28 05:57:52 The backup tool is running.
2007-06-28 05:57:52 The database is working on the request.
2007-06-28 05:58:02 The backup tool is running.
2007-06-28 05:58:02 The database is working on the request.
2007-06-28 05:58:17 The backup tool is running.
2007-06-28 05:58:17 The database is working on the request.
2007-06-28 05:58:37 The backup tool is running.
2007-06-28 05:58:37 The database is working on the request.
2007-06-28 05:59:02 The backup tool is running.
2007-06-28 05:59:02 The database is working on the request.
2007-06-28 05:59:32 The backup tool is running.
2007-06-28 05:59:32 The database is working on the request.
2007-06-28 06:00:07 The backup tool is running.
2007-06-28 06:00:07 The database is working on the request.
2007-06-28 06:00:47 The backup tool is running.
2007-06-28 06:00:47 The database is working on the request.
2007-06-28 06:01:32 The backup tool is running.
2007-06-28 06:01:32 The database is working on the request.
2007-06-28 06:02:22 The backup tool is running.
2007-06-28 06:02:22 The database is working on the request.
2007-06-28 06:02:41 The database has finished work on the request.
Receiving a reply from the database kernel.
Got the following reply from db-kernel:
SQL-Code :-8020
Date :20070628
Time :00055747
Database :BWA
Server :s254176rg04
KernelVersion :Kernel 7.6.00 Build 035-123-139-084
PagesTransfered :131072
PagesLeft :2856899
MediaName :BWAPIPE
Location :/data01/BWAPIPE
Errortext :end of file
Label :DAT_000000065
IsConsistent :true
FirstLogPageNo :1823920
DBStamp1Date :20070628
DBStamp1Time :00055746
BDPageCount :2987947
DevicesUsed :1
DatabaseID :s254176rg04:BWA_20070605_123955
Max Used Data Page
Converter Page Count :1609
2007-06-28 06:02:41 The backup tool is running.
2007-06-28 06:02:42 The backup tool process has finished work with return code 2.
2007-06-28 06:02:42 The backup tool is not running.
The backup operation has ended.
2007-06-28 06:02:42
Filling reply buffer.
Have encountered error -24920:
The backup tool failed with 2 as sum of exit codes. The database request failed with error -8020.
Constructed the following reply:
ERR
-24920,ERR_BACKUPOP: backup operation was unsuccessful
The backup tool failed with 2 as sum of exit codes. The database request failed with error -8020.
Reply buffer filled.
2007-06-28 06:02:42
Cleaning up.
Removing data transfer pipes.
Removing data transfer pipe /data01/BWAPIPE ... Done.
Removed data transfer pipes successfully.
Copying output of Backint for MaxDB to this file.
-
Begin of output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.out)----
Reading parameter file /sapdb/data/wrk/BWA/backint/adapter.para.
Using staging area /data01/backint/stage1 with a size of 1073741824 bytes.
Using staging area /data01/backint/stage2 with a size of 1073741824 bytes.
Using staging area /data01/backint/stage3 with a size of 1073741824 bytes.
Using staging area /data01/backint/stage4 with a size of 1073741824 bytes.
Using 2 file per Backint for Oracle call.
Using /usr/openv/netbackup/bin/backint as Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/initBWA.utl as parameterfile of Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/BackintHistory as history file.
Using /sapdb/data/wrk/BWA/backint/backint4Oracle.in as input of Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/backint4Oracle.out as output of Backint for Oracle.
Using /sapdb/data/wrk/BWA/backint/backint4Oracle.err as error output of Backint for Oracle.
Using a maximal delay for a Backint for Oracle call of 30 seconds.
Reading input file /sapdb/data/wrk/BWA/backint/backint4MAXDB.in.
Backing up pipe /data01/BWAPIPE.
Found 1 entry in the input file.
Starting the backup.
Starting pipe2file program(s).
Waiting for creation of temporary files.
1 temporary file is available for backup.
Calling Backint for Oracle at 2007-06-28 05:58:08.
Calling '/usr/openv/netbackup/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/initBWA.utl -i /sapdb/data/wrk/BWA/backint/backint4Oracle.in -c' .
Backint for Oracle ended at 2007-06-28 06:02:41 with return code 2.
Backint for Oracle output: WARNING: drives value missing from parameter file /sapdb/data/wrk/BWA/backint/initBWA.utl
Backint for Oracle output: default drives value = 1
Backint for Oracle output: WARNING: sort_backup_type not specified in .utl file
Backint for Oracle output: WARNING: default sort_backup_type to <size> for restore
Backint for Oracle output: ********************************************************************************
Backint for Oracle output: Program: /usr/openv/netbackup/bin/backint 5.1
Backint for Oracle output: Input File: /sapdb/data/wrk/BWA/backint/backint4Oracle.in
Backint for Oracle output: Profile: /sapdb/data/wrk/BWA/backint/initBWA.utl
Backint for Oracle output: Function: BACKUP
Backint for Oracle output: Backup Type: BACKUP_FILE
Backint for Oracle output: ********************************************************************************
Backint for Oracle output: [21433.00] Backup started 06/28/2007 05:58:11
Backint for Oracle output: [21433.00]
Backint for Oracle output: [21433.00] 05:58:11 Initiating backup
Backint for Oracle output: [21433.00] 05:58:25 INF - Processing /data01/backint/stage1.0
Backint for Oracle output: [21433.00] 05:58:25 INF - offline backup for datafile: /data01/backint/stage1.0
Backint for Oracle output: [21433.00] 05:58:25 /
Backint for Oracle output: [21433.00] 05:58:25 /data01/
Backint for Oracle output: [21433.00] 05:58:25 /data01/backint/
Backint for Oracle output: [21433.00] 05:58:49 INF - Beginning backup on server uk6nbumedia1-b of client S254176RG04.
Backint for Oracle output: [21433.00] 06:02:31 /data01/backint/stage1.0
Backint for Oracle output: [21433.00] 06:02:31 INF - Client completed sending data for backup
Backint for Oracle output: [21433.00]
Backint for Oracle output: [21433.00] 06:02:39 INF - Server status = 0
Backint for Oracle output: [21433.00] 06:02:40 INF - Backup by sdb on client s254176rg04: the requested operation was successfully completed.
Backint for Oracle output: [21433.00]
Backint for Oracle output: #ERROR /data01/backint/stage1.0
Backint for Oracle output: ********************************************************************************
Backint for Oracle output:
Backint for Oracle error output:
Finished the backup unsuccessfully.
#ERROR /data01/BWAPIPE
-
End of output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.out)----
Removed Backint for MaxDB's temporary output file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.out'.
Copying error output of Backint for MaxDB to this file.
-
Begin of error output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.err)----
Backint for Oracle was unsuccessful.
-
End of error output of Backint for MaxDB (/sapdb/data/wrk/BWA/backint/backint4MAXDB.err)----
Removed Backint for MaxDB's temporary error output file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.err'.
Removed the Backint for MaxDB input file '/sapdb/data/wrk/BWA/backint/backint4MAXDB.in'.
Have finished clean up successfully.
Hello...,
Let go to the backup database problem. And let's check your next issue ...
You got the 'error -8020 Reply buffer filled' due to the fact that the
Backint for the Oracle failed with the errors ::
"
...
Backint for Oracle ended at 2007-06-28 06:02:41 with return code 2.
Backint for Oracle output: WARNING: drives value missing from parameter file /sapdb/data/wrk/BWA/backint/initBWA.utl
Backint for Oracle output: default drives value = 1
Backint for Oracle output: WARNING: sort_backup_type not specified in .utl file
Backint for Oracle output: WARNING: default sort_backup_type to <size> for restore
Backint for Oracle output: ********************************************************************************
Backint for Oracle output: Program: /usr/openv/netbackup/bin/backint 5.1
Backint for Oracle output: Input File: /sapdb/data/wrk/BWA/backint/backint4Oracle.in
Backint for Oracle output: Profile: /sapdb/data/wrk/BWA/backint/initBWA.utl
Backint for Oracle output: Function: BACKUP
Backint for Oracle output: Backup Type: BACKUP_FILE
Backint for Oracle output: ********************************************************************************
Backint for Oracle output: [21433.00] Backup started 06/28/2007 05:58:11
Backint for Oracle output: [21433.00]
Backint for Oracle output: [21433.00] 05:58:11 Initiating backup
Backint for Oracle output: [21433.00] 05:58:25 INF - Processing /data01/backint/stage1.0
Backint for Oracle output: [21433.00] 05:58:25 INF - offline backup for datafile: /data01/backint/stage1.0
Backint for Oracle output: [21433.00] 05:58:25 /
Backint for Oracle output: [21433.00] 05:58:25 /data01/
Backint for Oracle output: [21433.00] 05:58:25 /data01/backint/
Backint for Oracle output: [21433.00] 05:58:49 INF - Beginning backup on server uk6nbumedia1-b of client S254176RG04.
Backint for Oracle output: [21433.00] 06:02:31 /data01/backint/stage1.0
Backint for Oracle output: [21433.00] 06:02:31 INF - Client completed sending data for backup
Backint for Oracle output: [21433.00]
Backint for Oracle output: [21433.00] 06:02:39 INF - Server status = 0
Backint for Oracle output: [21433.00] 06:02:40 INF - Backup by sdb on client s254176rg04: the requested operation was successfully completed.
Backint for Oracle output: [21433.00]
Backint for Oracle output: #ERROR /data01/backint/stage1.0
Backint for Oracle output: ********************************************************************************
Backint for Oracle output:
Backint for Oracle error output:
Finished the backup unsuccessfully.
#ERROR /data01/BWAPIPE
"
=> Could you please post /sapdb/data/wrk/BWA/backint/initBWA.utl file.
Thank you and best regards, Natalia Khlopina
Hi Natalia
Thanks for the reply. Below is initBWA.utl file. At this stage The first staging file is successfully written to the tape and the backup fails after that. The problem I guess is the staging file is not getting deleted or over written after it is written to the tape. Thanks
backint parameters
#
switch_list: is required and is used as a control file to communicate with
BACKINT and BRBACKUP for online backups. A switch list file is created
every time BRBACKUP wants to backup a file or when it wants to indicate that
a backup is finished. The switch_list parameter must be set to a file path
that is located in: $ORACLE_HOME/sapbackup/.switch.lis.
#
switch_list /sapdb/BWA/backintstage/.switch.lis
#
#
switch_sem: is required and is used as a control file which is used between
BACKINT and BRBACKUP to communicate. After the switch list file has been
created and closed, BACKINT creates the switch semaphore file and waits until
it is deleted by BRBACKUP. The switch_sem parameter must be set to a file
path that is located in: $ORACLE_HOME/sapbackup/.switch.sem.
#
switch_sem /sapdb/BWA/backintstage/.switch.sem
#
#
switch_log: is required and is used as a control file which is used between
BACKINT and BRBACKUP to communicate. After the switch semaphore file has
been deleted, BACKINT opens and reads the switch log file to determine if
the process is successful. The switch log file is created by BRBACKUP. The
switch_log parameter must be set to a file path that is located in:
$ORACLE_HOME/sapbackup/.switch_log.
#
switch_log /sapdb/BWA/backintstage/.switch.log
#
#
backint_dir: is an optional parameter and must be set to a directory that is
public. BACKINT uses this directory for work space and to store files called
backint.times, which keeps track of backup information.
#
#backint_dir /oracle/SAP/sapscript/backint_dir
#
#
server: is an optional parameter and is the machine name of the NetBackup
Master server. The NetBackup Master server is the name of the machine that
provides most of the administration and control for Netbackup operations and
contains the NetBackup database. If BACKINT finds a $SAP_SERVER environment
variable, the server parameter's value will be overriden by the value of
$SAP_SERVER. Also, if the server parameter is not specified and there is no
environment variable then the server parameter value will default to the
SERVER option specified in the Netbackkup bp.conf file.
#
#server jupiter
#
#
client: is an optional parameter and must be set to a machine name that has
the NetBackup client software, an Oracle database, and a SAP environment.
In some cases the server and client machine will be the same machine. If
BACKINT finds a $SAP_CLIENT environment variable, the client parameter value
will be overriden by the assigned environment variable. If the client
parameter is not specified and there is no environment variable, then the
client parameter value will default to the CLIENT_NAME specified in the
Netbackkup bp.conf file. If the value is not in bp.conf, BACKINT uses the
value returned by the gethostname() libary function.
#
#client jupiter
#
#
drives: is an optional parameter and should be set to the number of
simultaneous tape drives to kickoff backup. Set NetBackup Server to support
multiple simultaneous client backups and the number of storage units/tape
drives for this backup policy. Based on the number of drives specified
BACKINT will simultaneously run the same number of bpbackup/bprestore
commands. So for example, if the drives parameter is set to 5, then 5
bpbackup/bprestore jobs will run at the same time. The drives parameter
should be set to the following rule:
#
drives = Number of storage units per policy X MPX number
#
The drives parameter value should not exceed the Set Maxium Jobs per Client
global attribute. If BACKINT finds a $SAP_DRIVES environment variable, the
drive parameter value will be overriden by the value of the $SAP_DRIVES
variable. If the drive parameter is not specified and there is no
environment variable, then BACKINT will exit with an error.
#
#drives 1
#
#
policy: is an optionl parameter and should be set to the name of a SAP policy
type that has been defined in Netbackup. The SAP policy must have a schedule
type of Application Backup defined in order for BACKINT to work. If BACKINT finds
a $SAP_POLICY environment variable, the policy parameter value will be
overriden by the value of the $SAP_POLICY variable. If the policy parameter
is not specified and there is no environment variable, then the policy
parameter value will default to the BPBACKUP_POLICY option in the NetBackup
bp.conf file. By default, BPBACKUP_POLICY is not in any bp.conf file, then
NetBackup uses the first SAP policy type that it finds that has the client
and a user-directed backup schedule.
#
policy AXON2541766-SAP
#
#
schedule: Is optional and must be set to the name of type Application Backup
schedule that is associates with a SAP policy type. The schedule can
define aspects of the backup such as how long Netbackup retains images,
maximum MPX per drive, storage unit, and volume pool. If BACKINT finds a
$SAP_SCHED environment variable, the schedule parameter value will be
overriden by the value of the $SAP_SCHED environment variable. If the
schedule parameter is not specified and there is no environment variable,
then the schedule parameter value will default to the BPBACKUP_SCHED option
in the NetBackup bp.conf file. By default BPBACKUP_SCHED is not in any
bp.conf file then, NetBackup uses the first schedule of type Application Backup
that it finds. It is higly recommended to set schedule parameter in *.utl file.
#
#schedule Default-Application-Backup
#
#
policy2: is optional and is the name of a policy to be used for the
secondary SAP backup. The secondary backup is performed for each SAP
database backup on files that are needed to track SAP backup information.
This option would be used to save the backup information on a different
media. If policy2 is not specified, then the policy parameter value is used.
#
#policy2 sap_sec_backup
#
#
schedule2: is optional and is the name of a Application Backup schedule to be
used for the secondary SAP backup. The secondary backup is performed for
each SAP database backup on files that are needed to track SAP backup
information. This option would be used to save the backup information on a
different media. If schedule2 is not specified, then the schedule parameter
value is used.
#
#schedule2 userbkps
#
#
sort_backup_type: [size | custom | device | drive ]
This parameter is optional and is used to specify four different backup
sort option. If sort_backup_type is not specified it will default to
the size option.
#
#sort_backup_type size
#
sort_backup_type: [image | custom | drive ]
This parameter is optional and is used to specify three different restore
sort option. If sort_restore_type is not specified it will default to
the image option.
#
#sort_restore_type image
#
#
custom_sort_file: is optional and is used in conjunction with the
sort_backup_type and sort_restore_type parameter. If the custom option is
specified on either the sort_backup_type or sort_restore_type parameter,
then the custom_sort_file parameter needs to be set to a valid file. The
value for this parameter must be a full path name to a custom sort file and
must have public permissions.
#
#custom_sort_file /oracle/SAP/sapscripts/custom_sort_file
master_time_offset: is an option parameter used to restore old backups
if there was a time difference between the master and client machines.
This option should only be used for restoring 3.0 or older backup or if a
backint restore can't find a specified backup. The master_time_offset is
specified in minutes. The value will be subtract from the start time and
added to the end time for a restore or inquire.
#
#master_time_offset 2
#
#
#sleep: is optional and is used to specify a sleep time to monitor the
bpbackup or bprestore logs. The default is 5 seconds. When BACKINT is
called a number of bpbackup/bprestore commands can be running at the
sametime. BACKINT monitors each command and display the information to the
-o parameter. In some cases bpbackup/bprestore information is not displayed
because of the monitoring cycle. Therefore this option is used mainly for
debug reasons.
#
#sleep 5
#
#
policy_log: is optional and is the name of a policy to be used for
backing up a second copy of an archive log. If this option is specified
then two backups will be performed on the same archive log. The first
backup will go to the "policy" name option and the second backup will go
to the "policy_log" name option.
#
#policy_log sap_archive_logs
#
#
sched_log: is optional and is the name of a schedule to create a second
backing up of an archive log. If this option is specified then two backup
will be performed on the same archive log. The first backup will go to the
"schedule" option and the second backup will be go to the "sched_log" and
option. The "sched_log" name must be a valid schedule name under the
"policy_log" name option, otherwise it must be a valid schedule name under
the "policy" name option.
#
#sched_log Default-Application-Backup
#
#
retry_backup: is an optional parameter and should be set to the number of
retries for a failed backup. If this option is specified BACKINT will
retry a failed bpbackup job. The number of retries is determine by the
value on the retry_backup parameter.
#
#retry_backup 2
#
#
fail_backup: is optional and is used to stop the backup process immediately
when an error occurs. The standard behavior of BACKINT is to continue
processing even in the event of an error and then report what files failed
and what files were successful. If this parameter is specified then BACKINT
will stop process on the first error and report failures for all the
files that were not backed up.
#
#fail_backup
#
#
media_notify_script: is optional and is used to call a script when a
"Waiting mount" is displayed in a bpbackup/bprestore log. The value for this
option must be the full path name to a script. The script should also have
the right file permissions and should be tested before implementation. If
the message is encountered and this optional is specified, then the
following commands will be executed from BACKINT:
MEDIA_ID=A001;export MEDIA_ID
NETBACKUP_SERVER=saturn;export NETBACKUP_SERVER
/oracle/SAP/sapscripts/sap_media_notify
#
#media_notify_script /oracle/SAP/sapscripts/sap_media_notify
#
#
restore_filter: is optional and is used to resolve linked file paths on a
restore. This parameter should be commented out and should be used only on
rare occassions. The following are the cases were this parameter is needed:
1) Oracle table spaces use file paths
2) The directory paths to the Oracle table spaces are linked paths
3) The linked directory paths don't exist at restore time
The value for this parmater must be a fully qualified file path name to a
script, which has the right permissions and has been tested before being
implemented. The script must have an input and output parameter and be able
to modify the contents of a text file which contains file paths. The script
is responsible for converting linked directory paths into absolute directory
paths. See /usr/openv/netbackup/ext/db_ext/sap/scripts/restore_filter for
an example.
#
#restore_filter /oracle/SAP/sapscripts/restore_filter.sh
#
#
bplist_filter: is optional and is used to resolve linked file passes on an
inquire. This parameter should be commented out and should be used only on
rare occassions. Like the restore_filter_script parameter this is needed
for the following cases:
1) Oracle table spaces use file paths
2) The directory paths to the Oracle table spaces are linked paths
3) The linked directory paths don't exist at restore time
The value for this option must be a fully qualified path name to a script,
which has the right file permission and has been tested before being
implemented. The script must have an input and output parameter and be able
to modify the contents of a text file, which contains file paths. The script
is responsible for converting absolute directory paths into linked directory
paths. This is just the opposite of the restore filter script. See
/usr/openv/netbackup/ext/db_ext/sap/scripts/bplist_filter for an example.
Hello,
From dbm.ebp ::
"
2007-06-28 06:02:41 The database has finished work on the request.
Receiving a reply from the database kernel.
Got the following reply from db-kernel:
SQL-Code :-8020
Date :20070628
Time :00055747
Database :BWA
Server :s254176rg04
KernelVersion :Kernel 7.6.00 Build 035-123-139-084
PagesTransfered :131072
PagesLeft :2856899
MediaName :BWAPIPE
Location :/data01/BWAPIPE
Errortext :end of file
Label :DAT_000000065
IsConsistent :true
FirstLogPageNo :1823920
DBStamp1Date :20070628
DBStamp1Time :00055746
BDPageCount :2987947
DevicesUsed :1
DatabaseID :s254176rg04:BWA_20070605_123955
Max Used Data Page
Converter Page Count :1609
"
==> PagesTransfered :131072 < 10 GB >
PagesLeft :2856899 < ~22 GB left >
1)
From the dbm.ebp::
"
2007-06-26 21:35:40
Starting database action for the backup.
Requesting 'SAVE DATA QUICK TO '/backup/BWA/BWAPIPE' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BWAPIPE'' from db-kernel.
The database is working on the request.
"
=> MEDIANAME 'BWAPIPE' is not 'a parallel medium', there are NO restrictions
for the medium size < OK >.
Please update the thread with additional information::
A) What is the Maximum number of backup devices could be used in parallel for backup/recovery in MAXDB:
dbmcli -d BWA -u control,control param_directget MAXBACKUPDEVS
B) To see the medium's definition please update with output of the following command::
dbmcli -d BWA -u control,control medium_getall
C) As I saw in dbm.ebp
for Oracle output: WARNING: drives value missing from parameter file /sapdb/data/wrk/BWA/backint/initBWA.utl
==> What environment variables did you set & for which user, check
$SAP_DRIVES variable in the XSERVER protocol, if you are running
MAXDB backup using DBMGUI.
Did you export Environment Variables for the External Backup Tool using
dbm command 'dbm_configset'?
-> Please review the information about 'drives' parameter in initBWA.utl::
"# drives: is an optional parameter and should be set to the number of
simultaneous tape drives to kickoff backup. Set NetBackup Server to support
multiple simultaneous client backups and the number of storage units/tape
drives for this backup policy. Based on the number of drives specified
BACKINT will simultaneously run the same number of bpbackup/bprestore
commands. So for example, if the drives parameter is set to 5, then 5
bpbackup/bprestore jobs will run at the same time. The drives parameter
should be set to the following rule:
#
drives = Number of storage units per policy X MPX number
#
The drives parameter value should not exceed the Set Maxium Jobs per Client
global attribute. If BACKINT finds a $SAP_DRIVES environment variable, the
drive parameter value will be overriden by the value of the $SAP_DRIVES
variable. If the drive parameter is not specified and there is no
environment variable, then BACKINT will exit with an error.
"
&& drives parameter is NOT set in initBWA.utl ....
Please note that I cannot give you support for the backint for Oracle interface configuration as this is beyond of my field of expertise.
Please also contact vendor to check the configuration of the parameters in the initBWA.utl.
And in parameter file /sapdb/data/wrk/BWA/backint/adapter.para you set
to use 2 file per Backint for Oracle call.
2)
Could you please run the following test:
-> Please change the adapter.para for the stage area settings:
STAGING AREA: /sapdb/BWA/backintstage/stage1 32 GB
STAGING AREA: /sapdb/BWA/backintstage/stage2 10 GB
STAGING AREA: /sapdb/BWA/backintstage/stage3 10 GB
STAGING AREA: /sapdb/BWA/backintstage/stage4 10 GB
FILES PER BACKINT CALL: 1
BACKINT: /usr/openv/netbackup/bin/backint
PARAMETERFILE OF BACKINT: /sapdb/data/wrk/BWA/backint/initBWA.utl
HISTORY FILE: /sapdb/data/wrk/BWA/backint/BackintHistory
INPUTFILE FOR BACKINT: /sapdb/data/wrk/BWA/backint/backint4Oracle.in
OUTPUTFILE FOR BACKINT: /sapdb/data/wrk/BWA/backint/backint4Oracle.out
ERRORFILE FOR BACKINT: /sapdb/data/wrk/BWA/backint/backint4Oracle.err
MAXIMAL DELAY OF BACKINT CALL: 300
=> Run the MAXDB backup & if the backup failed, please post dbm.ebp file.
Thank you and best regards, Natalia Khlopina
Hey there,
I think you actually might have several issues:
a) MaxDB backup medium used possibly has a fixed (file)size, as the backup on the MaxDB side stopped at exactly 1GB (with about 2GB left)
b) your BackInt for Oracle parameter file (/sapdb/data/wrk/BWA/backint/initBWA.utl) doesn't seem to be correctly setup, as the below messages show:
"
Calling '/sapdb/BWA/db/bin/backint -u BWA -f backup -t file -p /sapdb/data/wrk/BWA/backint/initBWA.utl -i /sapdb/data/wrk/BWA/backint/backint4Oracle.in -c' .
Backint for Oracle ended at 2007-06-26 21:36:40 with return code 2.
Backint for Oracle output: Reading parameter file /sapdb/data/wrk/BWA/backint/initBWA.utl.
Backint for Oracle output:
Backint for Oracle output:
Backint for Oracle error output: No staging area is defined in the parameter file.
Backint for Oracle error output: The path of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output: The name of the history file is not defined in the parameter file.
Backint for Oracle error output: The name of the input file of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output: The name of the output file of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output: The name of the error output file of Backint for Oracle is not defined in the parameter file.
Backint for Oracle error output:
Finished the backup unsuccessfully.
"
Regards,
Roland
P.S.: -8020 means: "Next volume required"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.