On Thu, Jan 22, 2009 at 10:29:02AM +0000, Graham Keeling wrote:
> OK, so if you are just backing up your Exchange Microsoft Information Store,
> you would do this:
>
> FileSet {
> Name = "Windows Exchange Server data"
> Include {
> Plugin = "exchange:/@EXCHANGE/Microsoft Information Store"
> }
> }
Though I am trying this plugin out, I am a complete novice with Windows
software, so this is a big learning experience for me. This is what I did
whilst trying to follow the instructions on
http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html:
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 'graham', who can collect mail from the Exchange server using
whatever default protocal Exchange uses.
d) Telnetted to port 25 of the exchange server and set a couple of mails to
'graham', 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 above, and did a full backup.
g) Sent a few more mails to 'graham'.
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'.
If I don't do this, I get messages like 'Unexpected cryptographic session
data stream' when I run the restore.
Also, right click the Mailbox and Public Folder Stores, and 'dismount'.
i) I then go to bconsole, and restore everything from the fileset.
j) On the 2003 Server, re-mount the Mailbox and Public Folder Stores.
k) Went to the XP machine to see what was now in my mailbox.
Initially, I had a great deal of confusion (this is normal for me on
Windows, mind ;) ). All the same mails were still there. I went to Tools ->
Send/Receive -> Send/Receive All, and nothing changed. I eventually figured
out that Outlook downloads the mails to the local machine - though it leaves
copies on the server too.
(l) I flushed the cache by right-clicking on the inbox -> Properties -> Clear
Offline Items, then Tools -> Send/Receive -> Send/Receive All.
...and all the mails came back. I was only
expecting to get the mails that were present at the time of the original
backup, but I got all of the mails back.
What I think had happened was that I had restored the backup on top of the
subsequent data, meaning that I had all the mails on the Exchange server.
So, what I did next was that I repeated step (h), but then went to
C:/Program Files/Exchsrvr/ and tried to delete MDBDATA. It wouldn't let me.
So, I went into MDBDATA, and created my own new directory called 'old' and
moved all the files into it. It let me do that.
I then did steps (i) to (l) again. This time, the old mails up to the point
of the backup returned. Hooray!
So, onto 'Restoring to the Recovery Storage Group'.
I follow the instructions, creating Recovery Storage Group in the Exchange
System Manager.
I use bconsole to start the restore, choosing 'mod -> 10: File Relocation ->
1: Strip Prefix / 2: Add prefix' to set up the RegexWhere options.
However, I end up with the errors below, and I cannot then mount the Recovery
Storage Group -> Mailbox Store.
Any ideas? I've seen the 'cryptographic session' messages before, when I tried
to restore to the Exchange Stores without selecting 'This database can be
overwritten by a restore'. This isn't the problem here, though, as I've
made certain that the option is on for the Recovery Storage Group.
Jan 22 16:16:28 bacula-dir: devel-wk3-32-fd JobId 26: Error: HrESERestoreOpen
failed with error 0xc7ff0bce - Unknown error.
Jan 22 16:16:28 bacula-dir: devel-wk3-32-fd JobId 26: Error:
/usr/src/redhat/BUILD/bacula-2.5.28-b1/src/filed/restore.c:390 Unexpected
cryptographic session data stream.
Jan 22 16:16:28 last message repeated 5 times
...
Jan 22 16:16:28 bacula-dir: Build OS: i686-pc-linux-gnu
unknown unknown
Jan 22 16:16:28 bacula-dir: JobId: 26
Jan 22 16:16:28 bacula-dir: Job:
devel-wk3-32-restore.2009-01-22_16.16.25.42
Jan 22 16:16:28 bacula-dir: Restore Client: devel-wk3-32-fd
Jan 22 16:16:28 bacula-dir: Start time: 22-Jan-2009 16:16:27
Jan 22 16:16:28 bacula-dir: End time: 22-Jan-2009 16:16:28
Jan 22 16:16:28 bacula-dir: Files Expected: 10
Jan 22 16:16:28 bacula-dir: Files Restored: 12
Jan 22 16:16:28 bacula-dir: Bytes Restored: 0
Jan 22 16:16:28 bacula-dir: Rate: 0.0 KB/s
Jan 22 16:16:28 bacula-dir: FD Errors: 7
Jan 22 16:16:28 bacula-dir: FD termination status: Error
Jan 22 16:16:28 bacula-dir: SD termination status: OK
Jan 22 16:16:28 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel