On 04.11.2017 at 16:54 wrote Douglas K. Rand:
> I'm doing daily always-incremental jobs along with daily consolidation
> jobs. And then on the weekends we do virtual full jobs to tape for
> off-site storage.
>
> Each of our off-site jobs generate an email with:
>
>> 04-Nov 10:13 bareos JobId 0: Automatically selected Catalog: catalog
>> 04-Nov 10:13 bareos JobId 0: Using Catalog "catalog"
>
> as the body. None of the AI or consolidation jobs ever generate those
> emails.
>
> I have catalog = "catalog" in the Job Defs for the off-site backups,
> just as I do for the other backups.
>
> I found both statements in the source:
>
> In dird/ua_select.c function do_prompt() is
> if (!ua->api) {
> ua->send_msg(_("Automatically selected %s: %s\n"), automsg,
> ua->prompt[1]);
> }
>
> And in dird/ua_db.c function open_db() is:
> if (!ua->api) {
> ua->send_msg(_("Using Catalog \"%s\"\n"), ua->catalog->name());
> }
>
> But I can't see to track down where ua->api is set for AI and
> consolidation jobs but isn't being set for off-site jobs.>
> Any thoughts?
How do you trigger the virtual full jobs? By RunScript Console command?
ua is the user agent, so the console connection. By default ua->api is
false. It will be set when you issue a ".api 1" or ".api json" command.
regards,
Jörg
--
Jörg Steffens [email protected]
Bareos GmbH & Co. KG Phone: +49 221 630693-91
http://www.bareos.com Fax: +49 221 630693-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer:
S. Dühr, M. Außendorf, Jörg 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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.