RMAN Example: Restoring Oracle Full Databases

You can restore an entire database when the database is corrupted or lost.

Before You Begin

Procedure

  • On the RMAN command line, run the following sample script, substituting any required or optional Oracle SBT parameters.

    For information on required and optional SBT parameters, see SBT Parameters.

    run { 
    allocate channel ch1 type 'sbt_tape'; 
    allocate channel ch2 type 'sbt_tape'; 
    restore database;
    recover database;
    sql "alter database open";
    }
    

Page contents

×

Loading...