Enabling Multiple Oracle Backup Copies Using RMAN

Updated

Create multiple copies of the data or log backups by using the RMAN commands. During a restores operation, if one of the copies is missing or corrupted, the restore operation automatically performs a failover to the other copy and can then restore the data.

Procedure

  1. Edit the Oracle pfile or SP file and set the BACKUP_TAPE_IO_SLAVES initial parameter to TRUE.

  2. Configure device type. On the RMAN command line, type the following command.

    Example

    RMAN> CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
        
    
  3. Specify two copies of data. On the RMAN command line, type the following command.

    Example

    RMAN> CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 2;
        
    
  4. Specify two copies of log backups. On the RMAN command line, type the following command.

    Example

    RMAN> CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 2;
        
    
  5. Add the environmental variables for the client and instance where the Oracle instance is installed. On the RMAN command line, type the following command.

    Example

    configure channel ch1 type 'sbt_tape' PARMS="<software_installation_path>/Base/libobk.so, ENV=(CvClientName=<client_name>, CvInstanceName=<instance_name>)"

What to Do Next

Was this page helpful?