Xentrk
Part of the Furniture
Utility to save/restore NVRAM values and the jffs partition on Asuswrt-Merlin firmware.
Installation and usage instructions are available on the NVRAM Save/Restore Utility GitHub page with additional instructions in the project QuickStart.txt file.
Requirements
A properly formatted USB drive with an available partition for the NVRAM Save/Restore Utility installation.
Installation
Select option [1] Install NVRAM Save/Restore Utility to install the utility. You will be presented with a list of available partitions on the USB drive. Select the partition you want to install the utility in. A directory called nsru (the acronym for NVRAM Save/Restore Utility) will be created in the partition for the utility scripts and files (e.g. /mnt/ASUS/nsru). The installation program will also create a backup directory (e.g. /mnt/ASUS/nsru/backup) to keep the generated save/restore files separate from the utility scripts and files.
To access the installation menu, type the command nsrum at the command prompt. To access the project directory, type the command nsru at the command prompt. These commands will not work after performing a factory reset since they require alias entries in /jffs/configs/profile.add, which will not exist after performing a factory reset. After a factory reset, you must navigate to the NVRAM Save/Restore Utility directory using the cd command (e.g. cd /mnt/AC88U/nsru).
The scripts included in the NVRAM Save/Restore Utility are designed to be run from the command line.
Project Development
@john9527 is the original author of the NVRAM Save/Restore Utility. The last update made by john9527 was Version 26.2 released on 24-Sep-2018.
@Martineau made numerous updates to the NVRAM Save/Restore Utility:
FAQ
Q1: Is the NVRAM Save/Restore Utility included in amtm?
A1: Yes.
Q2: Is there a menu to run the NVRAM Save/Restore Utility scripts?
A2: No. The scripts were designed to be run from the command line.
Installation and usage instructions are available on the NVRAM Save/Restore Utility GitHub page with additional instructions in the project QuickStart.txt file.
Requirements
A properly formatted USB drive with an available partition for the NVRAM Save/Restore Utility installation.
Installation
Code:
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/Xentrk/nvram-save-restore-utility/master/nsrum" -o "/jffs/scripts/nsrum" && sleep 5 && chmod 755 /jffs/scripts/nsrum && sh /jffs/scripts/nsrum
Select option [1] Install NVRAM Save/Restore Utility to install the utility. You will be presented with a list of available partitions on the USB drive. Select the partition you want to install the utility in. A directory called nsru (the acronym for NVRAM Save/Restore Utility) will be created in the partition for the utility scripts and files (e.g. /mnt/ASUS/nsru). The installation program will also create a backup directory (e.g. /mnt/ASUS/nsru/backup) to keep the generated save/restore files separate from the utility scripts and files.
To access the installation menu, type the command nsrum at the command prompt. To access the project directory, type the command nsru at the command prompt. These commands will not work after performing a factory reset since they require alias entries in /jffs/configs/profile.add, which will not exist after performing a factory reset. After a factory reset, you must navigate to the NVRAM Save/Restore Utility directory using the cd command (e.g. cd /mnt/AC88U/nsru).
The scripts included in the NVRAM Save/Restore Utility are designed to be run from the command line.
Project Development
@john9527 is the original author of the NVRAM Save/Restore Utility. The last update made by john9527 was Version 26.2 released on 24-Sep-2018.
@Martineau made numerous updates to the NVRAM Save/Restore Utility:
- Version 30.1 code updates to nvram-restore.sh, nvram-restore.sh and nvram-save.sh made the utility compatible with the 384.13 Asuswrt-Merlin release.
- Added functionality to nvram-restore.sh listing the restore files with the ability to delete a restore file or a range of restore files.
- Add functionality to jffs-restore.sh listing the available jffs restore files.
FAQ
Q1: Is the NVRAM Save/Restore Utility included in amtm?
A1: Yes.
Q2: Is there a menu to run the NVRAM Save/Restore Utility scripts?
A2: No. The scripts were designed to be run from the command line.
Last edited: