OPNsense Forum

English Forums => 26.7, 26.10 Series => Topic started by: BrokenOnion on November 20, 2026, 11:37:25 PM

Title: Any way to automate updates with Snapshots?
Post by: BrokenOnion on November 20, 2026, 11:37:25 PM
Hi,

Are there any ways to automate creating snapshots by date as a title, activating it then doing a reboot to use the new snapshot then start any available updates, all of this done on a specific day of the week at a specific time?

I know there is Cron for scheduling and perhaps using Bash for the rest? Would this be feasible to script and implement into OPNsense? I would like to automate the update process so it's self maintained and I don't need to login into the firewall to kick off the update process.

Thanks,
BrokenOnion
Title: Re: Any way to automate updates with Snapshots?
Post by: cookiemonster on November 21, 2026, 12:15:45 AM
Likely yes but if you look at the code behind a tool like sanoid, you'll realise that managing the snapshot is not trivial.
That's not even discussing the idea of auto updating without an admin eyes on the process.