[Bacula-users] Hardware configuration and off-site backup

2010-05-04 Thread Vlamsdoem
Hello,

I have few questions about my new backup configuration.
Before asking my questions I will give you some useful information about 
what I need to do.
I need a backup ± 10 servers with one full backup every week of 3,5 TB 
and an incremental backup of 100GB 5 times/week.
I have 48 hours to do the full backup and about 8 hours to do the 
incremental backup.
Every servers are on a 100Mb ethernet link.
Considering all this parameters I need some advice about the choice of 
my hard disks.
I'm planing to buy a StorageWorks array from Hp (DAS) but I don't know 
what's the best choice for the hard disks.
I'm pretty sure that a fast hard disk is better for performance but it's 
not for money saving :), I'm wondering if big sata disks of 2TB/7.2k rpm 
are fast enough to achieve my backups in time or is it better to buy 
faster/sas disks to be sure it's done in time.

My second question is about an off-site backup solution.
I will also buy another machine with the same configuration as the first 
one to do an off-site backup.
What's the best solution to achieve this? A new backup of all my servers 
on the off-site backup server or a copy job from the first backup server 
to the second one?
The off-site backup server will only keep the full backups not the 
incrementals and it's also on a 100Mb ethernet link.

I hope you have enough informations to answer my questions.

Thanks for your help.

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] problem with symbolic links Windows 2008 + bacula

2010-05-04 Thread Habanera
Normal021false  
  falsefalseDEX-NONEX-NONE  

















  

Hello!

We have some problems to backup an Windows 2008 Server.

During the backup we got error messages like this one:

03-May 17:31 ex4pam-fd JobId 205:  Could not stat 
C:/ProgramData/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Anwendungsdaten/Application
 
Data/Application Data/Application Data/Application 
Data/Startmenü/Programs/Maintenance/Desktop.ini: ERR=Das System kann 
den angegebenen Pfad nicht finden.

 The problem seems to be the symbolic links of windows. 

Is there one way to disable following symbolic links on windows or how can 
bacula backup the links correctly? 

I don't want to exclude all symbolic links manually. 

 Here the used fileset:

 FileSet {
   enable vss = yes
   Name = w2008-fs
   Include {
 File = C:/

    Options {
  signature = MD5
  compression = GZIP
    onefs = no
  ignorecase=yes
  exclude = yes
  # Exclude directories full of lots and lots of useless little 
files for Windows 2008
  WildDir = [A-Z]:/Users/*/Cookies
  WildDir = [A-Z]:/Users/*/Recent
  WildDir = [A-Z]:/Users/*/Local Settings/History
  WildDir = [A-Z]:/Users/*/Local Settings/Temp
  WildDir = [A-Z]:/Users/*/Local Settings/Temporary Internet 
Files
  # Temporary directories  files
  WildDir = [A-Z]:/Windows/Temp
  WildDir = [A-Z]:/Temp
  WildFile = *.tmp
  WildDir = [A-Z]:/Tmp
  WildDir = [A-Z]:/var/tmp
  WildDir = [A-Z]:/Windows/Internet Logs
  WildDir = [A-Z]:/Windows/$Nt*Uninstall*
  # Recycle bins
  WildDir = [A-Z]:/RECYCLER
  # Swap files
  WildFile = [A-Z]:/pagefile.sys

    }
  }
}

  Many thanks!

best regards...

Bjoern
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Idea/suggestion for dedicated disk-based sd

2010-05-04 Thread Craig Ringer
On 4/05/2010 11:45 AM, Morty Abzug wrote:

 file dedup (rather than block dedup) could mostly be handled at the
 catalog level with another level of indirection.  I.e. instead of a
 catalog entry containing file metadata and where the file lives on
 media, it would contain file metadata and a foreign key to a table
 that maps hashes to where the file lives on the media.

This is really hard to do when everything is bundled into big volumes, 
and volumes are expired as units. It'd be necessary to compltely 
re-design the way storage works to do file-level deduplication, and it's 
not as easy to do (efficiently, with proper retention etc) as it first 
seems either.

--
Craig Ringer

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Multiple Options inside Include

2010-05-04 Thread Jorge Cabello
Hello,

I'm using 2 options resources inside an Include in the Fileset: one for general 
options and the other for exclude files. Bacula reads the Fileset without 
problems and when it shows the job it's also OK.

  -- FileSet: name=XXXFileset
  O MZ6
  N
  O ei
  WD [A-Z]:/WINNT/Temp
...

The problem is that the compression only works if it appears in the Options 
resource in second position. If the attribute goes in the first Options 
resource 
bacula doesn't do any compression.

Anyone else is also using multiple options resources inside includes? Do you 
have any trouble with it? 


Bacula Versión: 2.4.4

Not Working (job runs but without compression):
FileSet {
Name = XXXFileset
Enable VSS = yes

Include {
Options {
signature = MD5
compression=GZIP
}

Options {
Exclude = yes
IgnoreCase = yes

# Temporary directories  files
WildDir = [A-Z]:/WINNT/Temp
#...
}

File = C:/
}
}

Working (job runs with compression) :
FileSet {
Name = XXXFileset
Enable VSS = yes

Include {
Options {
Exclude = yes
IgnoreCase = yes

# Temporary directories  files
WildDir = [A-Z]:/WINNT/Temp
#...
}

Options {
signature = MD5
compression=GZIP
}

File = C:/
}
}

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to make incremental backups consider their own pool ONLY?

2010-05-04 Thread Martin Simmons
 On Mon, 03 May 2010 09:25:52 +1200, David Young said:
 
 That's what I thought :)
 
 I want to do this for our company's backup retension policy.. maybe
 there's a better way?
 
 I.e., I have 3 backup sets:
 
 7 daily tapes
 4 weekly tapes
 12 monthly tapes
 
 I can restore a file from any day in the past week, any week (but not a
 specific day) in the past month, and any month in the past year.

Do you have any Full backups in this schedule?  I think relying on a large
number of incremental backups is somewhat risky, because it prevents recovery
if any one of them is damaged for some reason.

Your requirements can be achieved by doing

Full backup every month
Differential backup every week
Incremental backup every day

or

Full backup every month
Full backup every week
Differential backup every day

You can skip the daily backup on the days when the weekly is done and likewise
for weekly/monthly.

__Martin

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Hardware configuration and off-site backup

2010-05-04 Thread Thomas Mueller
Am Tue, 04 May 2010 08:34:15 +0200 schrieb Vlamsdoem:

 Hello,
 
 I have few questions about my new backup configuration. Before asking my
 questions I will give you some useful information about what I need to
 do.
 I need a backup ± 10 servers with one full backup every week of 3,5 TB
 and an incremental backup of 100GB 5 times/week. I have 48 hours to do
 the full backup and about 8 hours to do the incremental backup.
 Every servers are on a 100Mb ethernet link. Considering all this
 parameters I need some advice about the choice of my hard disks.
 I'm planing to buy a StorageWorks array from Hp (DAS) but I don't know
 what's the best choice for the hard disks. I'm pretty sure that a fast
 hard disk is better for performance but it's not for money saving :),
 I'm wondering if big sata disks of 2TB/7.2k rpm are fast enough to
 achieve my backups in time or is it better to buy faster/sas disks to be
 sure it's done in time.

100Mb == 100mbit? 100Mbit will result in about 9MB/s . To transfer 3,5TB 
over ethernet you would need about 108hours.  you need _at least_ 1Gbit 
ethernet on the backup-server. 

if there are millions of small files involved on the backedup servers, 
there will be much less throuhput. also do not place the DB data not on 
the same spindles as the backup volumes.

IMHO the backup disks will not be the bottleneck if you go with SATA 7.2k 
drives. but check the specs - i'm sure HP is providing performance data 
somewhere on the homepage (or ask your dealer)   

- Thomas



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Hardware configuration and off-site backup

2010-05-04 Thread Alan Brown
On Tue, 4 May 2010, Thomas Mueller wrote:

 IMHO the backup disks will not be the bottleneck if you go with SATA 7.2k
 drives. but check the specs - i'm sure HP is providing performance data
 somewhere on the homepage (or ask your dealer)

IMHO it's unsafe to back up to a single disk (of any type). Using a RAID
set gives much greater resilience for the failures that inevitably happen
as time goes by.




--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Installing with RPMs

2010-05-04 Thread Joseph Spenner
I have the following RPMs:

bacula-bat-5.0.2-1.su112.x86_64.rpm
bacula-client-5.0.2-1.su112.x86_64.rpm
bacula-libs-5.0.2-1.su112.x86_64.rpm
bacula-mysql-5.0.2-1.su112.x86_64.rpm

From what Phil said, I know:

bacula-bat-5.0.2-1.su112.x86_64.rpm
The BAT graphical console only, database independent

bacula-client-5.0.2-1.su112.x86_64.rpm
The client only, database independent.

bacula-mysql-5.0.2-1.su112.x86_64.rpm
All the server daemons, compiled for MySQL.

A new RPM showed up this time, and I'm not sure what libs it provides:
bacula-libs-5.0.2-1.su112.x86_64.rpm  ?

I have mysql running on my Suse 11.2 64bit system.  How does mysql get 
populated with the bacula database/tables?  When I compiled from source 
earlier, I found I needed to manually run some scripts:

# create_bacula_database

# make_bacula_tables

# grant_bacula_privileges

But I see no such scripts, nor did I notice any such processes run during the 
RPM installation.  I logged into mysql and did 'show tables', but saw no bacula 
data.



  

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Compression on Windows

2010-05-04 Thread Uwe Schuerkamp
On Mon, May 03, 2010 at 04:35:20PM -0400, Phil Stracchino wrote:
 On 05/03/10 06:02, Carlo Filippetto wrote:
  Hi all,
  I have a problem,
  I had installed bacula 5.0.1. on Winows client, and work fine, but I
  have no compression
  
Software Compression:   None
  
  while
  
  FileSet {
Name = FS-test-windows
Enable VSS = yes
Ignore FileSet Changes = no
Include {
  File = C:/Programmi/Test
  Options {
  compression = GZIP
  signature = MD5
  }
}
  }
  


Hm, I've never seen Option *inside* an Include block, maybe that's the
problem unless that's a new feature in 5.x? 

All the best, Uwe 

  
  I read that is the same fd that make this compression.. why it don't work??
 
 Can you be a little more specific about don't worl?  What doesn't
 work?  Compression?  Backups?
 
 If you're not getting compression and you're asking about that, from the
 fragmentary bits of configuration you've posted above you appear to have
 compression both turned on and turned off.  This probably isn't helping.
 
 
 -- 
   Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
   ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, Free Stater
  It's not the years, it's the mileage.
 
 --
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
uwe.schuerk...@nionex.net fon: [+49] 5242.91 - 4740, fax:-69 72
Hauptsitz: Avenwedder Str. 55, D-33311 Gütersloh, Germany
Registergericht Gütersloh HRB 4196, Geschäftsführer: H. Gosewehr, D. Suda
NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] problem with schedules? Help!

2010-05-04 Thread Grzegorz Marszałek
Hello!

It seems I just don't get it...

I've got following configs:

JobDefs {
   Name = PcBackup
   Schedule = PcSchedule
   Storage = File
   Messages = Standard
   Pool = DumbPool
   Write Bootstrap = %c_%n.bsr
   Type = Backup
   Accurate = yes
   Reschedule On Error = yes
   Reschedule Times = 480
   Reschedule Interval = 15 minutes
   Full Backup Pool = FullTwoMonths
   Incremental Backup Pool = IncOneMonth
   Differential Backup Pool = IncOneMonth
}

Schedule {
   Name = PcSchedule
   Run = Level=VirtualFull 1st mon at 23:00
   Run = Level=Incremental 1st mon at 9:00
   Run = Level=Incremental 2nd mon at 9:00
   Run = Level=Incremental 3rd mon at 9:00
   Run = Level=Incremental 4th mon at 9:00
   Run = Level=Incremental 5th mon at 9:00
}

Job {
   Name = dragonfly-pc1-job
   Enabled = yes
   Client = dragonfly-pc1-fd
   JobDefs = PcBackup
   FileSet = dragonflypc1
}

# wypełnij + zmiany w Job, żeby backup'ować jakiś wyjątkowy zestaw  
plików
FileSet {
   Name = dragonflypc1
   Enable VSS = yes
   Include {
 Options { signature=SHA1; compression=GZIP6 }
 File = C:/Users/Dragonfly
   }
}

Client {
   Name = dragonfly-pc1-fd# DON'T TOUCH!
   Address = 10.0.2.104 # DON'T TOUCH!
   FD Port = 9102# default
   Catalog = MyCatalog
   Password = ...
}

With all Director, Messages etc. directives working fine. After  
waiting till last monday, I've got 70 incremental jobs run! Each in 18  
mintues distace from each other!!!

My intention was:
* backup each Pc at each monday, around 9:00am - if it fails, try do  
backup them till friday before giving up (in case that this particular  
pc is laptop). If no full backup if done - then to it (default  
behaviour).
* after that - each first monday do VirtaulFull backup, so no contact  
is needed with laptop/desktop. This way I can easily handle laptops  
backup, when they appers in the office

But it seems I do something very wrong :(

I'm using bacula 5.0.1.

Help? :)
---
Grzegorz Marszałek
gr...@post.pl



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installing with RPMs

2010-05-04 Thread Phil Stracchino
On 05/04/10 10:22, Joseph Spenner wrote:
 I have the following RPMs:
 
 bacula-bat-5.0.2-1.su112.x86_64.rpm
 bacula-client-5.0.2-1.su112.x86_64.rpm
 bacula-libs-5.0.2-1.su112.x86_64.rpm
 bacula-mysql-5.0.2-1.su112.x86_64.rpm
 
From what Phil said, I know:
 
 bacula-bat-5.0.2-1.su112.x86_64.rpm
 The BAT graphical console only, database independent
 
 bacula-client-5.0.2-1.su112.x86_64.rpm
 The client only, database independent.
 
 bacula-mysql-5.0.2-1.su112.x86_64.rpm
 All the server daemons, compiled for MySQL.
 
 A new RPM showed up this time, and I'm not sure what libs it provides:
 bacula-libs-5.0.2-1.su112.x86_64.rpm  ?

That ought to be common libraries.  It should get pulled in
automatically if needed.

 I have mysql running on my Suse 11.2 64bit system.  How does mysql get 
 populated with the bacula database/tables?  When I compiled from source 
 earlier, I found I needed to manually run some scripts:
 
 # create_bacula_database
 
 # make_bacula_tables
 
 # grant_bacula_privileges
 
 But I see no such scripts, nor did I notice any such processes run during the 
 RPM installation.  I logged into mysql and did 'show tables', but saw no 
 bacula data.

Having never installed from RPM, I can't help you there, sorry.  But the
RPMs SHOULD contain the scripts you reference above.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installing with RPMs

2010-05-04 Thread Joseph Spenner
--- On Tue, 5/4/10, Phil Stracchino ala...@metrocast.net wrote:

  I have mysql running on my Suse 11.2 64bit
 system.  How does mysql get populated with the bacula
 database/tables?  When I compiled from source earlier,
 I found I needed to manually run some scripts:
  
  # create_bacula_database
  
  # make_bacula_tables
  
  # grant_bacula_privileges
  
  But I see no such scripts, nor did I notice any such
 processes run during the RPM installation.  I logged
 into mysql and did 'show tables', but saw no bacula data.
 
 Having never installed from RPM, I can't help you there,
 sorry.  But the
 RPMs SHOULD contain the scripts you reference above.
 

Ok, not sure where the mysql update scripts are.  I might have to copy them 
from the source installation and run them manually.

Also, when I try to run 'bat' or 'bconsole', it appears to be trying to connect 
to the Director on port 9101, but this process isn't running and there is no 
tcp/9101 available.
When I start bacula using bacula start or using the 3 rc scripts created by 
the RPM installation:

bacula-sd
bacula-fd
bacula-dir

I can start bacula-sd, which creates a process listening on tcp/9103
I can start bacula-fd, which creates a process listening on tcp/9102
But if I try to start bacula-dir, it silently fails and starts no process on 
tcp/9101 which I suspect is what 'bat' and 'bconsole' want.  When I try to 
start 'bconsole', I only get:

Connecting to Director bacula-va-dir:9101

And my root prompt returns.

'bat' does something similar, but takes about a minute before failing.

From the messages file:
May  4 17:01:27 bacula bconsole: bsock.c:135 Unable to connect to Director 
daemon on bacula-va:9101. ERR=Connection refused

The host name bacula-va is in the hosts file, so it resolves.  This system has 
multiple interfaces, and the bacula-va is the network where backups will take 
place.

I suspect this problem might be due to the lack of bacula data in mysql.  I see 
the following errors in /var/lib/bacula/log:

04-May 17:00 bacula-dir JobId 0: Fatal error: Could not open Catalog 
MyCatalog, database bacula.
04-May 17:00 bacula-dir JobId 0: Fatal error: sqlite.c:178 Database 
/var/lib/bacula/bacula.db does not exist, please create it.
04-May 17:00 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf

The only files in /var/lib/bacula are:

bacula-dir.bacula-dir.6892008.mail
bacula-dir.bacula-dir.6914616.mail
bacula-dir.bacula-dir.6914648.mail
bacula-fd.9102.state
bacula-sd.9103.state
log

The .mail files contain the same info as the log file (the error above).

Before I copy over the mysql install scripts from source, I'd like to verify if 
this would be the best idea.

Thanks!




  

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Idea/suggestion for dedicated disk-based sd

2010-05-04 Thread Morty Abzug
On Tue, May 04, 2010 at 04:45:16PM +0800, Craig Ringer wrote:
 On 4/05/2010 11:45 AM, Morty Abzug wrote:

 file dedup (rather than block dedup) could mostly be handled at the
 catalog level with another level of indirection.  I.e. instead of a
 catalog entry containing file metadata and where the file lives on
 media, it would contain file metadata and a foreign key to a table
 that maps hashes to where the file lives on the media.

 This is really hard to do when everything is bundled into big
 volumes, and volumes are expired as units. It'd be necessary to
 compltely re-design the way storage works to do file-level
 deduplication, and it's not as easy to do (efficiently, with proper
 retention etc) as it first seems either.

I think you could handle at least some of the retention issues by
comparing the current job's retention to the retention of the
job/volume for the old file.  If the backup of the old file doesn't
meet the new file's retention requirements, you back it up again.

However, format/architectural issues are indeed harder to overcome.
There are a number of limitations I have encountered with bacula, and
it looks like at least some of them might be fundamental to bacula's
architecture.  My list:

(1) no way to do a simple client check (AKA amcheck -c.)

(2) no way to do a simple tape check (AKA amcheck -lt)

(3) no automatic file-level deduplication.  base jobs are only a vague
approximation

(4) no way to logically group hosts into a run, with common options, the
way amanda can.  Somewhat solvable with scripting.

(5) way too complex

(6) no proper client/server model.  bacula clients need inbound ports

(7) no support for native backups.

(8) no built-in support for fully-automated storage of recovery data.
bacula recovery disks require a lot of manual work.

(9) no support for TOFU authentication.  Clients must be hand-configured.

(10) no support for Windows EFS

(11) no valid return codes from bconsole

(12) bconsole should support an option for execute-one-command (i.e. -e)

(13) bconsole should support an option for batch mode (i.e. -b)

(14) no support for disable job=$job until $time

(15) bconsole doesn't support control-c.

- Morty

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installing with RPMs

2010-05-04 Thread Joseph Spenner
--- On Tue, 5/4/10, Joseph Spenner joseph85...@yahoo.com wrote:

 From: Joseph Spenner joseph85...@yahoo.com
 Subject: Re: [Bacula-users] Installing with RPMs
 To: bacula-users@lists.sourceforge.net
 Date: Tuesday, May 4, 2010, 11:29 AM
 --- On Tue, 5/4/10, Phil Stracchino
 ala...@metrocast.net
 wrote:
 
   I have mysql running on my Suse 11.2 64bit
  system.  How does mysql get populated with the
 bacula
  database/tables?  When I compiled from source
 earlier,
  I found I needed to manually run some scripts:
   
   # create_bacula_database
   
   # make_bacula_tables
   
   # grant_bacula_privileges
   
   But I see no such scripts, nor did I notice any
 such
  processes run during the RPM installation.  I logged
  into mysql and did 'show tables', but saw no bacula
 data.
  
  Having never installed from RPM, I can't help you
 there,
  sorry.  But the
  RPMs SHOULD contain the scripts you reference above.
  
 
 Ok, not sure where the mysql update scripts are.  I
 might have to copy them from the source installation and run
 them manually.
 
 Also, when I try to run 'bat' or 'bconsole', it appears to
 be trying to connect to the Director on port 9101, but
 this process isn't running and there is no tcp/9101
 available.
 When I start bacula using bacula start or using the 3 rc
 scripts created by the RPM installation:
 
 bacula-sd
 bacula-fd
 bacula-dir
 
 I can start bacula-sd, which creates a process listening on
 tcp/9103
 I can start bacula-fd, which creates a process listening on
 tcp/9102
 But if I try to start bacula-dir, it silently fails and
 starts no process on tcp/9101 which I suspect is what 'bat'
 and 'bconsole' want.  When I try to start 'bconsole', I
 only get:
 
 Connecting to Director bacula-va-dir:9101
 
 And my root prompt returns.
 
 'bat' does something similar, but takes about a minute
 before failing.
 
 From the messages file:
 May  4 17:01:27 bacula bconsole: bsock.c:135 Unable to
 connect to Director daemon on bacula-va:9101. ERR=Connection
 refused
 
 The host name bacula-va is in the hosts file, so it
 resolves.  This system has multiple interfaces, and the
 bacula-va is the network where backups will take place.
 
 I suspect this problem might be due to the lack of bacula
 data in mysql.  I see the following errors in
 /var/lib/bacula/log:
 
 04-May 17:00 bacula-dir JobId 0: Fatal error: Could not
 open Catalog MyCatalog, database bacula.
 04-May 17:00 bacula-dir JobId 0: Fatal error: sqlite.c:178
 Database /var/lib/bacula/bacula.db does not exist, please
 create it.
 04-May 17:00 bacula-dir ERROR TERMINATION
 Please correct configuration file:
 /etc/bacula/bacula-dir.conf
 
 The only files in /var/lib/bacula are:
 
 bacula-dir.bacula-dir.6892008.mail
 bacula-dir.bacula-dir.6914616.mail
 bacula-dir.bacula-dir.6914648.mail
 bacula-fd.9102.state
 bacula-sd.9103.state
 log
 
 The .mail files contain the same info as the log file (the
 error above).
 
 Before I copy over the mysql install scripts from source,
 I'd like to verify if this would be the best idea.
 

The suspense was killing me, so I went ahead and modified the scripts from the 
source installation to work here.  I now have a mysql 'bacula' database.  
However, the Director will still not start.
It looks to me like the bacula-mysql-5.0.2-1.su112.x86_64.rpm package might be 
built wrong.  The fact that it's looking for /var/lib/bacula/bacula.db leads me 
to believe it's looking for sqlite

Also, I had to make several modifications to the config files in /etc/bacula 
because they were hard coded to a host:  OS-112vmware




  

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installing with RPMs

2010-05-04 Thread Phil Stracchino
On 05/04/10 13:29, Joseph Spenner wrote:
 --- On Tue, 5/4/10, Phil Stracchino ala...@metrocast.net wrote:
 
 I have mysql running on my Suse 11.2 64bit
 system.  How does mysql get populated with the bacula
 database/tables?  When I compiled from source earlier,
 I found I needed to manually run some scripts:

 # create_bacula_database

 # make_bacula_tables

 # grant_bacula_privileges

 But I see no such scripts, nor did I notice any such
 processes run during the RPM installation.  I logged
 into mysql and did 'show tables', but saw no bacula data.

 Having never installed from RPM, I can't help you there,
 sorry.  But the
 RPMs SHOULD contain the scripts you reference above.

 
 Ok, not sure where the mysql update scripts are.  I might have to copy them 
 from the source installation and run them manually.

By default, if using the recommended /opt/bacula directory structure,
the necessary scripts should be installed in /opt/bacula/etc.  If you're
using one of the canonical filesystem standards, try looking for
them in /etc/bacula.

 Also, when I try to run 'bat' or 'bconsole', it appears to be trying to 
 connect to the Director on port 9101, but this process isn't running and 
 there is no tcp/9101 available.

Yes, any console requires a running Director.  You're correct that the
problem is the Director cannot find a correct running database to
connect to.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple Options inside Include

2010-05-04 Thread Martin Simmons
 On Tue, 4 May 2010 11:45:05 +0200, Jorge Cabello said:
 
 Hello,
 
 I'm using 2 options resources inside an Include in the Fileset: one for 
 general 
 options and the other for exclude files. Bacula reads the Fileset without 
 problems and when it shows the job it's also OK.
 
   -- FileSet: name=XXXFileset
   O MZ6
   N
   O ei
   WD [A-Z]:/WINNT/Temp
   ...
 
 The problem is that the compression only works if it appears in the Options 
 resource in second position. If the attribute goes in the first Options 
 resource 
 bacula doesn't do any compression.
 
 Anyone else is also using multiple options resources inside includes? Do you 
 have any trouble with it? 

That is by design.  Options clauses only match if there is an explicit Wild,
WildDir etc keyword that matches the filename.  If no Options clauses match,
then the last one is used to supply the options.  In other words, an Options
clause with no Wild, WildDir etc is only useful as the last clause to provide
the default options.

__Martin

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] problem with schedules? Help!

2010-05-04 Thread Grzegorz Marszałek
Ok,

everything is clear now:

04-maj 22:51 wenus-dir JobId 134: Error: Could not open WriteBootstrap  
file:
dragonfly-pc1-fd_dragonfly-pc1-job.bsr: ERR=Permission denied

Bacula couldn't open bootstrap file, backup job generated error, and  
job was rescheduled just like it should.
Wiadomość napisana w dniu 2010-05-04, o godz. 16:36, przez Grzegorz  
Marszałek:


---
Grzegorz Marszałek
gr...@post.pl



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] After update to 5.0.2 some jobs have not been run!!!

2010-05-04 Thread Masopust, Christian
Hello,
 
yesterday I updated Bacula from 5.0.1 to 5.0.2 (compiled from source) and today
I see that some jobs have not been run!  Nothing in the configuration has been 
changed,
only director and SD have been updated at the moment.
 
When doing a status dir in console I see all jobs scheduled.
 
What can I do to find out why they have not been run yesterday (after the 
update) ?
 
Thanks a lot,
Christian
 

___

Christian Masopust

SIEMENS AG  SIS SDE SVI CON IPB
Tel:   +43 (0) 5 1707 26866
E-mail: christian.masop...@siemens.com
Addr: Austria, 1210 Vienna, Siemensstraße 90-92, B. 33, Rm. 243

Leader of the RUGA http://www.rational-ug.org/groups.php?groupid=119 

Firma: Siemens Aktiengesellschaft Österreich, Rechtsform: 
Aktiengesellschaft, 
Sitz: Wien, Firmenbuchnummer: FN 60562 m, 
Firmenbuchgericht: Handelsgericht Wien, DVR 0001708 
___



 
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users