RMAN Environment Variables
437599Apr 1 2008 — edited Apr 9 2008Taking a look at the nightly backup job that Enterprise Manager submits for us I see that there are a number of, what appear to be, variables and function calls (?) such as $rman_script and &br_save_agent_env().
$rman_script="backup device type disk tag '%TAG' database;
backup device type disk tag '%TAG' archivelog all not backed up delete all input;
delete noprompt obsolete device type disk;
";
&br_save_agent_env();
&br_prebackup($l_db_connect_string, $l_is_cold_backup, $l_use_rcvcat, $l_db_10_or_higher, $l_backup_strategy, "TRUE");
my $result = &br_backup();
exit($result);
Running this script straight through RMAN fails due to syntax errors so I guess they're not RMAN variables. In addition, the RMAN exit statement doesn't take an argument.
Can anyone tell me what process is actually running these scripts and where the environment variables are documented?
Thanks.