Re: [Bacula-devel] New Exchange plugin

2009-02-06 Thread Graham Keeling
Argh. I'm sorry, I've just noticed two things: a) Since bacula-fd crashed before I ran the previous steps, it didn't have debug turned on when it restarted. b) I've been putting the file relocation arguments inside double quotes, which is probably wrong (I got used to typing them into the bconso

Re: [Bacula-devel] New Exchange plugin

2009-02-06 Thread Kern Sibbald
On Friday 06 February 2009 10:17:13 Graham Keeling wrote: > On Fri, Feb 06, 2009 at 08:23:47AM +0100, Kern Sibbald wrote: > > On Friday 06 February 2009 00:48:26 James Harper wrote: > > > > On Thu, Feb 05, 2009 at 02:31:33PM +0100, Kern Sibbald wrote: > > > > > > When I use 'bls' to look at a volum

Re: [Bacula-devel] New Exchange plugin

2009-02-06 Thread Graham Keeling
On Fri, Feb 06, 2009 at 08:23:47AM +0100, Kern Sibbald wrote: > On Friday 06 February 2009 00:48:26 James Harper wrote: > > > On Thu, Feb 05, 2009 at 02:31:33PM +0100, Kern Sibbald wrote: > > > > > When I use 'bls' to look at a volume's contents, the output > > > > includes > > > > > some > > > > >

Re: [Bacula-devel] New Exchange plugin

2009-02-05 Thread Kern Sibbald
On Friday 06 February 2009 00:59:31 James Harper wrote: > Lets get restoration of full backups working first... > > > I reverted to trying to restore a full backup, and found that I still > > can't > > restore to the 'Recovery Storage Group', only now the error message is > > different: > > Feb 5

Re: [Bacula-devel] New Exchange plugin

2009-02-05 Thread Kern Sibbald
On Friday 06 February 2009 00:48:26 James Harper wrote: > > On Thu, Feb 05, 2009 at 02:31:33PM +0100, Kern Sibbald wrote: > > > > When I use 'bls' to look at a volume's contents, the output > > includes > > > some > > > > > > binary. > > > > > > Well, there should be binary data there, so this seem

Re: [Bacula-devel] New Exchange plugin

2009-02-05 Thread James Harper
Lets get restoration of full backups working first... > > I reverted to trying to restore a full backup, and found that I still > can't > restore to the 'Recovery Storage Group', only now the error message is > different: > Feb 5 10:29:24 bacula-dir: devel-wk3-32-fd JobId 48: Error: > DatabaseB

Re: [Bacula-devel] New Exchange plugin

2009-02-05 Thread James Harper
> On Thu, Feb 05, 2009 at 02:31:33PM +0100, Kern Sibbald wrote: > > > When I use 'bls' to look at a volume's contents, the output includes > some > > > binary. > > > > Well, there should be binary data there, so this seems perfectly normal. > > To me, it doesn't seem normal that 'bls' should outpu

Re: [Bacula-devel] New Exchange plugin

2009-02-05 Thread Graham Keeling
On Thu, Feb 05, 2009 at 02:31:33PM +0100, Kern Sibbald wrote: > > When I use 'bls' to look at a volume's contents, the output includes some > > binary. > > Well, there should be binary data there, so this seems perfectly normal. To me, it doesn't seem normal that 'bls' should output raw binary da

Re: [Bacula-devel] New Exchange plugin

2009-02-05 Thread Kern Sibbald
On Thursday 05 February 2009 13:20:43 Graham Keeling wrote: > Hello, > > I've been trying out the code that is in SVN now. > > So far, I can say that these error messages with 'accurate' turned on, > doing incremental backups, have gone away: > Jan 22 16:59:56 bacula-dir: devel-wk3-32-fd JobId 35:

Re: [Bacula-devel] New Exchange plugin

2009-01-30 Thread Kern Sibbald
On Friday 30 January 2009 15:57:51 Graham Keeling wrote: > On Fri, Jan 30, 2009 at 02:55:04PM +0100, Kern Sibbald wrote: > > Hello Graham, > > > > The Exchange plugin will not work with any special processing such as > > compression, encryption, sparse file handling, ... > > > > I'll fix the core c

Re: [Bacula-devel] New Exchange plugin

2009-01-30 Thread Graham Keeling
On Sat, Jan 31, 2009 at 12:14:42AM +1100, James Harper wrote: > > Jan 28 11:12:49 bacula-dir: devel-wk3-32-fd JobId 9: Error: > > HrESERestoreAddDatabase failed with error 0xc7fe1f42 - Unknown error. > > That error is "hrCBDatabaseNotFound", which I assume simply means that > the database was not

Re: [Bacula-devel] New Exchange plugin

2009-01-30 Thread Graham Keeling
On Fri, Jan 30, 2009 at 02:55:04PM +0100, Kern Sibbald wrote: > 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

Re: [Bacula-devel] New Exchange plugin

2009-01-30 Thread Kern Sibbald
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

Re: [Bacula-devel] New Exchange plugin

2009-01-30 Thread James Harper
> Jan 28 11:12:49 bacula-dir: devel-wk3-32-fd JobId 9: Error: > HrESERestoreAddDatabase failed with error 0xc7fe1f42 - Unknown error. That error is "hrCBDatabaseNotFound", which I assume simply means that the database was not found. Can you please do an 'lsmark' once you have selected the files

Re: [Bacula-devel] New Exchange plugin

2009-01-30 Thread Graham Keeling
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

Re: [Bacula-devel] New Exchange plugin

2009-01-30 Thread Graham Keeling
On Fri, Jan 30, 2009 at 01:30:23PM +1100, James Harper wrote: > Don't be so sure about the crashing. Windows tends to 'save up' those > reports. While I was developing the plugin I went through heaps of > crashes while getting the bugs out. It was only when I logged back in or > rebooted that Windo

Re: [Bacula-devel] New Exchange plugin

2009-01-29 Thread James Harper
> On Thu, Jan 29, 2009 at 12:30:07PM +1100, James Harper wrote: > > > 2) I can make the bacula-fd crash (or stop - I don't know if it > > crashed, > > > or exited gracefully), by doing the following. I've tried this on two > > > separate > > > Windows 2003 Servers, running Exchange 2003. > > > > >

Re: [Bacula-devel] New Exchange plugin

2009-01-29 Thread James Harper
> On Thu, Jan 29, 2009 at 12:30:07PM +1100, James Harper wrote: > > According to the Microsoft literature, if a Recovery Storage Group > > exists at all for a given store, the restore will always go to it even > > if you don't specifically ask for it to. > > The documentation says that you need to

Re: [Bacula-devel] New Exchange plugin

2009-01-29 Thread Graham Keeling
On Thu, Jan 29, 2009 at 12:30:07PM +1100, James Harper wrote: > > 2) I can make the bacula-fd crash (or stop - I don't know if it > crashed, > > or exited gracefully), by doing the following. I've tried this on two > > separate > > Windows 2003 Servers, running Exchange 2003. > > > > a) Dismount a

Re: [Bacula-devel] New Exchange plugin

2009-01-29 Thread Graham Keeling
On Thu, Jan 29, 2009 at 12:30:07PM +1100, James Harper wrote: > According to the Microsoft literature, if a Recovery Storage Group > exists at all for a given store, the restore will always go to it even > if you don't specifically ask for it to. The documentation says that you need to change the

Re: [Bacula-devel] New Exchange plugin

2009-01-28 Thread Kern Sibbald
On Thursday 29 January 2009 02:30:07 James Harper wrote: > > Hello, > > Here are some problems that I've come across (other than not being > > able > > > to restore the Recovery Storage Group) when testing this... > > > > 1) If a Recovery Storage Group exists at all, the restore will fail > > even

Re: [Bacula-devel] New Exchange plugin

2009-01-28 Thread James Harper
> > Hello, > Here are some problems that I've come across (other than not being able > to restore the Recovery Storage Group) when testing this... > > 1) If a Recovery Storage Group exists at all, the restore will fail even > if you > do not try to restore to it (ie, just restore back to the orig

Re: [Bacula-devel] New Exchange plugin

2009-01-28 Thread Graham Keeling
On Thu, Jan 22, 2009 at 09:21:45PM +1100, James Harper wrote: > Some test feedback would be good. Hello, Here are some problems that I've come across (other than not being able to restore the Recovery Storage Group) when testing this... 1) If a Recovery Storage Group exists at all, the restore

Re: [Bacula-devel] New Exchange plugin

2009-01-24 Thread Kern Sibbald
Hello, After thinking about this some more, I believe that this problem has already been resolved (before your email) in the SVN. It was a problem that was not specific to Plugins. Regards, Kern On Thursday 22 January 2009 18:07:25 Graham Keeling wrote: > One more thing today... > > I just tr

Re: [Bacula-devel] New Exchange plugin

2009-01-24 Thread Kern Sibbald
On Thursday 22 January 2009 13:17:12 Graham Keeling wrote: > On Thu, Jan 22, 2009 at 10:05:47PM +1100, James Harper wrote: > > > FileSet { > > > Name = "Windows Exchange Server" > > > Include { > > >File = C: > > >Plugin = "exchange:/@EXCHANGE/Microsoft Information Store" >

Re: [Bacula-devel] New Exchange plugin

2009-01-23 Thread Graham Keeling
On Thu, Jan 22, 2009 at 04:55:18PM +, Graham Keeling wrote: > 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: St

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread Kern Sibbald
On Friday 23 January 2009 02:19:10 James Harper wrote: > > On Thursday 22 January 2009 18:07:25 Graham Keeling wrote: > > > One more thing today... > > > > > > I just tried to do an incremental backup, which seemed to work fine > > - no > > > > errors and finished with a 'Backup OK'. > > > > > > Ho

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread James Harper
> On Thursday 22 January 2009 18:07:25 Graham Keeling wrote: > > One more thing today... > > > > I just tried to do an incremental backup, which seemed to work fine - no > > errors and finished with a 'Backup OK'. > > > > However, an incremental accurate backup gives me some worrying error > > mess

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread Kern Sibbald
On Thursday 22 January 2009 18:07:25 Graham Keeling wrote: > One more thing today... > > I just tried to do an incremental backup, which seemed to work fine - no > errors and finished with a 'Backup OK'. > > However, an incremental accurate backup gives me some worrying error > messages: I don't r

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread Graham Keeling
One more thing today... I just tried to do an incremental backup, which seemed to work fine - no errors and finished with a 'Backup OK'. However, an incremental accurate backup gives me some worrying error messages: Jan 22 16:59:56 bacula-dir: devel-wk3-32-fd JobId 35: Error: Error in GetFileA

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread Graham Keeling
On Thu, Jan 22, 2009 at 10:29:02AM +, 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 S

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread Graham Keeling
On Thu, Jan 22, 2009 at 10:05:47PM +1100, James Harper wrote: > > FileSet { > > Name = "Windows Exchange Server" > > Include { > >File = C: > >Plugin = "exchange:/@EXCHANGE/Microsoft Information Store" > > } > > Exclude { > >File = C:/Program Files/Exchsrvr/m

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread James Harper
> > On Thu, Jan 22, 2009 at 09:21:45PM +1100, James Harper wrote: > > > FileSet { > > >Name = "Windows Exchange Server data" > > >Include { > > > Plugin = "exchange:/@EXCHANGE/Microsoft Information Store" > > >} > > >Exclude { > > > File = C:/Program Files/Exchsrvr/mdbd

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread Graham Keeling
On Thu, Jan 22, 2009 at 09:21:45PM +1100, James Harper wrote: > > FileSet { > >Name = "Windows Exchange Server data" > >Include { > > Plugin = "exchange:/@EXCHANGE/Microsoft Information Store" > >} > >Exclude { > > File = C:/Program Files/Exchsrvr/mdbdata/* > >} > >

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread James Harper
> Thanks for the reply. > > So, would you agree that the following fileset contains everything that I > need? > > FileSet { >Name = "Windows Exchange Server data" >Include { > Plugin = "exchange:/@EXCHANGE/Microsoft Information Store" >} >Exclude { > File = C:/Program

Re: [Bacula-devel] New Exchange plugin

2009-01-22 Thread Graham Keeling
On Thu, Jan 22, 2009 at 08:24:31AM +1100, James Harper wrote: > > FileSet { > > Name = "Windows Exchange Server data" > > Include { > > File = C:/Program Files/Exchsrvr/mdbdata > > Plugin = "exchange:/@EXCHANGE/Microsoft Information Store" > > Don't need the 'File = ' here. > > >

Re: [Bacula-devel] New Exchange plugin

2009-01-21 Thread James Harper
> I've been trying out the new Exchange plugin from 2.5.28-b1. I've been > trying > to backup an Exchange 2003 installation running on Windows 2003 Server. > > I have followed the instructions here: > http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html > > I made a fileset that l

[Bacula-devel] New Exchange plugin

2009-01-21 Thread Graham Keeling
Hello, I've been trying out the new Exchange plugin from 2.5.28-b1. I've been trying to backup an Exchange 2003 installation running on Windows 2003 Server. I have followed the instructions here: http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html I made a fileset that looked li