Home » RDBMS Server » Backup & Recovery » RMAN Backup Script (merged 3)
RMAN Backup Script (merged 3) [message #413527] Thu, 16 July 2009 04:46 Go to next message
html
Messages: 1
Registered: July 2009
Junior Member
I'm new to Oracle DB Admin. Can anybody explain to me wht actually below code doing??? if posibble by line by line, thks Smile

run {
allocate channel chn1 TYPE disk ;
allocate channel chn2 TYPE disk ;
allocate channel chn3 TYPE disk ;
allocate channel chn4 TYPE disk ;

backup incremental level 0
tag 'hot_db_bk_level0'
filesperset 4
format '/u02/backup/bk_%s_%Y%M%D_%t'
as compressed backupset
database;

sql 'alter system archive log current';

BACKUP
filesperset 20
FORMAT '/u02/backup/al_%s_%Y%M%D_%t'
as compressed BACKUPSET
ARCHIVELOG ALL DELETE INPUT;

BACKUP
FORMAT '/u02/backup/ctl-%I-%Y%M%D_%t'
CURRENT CONTROLFILE;

release channel chn1;
release channel chn2;
release channel chn3;
release channel chn4;
}
Re: RMAN Backup Script (merged 3) [message #413538 is a reply to message #413527] Thu, 16 July 2009 05:21 Go to previous message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
This will give you complete description (Backup and Recovery Reference).
Previous Topic: Add redo log member to flash recovery area
Next Topic: Define a tape backup device
Goto Forum:
  


Current Time: Sun Nov 24 23:12:33 CST 2024