Am 04.02.19 um 12:03 schrieb goo...@marco.betschart.name:
> Hi bareos-users!
> 
> I'm wondering if it is possible to add comments to a job? Let's say I have 
> some failed jobs because of a network error, can I then one or more comments 
> to this job, describing what the cause of the issue was for later reference?

Currently it's only possible by sqlquery command in bconsole to add one
comment, but webui would not display it.

[root@kvm-2 ~]# bconsole
Connecting to Director localhost:9101
1000 OK: bareos-dir Version: 17.2.7 (16 Jul 2018)
Enter a period to cancel a command.
*sqlquery
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Entering SQL query mode.
Terminate each query with a semicolon.
Terminate query mode with a blank line.
Enter SQL query: UPDATE job SET comment = 'network issue' WHERE jobid =
'26';
Enter SQL query: SELECT jobid,jobstatus,comment FROM job WHERE jobid = '26';
+-------+-----------+---------------+
| jobid | jobstatus | comment       |
+-------+-----------+---------------+
|    26 | E         | network issue |
+-------+-----------+---------------+
Enter SQL query:


> 
> Would prefer doing so via WebUI, but not sure if it is possible at all as of 
> now.
> 

I've created a feature request in our bug tracker, see
https://bugs.bareos.org/view.php?id=1044 .

> Thank in advance,
>   Marco
> 

Cheers
Frank

-- 
Frank Bergkemper                   frank.bergkem...@bareos.com
Bareos GmbH & Co. KG               Phone: +49-221-630693-94
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens, P. 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 post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to