On 10.07.24 at 10:09 wrote Bruno Friedmann (bruno-at-bareos):
Maybe because you're trying something that doesn't exist
In normal bconsole if you try command ".sql" you will also have *.sql
Automatically selected Catalog: mycatalog
Using Catalog "mycatalog"
*query keyword not found.*
You have messages.
which is not "sql" command
I fear, that is not the cause of the problem.
The ".sql" command exists, but require a "query" parameter. It works
well in all api modes.
For me, it is still doubtful, that both commands (Python 2.7 and Python
> 3) user the same credentials, and/or that the Bareos server offers
the some permission for these credentials.
I still guess, other ACLs are defined for the Bareos user (not the
system user!) in the Python 3 case.
I guess you got misleaded by my last comment about "root" user. I did
not meant the system user, but the Bareos user/console, see
https://docs.bareos.org/Configuration/Director.html#console-resource
So, check with what credentials your script logins to the Director and
check what ACLs are defined for that user.
If you have a Bareos support contract, you probable could solve this
quickly with the help of the Bareos support team.
Without further information, there is nothing more I can do to help you
and as your answer to my last reply did take more than a month, I guess
this issue is not of much importance for you.
Regards,
Jörg
--
Jörg Steffens [email protected]
Bareos GmbH & Co. KG Phone: +49 221 630693-0
https://www.bareos.com
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/v6tl8t%249l5%241%40ciao.gmane.io.