cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RMAN setup issue

SAPSupport
Employee
Employee
0 Likes
402

Recently, we are in process to setup RMAN in our space where we were using brtools using backint before.
I want to know how to use multiple files and multiple channels for RMAN using brtools.

 


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Likes

Please check below information.

 

SAP KBA
3404362        Brtools with RMAN

SAP Note
142635 - Installation of a backup library for Oracle

SAP Document
Oracle Recovery Manager
From <https://help.sap.com/doc/saphelp_nw73ehp1/7.31.19/en-US/47/1db0ec8ffb2c7ce10000000a114a6b/content.ht...>

 

Example (need to test by customer side)

 

-----

1. **Configure RMAN with BRTools:**

   Ensure your environment is set up so that RMAN commands can be executed via BRTools. This means Oracle and BRTools should be correctly installed and configured.

 

2. **Create RMAN Scripts:**

   You can create RMAN scripts to define your backup strategies. To use multiple channels, specify multiple `ALLOCATE CHANNEL` commands within your script.

 

   ```bash

   # Sample RMAN script (backup.rman)

   RUN {

     ALLOCATE CHANNEL ch1 TYPE DISK;

     ALLOCATE CHANNEL ch2 TYPE DISK;

     BACKUP DATABASE FORMAT '/backupdir/backup_%U' PLUS ARCHIVELOG;

     RELEASE CHANNEL ch1;

     RELEASE CHANNEL ch2;

   }

   ```

 

3. **Run RMAN with BRTools:**

   Use `brbackup` to call your RMAN script. You need to ensure that your `init<SID>.sap` configuration file (where `<SID>` is your SAP System ID) is set up to use RMAN. Here’s how you can set it up:

 

   - Ensure you have the following settings in your `init<SID>.sap` file:

   ```ini

   backup_dev_type = util_file

   tape_address = backint

   util_par_file = init<SID>.utl

   ```

   - Create or update your `init<SID>.utl` file to accommodate your RMAN script:

   ```ini

   br_backup = rman

   rman_script = /path/to/your/backup.rman

   ```

 

4. **Invoke the Backup:**

   Use the `brbackup` command to run the RMAN script via BRTools. This command should be executed with the necessary privileges.

 

   ```bash

   brbackup -c -p init<SID>.sap

   ```

 

5. **Configure Parallel Execution:**

   To further optimize and ensure that multiple channels are utilized efficiently, configure the degree of parallelism for RMAN jobs in your Oracle

 

-----

Answers (0)