Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - hijackishere22

#1
I recently made what looked like a small change to an interface rule in OPNsense and immediately lost access to the web interface. I still had local console access, so the situation was recoverable, but it made me take configuration backups more seriously.
Until then, I had relied on the configuration history stored inside OPNsense. That history is useful when a recent rule needs to be reversed, but it is stored on the same firewall. It will not help if the firewall drive fails or the entire installation has to be replaced.
Before making a major network change, I now open System > Configuration > Backups and export the complete configuration. I protect the backup with a password, then save the XML file in a restricted folder on my FygoOS NAS. I access that folder from my computer through SMB, so OPNsense does not need any direct integration with FygoOS.
I include the date and OPNsense version in the filename. I also keep another copy outside the NAS because storing the only backup on another machine in the same home still leaves several things that could go wrong.
The configuration file is small, so the process only takes a minute. The harder part is remembering to create a fresh copy before changing VLANs, interfaces or remote-access rules.
I am now considering OPNsense's automated SFTP backup plugin, although I would test the destination and restore process before relying on it. How are other OPNsense users storing configuration backups, and has anyone tested a full restore onto replacement hardware?