Hi everyone,
I am looking for a solution to retrieve the current OPNsense configuration from an Ansible host to have a backup. For my MikroTik devices I use net_get and sftp as a protocol in a playbook.
Is it possible to trigger a configuration backup via SSH (cli) and the fetch the xml file afterwards?
Thanks and best regards
I'd have a closer look at the os-api-backup plugin.
Thanks for the info. For now I simply fetch the /conf/config.xml via a simple Ansible playbook. But I will look into it.