Bacula-users

Re: [Bacula-users] Yet another 'Invalid command ".messages"' on restore

2011-09-21 10:07:08
Subject: Re: [Bacula-users] Yet another 'Invalid command ".messages"' on restore
From: Marcello Romani <mromani AT ottotecnica DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 21 Sep 2011 16:04:44 +0200
Il 21/09/2011 15:09, Marcio Merlone ha scritto:
> Greetings,
>
> I am a happy user of bacula 5.0.1 on a Ubuntu 10.04.3 LTS server. It
> backs up 8 clients without any problem. All clients have bacula-fd 5.0.1
> or above, so no old client with new server - all linux servers use 5.0.1
> and the lonely windows server uses 5.0.3. I also disabled automatic
> messages display on preferences as I found on list archives. But yet,
> when trying to restore something it often - but not always - gives the
> error "Invalid command ".messages"".
>
> Can anybody help me find a solution? That problem annoys me for years...
>
> Thanks and best regards.
>
> --
> *Marcio Merlone*
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
>
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Hi,
     I suppose you're referring to Bat. If yes, do the following:
Settings => Preferences
Uncheck "Check messages", or leave it checked but insert a very long 
interval (like 3600 seconds) below.

This is not enough, though. If you have unread messages you'll still get 
the error on restore.
Open an ssh (i.e. command line) connection to the bacula server. Launch 
the bconsole command and type the "messages" command. This will clear 
the unread messages queue in bacula.
Now you can connect with BAT restore files without the ".messages" error.

This is the procedure that currently works for me.

HTH

-- 
Marcello Romani

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users