The "term" here means "termination" so it isn't related to the terminal.
What is the full contents of the email? __Martin >>>>> On Fri, 25 Jul 2025 13:47:17 +0200, Saiful Bhuiyan said: > > Hi all, > > I have recently upgraded my bacula director from 9.4.2 to 13.0.4. Since > then I’m seeing the following warning in Bacula job notification emails: > > Bacula: Console Unknown term code of xxxxxx-fd > > This happens during our nightly catalog backup job, which includes > `RunScript` blocks with several `Console =` commands, like: > > Console = "prune expired volume yes" > Console = "purge volume action=all allpools storage=StorageStore1" > ... > Console = "purge volume action=all allpools storage=StorageStore7" > > The job itself runs fine, but this message appears in the mail report. > > I suspect Bacula is trying to output colored or terminal-formatted content > when there is no terminal (since this runs as a scheduled job). > > My current idea is to replace the `Console =` commands with wrapper scripts > that run `bconsole -n` (to disable colored output), but before I do that: > > - Has anyone solved this warning in a cleaner or more official way? > - Is there a way to globally suppress formatted console output from Bacula > in scheduled/non-interactive jobs? > > ### System Details: > > - Bacula Director version: **13.0.4** on **Ubuntu 24.04** > - File Daemon (`aegir-fd`) version: **9.4.2** on **Ubuntu 20.04** > > Any input would be greatly appreciated! > > Best regards, > Saiful > _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users