[Bacula-users] Rough start with Bacula on Ubuntu

2011-05-26 Thread Melodie Neal
Gentlebeings

I have a small server running Ubuntu Lucid, on which I have installed Webmin 
1.550 and Bacula 5.0.1 and MySQL (applications installed using apt-get).  I am 
backing up to a file share on another machine, and the set up basically works.  
I still need to fine tune a few things, but I can backup, etc.  However, 
getting to this point was a bit ugly, because the Bacula documentation does not 
entirely agree with the software that I have installed.  For example, I cannot 
find drop_bacula_tables or make_bacula_tables scripts, and a bit of Googling 
suggests that those scripts don't get installed on Ubuntu, for no apparent 
reason.  Furthermore, the Start and Stop Bacula buttons in Webmin appear to 
start/stop the bacula-dir process, but not the fd or sd processes.  I can start 
and stop everything on the command line, but I'm going to have to hand this 
system over to semi-technical people shortly, and they may not cope with the 
Linux command line (which is why I used Webmin in the first place).

Obviously the start/stop thing is a Webmin issue, but I am hoping that someone 
on this list will already have fought this particular battle, and can tell me 
how they did it.

I have considered upgrading Bacula to 5.0.3, but I don't want to find that I am 
opening a new can of worms by doing so.  Does anyone have any guidance on the 
Bacula upgrade experience on Lucid?  I would like to upgrade the machine 
itself, but I need a decent backup before I can attempt that.

So:  Ubuntu Lucid.  Is there anyway to get the missing database scripts, any 
simple fix to starting and stopping Bacula via Webmin, and will I have a better 
experience with Bacula 5.0.3?

Thanks and regards

Melodie


-- 
Melodie Neal, CISSP, JP
melodie.n...@gmail.com
http://www.linkedin.com/in/melodieneal



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Rough start with Bacula on Ubuntu

2011-05-26 Thread Mauro Colorio
the scripts are contained into the bacula-director-mysql package
at least on debian squeeze, ubuntu I think uses the same debian basis
for this kind of packages,
for this reason I suggest to use debian instead of ubuntu at least on
server side.

good luck
Mauro

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Rough start with Bacula on Ubuntu

2011-05-26 Thread Konstantin Khomoutov
On Thu, 26 May 2011 16:48:16 +1000
Melodie Neal melodie.n...@gmail.com wrote:

 I have a small server running Ubuntu Lucid, on which I have installed
 Webmin 1.550 and Bacula 5.0.1 and MySQL (applications installed using
 apt-get).  I am backing up to a file share on another machine, and
 the set up basically works.  I still need to fine tune a few things,
 but I can backup, etc.  However, getting to this point was a bit
 ugly, because the Bacula documentation does not entirely agree with
 the software that I have installed.  For example, I cannot find
 drop_bacula_tables or make_bacula_tables scripts, and a bit of
 Googling suggests that those scripts don't get installed on Ubuntu,
 for no apparent reason.
The reason is this: Debian, which Ubuntu most probably borrows these
packages from, has a distro-specific framework to carry out database
reconfigurations in a centralized manner, so that you have uniform
experience when it comes to database management no matter which
software you're dealing with and which database backend you have
decided to use for it.  This does also apply to package upgrades which
often require upgrading database schemas.

So, back to the question: to recreate the database just run
# dpkg-reconfigure -plow bacula-director-mysql
and follow the questions it asks.

You can also drop the database by hand using something like
# echo 'drop database bacula' \
  | mysql --defaults-file=/etc/mysql/debian.cnf

Then you'll be able to create it by reconfiguring the
bacula-director-mysql package as described above.

[...]

Unfortunately, I've no idea regarding your problem with Webmin.
Probably you would be better off contacting Webmin team as I see
there's no Webmin officially packaged for Debian (and no package in
Ubuntu archives as well) so hence it's, strictly speaking, not a bug.

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Rough start with Bacula on Ubuntu

2011-05-26 Thread Konstantin Khomoutov
On Thu, 26 May 2011 09:24:39 +0200
Mauro Colorio mauro.colo...@gmail.com wrote:

 the scripts are contained into the bacula-director-mysql package
 at least on debian squeeze, ubuntu I think uses the same debian basis
 for this kind of packages,
 for this reason I suggest to use debian instead of ubuntu at least on
 server side.
I second this unless the OP's company bought official support from the
company backing Ubuntu.
Otherwise I can hardly appreciate the reason for using a deskop-oriented
mod of Debian and have essentially no direct maintenance for important
packages.

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Rough start with Bacula on Ubuntu

2011-05-26 Thread Brian Debelius

On 5/26/2011 2:48 AM, Melodie Neal wrote:

Gentlebeings

I have a small server running Ubuntu Lucid, on which I have installed 
Webmin 1.550 and Bacula 5.0.1 and MySQL (applications installed using 
apt-get).  I am backing up to a file share on another machine, and the 
set up basically works.  I still need to fine tune a few things, but I 
can backup, etc.  However, getting to this point was a bit ugly, 
because the Bacula documentation does not entirely agree with the 
software that I have installed.  For example, I cannot find 
drop_bacula_tables or make_bacula_tables scripts, and a bit of 
Googling suggests that those scripts don't get installed on Ubuntu, 
for no apparent reason.  Furthermore, the Start and Stop Bacula 
buttons in Webmin appear to start/stop the bacula-dir process, but not 
the fd or sd processes.  I can start and stop everything on the 
command line, but I'm going to have to hand this system over to 
semi-technical people shortly, and they may not cope with the Linux 
command line (which is why I used Webmin in the first place).


Obviously the start/stop thing is a Webmin issue, but I am hoping that 
someone on this list will already have fought this particular battle, 
and can tell me how they did it.


I have considered upgrading Bacula to 5.0.3, but I don't want to find 
that I am opening a new can of worms by doing so.  Does anyone have 
any guidance on the Bacula upgrade experience on Lucid?  I would like 
to upgrade the machine itself, but I need a decent backup before I can 
attempt that.


So:  Ubuntu Lucid.  Is there anyway to get the missing database 
scripts, any simple fix to starting and stopping Bacula via Webmin, 
and will I have a better experience with Bacula 5.0.3?


Thanks and regards

Melodie


--
Melodie Neal, CISSP, JP
melodie.n...@gmail.com mailto:melodie.n...@gmail.com
http://www.linkedin.com/in/melodieneal




--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Hi Melodie,
I have always built Bacula from source on Ubuntu for this reason.  Below 
is the script I use configure the build.  I do not use Webmin, you may 
have to modify this to build that.  I have always found building the 
current version, easier then using the ubuntu repo versions.


#!/bin/bash
# run ./my-conf (this script)
# run make
# run make install
# need libmysqlclient15-dev
# need libqt4-dev

basedir=/opt/bacula-5.0.3
workindir=$basedir/working

make distclean
CFLAGS=-g -O2 \
./configure \
  --sbindir=$basedir/bin \
  --sysconfdir=$basedir/etc \
  --mandir=$basedir/bin \
  --with-pid-dir=$workingdir \
  --with-subsys-dir=$workingdir \
  --with-working-dir=$workindir \
  --with-scriptdir=$basedir/bin \
  --with-qwt=../src/qt-console/qwt \
  --enable-smartalloc \
  --enable-batch-insert \
  --enable-large-file \
  --disable-ipv6 \
  --with-open-ssl \
  --with-mysql
exit 0

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users