I know that my post most probably doesn't belong here, and I apologies in advance if disturbing this nice post/topic and the related discussions, but I am asking it here as I use this specific hnyman's s/w version on my R7800 (and it's working great, many thanks hnyman for your efforts!): how can I upgrade from one release to another release while keeping the settings on the router? Or easily restore them. Or any other way to upgrade from one release to another release without having to manually configure the router from scratch?
I've search all over the internet, but I have found no easy method to do it...
Note: I've tried to backup/restore the settings using the related option in Luci, then I did one upgrade (about 3 releases ago) but that option restores basically nothing, and I had to manually re-configure the router from scratch: I do not want to do it again, as I do not want to spend a whole day to set everything back to normal for each s/w upgrade...
Thanks much in advance for anyone willing to provide me with some guidance.
That's what sysupgrade image (in the R7800 case a tar file) is for. I usually jump from @hnyman 17.01 releases without any issues doing a sysupgrade. BTW, don't do opkg upgrade ...
Thank you for confirmation @hnyman, I really appreciate that you've spent your time answering a question not related to this thread!
But, just for my understanding, when such changes which are invalidating the settings are happening, what can be done for to recover/restore the settings? Only manual reconfiguration, or maybe rolling back the s/w version and hope that restoring the saved settings option will work?..
(PS: I'll try again Sysupgrade in the weekend. I hope it'll work fine this time, otherwise, unfortunately, it'll be the last time doing it, as I really do not have the time to re-configure it from scratch everytime.)
Also, beside the settings, will the packages I have installed (i.e. OVPN and dnscrypt) be kept during a Sysupgrade?
Separately installed packages will not be automatically installed in sysupgrade. You need to install them separately.
Usually settings work ok, but if there are something strange, it is usually better to configure again from scratch. Depends on quite many things and also on your skills.
I can configure it again from scratch just like I did it previous time, but it takes way too long and I do not have the time to do it every time... That's the biggest problem.
I guess I will skip the next several upgrades if upgrading with keeping the config and modules cannot be done in few simple/fast steps, and I'll try again in few months, when I will have enough time to reconfigure it from scratch if something will go wrong (again).
(Too bad Lede is not doing the upgrades, for example, as IPFire is doing it.)
About the config of packages installed via opkg, for example i use OpenVPN and after the sysupgrade, i onlky have to opkg install the mising openvpn packages. Then magically, my config for openvpn is there, i don't have to do anything else. That is because on a sysupgrade the /etc/config directory is not wiped out (if you check the keep settings).
Also try to backup your settings and restore them after the sysupgrade, if there is any problem.
Yeah you can ssh into ddwrt and type
mtd erase linux
or maybe it was mtd erase kernel, haven't used ddwrt in a while
then type reboot and tftp LEDE R7800 squashfs factory.img to 192.168.1.1
I use Windows built in tftp client which is really simple and reliable to just do
tftp -i 192.168.1.1 PUT lede.img
then wait 2 mins and it should be ready to login or ssh
I have been using this method for upgrading LEDE as well because I can't get sysupgrade tars to actually flash (they appear to succeed but no changes on reboot) so I have to restore the backup from fresh every time
Why bother to erase the dd-wrt kernel partition at all, if your goal is to utilise the OEM recovery TFTP mode for the actual flashing. Simply just trigger the TFTP mode manually...