Database Reference
In-Depth Information
Backing Up Your Database with RMAN
We will discuss backups of your database using RMAN in the following sections. We will
first talk about the different types of backups that you can make with RMAN. Then we
will discuss what you can back up using RMAN, such as the database, archived redo logs,
and so forth.
Using the RMAN Command Line
Like SQL and SQL*Plus, RMAN has its own unique command set. You use these commands
to do a number of things:
Configure RMAN
Back up database structures (tablespaces, data files, control files, and so on)
Restore and recover your database
Produce various reports and lists that contain backup-related information
Create duplicate databases
Restore specific tablespaces
This is just a partial list of all the things RMAN can do for you. Table 3.3 describes the
RMAN commands you will need to know for the OCP exam.
TABle 3.3 RMAN Commands
RMAN Command
Description
@
Run a command file.
@@
Run a command file in the same directory as another command file
that is currently running. The @@ command differs from the @ com-
mand only when run from within a command file.
ALLOCATE CHANNEL
Establish a channel, which is a connection between RMAN and a
database instance.
ALLOCATE CHANNEL
FOR MAINTENANCE
Allocate a channel in preparation for issuing maintenance com-
mands such as DELETE .
allocOperandList
A subclause that specifies channel control options such as PARMS
and FORMAT .
ALTER DATABASE
Mount or open a database.
Search WWH ::




Custom Search