RMAN Script

My favorite RMAN script thus far:

run {
CROSSCHECK ARCHIVELOG ALL DEVICE TYPE DISK;
CROSSCHECK BACKUP DEVICE TYPE DISK;
DELETE FORCE NOPROMPT EXPIRED ARCHIVELOG ALL DEVICE TYPE DISK;
DELETE FORCE NOPROMPT EXPIRED BACKUP DEVICE TYPE DISK;
RECOVER COPY OF DATABASE WITH TAG “whole_db_copy”;
BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG “whole_db_copy” DATABASE PLUS ARCHIVELOG DELETE ALL INPUT;
BACKUP RECOVERY AREA;
DELETE FORCE NOPROMPT OBSOLETE DEVICE TYPE DISK;
}

Advertisements

About Thomas Baran

Work with the Best, Deliver nothing Less.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

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