Hello,

I am testing the Exchange plugin again. This time, I am using bacula 3.0.2
(for all daemons).

a) Set up a Microsoft 2003 Server, with Exchange 2003 installed, with the
default settings.

b) Set up a Microsoft XP machine, with Office 2007 installed.

c) Joined the XP machine to the domain of the server, and added a domain user
called 'user2', who can collect mail from the Exchange server using whatever
default protocol Exchange uses.

d) Telnetted to port 25 of the exchange server and set a couple of mails to
'user2', which the Outlook client then picks up.

e) Installed the bacula client on the Exchange machine, making sure that the
'Plugins Directory =' line is correct in the fd configuration file.

f) Set up the fileset as follows, and did a full backup.
FileSet {
  Name = "Windows:win-2k8-64:Windows Exchange Server data"
  Ignore FileSet Changes = yes
  Include {
    Options {
      signature = MD5
      compression = GZIP9
      IgnoreCase = yes
    }
    Plugin = "exchange:/@EXCHANGE/Microsoft Information Store"
  }
}

g) Sent a few more mails to 'user2'.

h) Flushed the Outlook cache on XP by right-clicking on the inbox ->
Properties -> Clear Offline Items, then Tools -> Send/Receive
-> Send/Receive All. Deleted all the mails from Outlook. Did another
send/receive to make sure that they could no longer be downloaded from the
server.

h) On the 2003 Server, opened Exchange System Manager, went to Servers ->
(Server name) -> First Storage Group, and for both Mailbox Store and Public
Folder Store, right-clicked -> Properties -> Database, ticked 'This database
can be overwritten by a restore'. Also, right clicked the Mailbox and Public
Folder Stores, and 'dismount'.

i) Deleted everything from 'C:\Program Files\Exchsrvr\MDBData'.

j) Went to bconsole, and restored everything from the fileset.

k) On the 2003 Server, re-mounted the Mailbox and Public Folder Stores.

l) Went back to Outlook on XP, did a send/receive, was told that I needed to
restart Outlook because of changes on Exchange. I did so, did another
send/receive and got back my emails from step (d).


All well and good, and as far as I got last time.



So, onto trying to restore using the Recovery Storage Group, following the
instructions here:
http://bacula.org/manuals/en/concepts/concepts/New_Features.html#SECTION003200000000000000000

The process that I followed was the same as above, up to step (g). After
that...

h) On the 2003 Server, opened Exchange System Manager, went to Servers and
right-clicked my server name (DEVEL-WK3-32) and chose 'New -> Recovery Storage
Group...', then 'OK'.
A Recovery Storage Group appears under my server name. I right-clicked
'Recovery Storage Group' and chose 'Add Database to Recover...' and
double-clicked 'Mailbox Store (DEVEL-WK3-32)', then 'OK'. 'Mailbox Store
(DEVEL-WK3-32)' then appears beneath my 'Recovery Storage Group'.

i) Went to bconsole, and restored the following directory:
C:/@EXCHANGE/Microsoft Information Store/First Storage Group/Mailbox Store
(DEVEL-WK3-32)/

Bacula reports that the restore failed, and bacula-fd on the Windows server
crashes. This is the log on the bacula director machine:

backup.example.com-dir JobId 44: Start Restore Job 
devel-wk3-32-restore.2009-08-18_08.52.37_40
backup.example.com-dir JobId 44: Using Device "Disk^A1.0"
backup.example.com-sd-91 JobId 44: Ready to read from volume "backup-0011" on 
device "Disk 1.0" (/write/mnt/Disk 1/var/lib/bacula/volumes).
backup.example.com-sd-91 JobId 44: Forward spacing Volume "backup-0011" to 
file:block 0:237.
backup.example.com-sd-91 JobId 44: End of Volume at file 0 on device "Disk 1.0" 
(/write/mnt/Disk 1/var/lib/bacula/volumes), Volume "backup-0011"
backup.example.com-sd-91 JobId 44: End of all volumes.
devel-wk3-32-fd JobId 44: Error: HrESERestoreComplete failed with error 
0xc7ff1004 - Unknown error.
backup.example.com-dir JobId 44: Fatal error: Network error with FD during 
Restore: ERR=Connection reset by peer
backup.example.com-dir JobId 44: Fatal error: No Job status returned from FD.
backup.example.com-dir JobId 44: Error: Bacula backup.example.com-dir 3.0.2 
(18Jul09): 18-Aug-2009 08:52:43
Build OS:               i686-pc-linux-gnu unknown unknown
JobId:                  44
Job:                    devel-wk3-32-restore.2009-08-18_08.52.37_40
Restore Client:         devel-wk3-32-fd
Start time:             18-Aug-2009 08:52:39
End time:               18-Aug-2009 08:52:43
Files Expected:         4
Files Restored:         0
Bytes Restored:         0
Rate:                   0.0 KB/s
FD Errors:              0
FD termination status:  Error
SD termination status:  OK
Termination:            *** Restore Error ***
backup.example.com-dir JobId 44: Begin pruning Jobs.
backup.example.com-dir JobId 44: No Jobs found to prune.
backup.example.com-dir JobId 44: Begin pruning Files.
backup.example.com-dir JobId 44: No Files found to prune.
backup.example.com-dir JobId 44: End auto prune.


The Windows Server Event Viewer has a few messages too. I've copied them here
in case they are useful:

Source: ESE BACKUP
Category: Callback
Type: Error
Description: Information Store (2936) Callback function call
ErrESECBRestoreComplete ended with error 0XC80003EB The parameter is not valid.

Source: Application Error
Category: (100)
Type: Error
Description: Faulting application bacula-fd.exe, version 0.0.0.0, faulting
module msvcrt, version 7.0.3790.3959, fault address 0x000385f0.

Source: DrWatson
Category: None
Type: Information
Description: The application, C:\Program Files\Bacula\bin\bacula-fd.exe,
generated an application error The error occurred on 08/18/2009 @ 08:52:19.575
The exception generated was c0000005 at address 77BD85F0 (msvcrt! strcmp)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to