Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: [Q] RMAN backup use Veritas Netbackup problem?

Re: [Q] RMAN backup use Veritas Netbackup problem?

From: Radoulov, Dimitre <cichomitiko_at_gmail.com>
Date: Tue, 7 Jun 2005 23:46:27 +0200
Message-ID: <004901c56baa$69a52490$a900a8c0@IBME1D11967173>


Check for the symbolic link under OH/lib:

$ ls -l libobk.so
lrwxrwxrwx 1 oracle dba 36 Dec 21 16:27 libobk.so -> /usr/openv/netbackup/bin/libobk.so.1

Verify the environment:

 export NB_ORA_SERV=<backup_server>
 export NB_ORA_CLASS=<nb_class>

Then you can run from the rman's prompt:

connect target
run {
set command id to 'bck_full_<db_name>;
allocate channel t1 type 'SBT_TAPE';
sql 'alter system checkpoint global';

backup

   full
   filesperset 4
   tag bck_full_<db_name>
   format 'dbase_%d_%s_%t'
     (database);

release channel t1;
}

HTH Dimitre Radoulov

ETNØTEAM

> Our LINUX server have ORACLE agent of Veritas
> Netbackup installed.
>
> I tried to backup file to tape failed. Anyone know
> why?
>
> RMAN> backup device type sbt datafile 3;
>
> Starting backup at 07-JUN-05
> RMAN-00571:
> ===========================================================
> RMAN-00569: =============== ERROR MESSAGE STACK
> FOLLOWS ===============
> RMAN-00571:
> ===========================================================
> RMAN-03002: failure of backup command at 06/07/2005
> 17:30:43
> RMAN-06471: no configuration found to allocate
> channels for SBT_TAPE
>
> RMAN> run {
> 2> allocate channel ora_sbt_tape1 device type sbt;
> 3> backup datafile 3;
> 4> }
>
> RMAN-00571:
> ===========================================================
> RMAN-00569: =============== ERROR MESSAGE STACK
> FOLLOWS ===============
> RMAN-00571:
> ===========================================================
> RMAN-03002: failure of allocate command at 06/07/2005
> 17:32:33
> RMAN-06472: channel id ora_sbt_tape1 is automatically
> allocated
>
>
> Thanks.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> --
> http://www.freelists.org/webpage/oracle-l

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jun 07 2005 - 17:51:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US