I think I know what the problem is:
when you have a clean router, no configuration, when you run nvram show some items like static_leases , rc_firewall etc will not show.
I believe when you are restoring the configuration, you check it is exists in the nvram show, if not you do not restore, am I correct? _________________ Linksys MX4300 main router
Thanks for diagnosing. You must have saved the backup in migration mode. It's possible to edit the already generated restore script and change line 18:
Code:
op="-clean"
to
Code:
op=$1
and it shouldn't use clean mode (migration mode automatically turns on clean restore).
You could also rerun nvram-save.sh without -m if the original router is still available.
The nvram save/restore scripts were copied/tweaked (mentioned in the OP) for easyddup to create restore points and also save basic settings. I only wrote easyddup and checknewversion, not nvram save/restore.
PS.
I probably should add a big warning if -m is used on nvram-save as it breaks some dd-wrt features when restored as discussed on page 9 of this thread.
Thanks for diagnosing. You must have saved the backup in migration mode. It's possible to edit the already generated restore script and change line 18:
Code:
op="-clean"
to
Code:
op=$1
and it shouldn't use clean mode (migration mode automatically turns on clean restore).
You could also rerun nvram-save.sh without -m if the original router is still available.
The nvram save/restore scripts were copied/tweaked (mentioned in the OP) for easyddup to create restore points and also save basic settings. I only wrote easyddup and checknewversion, not nvram save/restore.
PS.
I probably should add a big warning if -m is used on nvram-save as it breaks some dd-wrt features when restored as discussed on page 9 of this thread.
makes sense, I will try in soon and update.
Also running nvram-restore-latest.sh without any input parameter? _________________ Linksys MX4300 main router
This worked now, although some other parameters didn't transfer like, DDNS and all wifi configurations etc.
When I'll have more time I will dig inside and see what do I need to change in order to customize my setup.
Thanks you for your help. _________________ Linksys MX4300 main router
Glad it's running. It's likely some variables in nvram-dd-wrt.ini.sample need to be added/modified if some settings are not being saved/restored. If we make useful changes I'll include them in the next release. People could save so much time getting their settings back after a reset or with a new router if nvram-dd-wrt.ini files were augmented and shared.