Hi,
yes I know, the only thing I need to backup is the config.xml. >:(
But that is not always true. I need custom files from squid, sensei, suricata, unbound and all the stuff like check_mk, statistics, cronjobs, installed pkgs etc etc...
So again the question: what is the best way to backup the complete system? I'm a linux user, so I used rsync to a remote system to keep my files. But is it possible to restore a complete system with rsync like under linux? Or should i just dump with dd???
You can build a plugin with your custom files, it will create a "package" you can use on other installations as well or for simple restore purposes.
https://docs.opnsense.org/development/examples/helloworld.html
You only need to package files on the disk, no menu or GUI or anything...
https://github.com/opnsense/plugins/tree/master/devel/helloworld
Cheers,
Franco