Interacting with Bareos
Using Bareos Console commands to automate tasks
Bareos (Backup Archiving Recovery Open Sourced) is a reliable, cross-network open source software for backup and recovery of data for a large set of operating systems (Linux, Unix, Windows, MacOS). Bareos offers a lot of tools for user interaction. The best known tool is the bconsole, offering a command line interface. While it offers a lot of functions and can also be scripted, the Bareos JSON backend is much easier parse-able, especially when using the bareos-python module.
This presentation will show, how Bareos can be scripted. It will give a overview about the existing tools (bconsole, bls, bscan, bareos-dir, ...), with special focus to the Bareos Console. It will show the Bareos Console feature, like commands, ACLs, JSON backend and scripting abilities. Especially for the JSON backend, we show how this can be accessed by the python-bareos module.