On Thu, Mar 26, 2009 at 11:06:01AM +0100, Kern Sibbald wrote:
> Hello,
> 
> Some time ago, you asked if plugins work with compression and encryption.  
> I've now had a chance to look at the code, and in principle, the answer is 
> yes.
> 
> When a command plugin is being used, the plugin_save() entry point is called 
> rather than the normal save_file() entry point.  After setting everything up, 
> the plugin_save routine then calls the standard save_file() routine.  In 
> principle (I haven't actually traced the code), the only difference after 
> that point is that at a very low level when the I/O routines are called to 
> read a file, it is instead directed to the plugin which does the I/O.
> 
> I've used the words "in principle" several times, because this is what was 
> designed, but it really needs testing and verification, and possibly fixing 
> if it doesn't work correctly.
> 
> The question of plugins working with Accurate mode are different because of 
> its design.  Recently I have enhanced the plugin API so that "in principle" a 
> conforming plugin will be able to work correctly with accurate mode or at 
> least fail the job if it cannot.  The work to modify the Exchange plugin to 
> become conforming is still in progress.
> 
> Best regards,
> 
> Kern

OK, thank you for the update.


------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to