Hello,
I would like to know if it is possible to combine an OpenWrt firmware image with a configuration backup file.
My requirement is that whenever I flash a new OpenWrt firmware, all my existing settings (network, firewall, wireless, installed packages, etc.) should be restored automatically, without manually uploading or restoring a backup file after flashing.
I understand that OpenWrt normally uses:
-
A firmware image
-
A separate configuration backup file
But I want to ask:
-
Is there any supported or recommended way to embed the backup configuration into the firmware image?
-
Can this be achieved using firmware image customization, build tools, or first-boot scripts.
Any guidance, documentation links, or best-practice suggestions would be greatly appreciated.
Thank you.