Sorry for the long delay between updates.....hope this is worth the wait
User NVRAM Save/Restore Utility
LATEST RELEASE: Release 16
16-April-2015
nvram-save-r16.zip
Download
http://1drv.ms/16pENHc
===============================
Version 16 (16-April-2015)
Program Changes
- Add -nouser option to NOT run a configured user exit script
- Create a nvram-util.log file logging save/restore activity in the working directory
- New standalone program nvram-restore.sh
- nvram-restore.sh and jffs-restore.sh will now prompt you to load the last saved backups if run without any input parameters
NOTE: You can still run the individual nvram-restore-yyyymmdd-macid.sh scripts to perform a restore as in previous releases.
- The backup files may now be placed in a 'backup' subdirectory. Just 'mkdir /mnt/ASUS/backup' and the files will be placed there instead of in the main working directory.
- Pass backup directory name to user exit script as second parameter
- Update fork specific vars for removal on non-fork code
- Fix runtime error in nvram-excp-merlin.sh (from Release 15a)
- Update QuickStart guide
INI file Changes
- Add first pass of TrendMicro module section
- Add https router access vars
- Add nat loopback var for Merlin
- Update DNSFilter section with YanexDNS vars
Full Changelog history is available in the download directory
Some quick usage notes:
- Although new options/suggested improvements have been added to give greater control during execution, the default operation of the utility has
not been changed. If you have used the utility in the past, you can continue to use it just like before.
- A help command has been added to the utility, nvram-save.sh -h
Code:
NVRAM User Save/Restore Utility
nvram-save.sh Version 16
Options: -h this help msg
-v Print version/perform consistency check
-b Backup mode - save for restore to same router (default)
-m Migration mode - transfer settings to another router
-i inifile Specify custom nvram variable ini file
-clk Include clkfreq/overclock setting (Backup mode only)
-nojffs Skip backup of jffs storage
-nouser Skip execution of user exit script
- When running the utility or using the print version option, nvram-save.sh, nvram-restore.sh, jffs-restore.sh, nvram-merlin.ini and nvram-excp-merlin.sh are consistency checked to make sure they are all the same version. A WARNING message will be printed on a version mismatch,
but execution will continue if actually running to generate the restore script.
- You can now specify a custom nvram variable 'ini' file to use to generate the restore script. A sample ini,
nvram-sample.ini, is included which is a stripped down version of the full ini containing only basic entries that people
have mentioned in various threads.
- The default state is NOT to save clkfreq overclocking values (safest when moving to a new code level). If you wish to
include this setting, specify the -clk option on the nvram-save.sh command.
- The nvram-save utility also creates two text files during execution that can be viewed or archived.
- nvram-all.txt (all nvram variables, including system variables not normally changed by the user)
- nvram-usr.txt (the nvram variables actually saved by the utility in their save categories)
- As a reminder, the restore process will make the following changes if moving from a 376 or earlier code to 378 or later
- 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
- Moving backwards in code levels will remove those variables that are not present on the target level.
- The utility is still valid for ASUS OEM as well as Merlin releases.
-----------------------------------------------------------------
SHA256 hash:
Code:
9d7dbadaac93c0c5eb2e2a450810e7746249085403467112ce3be50b850ea195 *nvram-save-r16.zip
Thanks again to everyone for their feedback and suggestions. Enjoy!