Lokeshaggarwal's DBA

Live the life you love. Love the life you live

Testing the Media Management API


sbttest can be used to perform a quick test of the media manager.

If sbttest returns 0, then the test ran without error, which means that the media manager is correctly installed and can accept a data stream and return the same data when requested. If sbttest returns a nonzero value, then either the media manager is not installed or it is not configured correctly.

 

Command to run sbttest is :

sbttest test.out -trace sbttest.trace

O/P of the command:

The sbt function pointers are loaded from libobk.a(shr.o) library.
— sbtinit succeeded
— sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: Media manager is version 5.0.0.0
sbtinit: vendor description string=Veritas NetBackup for Oracle – Release 6.5 (2010042404)
sbtinit: allocated sbt context area of 8 bytes
sbtinit: proxy copy is supported
— sbtinit2 succeeded
— regular_backup_restore starts …………………………..

 

In case, if it fails then we will get the below error like :

The sbt function pointers are loaded from libobk.so library.
— sbtinit succeeded
— sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: Media manager is version 1.1.0.0
sbtinit: vendor description string=Symantec/BackupExec/1.1.0
sbtinit: allocated sbt context area of 8 bytes
MMAPI error from sbtinit2: 7501, BEError(0xe0001005) Backup Exec encountered an unexpected error.

— sbtinit2 failed
you have mail in /var/spool/mail/oracle

 

 

 

December 11, 2015 Posted by | Backup and Recovery, Uncategorized | Leave a comment

RMAN Backup Architecture (Diagram)


RMAN Backup Architecture

August 28, 2012 Posted by | Backup and Recovery | Leave a comment