[Bacula-users] Issue installing bacula-director-mysql On Debian 5.0

2009-06-10 Thread adriand

Hi,

Im a newbie to bacula and am having no end of difficulty installing this piece 
of software.

Im running on Debian5 (lenny) 

Below is a shot of what i am experiencing. 

debian:/etc# aptitude install bacula-director-mysql
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information   
Initializing package states... Done
Reading task descriptions... Done  
The following NEW packages will be installed:
  bacula-director-mysql dbconfig-common{a} libdbd-mysql-perl{a} libdbi-perl{a} 
libhtml-template-perl{a} libnet-daemon-perl{a} libplrpc-perl{a} 
  libterm-readkey-perl{a} mysql-client{a} mysql-client-5.0{a} mysql-server{a} 
mysql-server-5.0{a} 
The following packages will be REMOVED:
  bacula-director-sqlite3{a} 
0 packages upgraded, 12 newly installed, 1 to remove and 0 not upgraded.
(skip)
Unpacking mysql-server (from .../mysql-server_5.0.51a-24+lenny1_all.deb) ...
Processing triggers for man-db ...
Setting up dbconfig-common (1.8.39) ...
Setting up libnet-daemon-perl (0.38-1.1) ...
Setting up libplrpc-perl (0.2017-1.1) ...
Setting up libdbi-perl (1.605-1) ...
Setting up libdbd-mysql-perl (4.007-1) ...
Setting up mysql-client-5.0 (5.0.51a-24+lenny1) ...
Setting up mysql-client (5.0.51a-24+lenny1) ...
Setting up bacula-director-mysql (2.4.4-1) ...
Installing new version of config file /etc/bacula/scripts/make_catalog_backup 
...
dbconfig-common: writing config to 
/etc/dbconfig-common/bacula-director-mysql.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
 the script did not pass --debconf-ok to ucf. The maintainer
 script should be fixed to not stop debconf before calling ucf,
 and pass it this parameter. For now, ucf will revert to using
 old-style, non-debconf prompting. Ugh!

 Please inform the package maintainer about this problem.

I had a popup window at this point asking me to put in the passwords for the DB 
etc which i did but it swore at me a few times until i hit ignore.

Can anyone give me a few tips if it is possible for me to fix the problem 
myself?

Thanks
Adrian

+--
|This was sent by adr...@kiwilink.co.nz via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows W2K3 / sd nas questions

2009-06-10 Thread Klaus9892000

Hi Bacula Users,
i started a few days ago with bacula.
All is running on W2K3 Server.
Test Jobs works fine to lokal disk.

Now a want to backup to a nas device, wich is reachable as smbshare.
\\ip\share.
I configured the path in bacula-sd.conf like this:
Device {
  Name = NetFileStorage1
  Media Type = File
  Archive Device = 10.220.0.32\\public
  LabelMedia = yes
  Random Access = Yes
  AutomaticMount = yes
  Requires Mount = no
  RemovableMedia = yes
  AlwaysOpen = no
}

wich doesent work.
SD is complaining about it.

Ok, next was, i ran the bacula-sd.exe in User space, and did a mapping to z:.
Like this:
Device {
  Name = NetFileStorage1
  Media Type = File
  Archive Device = Z:\\
  LabelMedia = yes
  Random Access = Yes
  AutomaticMount = yes
  Requires Mount = no
  RemovableMedia = yes
  AlwaysOpen = no
}

This is working, but not very nice, because i can not garente, that z: is 
always mapped.

Next Try was to use the mount entries, like this:
Device {
  Name = NetFileStorage1
  Media Type = File
  Archive Device = Z:\\
  LabelMedia = yes
  Random Access = Yes
  AutomaticMount = yes
  Requires Mount = yes
  RemovableMedia = yes
  AlwaysOpen = no
  Mount Command = c:\\batch\\bacula-sd-mount.bat mount y 
10.220.0.32\\public
  Unmount Command = c:\\batch\\bacula-sd-mount.bat umount y 
10.220.0.32\\public
}

but this doesent work.
Is there a way to backup to a smb share from windows bacula-sd ?

+--
|This was sent by klaus9892...@yahoo.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Issue installing bacula-director-mysql On Debian 5.0

2009-06-10 Thread Eitan Talmi
try in this way
1. apt-get build-dep bacula

2. apt-get install mysql-server

3.  download the source files of bacula

4. extract the files:  tar -xvvf bacula-3.0.1.tar.gz

5. compile and install

   cd bacula-3.0.1
   ./configure --with-mysql
   make
   make install

Eitan




On Tue, Jun 9, 2009 at 8:46 AM, adriand bacula-fo...@backupcentral.comwrote:


 Hi,

 Im a newbie to bacula and am having no end of difficulty installing this
 piece of software.

 Im running on Debian5 (lenny)

 Below is a shot of what i am experiencing.

 debian:/etc# aptitude install bacula-director-mysql
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Reading extended state information
 Initializing package states... Done
 Reading task descriptions... Done
 The following NEW packages will be installed:
  bacula-director-mysql dbconfig-common{a} libdbd-mysql-perl{a}
 libdbi-perl{a} libhtml-template-perl{a} libnet-daemon-perl{a}
 libplrpc-perl{a}
  libterm-readkey-perl{a} mysql-client{a} mysql-client-5.0{a}
 mysql-server{a} mysql-server-5.0{a}
 The following packages will be REMOVED:
  bacula-director-sqlite3{a}
 0 packages upgraded, 12 newly installed, 1 to remove and 0 not upgraded.
 (skip)
 Unpacking mysql-server (from .../mysql-server_5.0.51a-24+lenny1_all.deb)
 ...
 Processing triggers for man-db ...
 Setting up dbconfig-common (1.8.39) ...
 Setting up libnet-daemon-perl (0.38-1.1) ...
 Setting up libplrpc-perl (0.2017-1.1) ...
 Setting up libdbi-perl (1.605-1) ...
 Setting up libdbd-mysql-perl (4.007-1) ...
 Setting up mysql-client-5.0 (5.0.51a-24+lenny1) ...
 Setting up mysql-client (5.0.51a-24+lenny1) ...
 Setting up bacula-director-mysql (2.4.4-1) ...
 Installing new version of config file
 /etc/bacula/scripts/make_catalog_backup ...
 dbconfig-common: writing config to
 /etc/dbconfig-common/bacula-director-mysql.conf
 *** WARNING: ucf was run from a maintainer script that uses debconf, but
 the script did not pass --debconf-ok to ucf. The maintainer
 script should be fixed to not stop debconf before calling ucf,
 and pass it this parameter. For now, ucf will revert to using
 old-style, non-debconf prompting. Ugh!

 Please inform the package maintainer about this problem.

 I had a popup window at this point asking me to put in the passwords for
 the DB etc which i did but it swore at me a few times until i hit
 ignore.

 Can anyone give me a few tips if it is possible for me to fix the problem
 myself?

 Thanks
 Adrian

 +--
 |This was sent by adr...@kiwilink.co.nz via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Verify job after Filesystem Errors

2009-06-10 Thread Marc Schiffbauer
Hi all,

I have had some bad filesystem errors detected after a fsck of a
servers /home partition and I think some files might be gone.

I have a recent backup of everything important on that partition.

Now I want to know if important files have vanished.

I do not have a Verify job created yet and so do not have done an
InitCatalog with a Level = Verify job.

Is it possible to do/create a verify job based on the other catalog
information that is there from the daily backups?

I just want to check the Catalog against the Filesystem.

Will I just have to create a Verify job with a Fileset from a Backup
job and run it?

Thanks
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows W2K3 / sd nas questions

2009-06-10 Thread Jari Fredriksson
 Hi Bacula Users,
 i started a few days ago with bacula.
 All is running on W2K3 Server.
 Test Jobs works fine to lokal disk.
 
 Now a want to backup to a nas device, wich is reachable
 as smbshare. \\ip\share.
 I configured the path in bacula-sd.conf like this:
 Device {
  Name = NetFileStorage1
  Media Type = File
  Archive Device = 10.220.0.32\\public
  LabelMedia = yes
  Random Access = Yes
  AutomaticMount = yes
  Requires Mount = no
  RemovableMedia = yes
  AlwaysOpen = no
 }
 
 wich doesent work.
 SD is complaining about it.
 

You need to run the service with a user credential which is allowed to log on 
to network. The default LocalSystem or whatever is not.

Create a special User for that purpose (e.g. Bacula) and set the service to run 
with it. This same applies to your sd and fd. fd user needs also enough 
privileges to read all files on local file system, a built-in Backup group 
would be good for it.



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows W2K3 / sd nas questions

2009-06-10 Thread Klaus9892000

[quote=Jari Fredriksson]
 Hi Bacula Users,
 i started a few days ago with bacula.
 All is running on W2K3 Server.
 Test Jobs works fine to lokal disk.
 
 Now a want to backup to a nas device, wich is reachable
 as smbshare. \\ip\share.
 I configured the path in bacula-sd.conf like this:
 Device {
 Name = NetFileStorage1
 Media Type = File
 Archive Device = 10.220.0.32\\public
 LabelMedia = yes
 Random Access = Yes
 AutomaticMount = yes
 Requires Mount = no
 RemovableMedia = yes
 AlwaysOpen = no
 }
 
 wich doesent work.
 SD is complaining about it.
 
 

You need to run the service with a user credential which is allowed to log on 
to network. The default LocalSystem or whatever is not.

Create a special User for that purpose (e.g. Bacula) and set the service to run 
with it. This same applies to your sd and fd. fd user needs also enough 
privileges to read all files on local file system, a built-in Backup group 
would be good for it.


Ok, i run all Procs (-dir -fd -sd) in Userspace, i forgot to tell, sorry.

+--
|This was sent by klaus9892...@yahoo.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] volume statut Used instead of Append so Backup failed

2009-06-10 Thread François Mehault
Hi All

I have a strange problem today with my Bacula. Some jobs are running because 
they are waiting a volume to write. Well I investigate and see that some Pool 
have all volumes with statut Used. This is my weekly policy :

MediaId | VolumeName| VolStatus | Enabled | VolBytes | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-+---+---+-+--+--+--+-+--+---+---+-+
| 395 | Client-Daily-0395 | Used  |   1 |  809 |0 | 
 518,400 |   1 |0 | 0 | File  | 2009-06-09 04:20:02 |
| 414 | Client-Daily-0414 | Used  |   1 |  809 |0 | 
 518,400 |   1 |0 | 0 | File  | 2009-06-03 04:20:03 |
| 444 | Client-Daily-0444 | Used  |   1 |  809 |0 | 
 518,400 |   1 |0 | 0 | File  | 2009-06-04 04:20:03 |
| 527 | Client-Daily-0527 | Used  |   1 |  809 |0 | 
 518,400 |   1 |0 | 0 | File  | 2009-06-06 04:20:03 |
| 554 | Client-Daily-0554 | Used  |   1 |  809 |0 | 
 518,400 |   1 |0 | 0 | File  | 2009-06-05 04:20:03 |
| 585 | Client-Daily-0585 | Used  |   1 |  809 |0 | 
 518,400 |   1 |0 | 0 | File  | 2009-06-08 04:20:02 |

Well, let's focus on the volume 414 / Client-Daily-0414, his volume retention 
is 518,400 ( = 6 days), and it was written the last time at 2009-06-03 04 :20 
:03, so I conclude that today 2009-06-10, this volume has to be Append and not 
Used. Well, I use the update command to change the status of this volume. And 
just after bacula moves the statut Append to User :

10-Jun 10:57 mammouth-dir JobId 0: Max configured use duration exceeded. 
Marking Volume Client-Daily-0414 as Used.

I try also to reduce the volume retention and update again the status to 
Append, but it's the same result, Bacula always marks Volume 
Client-Daily-0414 as Used.

All works since 1 month, so I don't understand why there is a problem now.
Someone can help me ? I can provide you  all information you need to help me to 
fix my problem. If I don't find the solution today, backup will fail tomorrow 
again.

Regards,

François Mehault
Netplus Communication

Ps : bacula version 2.4.4
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] getting the exchange plugin to work with 2007

2009-06-10 Thread Jeff Shanholtz
I've got the 64 bit client installed (3.0.1) and it is loading the exchange
plugin (as verified by looking at the loaded dll's with Process Monitor),
but I think the syntax for the FileSet's Plugin line must be different for
Exchange 2007 than for Exchange 2003 (I've only seen an example for 2003).
Here's my FileSet definition:

 

FileSet {

  Name = Exchange

  Include {

File = C:/Program Files/Microsoft/Exchange Server/Mailbox

Plugin = exchange:/@EXCHANGE/Microsoft Information Store

  }

  Exclude {

File = C:/Program Files/Microsoft/Exchange Server/Mailbox/*

  }

}

 

When I run with this, I get all the other VSS stuff (which I don't want!!!),
but not a backup of the Exchange information store. In fact, the job only
took 3 minutes, so obviously it's not backing up the store. Here's a snippet
of what I see in the report:

 

09-Jun 22:57 mcp-fd JobId 8: Truncated database logs for Storage Group First
Storage Group 09-Jun 22:57 mcp-fd JobId 8: Truncated database logs for
Storage Group Second Storage Group 09-Jun 22:57 mcp-fd JobId 8: VSS Writer
(BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57
mcp-fd JobId 8: VSS Writer (BackupComplete): SqlServerWriter, State: 0x1
(VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS Writer (BackupComplete):
MSDEWriter, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS
Writer (BackupComplete): Event Log Writer, State: 0x1 (VSS_WS_STABLE)
09-Jun 22:57 mcp-fd JobId 8: VSS Writer (BackupComplete): Registry Writer,
State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS Writer
(BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun
22:57 mcp-fd JobId 8: VSS Writer (BackupComplete): Microsoft Exchange
Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS Writer
(BackupComplete): Dhcp Jet Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57
mcp-fd JobId 8: VSS Writer (BackupComplete): FRS Writer, State: 0x1
(VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS Writer (BackupComplete):
WMI Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS
Writer (BackupComplete): NTDS, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57
mcp-fd JobId 8: VSS Writer (BackupComplete): IIS Metabase Writer, State:
0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-sd JobId 8: Job write elapsed time =
00:02:45, Transfer rate = 4.728 M bytes/second 09-Jun 22:57 mcp-dir JobId 8:
Bacula mcp-dir 3.0.1 (28Apr09): 09-Jun-2009 22:57:38

 

Any idea what's wrong?

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows W2K3 / sd nas questions

2009-06-10 Thread James Harper
   Mount Command = c:\\batch\\bacula-sd-mount.bat mount y
 10.220.0.32\\public
   Unmount Command = c:\\batch\\bacula-sd-mount.bat umount y
 10.220.0.32\\public
 }

What does bacula-sd-mount.bat do? I was going to suggest something like:

net use \\10.220.0.32 /user:someuser userspassword

to set up the authentication in the bacula-sd process. Maybe your
bacula-sd-mount.bat already does that though?

Failing that, run bacula-sd under an account that has the same username
and password on the windows machine as it does on the nas. Windows might
then use passthrough authentication, although I'm a little sceptical
that that always works as it should.

James

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to send a mail after a Job ?

2009-06-10 Thread Willians Vivanco
Tolj Mario wrote:
 Hello,

 Sorry if my english isn't very well.

 I'm trying to configure Bacula to send me a mail after a Job (Succes or 
 Error, etc...). but i'm not sure how to configure that.

 My Linux server is in my windows Active Directory, so i try to send a 
 mail to two of my Active Directory users (us...@test.ch and us...@test.ch)

 In the bacula-dir.conf i'have try to only put the email addresses in the 
 Message ressource separated by a ; but it doesn't work. I think it's a 
 little bit more complicated than that :)

 Messages {
   Name = Standard
   mailcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch* \ -f 
 \\(Bacula\) \%r\\ -s \Bacula: %t %e of %c %l\ %r
   operatorcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch \* 
 -f \\(Bacula\) \%r\\ -s \Bacula: Intervention needed for %j\ %r
   console = all, !skipped, !saved
   append = /var/lib/bacula/log = all, !skipped
 }


 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing 
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   
As simple as create an script that send the emails and call it from the 
job resource using the runAfterJob attribute... This was my solution 
and it works... Maybe isn't the best one. But it results for me.

Regards
Willians

---
Red Telematica de Salud - Cuba
  CNICM - Infomed

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Error while trying to access bacula-dir from a external console

2009-06-10 Thread Reynier Perez Mira
Hi every:
I want to check Bacula Dir from external Server and not the same where it's 
installed. WhenI type bconsole command in the remote server I get this error:

Connecting to Director 10.128.50.11:9101
10-Jun 09:09 bconsole JobId 0: Fatal error: bsock.c:129 Unable to connect to 
Director daemon on 10.128.50.11:9101. ERR=Connection refused

Why happen this?
Regards
Ing. Reynier Pérez Mira



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to send a mail after a Job ?

2009-06-10 Thread Silver Salonen
On Wednesday 10 June 2009 16:25:42 Willians Vivanco wrote:
 Tolj Mario wrote:
  Hello,
 
  Sorry if my english isn't very well.
 
  I'm trying to configure Bacula to send me a mail after a Job (Succes or 
  Error, etc...). but i'm not sure how to configure that.
 
  My Linux server is in my windows Active Directory, so i try to send a 
  mail to two of my Active Directory users (us...@test.ch and us...@test.ch)
 
  In the bacula-dir.conf i'have try to only put the email addresses in the 
  Message ressource separated by a ; but it doesn't work. I think it's a 
  little bit more complicated than that :)
 
  Messages {
Name = Standard
mailcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch* \ -f 
  \\(Bacula\) \%r\\ -s \Bacula: %t %e of %c %l\ %r
operatorcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch \* 
  -f \\(Bacula\) \%r\\ -s \Bacula: Intervention needed for %j\ %r
console = all, !skipped, !saved
append = /var/lib/bacula/log = all, !skipped
  }
 

 As simple as create an script that send the emails and call it from the 
 job resource using the runAfterJob attribute... This was my solution 
 and it works... Maybe isn't the best one. But it results for me.
 
 Regards
 Willians

I think the right way to do it would be to use the correct Messages resource, 
so let's try to fix it :)

bsmtp's -h specifies host to use for sending mail, eg. localhost. If you want 
to send the e-mail to multiple adresses, specify them in mail parameter, eg:
Messages {
  
  mail = us...@test.ch, us...@test.ch = all, !skipped
}

-- 
Silver

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Error while trying to access bacula-dir from a external console

2009-06-10 Thread John Drescher
On Wed, Jun 10, 2009 at 9:58 AM, Reynier Perez Mirarper...@uci.cu wrote:
 Hi every:
 I want to check Bacula Dir from external Server and not the same where it's 
 installed. WhenI type bconsole command in the remote server I get this error:

 Connecting to Director 10.128.50.11:9101
 10-Jun 09:09 bconsole JobId 0: Fatal error: bsock.c:129 Unable to connect to 
 Director daemon on 10.128.50.11:9101. ERR=Connection refused

 Why happen this?
 Regards

Do you have bacula setup to listen only on 127.0.0.1 or localhost?

John

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Btape fill test fatal error WEOF

2009-06-10 Thread Hayden Katzenellenbogen
Lars,

I am sorry I was pulled off the project before I could proceed. When I
left off I was still getting it. Please give me some more details on
your issue. I am going to try and pick up this project in the next 10
days again.

H 

-Original Message-
From: Lars Nordin [mailto:lars_nor...@mcafee.com] 
Sent: Wednesday, June 10, 2009 5:25 AM
To: Hayden Katzenellenbogen
Subject: Re: [Bacula-users] Btape fill test fatal error WEOF

 John,

 I changed the mtx-changer.conf file to reflect timeouts. I tried using
 and offline sleep and a load sleep both of these produced the same
 error.


Did you ever get a resolution to the error or did you ignore it? I am
getting 
the same error with a setup that I have.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Using bacula verify and st_ino differences

2009-06-10 Thread Arno Lehmann
Hi,

please always reply to the list, so the complete thread is useful for 
others, too!

10.06.2009 09:56, Peter wrote:
 Arno Lehmann wrote:
 Hi,

 09.06.2009 09:03, Peter wrote:
  
 Hi
 I use the verify function to detect for file tampering.
 I get the following:

 29-May 05:05 box-dir JobId 591: File: 
 /var/spool/postfix/lib/libnss_nis.so.2
 29-May 05:05 box-dir JobId 591:   st_ino   differ. Cat: 850339 
 File: 850337


 What exactly does this mean ? What does st_ino refer to ?
 

 st_ino is the file system stat inode number. This is, kind of, the 
 position in the file system where the file's meta data like 
 permissions, name, and so on are stored.
   
 Thanks a lot, apparently the file mentioned is related to postfix chroot 
 functionality, although I was not able to figure out what exactly is the 
 reason for this file to have been replaced

Well, it might be that the postfix startup script re-builds the chroot 
environment at each start, or after a system upgrade. Without knowing 
more about the actual way the chroot environment is created, it's hard 
to tell anything definite, though...

 ( there was a reboot )
 I think the verify function of bacula is very useful and much easier to 
 use than for example tripwire..

:-)

Arno

 vmail
 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] btape fill test generates fatal error warning

2009-06-10 Thread Lars Nordin
I am running thru the bacula setup list from the Bacula manual and testing a 
two tape fill. The problem I have is that I get a fatal error.

Here is the btape output with the error
...
09-Jun 18:15 btape JobId 0: 3304 Issuing autochanger load slot 2, drive
0 command.
09-Jun 18:17 btape JobId 0: 3305 Autochanger load slot 2, drive 0,
status is OK.
09-Jun 18:17 btape: Fatal Error at dev.c:1705 because:
dev.c:1704 Attempt to WEOF on non-appendable Volume
Wrote Volume label for volume TestVolume2.
09-Jun 18:17 btape JobId 0: Wrote label to prelabeled Volume TestVolume2
on device Drive0 (/dev/nst0)

I have read that my tape drive, the WEOF settings and mtx-changer timeout all 
could affect this and I have tried some modifications.

Here is my current setup:

OS: Ubuntu Linux v.9.04
Tape: Dell PowerVault 124T w/ LTO-2 drive (tape FW 1914 [latest])

Here is the tape drive stanza from bacula-sd.conf
Some of these settings may be wrong since I am transitioning bacula from a 
crashed FreeBSD box to Ubuntu Linux.

Device {
  Name = Drive0  #
  Media Type = dell-lto2 
  Archive Device = /dev/nst0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes;
  Offline On Unmount = no
  Hardware End of Medium = no
  BSF at EOM = no
  Backward Space Record = no
  Fast Forward Space File = no
  TWO EOF = no
}


Here are the settings from mtx-changer.conf

offline=0
offline_sleep=0
load_sleep=30
inventory=0
vxa_packetloader=0
debug_log=0

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Btape fill test fatal error WEOF

2009-06-10 Thread Hayden Katzenellenbogen
When I run the btape test suite it completes no problem. I only get this
bug when I run btape fill over multiple tapes. It happens when it
switches tapes.

If the current tape in the drive is not the tape from slot 1. When it
loads the tape in slot 1 I get the error then it carries on no problem.
Once it switches to the tape in slot 2 I get the same fatal error but it
completes the fill test without issues. Also running unfill does not
show the data being incorrect. If the tape in the drive is the tape from
slot 1 I only receive the error when it switches to the tape in slot 2.

Just before I put this project on hold I had made the decision to ignore
the error and push on to see if it was just a btape issue.

Good to know that I am no longer alone.

H 

-Original Message-
From: Lars Nordin [mailto:lars_nor...@mcafee.com] 
Sent: Wednesday, June 10, 2009 11:03 AM
To: Hayden Katzenellenbogen
Subject: Re: [Bacula-users] Btape fill test fatal error WEOF

On Wednesday 10 June 2009 13:03:43 Hayden Katzenellenbogen wrote:
 Lars,

 First off I found the first similarity. I installed Ubuntu 8.04LTS and
I
 am having the same issue. I never had a working installation before so
 not ground for comparison.

 If you are not too far down the rabbit hole maybe you could try
another
 flavor of Linux before putting too much time into this issue. This
could
 be something as simple as Ubuntu being the issue.

It seems that we are not alone and it is not just Ubuntu.

I submitted a Mantis ticket for the btape bug but just for the fact that
btape 
reports a fatal error but still says that the test passed at the end -
this is 
a bug with btape.
I figured I would ask if there other parameters to change and try that
before 
filing a bug for btape fatal error itself.
Well, some one has already added a note to my report and he is using
Oracle's 
RHEL clone and a different tape drive.

-- 
 (0004283) jbroughton (reporter) - 2009-06-10 18:27
 http://bugs.bacula.org/view.php?id=1309#c4283 
-- 
Verified by doing the following:
A) rewind tape, weof, then ran btape fill and got:
10-Jun 11:19 btape:  Fatal Error at dev.c:1705 because:
dev.c:1704 Attempt to WEOF on non-appendable Volume
B) Just in case, I rewound the tape again, weof, then created a volume
on
the tape from bconsole, and ran the btape fill, and recieved the same
error
message.

Running Bacula 3.0.1 on Oracle Unbreakable Linux 5.2.  Tape is a DDS-4.


 Also I am not 100% positive yet if this WEOF is actually a problem. Or
 just an erroneous error message.

 H




--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Btape fill test fatal error WEOF

2009-06-10 Thread (private) HKS
On Wed, Jun 10, 2009 at 3:04 PM, (private) HKShks.priv...@gmail.com wrote:
 On Wed, Jun 10, 2009 at 2:19 PM, Hayden
 Katzenellenbogenhay...@nextlevelinternet.com wrote:
 When I run the btape test suite it completes no problem. I only get this
 bug when I run btape fill over multiple tapes. It happens when it
 switches tapes.

 If the current tape in the drive is not the tape from slot 1. When it
 loads the tape in slot 1 I get the error then it carries on no problem.
 Once it switches to the tape in slot 2 I get the same fatal error but it
 completes the fill test without issues. Also running unfill does not
 show the data being incorrect. If the tape in the drive is the tape from
 slot 1 I only receive the error when it switches to the tape in slot 2.

 Just before I put this project on hold I had made the decision to ignore
 the error and push on to see if it was just a btape issue.

 Good to know that I am no longer alone.

 H

 If the SD encounters a fatal error while writing a backup to tape, it
 will mark that backup as failed and you will not be able to restore
 from it even though the data is there (up through the end of the
 tape).

 I have a similar issue that I've not devoted the time to tracking
 down, where Bacula logs the error:

 08-Jun 16:11 bufc1-sd JobId 3871: Fatal error: Unable to write EOF.
 ERR=dev.c:1669 ioctl MTWEOF error on 124T-Drive (/dev/nrst0).
 ERR=Input/output error.
 08-Jun 16:12 bufc1-sd JobId 3871: Error: Error writing final EOF to
 tape. This Volume may not be readable.
 dev.c:1669 ioctl MTWEOF error on 124T-Drive (/dev/nrst0).
 ERR=Input/output error.
 08-Jun 16:12 bufc1-sd JobId 3871: Fatal error: spool.c:294 Fatal
 append error on device 124T-Drive (/dev/nrst0): ERR=dev.c:1669 ioctl
 MTWEOF error on 124T-Drive (/dev/nrst0). ERR=Input/output error.

 This only happens when EOFing a tape. This was reported by btape on a
 multi-tape fill test as well, but the data was read back without
 error. For now, I just rerun the backup(s) that got jacked (I only do
 tape backups once a week).

 -HKS


Oh, and this is Bacula 2.2.8 on OpenBSD 4.4. I've not yet tested it on 3.

-HKS






 -Original Message-
 From: Lars Nordin [mailto:lars_nor...@mcafee.com]
 Sent: Wednesday, June 10, 2009 11:03 AM
 To: Hayden Katzenellenbogen
 Subject: Re: [Bacula-users] Btape fill test fatal error WEOF

 On Wednesday 10 June 2009 13:03:43 Hayden Katzenellenbogen wrote:
 Lars,

 First off I found the first similarity. I installed Ubuntu 8.04LTS and
 I
 am having the same issue. I never had a working installation before so
 not ground for comparison.

 If you are not too far down the rabbit hole maybe you could try
 another
 flavor of Linux before putting too much time into this issue. This
 could
 be something as simple as Ubuntu being the issue.

 It seems that we are not alone and it is not just Ubuntu.

 I submitted a Mantis ticket for the btape bug but just for the fact that
 btape
 reports a fatal error but still says that the test passed at the end -
 this is
 a bug with btape.
 I figured I would ask if there other parameters to change and try that
 before
 filing a bug for btape fatal error itself.
 Well, some one has already added a note to my report and he is using
 Oracle's
 RHEL clone and a different tape drive.

 --
  (0004283) jbroughton (reporter) - 2009-06-10 18:27
  http://bugs.bacula.org/view.php?id=1309#c4283
 --
 Verified by doing the following:
 A) rewind tape, weof, then ran btape fill and got:
 10-Jun 11:19 btape:  Fatal Error at dev.c:1705 because:
 dev.c:1704 Attempt to WEOF on non-appendable Volume
 B) Just in case, I rewound the tape again, weof, then created a volume
 on
 the tape from bconsole, and ran the btape fill, and recieved the same
 error
 message.

 Running Bacula 3.0.1 on Oracle Unbreakable Linux 5.2.  Tape is a DDS-4.


 Also I am not 100% positive yet if this WEOF is actually a problem. Or
 just an erroneous error message.

 H




 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users 

Re: [Bacula-users] btape fill test generates fatal error warning

2009-06-10 Thread Hayden Katzenellenbogen
John I have tried that already made no difference other than waiting longer 
between the swaps. Same error.

I would be interested to see if Lars has a different Result.

H 

-Original Message-
From: John Drescher [mailto:dresche...@gmail.com] 
Sent: Wednesday, June 10, 2009 11:21 AM
To: Lars Nordin; bacula-users
Subject: Re: [Bacula-users] btape fill test generates fatal error warning

On Wed, Jun 10, 2009 at 1:54 PM, Lars Nordinlars_nor...@mcafee.com wrote:
 I am running thru the bacula setup list from the Bacula manual and testing a
 two tape fill. The problem I have is that I get a fatal error.

 Here is the btape output with the error
 ...
 09-Jun 18:15 btape JobId 0: 3304 Issuing autochanger load slot 2, drive
 0 command.
 09-Jun 18:17 btape JobId 0: 3305 Autochanger load slot 2, drive 0,
 status is OK.
 09-Jun 18:17 btape: Fatal Error at dev.c:1705 because:
 dev.c:1704 Attempt to WEOF on non-appendable Volume
 Wrote Volume label for volume TestVolume2.
 09-Jun 18:17 btape JobId 0: Wrote label to prelabeled Volume TestVolume2
 on device Drive0 (/dev/nst0)

 I have read that my tape drive, the WEOF settings and mtx-changer timeout all
 could affect this and I have tried some modifications.

 Here is my current setup:

 OS: Ubuntu Linux v.9.04
 Tape: Dell PowerVault 124T w/ LTO-2 drive (tape FW 1914 [latest])

 Here is the tape drive stanza from bacula-sd.conf
 Some of these settings may be wrong since I am transitioning bacula from a
 crashed FreeBSD box to Ubuntu Linux.

 Device {
  Name = Drive0                      #
  Media Type = dell-lto2
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes;
  Offline On Unmount = no
  Hardware End of Medium = no
  BSF at EOM = no
  Backward Space Record = no
  Fast Forward Space File = no
  TWO EOF = no
 }


 Here are the settings from mtx-changer.conf

 offline=0
 offline_sleep=0
 load_sleep=30
 inventory=0
 vxa_packetloader=0
 debug_log=0


Try a load_sleep of 2 minutes.

John

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Running a script on Failure

2009-06-10 Thread Reynier Perez Mira
Hi every:
I need send a beeper message when a Bacula Jobs fails. For this I write this in 
JobDefs:

JobDefs {
  Name = DefinicionPorDefectoParaCopias
  Type = Backup
  Level = Incremental
  Storage = FileSAN
  Messages = Standard
  Priority = 5 #Es la opcion por defecto, a mayor numero menos prioridad
  Reschedule on error = yes
  Reschedule interval = 1 hour
  Reschedule times = 2
  Max Start Delay = 8 hours
  RunScript {
RunsWhen = After
RunsOnFailure = yes
Command = /etc/bacula/scripts/paging.pl 23744 Job %n: %e
  }
}

Now the paging.pl script is this one:

#!/usr/bin/perl -w
#
# This script send beeper to movitel (v 1.1)
# Usage:
#   paging.pl PIN Message
#
use strict;

#Modulos para hacer un request HTTP
use LWP::UserAgent;
require HTTP::Request::Common;
require HTTP::Headers;

if ((defined($ARGV[0])) and (defined($ARGV[1])))
{
  my $pin = $ARGV[0];
  my $mess = substr($ARGV[1],0,119);
  my $url  = 'http://www.movitel.co.cu/cgi-bin/paging-send.pl';
  #printf $pin|$mess\n;

  #INPUT Values from the web page of movitel
  my $tserv = 1;
  my $PIN = $pin;
  my $Msg = $mess;
  my $ok = 'http://www.movitel.co.cu/index.php?page=envios_ok';
  my $error = 'http://www.movitel.co.cu/index.php?page=envios_error';
  my $Submit2 = 'Enviar';

  my $browser = LWP::UserAgent-new;

  #my $header = HTTP::Headers-new(Content_Type = 'text/html; 
charset=iso-8859-1');
  #my $Request = 
HTTP::Request-new(POST=$url,[Content_Type='application/x-www-form-urlencoded',tserv='1',PIN=$pin,Msg=$mess,ok=$ok,error=$error,Submi
  #printf $Request-as_string();
  #my $Response = $browser-request($Request);

  # send it 2 times to ensure it arrives
  my $Response = 
$browser-post($url,[tserv='1',PIN=$pin,Msg=$mess,ok=$ok,error=$error,Submit2='Enviar']);
  $Response = 
$browser-post($url,[tserv='1',PIN=$pin,Msg=$mess,ok=$ok,error=$error,Submit2='Enviar']);

  my $Resultado = $Response-content();

  my $Resp = Unknow;
  if ($Resultado =~ /page\=envios_ok/i) {
$Resp = 0k;
  }
  if ($Resultado =~ /page\=envios_error/i) {
$Resp = Error;
  }

  #printf $Resultado;
  my $time = localtime;
  open  File,/var/log/nagios/paging.log;
  print File $time\|$pin\|$mess\|$Resp(movitel)\n;
  close File;
}

But Bacula never send me a message. What's wrong here?

Cheers and thanks in advance
Ing. Reynier Pérez Mira



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Running jobs doesn't start

2009-06-10 Thread Reynier Perez Mira
Hi again:
I'm running 3 jobs at the same time and I'm using Webacula to monitoring the 
status of this jobs. None job is running OK and I don't know why. Can any help 
me? See the output below

Job Id   Level   Job Name   
Status
27   FullSP_CENTALAD-FD.2009-06-10_15.04.02_03  is 
waiting for Client salvasprod_centalad-fd to connect to Storage FileSAN
28   Full
SP_F06_POLO_BIOINFORMATICA-FD.2009-06-10_15.05.58_16   is waiting on max 
Storage jobs
29   FullSP_F10-FD.2009-06-10_15.06.42_20   
is waiting on max Storage jobs

What's wrong here?
Regards
Ing. Reynier Pérez Mira



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] getting the exchange plugin to work with 2007

2009-06-10 Thread Jeff Shanholtz
Looks like I was getting thrown off by all the VSS stuff (I figured that
would be off by default - guess not), and didn't realize Outlook was
removing the line breaks, making it hard to read.

It does appear to be working, and the Exchange Best Practices Analyzer is no
longer complaining about the store never having been backed up! :D

Those file specifications came from my research on setting this up. It was
in a thread I found on the subject (which I think you were a part of IIRC),
and the purpose was to get the directory itself without the files. 2007 has
a significantly different directory structure than 2003 and it was unclear
to me what I should/shouldn't back up. But now that I can see what the
plugin is backing up it appears that I should just exclude the edb and log
files from the normal FileSet file specs. In fact, I think I should
configure it to back up the whole Exchange Server directory (rather than
letting my normal backup job do that), minus the edb's and log's.

Thanks!

| C:/Program Files/Microsoft/Exchange Server/Mailbox/
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/Mailbox
Database/DatabaseBackupInfo
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/Mailbox
Database/C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage
Group\Mailbox Database.edb   |
| /@EXCHANGE/Microsoft Information Store/First Storage Group/Mailbox
Database/
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E000836.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E000837.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E000838.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E000839.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083A.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083B.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083C.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083D.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083E.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/Public Folder
Database/DatabaseBackupInfo
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/Public Folder
Database/C:\Program Files\Microsoft\Exchange Server\Mailbox\Second Storage
Group\Public Folder Database.edb |
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/Public Folder
Database/
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\Second Storage Group\E01014D.log
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\Second Storage Group\E01014E.log
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\Second Storage Group\E01014F.log
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/
|
| /@EXCHANGE/Microsoft Information Store/
|
| /@EXCHANGE/
|

-Original Message-
From: James Harper [mailto:james.har...@bendigoit.com.au] 
Sent: Wednesday, June 10, 2009 4:29 AM
To: Jeff Shanholtz; bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] getting the exchange plugin to work with 2007

 
 I've got the 64 bit client installed (3.0.1) and it is loading the
exchange
 plugin (as verified by looking at the loaded dll's with Process
Monitor), but
 I think the syntax for the FileSet's Plugin line must be different for
 Exchange 2007 than for Exchange 2003 (I've only seen an example for
2003).

Your fileset looks okay wrt the plugin line. I'm not aware of any
changes in 2007 that would prevent it working like that. Why are you
including and excluding the same C:\... path? (it shouldn't be a
problem, I'm just curious)

 When I run with this, I get all the other VSS stuff (which I don't
want!!!),
 but not a backup of the Exchange information store.

I think you use vss=0 or something like that to turn off vss. It's
documented.

 In fact, the job only took
 3 minutes, so obviously it's not backing up the store. Here's a
snippet of
 what I see in the report:
 
 09-Jun 22:57 mcp-fd JobId 8: Truncated database logs for 

Re: [Bacula-users] getting the exchange plugin to work with 2007

2009-06-10 Thread James Harper
 
 Looks like I was getting thrown off by all the VSS stuff (I figured
that
 would be off by default - guess not), and didn't realize Outlook was
 removing the line breaks, making it hard to read.
 
 It does appear to be working, and the Exchange Best Practices Analyzer
is no
 longer complaining about the store never having been backed up! :D
 
 Those file specifications came from my research on setting this up. It
was
 in a thread I found on the subject (which I think you were a part of
IIRC),
 and the purpose was to get the directory itself without the files.
2007 has
 a significantly different directory structure than 2003 and it was
unclear
 to me what I should/shouldn't back up. But now that I can see what the
 plugin is backing up it appears that I should just exclude the edb and
log
 files from the normal FileSet file specs. In fact, I think I should
 configure it to back up the whole Exchange Server directory (rather
than
 letting my normal backup job do that), minus the edb's and log's.
 

I think all the files in the exchange data directory (or directories)
should be excluded from the backup. When doing a restore of the exchange
databases, having leftover files there can cause problems. At some point
in the future (when the bacula plugin infrastructure supports it), the
exchange plugin should be able to hand bacula a list of files to exclude
from the backup, eg all the files it backed up (or is going to back up)
itself.

Thanks for the feedback.

James



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] getting the exchange plugin to work with 2007

2009-06-10 Thread Jeff Shanholtz
Interesting. I was thinking in terms of restoring the entirety of exchange
in a disaster scenario such as hard drive failure. But it sounds like you're
talking about handling a more localized problem with exchange itself. So
then would you suggest letting my normal system backup handle all but the
edb's and log's, and having a job for *only* the exchange information store
(i.e. no file specs whatsoever)? I do think I like that idea.

On a related note, when I did a test run of backing up the entirety of
exchange, I realized I would need VSS for the in use files. That got me to
wondering if there is a way to limit the VSS usage to a single VSS writer,
or is it all or none when turning on VSS?

-Original Message-
From: James Harper [mailto:james.har...@bendigoit.com.au] 
Sent: Wednesday, June 10, 2009 4:08 PM
To: Jeff Shanholtz; bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] getting the exchange plugin to work with 2007

 
 Looks like I was getting thrown off by all the VSS stuff (I figured
that
 would be off by default - guess not), and didn't realize Outlook was
 removing the line breaks, making it hard to read.
 
 It does appear to be working, and the Exchange Best Practices Analyzer
is no
 longer complaining about the store never having been backed up! :D
 
 Those file specifications came from my research on setting this up. It
was
 in a thread I found on the subject (which I think you were a part of
IIRC),
 and the purpose was to get the directory itself without the files.
2007 has
 a significantly different directory structure than 2003 and it was
unclear
 to me what I should/shouldn't back up. But now that I can see what the
 plugin is backing up it appears that I should just exclude the edb and
log
 files from the normal FileSet file specs. In fact, I think I should
 configure it to back up the whole Exchange Server directory (rather
than
 letting my normal backup job do that), minus the edb's and log's.
 

I think all the files in the exchange data directory (or directories)
should be excluded from the backup. When doing a restore of the exchange
databases, having leftover files there can cause problems. At some point
in the future (when the bacula plugin infrastructure supports it), the
exchange plugin should be able to hand bacula a list of files to exclude
from the backup, eg all the files it backed up (or is going to back up)
itself.

Thanks for the feedback.

James




--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Webacula configuration problems

2009-06-10 Thread Yuri Timofeev
Hi

Webacula has a separate maillists  https://sourceforge.net/mail/?group_id=201199

Change your .htaccess RewriteBase /

2009/6/9 Reynier Perez Mira rper...@uci.cu:
 Hi every:
 I trying to install Webacula 3.0 following every step in README file. This is 
 my VirtualHost definition:
 VirtualHost *:80
        ServerName webacula
        ServerAlias webacula.prod.uci.cu
        ServerAdmin rper...@uci.cu
        DirectoryIndex index.php index.htm index.html
        DocumentRoot /var/www/webacula/html
        Directory /
                Options FollowSymLinks
                AllowOverride None
        /Directory
        Directory /var/www/webacula/html
                Options FollowSymLinks
                AllowOverride All
                Order allow,deny
                allow from all
        /Directory

        ErrorLog /var/log/apache2/webacula-error.log
        LogLevel debug #To see the errors
        CustomLog /var/log/apache2/webacula-access.log combined
        ServerSignature Off
 /VirtualHost

 When I try to access to webacula I get this error in my browser:

 Internal Server Error
 The server encountered an internal error or misconfiguration and was unable 
 to complete your request.
 Please contact the server administrator, rper...@uci.cu and inform them of 
 the time the error occurred, and anything you might have done that may have 
 caused the error.
 More information about this error may be available in the server error log.

 I check then the logs files and see the output:
 [Mon Jun 08 17:06:44 2009] [error] [client 10.8.40.4] Request exceeded the 
 limit of 10 internal redirects due to probable$
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3046): [client 10.8.40.4] r-uri = 
 /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /webacula/index.php
 [Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] 
 redirected from r-uri = /html/
 [Mon Jun 08 17:06:44 2009] [debug] mod_deflate.c(619): [client 10.8.40.4] 
 Zlib: Compressed 534 to 322 : URL /webacula/index.php

 What's wrong here?

 Ing. Reynier Pérez Mira



 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 
with best regards

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users