OpenWrt x86-64 Backup/Restore configuration

I understand that for x86-64 Firmware/OS upgrades you have to install a fresh firmware, you can't upgrade in place, even with attendedsysupgrade, I hope I am wrong.

Can at least use Backup and Restore in LuCI? But that will restore only the configuration files, no the packages right?

Are there any alternatives to upgrade in place for x86-64, thank you

You can use OWUT and ASU in order to update your whole system.. Please search for them in the forum.
Regards
K

1 Like

OpenWrt on x86 using the squashfs image can be sysupgraded just like any other device.

Your hope has been realized. I do auc (23.05.x) and owut (SNAPSHOT) updates on x86/64 devices all the time, usually a couple times a week on the snapshot boxes. I have both ext4 and squashfs file systems, and stock and 512 MB root partitions on various devices. No issues at all.

EDIT
Note that the ASU (Attended SysUpgrade) server is currently down, so none of the ASU clients (LuCI Attended Sysupgrade, Firmware Selector website, auc and owut) will work to do an upgrade...

Thank you, great news, I am using Firmware 23.05.4 generic-ext4-combined-efi.img.gz with a Protectli VP2420 appliance, and I have extended the root partition to 1TB, I am not planning to upgrade now, but when time comes for a newer 23.x version or full upgrade to a 24.x version, I should be able to use LuCI Attended Sysupgrade to do it without having to reconfigure or re-install packages that I have installed? Right?

I am using generic-ext4-combined-efi.img.gz, because I need to extend the root filesystem, thanks

Thank you, unfortunately OWUT is not compatible with 23.05.4

Hi,
If you know what opkg packages, you installed, you can use https://firmware-selector.openwrt.org/: add them under "customize", than generate new sysupgrade. After you install it, use your backup settings to restore the router to the previouse state.
Regards
K

You can extend squashfs (I use 512 MB squashfs on my test N5105 box), but it seems to me ext4 is easier if you have to do it manually. How big do you make root? (owut will do this for you, but it's limited to 1G for practical reasons, see the first FAQ.)

Yup, LuCI ASU should do fine for you for your upgrade from 23.05 to 24.x when the time comes. Once there and assuming your root fs size is under the 1024 MB limit, you could set that in the config and use owut for single-command upgrades (or maybe I'll work through my Infinite List of Things to Do and add rootfs-size as a configuration option to LuCI ASU and FS...).

Really? Seems like an expensive waste of space. I build with 1GB atm, and considering I build in all packages I use/add between builds, next build will be set to 256MB which is still overkill in my estimation.