Performing a Hot or Cold Backup of a Database:
If you are going to back up a database in NOARCHIVELOG mode, some manual DBA intervention is required. RMAN will not shut down and then open the database for you, so you must do these first. Because backups for databases in NOARCHIVELOG mode must be cold backups, the database must be mounted and not open. If the database is open, or if it is shut down, RMAN generates an error. Once you have mounted the database, you can back up the database as you normally would. Once you deal with the issue of the database being mounted rather than open, the overall RMAN process for performing cold and hot backups is generally the same. Examples of a backup with RMAN is shown below:RMAN>  run {
2> allocate channel dev1 type disk;
3> backup full
4> format '/tmp/backup_dir/db_t%t_s%s_p%p' (database);
5> release channel dev1;
6> }Tablespace And Datafile BackupsRMAN allows you to do backups of tablespaces and datafiles. Below is an example of a backup of a tablespace and a datafile all in the same backup command. This demonstrates how to merge two backups into one RUN command.RMAN>  run {
2> allocate channel dev1 type disk;
3> backup 
4> format '/tmp/backup_dir/db_t%t_s%s_p%p' (tablespace system);
5> backup 
6> format '/tmp/backup_dir/db_t%t_s%s_p%p' (datafile 2);
5> release channel dev1;
6> }我