The plugin os-git-backup is great. It will commit all your changes to git. And if you have several administrators and use a dedicated account for each individual, it even logs who made which change in the commit message.You can use the XML config file that ends up in the repo to restore your configuration to a completely new installation.A single caveat: the saved config contains everything. Passwords/secrets etc. included. So do not push your configs to github. Use a strictly private repository.@work my company runs a private installation of gitlab and all our firewalls push their config changes to a repository only administrators have access to. @home I run a private installation of Gitea.
What is everyone using for automatic backup? I tried Nextcloud but was unsuccessful so I gave up https://forum.opnsense.org/index.php?topic=30298.msg146206#msg146206. Google drive isn't ideal, it feels pretty janky and overly complex in my opinion. Is there an option for FTP, SFTP, or SMB that I'm just not seeing or a plugin to enable it? I also saw a way to pull backups via an API but I really don't like that option either, that requires scripting that is over my head as well.
Too much trouble to set up an entire git server just for opnsense backups. Another option would be to simply do a copy of your config to a shared drive or a NAS in a script and set it to run based on a cron job.