On 11/4/17 12:51 PM, Jörg Steffens wrote:
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.

By schedules, just like the AI and consolidate jobs. Other than restore jobs, all the jobs are triggered by schedules.

# Offsite schedule happens once a week on Saturday
schedule {
  name = "offsite"
  run = saturday at 09:00
}

Although the AI and consolidate jobs run daily at 21:00.

--
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.

Reply via email to