Bacula-users

Re: [Bacula-users] "column "volabytes" does not exist"

2015-10-15 13:13:51
Subject: Re: [Bacula-users] "column "volabytes" does not exist"
From: Phil Stracchino <phils AT caerllewys DOT net>
To: Doug Sampson <dougs AT dawnsign DOT com>, "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 15 Oct 2015 13:11:40 -0400
On 10/15/15 13:04, Doug Sampson wrote:
>>
>> You could manually revert the version table in the DB to the previous
>> version, run the update script again, and record the errors this time.
> 
> How does one accomplish this? Is there a secret trick to revise the version?

This query should do it, assuming your Bacula schema is named 'bacula'
and you haven't skipped any intervening DB versions before the current 15:

update bacula.Version set VersionId = 14;


-- 
  Phil Stracchino
  Babylon Communications
  phils AT caerllewys DOT net
  phil AT co.ordinate DOT org
  Landline: 603.293.8485

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