It is additional configuration data that is being preserved.How does AMTM's nvram save/restore compare for example to Merlins export settings function, are they not the same? Will using nvram save improve backups on top of Merlins export functionality? Or is it basically the same thing.
One other suggestion to make nvram backups even "easier" would be to create a cron job to execute the script on a periodic basis. The following line added to a router startup script (perhaps post-mount?) executes a backup every Sunday morning at 01:25 (feel free to change to suit your preferences and frequency):Ok thanks I guess I'm just confused. Everything in AMTM is designed to be run through the command line. I thought the purpose of AMTM was to present a sort of "UI" (menus) to users to execute those scripts. ALA Diversion, Skynet, et al.
Still - easier to update this way I guess
cru a nvrambu "25 1 * * Sun sh /mnt/USBDEV/nsru/nvram-save.sh"
If the amtm-disk-check.log is larger then 300 KB it will truncate the file by 300 lines automatically while the disk check runs.Just a thought that might help more non-tech users. I edit the amtmdiskcheck.log to keep only the last few entries 5-10 as I feel the need. AMTM offers to delete the log or leave it alone. Seeing how Jack Yaz calls nano or vi to edit the ntpMerlin conf file, I though the abilty to edit the diskcheck.log from AMTM "dcl" menu choice might be handy, or maybe I'm the only weirdo who edits the file to keep only limited newer entries.
Who am I to think I could get even a micro step ahead of you.If the amtm-disk-check.log is larger then 300 KB it will truncate the file by 300 lines automatically while the disk check runs.
I find that a reasonable size to keep track when multiple devices and/or partitions exist.
amtm only checks the file /jffs/scripts/nsrum.At the moment I have NVRAM Save/Restore Utility installed onto a separate usb stick which is not all the time connected to my router, but instead I connect it to my router only occasionally when I decide to do the backup.
Does amtm "remember" which version of NVRAM Save/Restore Utility I have installed atm, and when an update is available it will show the need for the NVRAM Save/Restore Utility update, even if the usb stick containing the actual installation files of the utility is not connected to my router at all?
Who am I to think I could get even a micro step ahead of you.
I'll change my perspective from looking at number of dates of dcl events knowing it truncates automagically.
if [ -f "$CHKLOG" ] && [ "$(wc -c < $CHKLOG)" -gt "300000" ]; then
... does some truncating
fi
See your original post, please don't make multiple posts on this board.amtm upd err / using fallback server diversion.ch
Per the diversion.ch amtm page "upd err" means that "An error occurred while retrieving update info from the scripts original source." That is very clear, I get that. I am wondering what/where the primary server for updates is (different hosts for different script authors files?) if diversion.ch is the fallback server, as seen in the err msg in the attached screenshots. I did search the forum and didn't come across anything relevant but maybe i just missed it.
I'm asking because I keep getting spurious errors from amtm on every execution of "u". Each time there are different failures "[: bad number" or "upd err." I have lots of these but only attached two here. The one thing consistent in all of them is the err msg: "! using fallback server diversion.ch".
Maybe I need to nuke and reset but everything is working beautifully other than this. Any pointers greatly appreciated.
Thanks
When I first hopped on the asuswrt-merlin bus, each script was installed in their own partition. I had one dedicated to skynet, another for absolution (now diversion), another for entware and the last one for nvram save/restore utility and another for miscellaneous items. I've heard from another forum member that one partition is now the recommendation. I had six partitions on the USB before I reformatted. Going from 6 to 3 partitions was the first step. I'll probably narrow it down to one partition the next iteration. Following is how I have it setup now:@Xentrk may I ask how you would use a USB with 3 partitions? Curious as to any benefits I may be missing!
Post the log file.Possible issue with the format disk (fd) option.
Yesterday, I used the format disk (fd) to wipe my USB and create 3 new partitions. Each partition accepted the name I entered except for the 3rd partition. No matter what I typed, it was labeled as sda3 after the reboot. I tried several times with the same result. I resolved by plugging the USB into my Win 10 computer and used the minitool partition wizard client to rename the partition.
I think (although I'm not 100% certain) that using ext4 with journaling largely solves this issue. I have a 120 GB SSD drive, all 1 partition, and I've never had any booting issues save for the infamous AC86U shutting down completely during the reboot.I just used amtm format to create three partitions. The labels swp, ent and smb are working fine.
After bad experiences with one large partition, I have been using three partitions. But now I am thinking two partitions are a better idea.
If you have a large thumb drive or SSD, what is the problem with one large partition? There are two types of file system check on your router, quick and full. If the full runs, the router will take a long time to reboot and will not likely be OK when the boot completes. You can use tune2fs to disable full checking, but is this a good idea?
What is the problem with three partitions for Swap, Entware and the remaining as a Samba share? The order in which the partitions have their filesystems mounted appears to be random on reboot. So occasionally Skynet will not start because the swap partition is mounted afterwards.
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!