Regular backup of OPNsense config to a local NAS (via SMB)?

Started by aleco, September 29, 2024, 06:16:28 PM

Previous topic - Next topic
Quote from: sumsh on December 17, 2024, 05:30:40 PMI've been trying to set up config backups to my nas via ssh, and I'm running into an issue where the public key is being wiped after reboot. Seems the .ssh folder isn't persistent across reboots.

Public key so the other system can SSH in to OPNsense? Place the public key into the user account via the UI. That will be persistent across reboots, updates, configuration backups and restores.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on December 17, 2024, 06:13:06 PM
Quote from: sumsh on December 17, 2024, 05:30:40 PMI've been trying to set up config backups to my nas via ssh, and I'm running into an issue where the public key is being wiped after reboot. Seems the .ssh folder isn't persistent across reboots.

Public key so the other system can SSH in to OPNsense? Place the public key into the user account via the UI. That will be persistent across reboots, updates, configuration backups and restores.

Thanks, didn't know that was possible. I was able to accomplish backups via API.