New version available!
User NVRAM Save/Restore Utility
Version 14 7-February-2015
- add version info to save/restore scripts
- escape back-quote and double-quote characters
- change handling of embedded lf chars
- add short delay after commit before exiting script
- changed name of inifile to indicate code family supported
- changed name of exception script to indicate code family supported
- pass codelevel to nvram-user.sh
- log results of save and restore scripts to syslog
- added exception rules for move to 378 code levels (jffs and VPN server)
Full Changelog is available in download directory
nvram-save-r14.zip
http://1drv.ms/16pENHc
Some quick update notes:
- Some files have changed names
nvram.ini has been renamed to nvram-merlin.ini
nvram-exception.sh has been renamed to nvram-excp-merlin.sh
The utility is still valid for ASUS OEM code as well as Merlin releases
- The restore process will make the following changes if moving from a 376 or earlier code to 378
- A single consolidated MAC filter list will be made from the 2.4 and 5 GHz lists
- If jffs is not active, it will be set to be activated and formatted, jffs scripting will be disabled
- If jffs is active, jffs scripting will also be activated
- If you are using a VPN server, the settings will be migrated to the new nvram variable
-----------------------------------------------------------------
In addition, status msgs are now also printed to the router syslog.
Feb 5 13:25:10 nvram_save: NVRAM User Save Utility - Version 14 (nvram-merlin.ini)
Feb 5 13:25:10 nvram_save: Saving settings from firmware 374.43_2-07j9527
Feb 5 13:25:10 nvram_save: Running in Backup Mode
Feb 5 13:26:01 nvram_save: Complete: User NVRAM saved to ./nvram-restore-20150205-E1F2.sh
Feb 5 13:26:01 nvram_save: Complete: JFFS directory saved to /mnt/ASUS/jffs-20150205-E1F2
Feb 5 13:26:05 nvram_save: Complete: Processed user exit script ./nvram-user.sh
...
Feb 5 13:29:32 nvram-restore: NVRAM User Restore Utility - Version 14 (nvram-merlin.ini)
Feb 5 13:29:32 nvram-restore: Restoring settings from firmware 374.43_2-07j9527 20150205-E1F2
Feb 5 13:29:34 nvram-restore: Applying code level exceptions ./nvram-excp-merlin.sh
Feb 5 13:29:40 nvram-restore: Complete: User NVRAM restored
...
Feb 5 13:33:34 jffs_restore: JFFS Restore Utility - Version 14
Feb 5 13:33:34 jffs_restore: Restoring /jffs directory: jffs-20150205-E1F2
Feb 5 13:33:39 jffs_restore: /jffs restored from /mnt/ASUS/jffs-20150205-E1F2
Enjoy!