Hello Eric,

Eric Bollengier wrote:
> Hello Sebastian,
> 
> On 25/08/2011 22:05, Sebastian Herbszt wrote:
>> I am trying to estimate the effort required to create an Oracle MML which 
>> can interact with Bacula.
>> Unfortunatelly i am unsure about its design:
>>
>> Backups are taken with RMAN and the MML has to connect to Bacula. According 
>> to the "Projects"
>> file [1] client initiated backups aren't supported, so the MML has to 
>> connect to the director. Once
>> connected it will have to run a job. The FD likely needs a plugin to 
>> interact with the MML (data and
>> control path).
>>
>> How can the MML communicate its intentions to Bacula? It doesn't seem to fit 
>> into a "job" approach.
> 
> Perhaps you can start by explaining a bit how MML works, and what is the 
> typical event sequence involved.
> 
> Bye

the Oracle Server can load a custom Media Manager Library (MML). This library 
has to provide functions [1]
which are used by the Oracle Server if a Recovery Manager (RMAN) initiated 
backup to tape is requested.
According to [1] those functions are "sbtinfo, sbtread, sbtwrite, sbtremove, 
sbtopen, sbtclose, sbtinit".

I assume the following event sequence:
- RMAN connects to an Oracle Server process which loads the MML
- RMAN requests a backup to tape
- Oracle Server process calls sbtinit
- Oracle Server process calls sbtopen
- Oracle Server process calls sbtwrite
- Oracle Server process calls sbtclose
- RMAN reports backup completion

Sebastian


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to