Re: rman restore from consistent backup

From: hpuxrac <>
Date: Mon, 9 Feb 2009 10:50:46 -0800 (PST)
Message-ID: <>

On Feb 9, 12:08 pm, Charles Hooper <> wrote:


> > If you are running in noarchivelog mode the only way to use rman is to
> > take a backup when the database is shutdown ( not open ).
> > Think about buying Robert Freeman's most recent ( 10g ) RMAN book.
> Hpuxrac,
> Some clarification.  When you state shutdown (not open), do you mean
> completely shut down, or just that the database is mounted?

shutdown immediate followed by a starup mount then the RMAN backup ...

  I have
> that RMAN book by Robert Freeman.  Page 27 indicates that for a
> database in NOACHIVELOG mode, the correct way to backup the database
> is to shut down the database, backup the files, and then restart the
> database.  Page 245 states "RMAN will not prevent you from doing a
> tablespace or datafile backup in NOARCHIVELOG mode (as long as the
> database is not open).  However, these backups are not really all that
> usable when the database is in NOARCHIVELOG mode (unless you back up
> all the tablespaces and datafiles at the same time)."

See the complete example on page 285 in Chapter 10 "Recover your NOARCHIVELOG Mode database" steps your thru both the backup procedure and recovery procedures.

You seem to be mixing in 2 separate things ( well at least separate pages ) from the author as different that are really the same. In NOARCHIVELOG mode using RMAN ( or not ) you really want to get all the database at the same time ... not some tablespaces at one point and others at a different point ... which you can do ( but often reaches a point of diminishing return ) in ARCHIVELOG mode.

> Contrast that advice to the advice shown here in "RMAN Recipes for
> Oracle Database 11g" (another book that I own):
> "If you're running the database in noarchivelog mode, the recommended
> approach to backing up the database is to shut down the database
> cleanly first and then to back up all the datafiles.  If you're using
> RMAN to perform an offline backup, the database must be mounted before
> you can actually perform the RMAN backup.  This is because RMAN needs
> to update the target control file."

??? It is the same advice ... see the example from Freeman where you start by recovering the controlfile in nomount ... then mount ... the restore database ... then recover database noredo ... then alter database open resetlogs ... ( then take a backup immediately ).

> To help the OP, what is the correct way to back up the database in
> noarchivelog mode?  The error reported indicates that an inconsistent
> backup was captured.  I wonder if the backup was captured after a
> shutdown abort, or a failed shutdown immediate - see the timeout note
> at the bottom of this page:

See above. For the OP ... consider implementing a procedure where you at least get the database in archivelog mode briefly before during after briefly after the RMAN backup it reduces some of the complexity. Better yet keep it in archivelog mode gives you much more flexibility with recovery scenarios. Received on Mon Feb 09 2009 - 12:50:46 CST

Original text of this message