Sorry for so long to answer your previously answer, i was on vacation from 
my job, thats why.

Now i get it the problem and resolve them, i create a new profile conf and 
set him to the user (console), after that put him in the script.

Thanks, Jörg, its help a lot :)
Em sábado, 13 de julho de 2024 às 07:35:22 UTC-3, Jörg Steffens escreveu:

> 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 joerg.s...@bareos.com
> 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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/6dbd0a7c-0490-4f28-8a92-9069aa706773n%40googlegroups.com.

Reply via email to