Skip to content
March 18, 2014 / doganay

RMAN SCRIPT USING NETBACKUP POLICY

export ORACLE_SID=<your_oracle_sid>
rman target /
run {
allocate channel ch00 type 'SBT_TAPE'
PARMS='ENV=(NB_ORA_CLIENT=<YOUR_NB_ORA_CLIENT(usually your hostname)>,NB_ORA_SERV=<YOUR_NB_ORA_SERV>,NB_ORA_POLICY=<YOUR_NB_ORA_POLICY>)';
backup current controlfile;
release channel ch00;
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: