Home » Administration, Backup Recovery, Oracle

Full Online Backup Script Using RMAN

23 November 2009 261 views No Comment

This script will backup all the datafiles using the RMAN utility reducing the cost of resources.

Code:

resync catalog;
run {
allocate channel c1 type disk;
copy datafile 1 to ‘C:\rman1.dbf’;
copy datafile 2 to ‘C:\rman2.dbf’;
copy datafile 3 to ‘C:\rman3.dbf’;
copy datafile 4 to ‘C:\rman4.dbf’;
copy datafile 5 to ‘C:\rman5.dbf’;
}

exit
echo exiting after successful hot backup using RMAN

Google : Full Online Backup Script Using RMAN
Google Search: Full Online Backup Script Using RMAN
DB Error Code: Full Online Backup Script Using RMAN

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.