You need to check your backup dir, you will need to execute the MIG script. Will be a full script name like nvram-restore-201708160017-MIGR.shTrying 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
Thanks for the reply!
As far as I know the RT-3100 has only one revision, but I read on the forum that the latest routers have a newer chipset. Not sure if it affects the "Nvram backup" or not. That is why asked this question in the first place.
@martinr Any particular reason for getting a new RT-AC68U to replace to old one?
@ColinTaylor : He didn't say to replace. Maybe a media bridge? I wish I could afford another one even though I live in a small flat so don't think I need it. Now I am curious. @martinr : post #607 per favore.
@john9527 : how long does it usually take to finish the backup process? I ran your script and it's still working after like 10 minutes. Should I continue waiting? Thanks!
Edit: I don't have either a jffs partition or a custom script
Edit: I don't have either a jffs partition or a custom script
Now, Merlin (and ASUS OEM) carries a lot more nvram settings, especially since I include setting for things that haven't been fully implemented yet as a 'just in case' for the future. I wouldn't be surprised to see numbers in the 5 min range for those builds.
Good thought....but on my fork it's possible to disable the jffs partition, so I check for the existence of /jffs before the backup.Could it be that if you deleted the jffs partition (if that's even possible), @john9527's nvram-save.sh 'hangs' trying to make a backup of it?
Good thought....but on my fork it's possible to disable the jffs partition, so I check for the existence of /jffs before the backup.
If I recall correctly (link), each Asuswrt build (and therefore also the ones by @RMerlin) has a jffs partition by default, as it needs it for the router to operate.
I just timed my backup (RT-AC68U rev E1 @ 1 Ghz, USB 3.0 Kingston Datatraveler 64 Gb, formatted as ext4) and it took 02:32,15 (to be exact )
I don't have a minimal install, not very heavily configured either, I think. Ihave AB-Solution with Pixelsrv-TLS, Skynet, Dnscrypt, Fresh_JR QOS, speedtest-cli, NTPd and several entware packages (mc, htop, ncdu, openssh-sftp-server, python and rrdtool) installed currently.
Could it be that if you deleted the jffs partition (if that's even possible), @john9527's nvram-save.sh 'hangs' trying to make a backup of it?
That does seem excessive.....I just did some timings on my fork.
AC68P heavily configured: 1 min 58 sec (Sandisk UltraFit USB3, 64M, NTFS)
N66R minimally configured: 1 min 51 sec (Sandisk Fit, USB2, 16M, NTFS)
Now, Merlin (and ASUS OEM) carries a lot more nvram settings, especially since I include setting for things that haven't been fully implemented yet as a 'just in case' for the future. I wouldn't be surprised to see numbers in the 5 min range for those builds.
What are you running from? Stick or HDD? What format?
Just to double check, I reformatted my USB2 FIT to FAT32 and ran a backup/restore without any problems. Don't know why you would have had a problem unless something was corrupted on the stick to start with.I then tried your script on a AC68U router with another 2.0 USB stick (FAT32)
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!