Bacula-users

Re: [Bacula-users] 15. Re: bweb installation

2011-05-24 06:52:37
Subject: Re: [Bacula-users] 15. Re: bweb installation
From: "Robert Kromoser" <Robert.Kromoser AT kinamu DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 24 May 2011 12:48:46 +0200
Dear Jeremy.

I think, that I am not able to install bweb, because my yum search
on my CentOS 5.5 did not bring any results about the needed perl libs.
I tried the following:

yum search libgd-graph-perl
yum search libhtml-template-perl
yum search libexpect-perl
yum search libdbd-mysql-perl
yum search libdbd-pg-perl
yum search libdbi-perl
yum search libdate-calc-perl
yum search libtime-modules-perl

Each of these statements returned 
No matches found for: ...

I also startet ./bweb/cgi/bweb.pl and got many, many errors.

If these libs are essential to install bweb then I won't be able to
do that.

Many thanks for your support and for the detailed installation
documentation.

I think I will better try bacula-web because Apache, Mysqld and PHP is
already 
installed on my Bacula Server system.

br Robert



-----Original Message-----
From: bacula-users-request AT lists.sourceforge DOT net
[mailto:bacula-users-request AT lists.sourceforge DOT net] 
Sent: Dienstag, 24. Mai 2011 11:20
To: bacula-users AT lists.sourceforge DOT net
Subject: Bacula-users Digest, Vol 61, Issue 27

Send Bacula-users mailing list submissions to
        bacula-users AT lists.sourceforge DOT net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/bacula-users
or, via email, send a message with subject or body 'help' to
        bacula-users-request AT lists.sourceforge DOT net

You can reach the person managing the list at
        bacula-users-owner AT lists.sourceforge DOT net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bacula-users digest..."


Today's Topics:

   1. Restore problems (Alan Brown)
   2. Re: Restore problems (John Drescher)
   3. Re: Bacula Full weekly backup setup       [SEC=UNCLASSIFIED]
      (John Drescher)
   4. new hard drive mounted into ntfs filesystem of old        hard
drive
      (Jeff Shanholtz)
   5. Re: new hard drive mounted into ntfs filesystem of old hard
      drive (John Drescher)
   6. Re: new hard drive mounted into ntfs filesystem of old    hard
      drive (Phil Stracchino)
   7. Re: new hard drive mounted into ntfs filesystem of old    hard
      drive (Phil Stracchino)
   8. Re: Base jobs and incremental backups (TipMeAbout)
   9. Re: Base jobs and incremental backups (Pablo Marques)
  10. FW:  Plugin not loaded ??? (Robert Kromoser)
  11. bweb installation (Robert Kromoser)
  12. Re: Base jobs and incremental backups (TipMeAbout)
  13. Re: bweb installation (Mark Maas)
  14. Re: Base jobs and incremental backups (Jeremy Maes)
  15. Re: bweb installation (Jeremy Maes)


----------------------------------------------------------------------

Message: 1
Date: Mon, 23 May 2011 18:39:33 +0100
From: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>
Subject: [Bacula-users] Restore problems
To: "bacula-users AT lists.sourceforge DOT net"
        <bacula-users AT lists.sourceforge DOT net>
Message-ID: <4DDA9BD5.5010300 AT mssl.ucl.ac DOT uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


I'm trying to restore a 3 month old backup, but the database says there 
are no files to restore.

The strange thing is, I can _see_ the entries in the database for that 
date and the full backup 10 days before.

Has anyone seen this kind of behaviour?






------------------------------

Message: 2
Date: Mon, 23 May 2011 13:48:43 -0400
From: John Drescher <drescherjm AT gmail DOT com>
Subject: Re: [Bacula-users] Restore problems
To: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>
Cc: "bacula-users AT lists.sourceforge DOT net"
        <bacula-users AT lists.sourceforge DOT net>
Message-ID: <BANLkTinfaatFvHzp8=qCXxGP8xK1s3nm1Q AT mail.gmail DOT com>
Content-Type: text/plain; charset=ISO-8859-1

> I'm trying to restore a 3 month old backup, but the database says
there
> are no files to restore.
>
> The strange thing is, I can _see_ the entries in the database for that
> date and the full backup 10 days before.
>
> Has anyone seen this kind of behaviour?
>

Do you have different file and job retentions?

John



------------------------------

Message: 3
Date: Mon, 23 May 2011 16:23:11 -0400
From: John Drescher <drescherjm AT gmail DOT com>
Subject: Re: [Bacula-users] Bacula Full weekly backup setup
        [SEC=UNCLASSIFIED]
To: Alan Langley <alan.langley AT naa.gov DOT au>,      bacula-users
        <Bacula-users AT lists.sourceforge DOT net>
Message-ID: <BANLkTimn1o7Tqd84E5BQrxOWfE+jGy0jQA AT mail.gmail DOT com>
Content-Type: text/plain; charset=ISO-8859-1

> I guess I need to load 12 -16 tapes into my pool and set the retention
> period to a month?

Remember that the retention period is counted from the time the last
job was run on the volume after it was marked Used or Full so a month
may be too long.

> Once the full backup is completed each week take out
> the tapes that have been written to and allow Bacula to write to the
> next tape in the pool? I wouldn't want the last tape to be appendable,
> so would have to mark that tape as Full some how?
>
Specify Volume Use Duration and/or Maximum Volume Jobs

to have the tapes automatically marked used after your backup completes.

http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#S
ECTION0018150000000000000000

>

I left out the other questions because I do not have time to address
those at the moment.

John



------------------------------

Message: 4
Date: Mon, 23 May 2011 12:49:44 -0700
From: Jeff Shanholtz <jeffsubs AT shanholtz DOT com>
Subject: [Bacula-users] new hard drive mounted into ntfs filesystem of
        old     hard drive
To: <bacula-users AT lists.sourceforge DOT net>
Message-ID: <037801cc1982$90534180$b0f9c480$@com>
Content-Type: text/plain; charset="us-ascii"

I added a hard drive to a system due to the old one filling up. In
addition
to the drive getting a new drive letter (D:), I also mounted it into a
directory of my old hard drive (C:\MyNewHardDrive) in order to keep
getting
the contents backed up since I have backups configured to only do drive
C:.

 

Last night the differential backups ran and from listing the files of
that
backup job it appears that bacula ignored C:\MyNewHardDrive. Is bacula
"smart" enough to recognize that the directory is physically a separate
drive and that's why it was ignored? Is it possible to get bacula to
back up
this directory aside from adding drive D: to the list of drives to back
up
(which I prefer not to do)? Or is adding drive D: my only option?

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Mon, 23 May 2011 16:35:43 -0400
From: John Drescher <drescherjm AT gmail DOT com>
Subject: Re: [Bacula-users] new hard drive mounted into ntfs
        filesystem of old hard drive
To: Jeff Shanholtz <jeffsubs AT shanholtz DOT com>
Cc: bacula-users AT lists.sourceforge DOT net
Message-ID: <BANLkTimw=aJK7TNwLL2gfyfVodyNnqc2_w AT mail.gmail DOT com>
Content-Type: text/plain; charset=windows-1252

> I added a hard drive to a system due to the old one filling up. In
addition
> to the drive getting a new drive letter (D:), I also mounted it into a
> directory of my old hard drive (C:\MyNewHardDrive) in order to keep
getting
> the contents backed up since I have backups configured to only do
drive C:.
>
>
>
> Last night the differential backups ran and from listing the files of
that
> backup job it appears that bacula ignored C:\MyNewHardDrive. Is bacula
> ?smart? enough to recognize that the directory is physically a
separate
> drive and that?s why it was ignored? Is it possible to get bacula to
back up
> this directory aside from adding drive D: to the list of drives to
back up
> (which I prefer not to do)? Or is adding drive D: my only option?
>

This is the onefs=yes default option. However I would not change that
setting to onefs=no because it will cause problems with ntfs junction
points especially if you use Vista or above.

John



------------------------------

Message: 6
Date: Mon, 23 May 2011 16:38:04 -0400
From: Phil Stracchino <alaric AT metrocast DOT net>
Subject: Re: [Bacula-users] new hard drive mounted into ntfs
        filesystem of old       hard drive
To: bacula-users AT lists.sourceforge DOT net
Message-ID: <4DDAC5AC.6080406 AT metrocast DOT net>
Content-Type: text/plain; charset=windows-1252

On 05/23/11 15:49, Jeff Shanholtz wrote:
> I added a hard drive to a system due to the old one filling up. In
> addition to the drive getting a new drive letter (D:), I also mounted
it
> into a directory of my old hard drive (C:\MyNewHardDrive) in order to
> keep getting the contents backed up since I have backups configured to
> only do drive C:.
> 
>  
> 
> Last night the differential backups ran and from listing the files of
> that backup job it appears that bacula ignored C:\MyNewHardDrive. Is
> bacula ?smart? enough to recognize that the directory is physically a
> separate drive and that?s why it was ignored? Is it possible to get
> bacula to back up this directory aside from adding drive D: to the
list
> of drives to back up (which I prefer not to do)? Or is adding drive D:
> my only option?

Basically you have a choice:

1 - Add D:\ into the FileSet
2 - Add C:\MyNewHardDrive into the FileSet
3 - Set option onefs=no in the filesystem

Pick one.  Option 3 is not recommended, as it will cause all mountpoints
to be recursed into, which tends to be a bad thing on Windows since
Windows remounts bits of its own filesystem on mountpoints scattered all
over the place.


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



------------------------------

Message: 7
Date: Mon, 23 May 2011 16:39:23 -0400
From: Phil Stracchino <alaric AT metrocast DOT net>
Subject: Re: [Bacula-users] new hard drive mounted into ntfs
        filesystem of old       hard drive
To: bacula-users AT lists.sourceforge DOT net
Message-ID: <4DDAC5FB.9040608 AT metrocast DOT net>
Content-Type: text/plain; charset=windows-1252

> 1 - Add D:\ into the FileSet
> 2 - Add C:\MyNewHardDrive into the FileSet
> 3 - Set option onefs=no in the filesystem

er ...  the *fileset*, rather, not the filesystem


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



------------------------------

Message: 8
Date: Mon, 23 May 2011 23:40:17 +0200
From: TipMeAbout <tipmeabout AT gmail DOT com>
Subject: Re: [Bacula-users] Base jobs and incremental backups
To: bacula-users AT lists.sourceforge DOT net
Message-ID: <201105232340.18288.tipmeabout AT gmail DOT com>
Content-Type: Text/Plain;  charset="utf-8"

Le mercredi 18 mai 2011 j'ai re?u le message suivant:

> > Are there any informations in the log file that prove the first full
> > after a base job is effectively using the base job ?
>> [...]


Hello,

I'm back with news, but not good.

I have done a base job backup of the laptop system through LAN
connection (job 
name: laptop-lan_system.basejob). Below the definition of this job:

Job {
        Name= "laptop-lan_system.basejob"
        Enabled= "yes"
        Type= "Backup"
        Level= "Base" # can be defined in the schedule resource
        Client= "laptop-lan"
        FileSet= "system"
        Messages= "Standard"
        Pool= "full"
        Full Backup Pool= "full"
        Differential Backup Pool= "diff"
        Incremental Backup Pool= "incr"
        Schedule= "full_1st_of_month"
        Storage= "VTD_08"
        Priority= 9

}


Then a full backup of this client through WIFI (job
name:laptop-wlan_system) 
and mentionning that this job should help itself with the previous base
job.  
Below the definition of this job:

Job {
        Name= "laptop-wlan_system"
        Enabled= "yes"
        Type= "backup"
        Base= "laptop-lan_system.basejob"
        Level= "incremental" # can be defined in the schedule resource
        Client= "laptop-wlan"
        FileSet= "system"
        Messages= "Standard"
        Pool= "incr"
        Full Backup Pool= "full"
        Differential Backup Pool= "diff"
        Incremental Backup Pool= "incr"
        Schedule= "incr_everyday_but_1st"
        Storage= "VTD_04"

}

As I have launched manually the full, I have change in command line the
level 
and pool of the job laptop-wlan_system to set them to full.


But unfortunately, it take more than 5 hours to do the backup and from
the 
report at the end of the backup, it did not take the base job into 
consideration as no line appears to indicate the percentage of use from
the 
base job:

  Build OS:               x86_64-redhat-linux-gnu redhat 
  JobId:                  1235
  Job:                    laptop-wlan_system.2011-05-23_08.46.24_03
  Backup Level:           Full
  Client:                 "laptop-wlan" 5.0.3 (04Aug10)
x86_64-redhat-linux-
gnu,redhat,
  FileSet:                "system" 2011-03-18 08:47:54
  Pool:                   "full" (From Job FullPool override)
  Catalog:                "bacula" (From Client resource)
  Storage:                "VTD_04" (From Job resource)
  Scheduled time:         23-mai-2011 08:46:06
  Start time:             23-mai-2011 08:46:26
  End time:               23-mai-2011 14:05:18
  Elapsed time:           5 hours 18 mins 52 secs
  Priority:               10
  FD Files Written:       131,130
  SD Files Written:       131,130
  FD Bytes Written:       7,233,904,662 (7.233 GB)
  SD Bytes Written:       7,252,157,429 (7.252 GB)
  Rate:                   378.1 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Accurate:               no
  Volume name(s):         full_vol-027|full_vol-028|full_vol-029
  Volume Session Id:      19
  Volume Session Time:    1306014285
  Last Volume Bytes:      574,149,829 (574.1 MB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK



So what's wrong with my configuration ?

Thanks for your help !

JC


-- 
http://www.tipmeabout.org
http://www.tipmeabout.com



------------------------------

Message: 9
Date: Tue, 24 May 2011 00:12:26 -0400 (EDT)
From: Pablo Marques <pmarques AT miamilinux DOT net>
Subject: Re: [Bacula-users] Base jobs and incremental backups
To: tipmeabout AT gmail DOT com
Cc: bacula-users AT lists.sourceforge DOT net
Message-ID: <28adbaed-c582-4c9e-9a2f-22fafdf7f2dc AT mail.miamilinux DOT net>
Content-Type: text/plain; charset=utf-8


Maybe laptop-lan and laptop-wlan need to be the same client (same name).

Just change the ip address of the client configuration of laptop-lan to
be the wlan ip and run a FULL backup on it.

Let me know.

Pablo
----- Original Message -----
From: "TipMeAbout" <tipmeabout AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Cc: "Pablo Marques" <pmarques AT miamilinux DOT net>
Sent: Monday, May 23, 2011 5:40:17 PM
Subject: Re: [Bacula-users] Base jobs and incremental backups

Le mercredi 18 mai 2011 j'ai re?u le message suivant:

> > Are there any informations in the log file that prove the first full
> > after a base job is effectively using the base job ?
>> [...]


Hello,

I'm back with news, but not good.

I have done a base job backup of the laptop system through LAN
connection (job 
name: laptop-lan_system.basejob). Below the definition of this job:

Job {
        Name= "laptop-lan_system.basejob"
        Enabled= "yes"
        Type= "Backup"
        Level= "Base" # can be defined in the schedule resource
        Client= "laptop-lan"
        FileSet= "system"
        Messages= "Standard"
        Pool= "full"
        Full Backup Pool= "full"
        Differential Backup Pool= "diff"
        Incremental Backup Pool= "incr"
        Schedule= "full_1st_of_month"
        Storage= "VTD_08"
        Priority= 9

}


Then a full backup of this client through WIFI (job
name:laptop-wlan_system) 
and mentionning that this job should help itself with the previous base
job.  
Below the definition of this job:

Job {
        Name= "laptop-wlan_system"
        Enabled= "yes"
        Type= "backup"
        Base= "laptop-lan_system.basejob"
        Level= "incremental" # can be defined in the schedule resource
        Client= "laptop-wlan"
        FileSet= "system"
        Messages= "Standard"
        Pool= "incr"
        Full Backup Pool= "full"
        Differential Backup Pool= "diff"
        Incremental Backup Pool= "incr"
        Schedule= "incr_everyday_but_1st"
        Storage= "VTD_04"

}

As I have launched manually the full, I have change in command line the
level 
and pool of the job laptop-wlan_system to set them to full.


But unfortunately, it take more than 5 hours to do the backup and from
the 
report at the end of the backup, it did not take the base job into 
consideration as no line appears to indicate the percentage of use from
the 
base job:

  Build OS:               x86_64-redhat-linux-gnu redhat 
  JobId:                  1235
  Job:                    laptop-wlan_system.2011-05-23_08.46.24_03
  Backup Level:           Full
  Client:                 "laptop-wlan" 5.0.3 (04Aug10)
x86_64-redhat-linux-
gnu,redhat,
  FileSet:                "system" 2011-03-18 08:47:54
  Pool:                   "full" (From Job FullPool override)
  Catalog:                "bacula" (From Client resource)
  Storage:                "VTD_04" (From Job resource)
  Scheduled time:         23-mai-2011 08:46:06
  Start time:             23-mai-2011 08:46:26
  End time:               23-mai-2011 14:05:18
  Elapsed time:           5 hours 18 mins 52 secs
  Priority:               10
  FD Files Written:       131,130
  SD Files Written:       131,130
  FD Bytes Written:       7,233,904,662 (7.233 GB)
  SD Bytes Written:       7,252,157,429 (7.252 GB)
  Rate:                   378.1 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Accurate:               no
  Volume name(s):         full_vol-027|full_vol-028|full_vol-029
  Volume Session Id:      19
  Volume Session Time:    1306014285
  Last Volume Bytes:      574,149,829 (574.1 MB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK



So what's wrong with my configuration ?

Thanks for your help !

JC


-- 
http://www.tipmeabout.org
http://www.tipmeabout.com



------------------------------

Message: 10
Date: Tue, 24 May 2011 08:00:15 +0200
From: "Robert Kromoser" <Robert.Kromoser AT kinamu DOT com>
Subject: [Bacula-users] FW:  Plugin not loaded ???
To: <bacula-users AT lists.sourceforge DOT net>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="utf-8"

Hi Radoslaw.

 

In the directory C:\Program Files\Bacula\Plugins is only one file named
exchange-fd.dll with a file size of 69 KB.

At installation time I have marked the entry plugins to install.

 

br Robert

 

 

From: Rados?aw Korzeniewski [mailto:radoslaw AT korzeniewski DOT net] 
Sent: Montag, 23. Mai 2011 18:02
To: Robert Kromoser
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Plugin not loaded ???

 

Hello,

2011/5/23 Robert Kromoser <Robert.Kromoser AT kinamu DOT com>

 

Hi everybody.

 

I installed the win32 Bacula Client on a Windows Server 2003 System and
created a

client configuration on the bacula server CBCK0001-dir with the name
csapfaq0-dir.conf


So, Win32 File Daemon.
 

        23-May 16:13 c0000001-fd JobId 36: Fatal error:
/home/kern/bacula/k/bacula/src/filed/fd_plugins.c:223 Command plugin
"bpipe:/tmp/sap_maxdb_csapfaq0.db:dbmcli -d FAQ -u control,facc1234 -n
192.168.100.62 -uUTL -c backup_start FAQ_PIPE1_Full:dbmcli -u UTL -u
control,facc1234" requested, but is not loaded. 

        *

         

        But in the bacula-fd.conf on the windows server I removed the
remark sign 

        so the plugin should be loaded after starting the fd service.

         

        FileDaemon {                            # this is me

          Name = csapfaq0-fd

          FDport = 9102                # where we listen for the
director

          WorkingDirectory = "C:\\Program Files\\Bacula\\working"

          Pid Directory = "C:\\Program Files\\Bacula\\working"

          Plugin Directory = "C:\\Program Files\\Bacula\\plugins"

          Maximum Concurrent Jobs = 10

        }

         

        So I don't understand why bacula says, that the reuested plugin
isn't loaded od do I misunderstand this message ???

         


Could you please send us a directory listing of: C:\\Program
Files\\Bacula\\plugins
Is bpipe-fd.dll located there?

regards

-- 
Rados?aw Korzeniewski
radoslaw AT korzeniewski DOT net

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 11
Date: Tue, 24 May 2011 08:35:54 +0200
From: "Robert Kromoser" <Robert.Kromoser AT kinamu DOT com>
Subject: [Bacula-users] bweb installation
To: <bacula-users AT lists.sourceforge DOT net>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi folks.

 

I have still problem in installing bweb.

Can anyone give me a detail installation instruction to bweb.

I also need assistant in adding bweb into Apache.

I use CentOS 5.5, Apache 2.2.3, Mysql 5.0.77.

 

br Robert

 

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 12
Date: Tue, 24 May 2011 08:41:07 +0200
From: TipMeAbout <tipmeabout AT gmail DOT com>
Subject: Re: [Bacula-users] Base jobs and incremental backups
To: bacula-users AT lists.sourceforge DOT net
Message-ID: <201105240841.07673.tipmeabout AT gmail DOT com>
Content-Type: text/plain; charset="utf-8"

Le mardi 24 mai 2011 j'ai re?u le message suivant:

> Maybe laptop-lan and laptop-wlan need to be the same client (same
name).
> 
> Just change the ip address of the client configuration of laptop-lan
to be
> the wlan ip and run a FULL backup on it.
> 
> Let me know.
> 
> Pablo

Hello,

That would be strange if the 2 needs to be the same name or IP address
as in 
the doc it is said that it can use backups from other clients as
"template" of 
backup:

---------
extract of the doc:

A new Job directive Base=Jobx, Joby... permits to specify the list of
files 
that will be used during Full backup as base. 
Job {
   Name = BackupLinux
   Level= Base
   ...
}

Job {
   Name = BackupZog4
   Base = BackupZog4, BackupLinux
   Accurate = yes
   ...
} 
In this example, the job BackupZog4 will use the most recent version of
all 
files contained in BackupZog4 and BackupLinux jobs. Base jobs should
have run 
with level=Base to be used. 
---------------------------------------------

Changing IP as you request would make me change the IP of the server too
(WiFi 
and LAN are not in the same network), so first I would like to do more 
investigations without modifying IPs.
I will make some quick tests with small directories. 

Could you post here the example of you base job and related job please ?


Thanks !

JC

-- 
http://www.tipmeabout.org
http://www.tipmeabout.com
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 13
Date: Tue, 24 May 2011 09:44:02 +0200
From: Mark Maas <mark AT maas-martin DOT nl>
Subject: Re: [Bacula-users] bweb installation
To: bacula-users AT lists.sourceforge DOT net
Message-ID: <4DDB61C2.9040208 AT maas-martin DOT nl>
Content-Type: text/plain; charset="iso-8859-1"

On 05/24/2011 08:35 AM, Robert Kromoser wrote:
>
> Hi folks.
>
>  
>
> I have still problem in installing bweb.
>
> Can anyone give me a detail installation instruction to bweb.
>
> I also need assistant in adding bweb into Apache.
>
> I use CentOS 5.5, Apache 2.2.3, Mysql 5.0.77.
>
>  
>

I think bweb is no longer actively developed. You should try webacula
instead.

Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 14
Date: Tue, 24 May 2011 09:55:11 +0200
From: Jeremy Maes <jma AT schaubroeck DOT be>
Subject: Re: [Bacula-users] Base jobs and incremental backups
To: bacula-users AT lists.sourceforge DOT net
Message-ID: <4DDB645F.6070200 AT schaubroeck DOT be>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Op 23/05/2011 23:40, TipMeAbout schreef:
> Le mercredi 18 mai 2011 j'ai re?u le message suivant:
>
>>> Are there any informations in the log file that prove the first full
>>> after a base job is effectively using the base job ?
>>> [...]
>
> Hello,
>
> I'm back with news, but not good.
>
> I have done a base job backup of the laptop system through LAN
connection (job
> name: laptop-lan_system.basejob). Below the definition of this job:
...
> Then a full backup of this client through WIFI (job
name:laptop-wlan_system)
> and mentionning that this job should help itself with the previous
base job.
> Below the definition of this job:
...
> As I have launched manually the full, I have change in command line
the level
> and pool of the job laptop-wlan_system to set them to full.
>
>
> But unfortunately, it take more than 5 hours to do the backup and from
the
> report at the end of the backup, it did not take the base job into
> consideration as no line appears to indicate the percentage of use
from the
> base job:
...
> So what's wrong with my configuration ?
>
> Thanks for your help !
>
> JC
I myself know very little about the base job functionality, but just 
from reading the answers to your question earlier on the list I'd say 
this might be your problem:
(quoting literally from an earlier message by Pablo)

"When you do a Base backup, you need to do a FULL immediately after,
because the BASE backup is a "special" backup and you cannot restore 
only from it."

  -->> This tells me you need to run the first FULL backup immediately 
after the BASE, preferably on the LAN part as the base job itself is 
more like a reference point than a real backup.

"All the FULL backups that you will run after that first FULL are going 
to be very small, so you should only need to have the laptop on Gig on 
your first FULL backup."

-->> Again, this says that you'll be seeing small jobs only AFTER the 
first full you run. I do believe he accidentally typed BASE instead of 
FULL at the end here though.

Regards,
Jeremy

 **** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm



------------------------------

Message: 15
Date: Tue, 24 May 2011 11:19:20 +0200
From: Jeremy Maes <jma AT schaubroeck DOT be>
Subject: Re: [Bacula-users] bweb installation
To: bacula-users AT lists.sourceforge DOT net
Message-ID: <4DDB7818.3040308 AT schaubroeck DOT be>
Content-Type: text/plain; charset="iso-8859-1"

Op 24/05/2011 9:44, Mark Maas schreef:
> On 05/24/2011 08:35 AM, Robert Kromoser wrote:
>>
>> Hi folks.
>>
>> I have still problem in installing bweb.
>>
>> Can anyone give me a detail installation instruction to bweb.
>>
>> I also need assistant in adding bweb into Apache.
>>
>> I use CentOS 5.5, Apache 2.2.3, Mysql 5.0.77.
>>
>>
>
> I think bweb is no longer actively developed. You should try webacula 
> instead.
>
> Thanks,
> Mark

 From what I know Eric is still fixing bugs and adding stuff to bweb, 
just check the repository for bweb commits.

To get everything working (including file restoration with bresto.pl) I 
do the following:

   1. Make sure you have all necessary perl libraries installed, as
      listed in the INSTALL doc. How to check this is also described
there.
           - DBI (with mysql: DBD::mysql)
           - GD::Graph
           - GD
           - HTML::Template
           - CGI
           - Expect
           - Time::ParseDate
           - Date::Calc

   2. Add all necessary tables etc into the bacula database with the
      bweb-mysql.sql file provided. (script folder)
      Command is something like "mysql -u bacula -p bacula <
      /path/to/bweb-mysql.sql"

   3. Put the bweb perl library files under
      /usr/lib/perl5/site_perl/5.8.5/ - change dir if you have another
      perl version (all files from lib folder go here, 5x .pm)
      Chmod everything 644, owner and group root is fine.

   4. Dunno if it's strictly necessary, but I have a .packlist file with
      the following contents:
      /usr/lib/perl5/site_perl/5.8.5/Bconsole.pm
      /usr/lib/perl5/site_perl/5.8.5/Bweb.pm
      /usr/lib/perl5/site_perl/5.8.5/CCircle.pm
      /usr/lib/perl5/site_perl/5.8.5/GBalloon.pm
      /usr/lib/perl5/site_perl/5.8.5/GTime.pm

      The .packlist file is located under
      /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Bweb,
      chmod 644 owner/group root.

   5. I'm guessing your web dir should be /var/www/html, so make a
      subdir bweb there. Copy everything from the html dir there.
      Chmod 755, user/group root.

   6. For bresto to work you'll need the ext-js stuff. Download version
      2.2 (later should work too) from http://www.sencha.com/ and
      extract it to a folder /var/www/html/bweb/ext

   7. Make a subdir bweb in /var/www/cgi-bin and copy everything from
      the cgi dir there. (all .pl files)
      Chmod 755, user/group root

   8. Make a dir /usr/share/bweb/tpl/en and put everything from the
      lang/en/tpl dir there.
      Chmod 755, user/group root

   9. Create a spool dir /var/spool/bweb, chmod it 0700, owner apache,
      group root.

  10. Create a file bweb.conf under /etc/httpd.conf.d with the following
      contents:

      # bweb (bacula web-admin and statistics tool)
      # Apache config bweb.conf

      ScriptAlias /cgi-bin/bweb /var/www/cgi-bin/bweb
      <Directory /var/www/cgi-bin/bweb>
               Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
               AuthType Basic
               AuthName Bweb
               AuthUserFile /etc/bacula/.htpasswd
               Require valid-user
               AllowOverride None
      </Directory>

      Alias /bweb/fv /var/spool/bweb
      <Directory "/var/spool/bweb">
           Options None
           AllowOverride AuthConfig
           Order allow,deny
           Allow from all
      </Directory>

      Alias /bweb /var/www/html/bweb
      <Directory "/var/www/html/bweb">
           Options None
           AllowOverride AuthConfig
           Order allow,deny
           Allow from all
      </Directory>

      Chmod 644, owner/group apache. The "same" file is also present in
      the script dir with some extra info. You'll have to change the
      paths to reflect your centos dir tree if you use it tho!

  11. If you want to password protect it, make a .htpasswd file and put
      it in /etc/bacula for example (change location in config file
      above). Read up on this via google ^^ Should work without it if
      you comment the Auth and Require stuff in the config above.
      Chmod 640, user apache, group root.

  12. Create a bweb.conf file in /etc/bacula, chmod 640, owner apache,
      group root. Contents:

      $VAR1 = bless( {
                        'enable_security' => 0,
                        'graph_font' =>
      '/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf',
                        'config_file' => '/etc/bacula/bweb.conf',
                        'password' => 'mysqlpass',
                        'dbi' => 'DBI:mysql:database=bacula',
                        'user' => 'bacula',
                        'debug' => 0,
                        'error' => '',
                        'achs' => [],
                        'stat_job_table' => 'Job',
                        'display_log_time' => 0,
                        'lang' => 'en',
                        'wiki_url' => '',
                        'name' => undef,
                        'bconsole' => 'sudo /usr/sbin/bconsole -n -c
      /etc/bacula/bconsole.conf',
                        'ach_list' => {},
                        'fv_write_path' => '/var/spool/bweb',
                        'template_dir' => '/usr/share/bweb/tpl',
                        'enable_security_acl' => 0,
                        'email_media' => 'admin AT domain DOT be',
                        'default_age' => '7d'
      }, 'Bweb::Config' );

      Change the password to the mysql password for the bacula user. You
      can add a lot more stuff here, but you can do that from bweb
      itself. If needed, change the font line or install the Vera.ttf
font.

  13. Add a RunAfterJob to your catalog backup for
      "/var/www/cgi-bin/bresto.pl action=batch". Also run this once
      manually after bweb works. This is necessary to get the bfileview
      part to work.

  14. Lastly, add a line to the sudoers file:
      apache ALL = NOPASSWD: /usr/sbin/bconsole

  15. Restart apache (service httpd restart) and pray it works :)

Might've forgotten something, but this should be enough I think. If 
something doesn't work, try changing permissions etc.

Regards,
Jeremy

 **** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------
------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1

------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


End of Bacula-users Digest, Vol 61, Issue 27
********************************************

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>