Previous Topic: Back Up Using RMAN Scripts in the Agent

Next Topic: RMAN Command Line Scripts

Back Up Manually with RMAN

You can back up a database manually using RMAN.

To start RMAN with a recovery catalog and back up a database

  1. Open a Command Prompt window and enter the following command to start RMAN:
    rman target dbuser/dbuserpassword rcvcat catowner /catownerpassword@rman service name
    

    where:

    dbuser is the user with dba privileges.

    dbuserpassword is the dbuser password.

    catowner is the Oracle user name of the RMAN catalog owner.

    catownerpassword is the catalog owner password.

    rman database is the database where the RMAN catalog is installed.

  2. Enter the following commands to back up a database:
    RMAN> connect target system/manager
    
    RMAN> run {
    
    2> allocate channel dev1 type 'sbt_tape';
    
    3> backup database format '_%u_%p_%c';
    
    4> release channel dev1;
    
    5> }
    

    Database backup is complete.