Recent content by PeterT

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    Well I didn't want to do a full restore as was on an AIMesh node that had lost it's configuration after a power failure last weekend. I'd managed after a few attempts to get the node back into the mesh and working. I realize that in this case their is not much need to take backups but I did...
  2. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    Ah.. that's probably because I didn't actually do the restore; just the copy of the files and the initial run of setup. Surely if the initial setup run reads the "restored" config and writes it to the correct location, wouldn't it make sense to drop it then, and not wait for a restore / reboot...
  3. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    The one thing I didn't like about the restore is the initial step to restore both the script and config to the /jffs/scripts directory. After one then does the initial setup you're left with two config files; one in /jffs/scripts and the other in /jffs/add-ons/...
  4. P

    AX86U running 3004.388.4_0 lost configuration

    I run an AI Mesh setup; main node AX88U with an AX86U AIMesh node, connected via a MOCA based setup. This last saturday morning I had a brief power outage and upon recovery had no end of difficulties. My wired main PC kept switching between my main 192.168.2.x network, and 192.168.2.50...
  5. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    I'm confused about the option to set the exclusion list. Selecting option 8 says the default is /jffs/addons/backupmon.d/exclusions.txt. I'd never specified a value so assumed that the default would be used, which is not the case.
  6. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    Not sure why you say that wouldn't work. If the variables are NOT defined, then expansion of entries like ${CWhite} return nothing; so the echo statements just output the plain text.
  7. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    I'm already redirecting to a log file; it's just frankly, a lot of garbage for viewing via less / vi. All that would be needed is an option add (say -nocolour) and then in the script only execute the lines defining the colours if the option was not specified.
  8. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    Any thought to either providing a command line switch to remove the use of terminal escape characters, or disabling their use in case of a non interactive execution of the script (ie running via cron with output redirected to a file)?
  9. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    I was just thinking of the initial values being copied; one could still change them and not affect the configured values. Or ... just add an option to copy the primary (or secondary) settings to the test settings. This would save reentering the values to validate them. OOPS. I see this is what...
  10. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    Seemed to work. Have you considered making the test network connection option default to using the configured values from the setup and config menu?
  11. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    What I've done to create a log is to use a wrapper script to invoke backupmon.sh. I needed some extra processing for some other automation I hav e in place to trigger a backup from a NAS to it's attached USB drive. My wrapper is just #!/bin/sh { echo Backup starting: `date` ssh...
  12. P

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    I'm not a scripting expert but this seems to work read -p "Password: " passwd ; echo $passwd ; passwdenc=`echo $passwd | base64` echo $passwdenc | base64 -d read -p "Password: " passwd ; echo $passwd ; passwdenc=`echo $passwd | base64` Password: a&b?c\d/e#%^ a&b?cd/e#%^ echo $passwdenc...
Top