RMAN backup script example
Refer to this example when you are configuring Data Protection for Oracle on the backup server.
The RMAN backup script must be specified in the profile
with the DATABASE_BACKUP_SCRIPT_FILE parameter.
The example shows the required syntax of the RMAN
backup script. The keyword backup
must be entered on a single line of text without any other text
as shown in this example. There must be a line break
after the backup keyword.
run
{
allocate channel 'c1' type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/home/oracle/tdpo.opt)';
backup
(database);
release channel c1;
}