You can back up a database manually using RMAN.
To start RMAN with a recovery catalog and back up a database
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.
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.
RMAN> connect target system/manager RMAN> run { 2> allocate channel dev1 type sbt parms='SBT_LIBRARY=/opt/Arcserve/ABoraagt/libobk32.so'; 3> backup database format '_%u_%p_%c'; 4> release channel dev1; 5> }
RMAN> connect target system/manager RMAN> run { 2> allocate channel dev1 type sbt parms='SBT_LIBRARY=/opt/Arcserve/ABoraagt/libobk64.so'; 3> backup database format '_%u_%p_%c'; 4> release channel dev1; 5> }
Database backup is complete.
Note: The path /opt/CA/ABoraagt is the Agent for Oracle default installation path.
Copyright © 2016 |
|