BR*Tools Example: BACKINT Interface

BACKINT uses the SAP BR*Tools to communicate with the SAP on Oracle database and perform backup and restore operations. You can inquire about backup requests and execute them.

Before You Begin

  1. Edit the init<SID>.utl file and add the parameters.

    CvInstanceName
    Instance001
    CvClientName
    client1
  2. Optional: To have the CommCell Console authenticate the job, configure the parameters for CommCell Console third-party job authentication.

Procedure

Perform a Backup Operation

Use the following example, substituting the SID, input_text_file and output_file variables.

backint -u SID -f backup -t file –p /oracle/SID/dbs/initSID.utl -i input_text_file -o output_file

Output

Program: backint Parameters: Client node: RC1 Function: backup Input File: input_text_file Output File: output_file Profile: /oracle/SID/dbs/initC11.utl Parallel sessions: 1 BKI0008I: Number of bytes to save: 0.012 MB. Backup started ... #SAVED SAP___9409020458 /oracle/SID/sapdata1/user1i_1/user1i.data1 BKI0022I: Bytes saved so far: 0.012 MB (100.0%).

Perform an Inquiry Operation

To get a list of all the backup jobs that contain a specified file name, use a # in front of the file name.

#NULL /oracle/SID/sapdata1/user1i_1/user1i.data1

Example

Use the following example, substituting the SID, input_text_fil and output_file variables.

Program: backint Parameters: Client node: RC1 Function: backup Input File: input_text_file Output File: output_file Profile: /oracle/CER/dbs/initCER.utl Parallel sessions: 1 #BACKUP SAP___9409020458 /oracle/SID/sapdata1/user1i_1/user1i.data1 #BACKUP SAP___9409020450 /oracle/SID/sapdata1/user1i_1/user1i.data1
×

Loading...