Bacula-users

Re: [Bacula-users] Clarification on Exchange plugin

2011-05-26 09:31:50
Subject: Re: [Bacula-users] Clarification on Exchange plugin
From: Graham Keeling <graham AT equiinet DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 26 May 2011 14:24:33 +0100
On Thu, May 26, 2011 at 01:50:39PM +0100, Marc Goujon wrote:
> Hello,
> 
> I know this might have been asked millions of times before, but I cannot 
> seem to locate clear information via the archives or the official 
> documentation and I feel I am almost there.
> 
>  From what I have understood, the Exchange plugin is basically that 
> exchange-fd.dll file. The first question is: is that enough? I ask this 
> because while reading the archives someone mentioned that bpipe plugin 
> was needed, however the documentation says "The purpose of the plugin is 
> to provide an interface to any system program for backup and restore". 
> So... a plugin requires another plugin? Is bpipe just allowing to 
> include plugin = "XXXX" expressions in the file sets?
> 
> Secondly, my config for the director (a linux machine) says:
> 
> FileSet {
>    Name = "Exchange"
>    #Enable VSS = yes
>    Include {
> 
>        File = "C:\\Program Files\\Microsoft\\Exchange Server\\Mailbox"
>        Plugin = "exchange:@EXCHANGE/Microsoft Information Store"
> 
>    }
> 
>    Exclude {
>                  File = "C:\\Program 
> Files\\Microsoft\\Exchange\\Mailbox\\First Storage Group\\Mailbox 
> Database.edb"
>                  File = "C:\\Program 
> Files\\Microsoft\\Exchange\\Mailbox\\First Storage Group\\Mailbox 
> Database.edb"
>                  File = "C:\\Program 
> Files\\Microsoft\\Exchange\\Mailbox\\Second Storage Group\\Public Folder 
> Database.edb"
> 
>                  }
>    }
> 
> However when my job fails, I get the following error:
> 
> sbs-fd Cannot open "C:\Program Files\Microsoft\Exchange 
> Server\Mailbox/First Storage Group/Mailbox Database.edb": ERR=The 
> process cannot access the file because it is being used by another process.
> 
> sbs-fd Cannot open "C:\Program Files\Microsoft\Exchange 
> Server\Mailbox/Second Storage Group/Public Folder Database.edb": ERR=The 
> process cannot access the file because it is being used by another process.
> 
>   Fatal error: /home/kern/bacula/k/bacula/src/filed/fd_plugins.c:223 Command 
> plugin "exchange:@EXCHANGE/Microsoft Information Store" requested, but is not 
> loaded.
> 
> 
> There must be something I am missing here, as although those files are 
> explicitly excluded, they are still causing the error?
> 
> Any tips or docs you can point me to would be greatly  appreciated.

a) I think you should only use forward slashes ('/') in your filesets, not
backslashes.

b) This is the fileset that I used to use:

FileSet {
  Name = "Windows:2k3-pt2:Windows Exchange Server data"
  Include {
    Options {
      signature = MD5
      compression = GZIP9
      IgnoreCase = yes
    }
    Plugin = "exchange:/@EXCHANGE/Microsoft Information Store"
  }
}

c) Be very very careful with this. I believe that the plugin doesn't work
properly. Specifically, it will restore from:
    * A full backup
    * A full backup, plus one incremental.
But then it may not restore from:
    * A full backup, plus two incrementals.
And be less and less likely to work for each incremental that you add.
And without attempting to restore, it will seem as if it is working.

See bacula bug number 0001647, which has the status "closed" with the
resolution "won't fix":
http://marc.info/?l=bacula-bugs&m=129690630228142&w=2

You might be OK if you always did Full backups, but that defeats the point.


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users