Help with version upgrade

Hi all,

I only recently started using openwrt, so I am not very experienced. I would like to ask advice on the best way to upgrade to a latest release of the same series.
I added the packages https-dns-proxy to and luci-app-https-dns-proxy to my install, so if I upgrade those will be lost.
My idea was to proceed this way to preserve all my settings without having to input everything manually again:

  1. Backup my current configuration to an archive through LuCI.
  2. Flash the latest release without keeping the settings.
  3. Install https-dns-proxy and luci-app-https-dns-proxy again.
  4. Restore my configuration from the backup I saved.

Is this reasonable and especially, is it safe enough? Will I get my configuration back, including https-dns-proxy settings?
Apologies if this is a trivial question, but I am not sure I understand how the backup of the settings works. Does it usually preserve all the configuration, including all the settings of extra packages that are installed?

add the packages to the package list (click the tiny arrow) in https://firmware-selector.openwrt.org/, DL the new sysupgrade image, and flash it.

Thank you for the advice. Would my alternative work if I did not want to request a custom image? I guess I am feeling paranoid about the recent vulnerability in the attended system upgrade.

there's owut - Owut: OpenWrt Upgrade Tool.

FYI - https://firmware-selector.openwrt.org/ (currently down, I see) doesn't use ASU.

If you like to do this in LuCI, install the luci-app-attendedsysupgrade and use that. It performs all of your steps automatically.

That was a click-bait issue that never exposed you to any viable exploit, and the purported problems were resolved some months ago.