Trying to migrate from one RT-AC68U to another. On telneting the command
./nvram-restore.sh to the recipient router with the usb stick plugged in, I get:
"no restore scripts found for MAC:C760. Exiting - Restore aborted"
I looked in the nvram-util.log and found:
nvram-save.sh 201704011159-2190 Sat Apr 1 12:02:04 DST 2017 378.55_0 #Version=24a
jffs-save 201704011159-2190 Sat Apr 1 12:02:05 DST 2017
nvram-save.sh 201705170415-MIGR Wed May 17 04:18:11 DST 2017 378.55_0 #Version=24a
jffs-save 201705170415-MIGR Wed May 17 04:18:12 DST 2017
nvram-save.sh 201705170423-2190 Wed May 17 04:26:10 DST 2017 378.55_0 #Version=24a
jffs-save 201705170423-2190 Wed May 17 04:26:11 DST 2017
And on the usb stick I see, amongst some 15 or more files, an nvram-restore.sh file at 4kb
I assume I should reformat the stick and start again making a new backup?
Any ideas where I fouled up!?
Thanks
Martin
A few weeks ago someone here clarified that when migrating from one router to another, even a router of identical model, the -MIGR script should be used. (Sorry, I have to leave in a few minutes and don't have time to locate the specific post on the forum.)
If I understand correctly, when you ran the nvram-restore.sh script without any parameter, it automatically called the most recent nvram-restore-xxxx.sh script, which was written by the most recent nvram save.
If this second script was the specific script for your previous router ending in the last 2 bytes of your old router's MAC number, (and not the generic -MIGR script), it will contain the MAC number for your OLD router and may have caused the error message you mention.
Are the last 2 bytes of your old router's MAC 2190, and the last 2 byt4ees of your new router C760 ?
I would try instead to run the lastest -MIGR script on the USB stick, since this will not contain the "wrong" MAC number for your new router. (The Quickstart guide specifically states that it is ok to run this directly, rather than via the generic nvram-restore-sh script.)
If you have a directory "backup" on your USB stick, you need to change to this directory and then the script you need should be in this directory.
If you do not have a recent -MIGR script, John has added a new feature in version 25a of his utility. If the restore script is called with a specific parameter, the specific script for your old router can be used, but ONLY those parameters which would have been contained in the corresponding -MIGR script will be loaded into your new router.
(I have used the nvram restore utility a few times and it has saved me a lot of time. I have studied the scripts which John wrote, but do not pretend to understand all the details. If I have misunderstood anything, I will be pleased to stand corrected.)
HTH
PB
(Edited for clarity)