Thinking Out Loud

September 9, 2013

RMAN RESTORE from TAG

Filed under: 11g,RMAN — mdinh @ 3:37 am

So there I was, working on a request for how to restore from a specific backup.

Since the backup was using TAG, the easy solution is:

start database nomount.
restore controlfile from autobackup
startup mount database
restore database from tag ‘TAG';
recover database / recover database until sequence
open database resetlogs

Demo: RMAN_Restore_From_TAG_Part1

The issue with the demo is that it’s too simplistic.

What happens when a new tablespace or backup is created after the TAG backup and will restore controlfile from autobackup work?

Demo: RMAN_Restore_From_TAG_Part2

About these ads

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 314 other followers

%d bloggers like this: