I'm having some issues trying to restore a configuration that I backed up prior to updating OpenWrt on my NETGEAR R7800. Whenever I try to upload the backup file in LuCI the page just refreshes and nothing happens. I've looked in both the system log and kernel log to see if there are clues as to why it's failing, but there's nothing there.
Here's a short list of what I've tried so far:
Creating a new backup file to test if it works (it didn't)
Tried a different web browser (I've tried both Firefox and Chrome)
Reflash OpenWrt through TFTP recovery (I'm running OpenWrt SNAPSHOT r6727)
Can you extract the "backup" and confirm that the files are there? It is, as I recall, a gzip-compressed tar file. If your OS is unwilling to extract it, try a copy and renaming it with an extension of tar.gz or .tgz
@jeff I've looked inside the extracted files and it's all there. What I found out is that it doesn't matter which version I'm upgrading from, because restoring from a backup created on the same snapshot also doesn't work.
@jow Thanks, it worked! I'm used to having LuCI automatically reboot the router after a restore, but that doesn't happen when performing a restore with sysupgrade. Is this expected behaviour?
Yes, this is expected. LuCI simply reboots the board after config restoration to ensure that the changes are fully effective. Sysupgrade does not do it automatically to give the user a chance to still do changes after the restore.
Do you know if this data-corruption bug is fixed in the LUCI repo? I cannot find an open issue for it in their bugtracker. If you don't know if it's fixed, do you maybe know when the bug first occured? It seems to be able to evade my efforts to find anything about it anywhere.
ok, I was afraid you were gonna say that because I hoped this might just refer to the sysupgrade part.
Sysupgrade works for me, but restoring a backup still doesn't. I tested this yesterday with openwrt master 751746c736bbda828ff1add002a0419a3b883e63 (22.04.2018).
What can I do to debug this? Using the network console doesn't really help in finding a hint.