On Wed, 01 Feb 2012 13:28:52 +0000 (GMT)
Joe Nyland <joenyl...@me.com> wrote:

> I've trying to setup a verify jobs for my Bacula system.
> 
> Before releasing the configuration to the production server, I would
> like to simply verify the configuration file, to make sure I've not
> messed some of the configuration up somewhere.
> 
> >From the manual, I have run:
> sudo bacula-dir -t -c bacula-dir.conf
> 
> Nothing was returned from the command, so I presume it's ok. Just to
> make sure, I changed a few of the resources in the file, so that they
> were definitely invalid. I then re-ran the command above, but still
> nothing was returned...
> 
> Does anyone know why this would happen? I've not been able to find
> any bugs logged on bugs.bacula.org along these lines, so I presume
> I'm doing something wrong!
I've just tried
# cat /etc/bacula/bacula-dir.conf >/tmp/foo.conf
(mangle /tmp/foo.conf)
# /usr/sbin/bacula-dir -t /tmp/foo.conf
and it loudly fails as expected with Bacula 5.0.2 as shipped in Debian.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to