Recovering The Database - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

RMAN> BACKUP DATABASE FORMAT'/tmp/%U';
%U generates a unique filename.
The RMAN backup command creates a backup set, which is a logical object that contains one or
more backup pieces.
The backup command output contains the essential information about the backup, as shown in the
following example:
Starting backup at OCT 12 2001 19:09:48
using target database controlfile instead of recovery catalogal
located channel: ORA_DISK_1
channel ORA_DISK_1: sid=10 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current SPFILE in backupset
including current controlfile in backupset
input datafile fno=00001 name=/oracle/oradata/zenworks/system01.dbf
input datafile fno=00002 name=/oracle/oradata/zenworks/undotbs01.dbf
input datafile fno=00003 name=/oracle/oradata/zenworks/cwmlite01.dbf
input datafile fno=00004 name=/oracle/oradata/zenworks/drsys01.dbf
input datafile fno=00005 name=/oracle/oradata/zenworks/example01.dbf
input datafile fno=00006 name=/oracle/oradata/zenworks /indx01.dbf
input datafile fno=00007 name=/oracle/oradata/zenworks/tools01.dbf
input datafile fno=00008 name=/oracle/oradata/zenworks/users01.dbf
channel ORA_DISK_1: starting piece 1 at OCT 12 2001 19:09:56
channel ORA_DISK_1: finished piece 1 at OCT 12 2001 19:10:31
piece handle=/oracle/dbs/lvd6dtk1_1_1 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:39
Finished backup at OCT 12 2001 19:10:33

9.3.6 Recovering the Database

You can recover a restored data file by applying archived redo logs and online redo logs; that is,
records of changes made to the database after the backup was taken. The following sections provide
instructions for two methods you can use to recover the database:
"Complete Recovery" on page 92
"Incomplete Recovery" on page 93
Complete Recovery
Complete recovery involves using redo data or incremental backups combined with a backup of a
database, tablespace, or data file, to update it to the most current point in time. This is called a
complete recovery because Oracle applies all of the redo changes contained in the archived and
online logs to the backup. Typically, a complete media recovery is performed after a media failure
damages data files or the control file.
1 Use the following sequence of commands to perform a complete recovery of the database:
RMAN> connect target / RMAN> run { 2> startup mount; 3> restore
database; 4> recover database; 5> alter database open; 6> }
92
Novell ZENworks 7.2 Linux Management Administration Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents