logging into rman (it's in the oracle_home directory)
set oracle_sid=SID
rman target /
then you need to configure some options
like where to backup
sample script to backup to the H: drive
RMAN> run {
CONFIGURE RETENTION POLICY TO recovery window of 4 days;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE = 10G;
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'H:\rman\%d\%d_%s_%p_%u';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'H:\rman\%d\%F';
CONFIGURE BACKUP OPTIMIZATION ON;
}
you can also do the separate commands from the rman prompt
RMAN> CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'H:\rman\%d\%d_%s_%p_%u';
Then run the backup
RMAN> backup as compressed backupset incremental level 0 database;
read more here:
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/setup001.htm#sthref188for a quick start guide:
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14193/toc.htm