Hello Graham,

The Exchange plugin will not work with any special processing such as 
compression, encryption, sparse file handling, ...

I'll fix the core code to either print a warning message, ignore the option, 
or fail the job if any non-supported options are used.  I haven't decided 
which is the most appropriate to do -- probably fail the job.

With some redesign of the FD, in some later release, we may be able to support 
these kinds of options.

Best regards,

Kern

On Friday 30 January 2009 12:46:46 Graham Keeling wrote:
> On Thu, Jan 29, 2009 at 07:29:10AM +0100, Kern Sibbald wrote:
> > I am giving a course today, so will take a look at this tomorrow.  If I
> > can have the exact context in which it occurred, it might help.  It does
> > look like a Bacula problem ...
>
> Hello,
> A small recap...
>
> FileSet {
>   Name = "Windows Exchange Server data"
>   Ignore FileSet Changes = yes
>   Include {
>     Options {
>       signature = MD5
>       compression = GZIP9
>       IgnoreCase = yes
>
>     }
>
>     Plugin = "exchange:/@EXCHANGE/Microsoft Information Store"
>
>   }
>   Exclude {
>
>   }
> }
>
> With the above FileSet, I did a Full backup of a Windows 2003 Server that
> was was running Exchange 2003, using the Exchange plugin. I followed the
> procedure for restoring to the Recovery Storage Group as given on this page
> (both with and without adding a RegexWhere clause - the result is the
> same)...
> http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html#SECTIO
>N005175000000000000000 ...and I got the following errors:
>
> Jan 28 11:12:49  bacula-dir: devel-wk3-32-fd JobId 9: Error:
> HrESERestoreAddDatabase failed with error 0xc7fe1f42 - Unknown error. Jan
> 28 11:12:49  bacula-dir: devel-wk3-32-fd JobId 9: Error:
> /usr/src/redhat/BUILD/bacula-2.5.28-b1/src/filed/restore.c:390 Unexpected
> cryptographic session data stream. Jan 28 11:12:49  bacula-dir:
> devel-wk3-32-fd JobId 9: Error: Format of /@EXCHANGE/Microsoft Information
> Store/First Storage Group/Public Folder Store
> (DEVEL-WK3-32)/DatabaseBackupInfo is incorrect
>
> On Thursday 29 January 2009 02:30:07 James Harper wrote:
> > Do you have crypto enabled? If so, please try disabling it - maybe there
> > is some strange interaction between the plugin and the crypto stuff... I
> > think any crypto and compression should be transparent to a fd plugin.
> >
> > Kern: Any thoughts on the 'Unexpected cryptographic session data stream'
> > message?
>
> I've just gone over the same procedure, with encryption off when I did the
> backup and when I tried the restore. The restore failed again, but I did
> not get any crypto errors. I only got the 'Unknown error'.
>
> Here is the output from that last run, in full:
>
> Jan 30 11:29:08  bacula-dir: tserv.example.com-dir JobId 3: Start Restore
> Job devel-wk3-32-restore.2009-01-30_11.29.06.28 Jan 30 11:29:08 
> bacula-dir: tserv.example.com-dir JobId 3: Using Device "Disk^A1.0" Jan 30
> 11:29:08  bacula-dir: tserv.example.com-sd-91 JobId 3: Ready to read from
> volume "backup-0001" on device "Disk 1.0" (/write/mnt/Disk
> 1/var/lib/bacula/volumes). Jan 30 11:29:08  bacula-dir:
> tserv.example.com-sd-91 JobId 3: Forward spacing Volume "backup-0001" to
> file:block 0:244. Jan 30 11:29:08  bacula-dir: devel-wk3-32-fd JobId 3:
> Error: HrESERestoreAddDatabase failed with error 0xc7fe1f42 - Unknown
> error. Jan 30 11:29:09  bacula-dir: tserv.example.com-sd-91 JobId 3: End of
> file 0 on device "Disk 1.0" (/write/mnt/Disk 1/var/lib/bacula/volumes),
> Volume "backup-0001" Jan 30 11:29:09  bacula-dir: tserv.example.com-sd-91
> JobId 3: End of Volume at file 0 on device "Disk 1.0" (/write/mnt/Disk
> 1/var/lib/bacula/volumes), Volume "backup-0001" Jan 30 11:29:09 
> bacula-dir: tserv.example.com-sd-91 JobId 3: End of all volumes. Jan 30
> 11:29:10  bacula-dir: devel-wk3-32-fd JobId 3: Storage Group 'First Storage
> Group' restored successfully Jan 30 11:29:11  bacula-dir:
> tserv.example.com-dir JobId 3: Error: Bacula tserv.example.com-dir
> 2.5.28-b1 (04Jan09): 30-Jan-2009 11:29:10 Jan 30 11:29:11  bacula-dir:  
> Build OS:               i686-pc-linux-gnu unknown unknown Jan 30 11:29:11 
> bacula-dir:   JobId:                  3
> Jan 30 11:29:11  bacula-dir:   Job:                   
> devel-wk3-32-restore.2009-01-30_11.29.06.28 Jan 30 11:29:11  bacula-dir:  
> Restore Client:         devel-wk3-32-fd Jan 30 11:29:11  bacula-dir:  
> Start time:             30-Jan-2009 11:29:08 Jan 30 11:29:11  bacula-dir:  
> End time:               30-Jan-2009 11:29:10 Jan 30 11:29:11  bacula-dir:  
> Files Expected:         12
> Jan 30 11:29:11  bacula-dir:   Files Restored:         12
> Jan 30 11:29:11  bacula-dir:   Bytes Restored:         13,652,676
> Jan 30 11:29:11  bacula-dir:   Rate:                   6826.3 KB/s
> Jan 30 11:29:11  bacula-dir:   FD Errors:              1
> Jan 30 11:29:11  bacula-dir:   FD termination status:  Error
> Jan 30 11:29:11  bacula-dir:   SD termination status:  OK
> Jan 30 11:29:11  bacula-dir:   Termination:            *** Restore Error
> ***
>
>
> ---------------------------------------------------------------------------
>--- This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to