RMAN scripts can be integrated with operating-system command scripts. Routine tasks in the form of commands/scripts can be maintained within the recovery catalog. The script can be executed by calling the procedure, as shown within the RMAN run command:
RMAN > RUN (EXECUTE SCRIPT <script name>;) )
The RMAN backup command can be used to backup archivelog files, data files, tablespaces, etc. You can specify criteria indicating the files to be backed up.