OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: xpking on August 08, 2024, 04:31:11 PM

Title: Is there a safe way to upgrade from 24.1.10?
Post by: xpking on August 08, 2024, 04:31:11 PM
Dear all,

May I know if there's a safe way to upgrade from 24.1.10 to 24.7?
It seems like a huge update.
My safe way means if it fails or cannot boot after upgrade, I can revert back to 24.1.10 immediately.
Thank you.
Title: Re: Is there a safe way to upgrade from 24.1.10?
Post by: Patrick M. Hausen on August 08, 2024, 04:33:21 PM
If you are running OPNsense virtualised, take a snapshot of your VM.
If you are running OPNsense with ZFS, create a boot environment.

If neither, save your configuration and have an install medium for 24.1 ready before you update to 24.7.
Title: Re: Is there a safe way to upgrade from 24.1.10?
Post by: xpking on August 13, 2024, 01:42:23 AM
Thank you for your reply.
I read the post saying there's an OS upgrade in 24.7 too.
I am using ZFS, am I still safe to use the boot environment?
Sorry that I don't have much knowledge to ZFS and BSD.
Title: Re: Is there a safe way to upgrade from 24.1.10?
Post by: Patrick M. Hausen on August 13, 2024, 05:26:34 AM
That's exactly the point of boot environments, yes.

https://forum.opnsense.org/index.php?topic=42035.msg207698#msg207698
Title: Re: Is there a safe way to upgrade from 24.1.10?
Post by: chemlud on August 13, 2024, 08:28:32 AM
I like the concept of "extra safe" updating, but would like to see this from GUI... :-)
Title: Re: Is there a safe way to upgrade from 24.1.10?
Post by: franco on August 13, 2024, 08:58:52 AM
Something like this? https://github.com/opnsense/core/pull/7749 ;)
Title: Re: Is there a safe way to upgrade from 24.1.10?
Post by: chemlud on August 13, 2024, 10:04:21 AM
Uiii,  if I had posted some months ago I would have got the patent :-p
Title: Re: Is there a safe way to upgrade from 24.1.10?
Post by: xpking on August 18, 2024, 03:13:32 AM
Thank you.