Hello Kern
First of all, thanks for the new Bacula release. It always amazing install new releases.
I have home questions about it:
---------------------------------------------------------------------------------------------------------------------------------------------------------
- So I've tried to upgrade for this new version and I found a problem in update script (as you mentioned above).
In this part of script for update tables:
How I'm already running bacula 7.4.7, the version of Catalog is 15, and the update_table script is verifying version between 12 and 14, should be 12 and 15.
if [ "$DBVERSION" -lt 12 -o "$DBVERSION" -gt 14 ] ; then
echo " "
echo "The existing database is version $DBVERSION !!"
echo "This script can only update an existing version 12-14 version 15."
echo "Error. Cannot upgrade this database."
echo " "
exit 1
fi
---------------------------------------------------------------------------------------------------------------------------------------------------------
- About the new .api2. The manual is not so clear about it.
In the option "t" I guess is possible to inform 3 options (1, 2 or 3), but in option "sn" and "Sn" what values are allowed?
api version 2
In Bacula version 9.0 and later, we introduced a new .api version to help external tools to parse various Bacula bconsole output.
The api_opts option can use the following arguments:
C
Clear current options
tn
Use a specific time format (1 ISO format, 2 Unix Timestamp, 3 Default Bacula time format)
sn
Use a specific separator between items (new line by default).
Sn
Use a specific separator between objects (new line by default).
o
Convert all keywords to lowercase and convert all non isalpha characters to _
.api 2 api_opts=t1s43S35
.status dir running
==================================
jobid=10
job=AJob
...
Best regards