To get a clear knowledge, I would suggest you to go through the sample backup scripts available at $ORACLE_HOME/rdbms/demo/*.rcv

That has scripts for both backup and recovery and for different levels of backups.

Good luck,
Sam