Overview of RMAN Commands and Options
In the next few sections, we??™ll review the basic set of commands you??™ll use on a regular basis.
We??™ll show you how to make your job even easier by persisting some of the settings in an RMAN
session; in addition, we??™ll set up the retention policy and the repository we??™ll use to store RMAN
metadata.
At the end of this section, we??™ll review the initialization parameters related to RMAN backups
and the flash recovery area.
Frequently Used Commands
Table 12-1 provides a list of the most common RMAN commands you??™ll use on a regular basis,
along with some common options and caveats for each command. For the complete list of all
RMAN commands and their syntax, see the Oracle Database Backup and Recovery Reference,
11g Release 1.
If backups use a flash recovery area (I presented the flash recovery area in Chapter 11), you
can back up the database without any other explicit RMAN configuration by running the following
command:
RMAN> backup database;
Note that this is a full backup and can be used with archived redo log files to recover a
database. However, this is not a level 0 backup and cannot be used as part of an incremental
backup strategy. See the ???Backup Operations??? section later in this chapter.
Setting Up a Repository
Whether you use a repository for the metadata from one database or a hundred, the repository
setup is very straightforward and needs to be done only once.
Pages:
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661