W00t! Yeah, since your config already contained a null variable, it kept overwriting what I was forcing it to accept, and so I had do a crafty double-reversal variable assignment to override whatever you had just for this particular situation...Looks good!
Fixed. Thank you.Code:curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/master/backupmon-1.20b2.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
Try downloading it again, going into "backupmon -setup", go into the config... save & exit... you should see that unknown operand error disappear.
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/master/backupmon-1.20b3.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
WOW! I do believe you are the first! I have only tested a reformat/reconfigure from scratch on my old AC86U with random settings, and then performing a restore on top of that... and it came back 100% to the way it was before. But yours is a fantastic story about overcoming disaster in a real-world scenario where your router got hosed, and getting it back in working condition in minimal time! Kudos to you @Ripshod!Am I the first to actually use this script for it's intended purpose?
Briefly, while messing with wifi settings last night I totally screwed them up to the point nothing was being transmitted and the MACs had set themselves to 00:00:00:00:00:00. No amount of fiddling or reboots would bring them back up.
After a factory reset and half an hour for M&M and restore I'm back up and smiling again.
This script just saved me hours
I really can't suggest anything - it just works.WOW! I do believe you are the first! I have only tested a reformat/reconfigure from scratch on my old AC86U with random settings, and then performing a restore on top of that... and it came back 100% to the way it was before. But yours is a fantastic story about overcoming disaster in a real-world scenario where your router got hosed, and getting it back in working condition in minimal time! Kudos to you @Ripshod!
If you have any feedback on the restoration process, please let me know if you came across any areas that needed improvement on messaging or functionality, OK?
This is a ringing endorsement, "It just works."I really can't suggest anything - it just works.
I have tried everything but the connection test and @Ripshod style restore. Working great!Hey @visortgw & @Ripshod... thanks very much for testing the latest BACKUPMON beta! I've been running it for a few days now uninterrupted without issue... uninstalled everything, reinstalled from scratch. Tried to break it... Everything seems good. It even seemed to perform well on @Ripshod's actual real-world restore... Wanted to run it by you two, and see if you had anything else that stood out before I let it go live? Thanks again!
Awesome. It's one of those things you hope you never have to use, but when you do, it's nice to know it gets you back to a stable environment.I have tried everything but the connection test and @Ripshod style restore. Working great!
Yeah, to test this, I basically created a secondary backup share on my server... I now have 3 backups running (2 off my AX6000 going to a primary and secondary share), and my AC86U going to my primary share). I might look at seeing what it would take to push this to google drive/onedrive in the future.Functionally, other than not being able to test secondary backup options right now it's definitely coming of age now.
Love it! I was personally surprised with how quick the restore actually took when I reformatted my AC86U + flashdrive from scratch... it was restored in literally under a minute + a reboot, and back in business with all my old settings. I totally agree with you. I sleep a lot better now knowing there's a way to get my router back to a certain point in time.I see no reason to change anything.
After my experience I just want to say that everyone should have this tool. Developers, beta testers, and normal users should have something for those moments when the $h.. hits the fan.
Brilliant!
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/master/backupmon-1.20.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
Correct!Can I assume no change in config file for beta testers?
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/master/backupmon-1.22.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
Did you change something after the beta I tested?Bringing you another update to address a situation (thanks to @maghuro!) where a router may not have an external USB drive to backup! In this scenario, backupmon would experience some issues, and has now been fixed to detect whether an external USB is present. So an EXT drive is now completely optional, and will only backup/restore JFFS and NVRAM if the drive is not present.
What's new?
v1.22 - (October 2, 2023)
- FIXED: Thanks to @maghuro, in a situation where an EXT USB drive would not be connected to the router, it would experience some issues backing itself up, throwing some errors and whatnot because this situation was never considered. Logic was added to factor in a missing EXT USB drive, and will now backup and restore only the JFFS and NVRAM components.
- MINOR: Added a missing logger statement to indicate that the NVRAM was backed up (primary & secondary) that was being left out of the syslogs after a backup.
Download link (or update directly within BACKUPMON):
Code:curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/master/backupmon-1.22.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
Just changed the version number... Sorry, @maghuro .... it's working perfectly on my end (see below). Looks like it's hanging on your end making a connection to your external network drive?Did you change something after the beta I tested?
Because now, after starting a backup, this screen hangs up here and even ctrl+c don't do nothing. Have to restart shell
Question -- was this screenshot of you running it off your RT-AC86U (I have a hard time telling with that color scheme)? Was it working on your GT-AX6000?Did you change something after the beta I tested?
Because now, after starting a backup, this screen hangs up here and even ctrl+c don't do nothing. Have to restart shell
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!