Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RMAN Environment Variables

437599Apr 1 2008 — edited Apr 9 2008
Taking 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 7 2008
Added on Apr 1 2008
3 comments
2,229 views