Cataloging RMAN Backup Pieces from a List of Backup Piece Names

When the RMAN repository does not know about the backup pieces that you want to restore, you can run this procedure to add the backup pieces from tape or media to the RMAN repository. You can use this procedure or a procedure that creates a script that catalogs the backup pieces using backup job IDs. For more information on using a script that catalogs the backup pieces using backup job IDs, see Cataloging RMAN Backup Pieces from a List of Backup Job IDs.

Procedure

  1. On the RMAN command line, type an RMAN command similar to the one below.

    configure channel device type 'sbt_tape' PARMS="SBT_LIBRARY=client_agent_install_path/Base/libobk.so";

    The SBT_LIBRARY paths for the various platforms are as follows:

    • AIX with 64-bit Oracle - client_agent_install_path/Base64/libobk.a(shr.o)

    • Solaris with 64-bit Oracle - client_agent_install_path/Base64/libobk.so

    • Linux on System Z with 64-bit Oracle - client_agent_install_path/Base64/libobk.so

    • All other UNIX platforms - client_agent_install_path/Base/libobk.so

  2. To verify the configuration, on the RMAN command line type the following command:

    show all;
    
  3. To catalog the backup pieces, on the RMAN command line type the following command:

    catalog device type 'sbt_tape' backuppiece 'backup_piece_name1','backup_piece_name2';

    where backup_piece_name1 and backup_piece_name2 are the backup piece file names.

Page contents

×

Loading...