smarthome-enthusiast
Occasional Visitor
@Viktor Jaep Purging from Primary and Secondary worked.
@Viktor Jaep Purging from Primary and Secondary worked.
Just another quick query if I may. Imagine a situation where I have a few amtm scripts and a configuration backup created from within the router's GUI. What would be the difference in the outcome of restoring from a BACKUPMON backup and from the one created from the GUI? My particular interest would be in restoring any scripts I had installed and the custom names and icons for my network clients.
I don't see any point backing up the swapfile. After the forced reboot when restoring the swapfile would be cleared anyway.@Viktor Jaep is there anyway we could get the option to include/exclude the swapfile in the secondary backups, separate from the primary config?
It would be really helpful to have 2 backups of my router. One with and one without the swapfile so that, if for whatever reason, the primary backup (without) is unable to restore my router then I can attempt it with the secondary backup (with). I've had issues with recreating the swapfile through AMTM where anything over 1.2GB errors out and I had to recreate it using another PC. Since I'm not always home to fix it, it would be great if I could connect via VPN and restore functionality from either one since some of the scripts on AMTM require a swapfile to work.I don't see any point backing up the swapfile. After the forced reboot when restoring the swapfile would be cleared anyway.
I'd be more worried about why amtm errors out creating a swapfile than getting a script changed to circumvent the error. You're ignoring what could be something rather serious.It would be really helpful to have 2 backups of my router. One with and one without the swapfile so that, if for whatever reason, the primary backup (without) is unable to restore my router then I can attempt it with the secondary backup (with). I've had issues with recreating the swapfile through AMTM where anything over 1.2GB errors out and I had to recreate it using another PC. Since I'm not always home to fix it, it would be great if I could connect via VPN and restore functionality from either one since some of the scripts on AMTM require a swapfile to work.
@Viktor Jaep is there anyway we could get the option to include/exclude the swapfile in the secondary backups, separate from the primary config?
You actually already can... here's how:It would be really helpful to have 2 backups of my router. One with and one without the swapfile so that, if for whatever reason, the primary backup (without) is unable to restore my router then I can attempt it with the secondary backup (with). I've had issues with recreating the swapfile through AMTM where anything over 1.2GB errors out and I had to recreate it using another PC. Since I'm not always home to fix it, it would be great if I could connect via VPN and restore functionality from either one since some of the scripts on AMTM require a swapfile to work.
I couldn't agree more with @Ripshod on this one... if your USB drive is bombing out creating swapfiles, you have bigger fish to fry. Could just be an indicator that your drive is no good, or not fast enough to keep up with the data stream coming its way... etc. But that's what I would focus on. Recreating a nice fresh swap file while doing a restore literally takes a minute.I'd be more worried about why amtm errors out creating a swapfile than getting a script changed to circumvent the error. You're ignoring what could be something rather serious.
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/develop/backupmon.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
It appears that v1.6.0b6 introduced some weirdness into the amtm main menu:Well, I put in some work refining the look/feel of the script, and gave it some of the same treatment that VPNMON-R3 enjoys... as you can probably tell, I enjoy standardization, and it irks my OCD when things don't look alike, or work the same. Always a continuous process of improvement... All menus and submenus now utilize the same standards. v1.6.0b6 for your enjoyment below! Please let me know if you find any inconsistencies!
Code:curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/develop/backupmon.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
Significant screenshots:
View attachment 57386
View attachment 57387
View attachment 57388
Nice catch... let me rename some variables... that should take care of it. Thank you!It appears that v1.6.0b6 introduced some weirdness into the amtm main menu:
Functionally, everything appears to be great!
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/develop/backupmon.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
Fixed!Nice catch... let me rename some variables... that should take care of it. Thank you!
FIXED: please give 1.6.0b7 a shot...
Same bat channel... same bat link:
Code:curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/develop/backupmon.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
Can you run:1.6.0b7 didn't run this morning. The cron exists, the settings are correct (haven't changed), no failure emails and nothing in the log
Don't worry about it. It seems ntpd has crapped out - sometimes it's GMT, sometimes it's BST. I'll just move the cron to 3am until the clocks truly go forward next Sunday in the uk.Can you run:
sh /jffs/scripts/backupmon.sh -backup
??
Lol... I freaked out as well when I had my backup job scheduled during the "sweet spot" of the time change, and didn't run that day either.. I was ready to blame cron!Mea culpa!
In one of my dumber moments I never changed the ntp settings on the router when rebuilding, leaving "DST time zone changes starts" at it's default setting (4th Sunday of March). To be fair it's easy to miss, being one of the least obvious settings when running ntpMerlin. Anyway, normal service resumed and RunBackupMon back to it's 01:15 slot.
Oh crikey. At least I'm aware now it'll miss next Sunday, but what happens when the clocks roll back? Two backups?Lol... I freaked out as well when I had my backup job scheduled during the "sweet spot" of the time change, and didn't run that day either.. I was ready to blame cron!
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!