1
24.7 Production Series / Re: Regular backup of OPNsense config to a local NAS (via SMB)?
« on: September 30, 2024, 12:15:42 pm »You could even use the API of the opnsense to pull a backup, which would be more secure than SCP since you do not need elevated rights. […] In german but just as reference:
https://andersgood.de/kurz-notiert/opnsense-per-api-verschluesseltes-backup-der-konfiguration-anlegen
Oh yes, that's very helpful, thanks. The page you linked mentions monit, so I will look into that too.
Pulling via SSH gives you a "no additional infrastructure necessary" way to achieve the same. And my impression was that was your primary concern.
That’s right, my main goal is simplicity. But I also have the secondary goal of understanding the common logic behind it, as it affects how I think about setting things up in the future.
IT isn’t my profession, and ideally, I won't log into OPNsense frequently. I see network services as “set up and forget.” So I can already picture myself scratching my head trying to remember where the backup is configured in a few months (or years). I will try to find the configuration somewhere in OPNsense GUI, then I might google for it and find this thread, to finally remember that the logic is actually on a different server.