RMAN Backup failed ORA-01157 ORA-01110 if Tablespace, Datafile dropped during RMAN Backup (Doc ID 1526542.1)

Last updated on JULY 22, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.4 [Release 10.1 to 11.2]
Information in this document applies to any platform.

Symptoms


RMAN looks  for the datafiles to backup and identifies that the datafile doesn't exist any more ( dropped ) that cause the backup to fail.

The question is,
Does any workaround/patch exist so rman does not fail and exit, but to continue the backup with error message,
or warning that the Tablespace / Datafile was dropped after backup has started and so not available.


Error:

RMAN-03002: failure of backup plus archivelog command at 02/05/2013 12:51:00
RMAN-03009: failure of backup command on ch01 channel at 02/05/2013 12:51:00
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: 'No file with this number, file does not exist'

 

or:

RMAN-03002: failure of backup plus archivelog command at 02/06/2013 15:55:27
RMAN-06056: could not access datafile 5            <<-- This tablespace/datafile was dropped after rman backup was already started

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms