OpenWRT and SYSUPGRADE
Jump to navigation
Jump to search
SYSUPGRADE isn't perfect, so be safe. Use the LuCI GUI to
- Backup / Generate an 'Archive' of config files (it will only include standard ones, not any customs ones, so be warned)
- Save the MTD Block contents of the active partition (which can then be mounted later to recover any missing Directories or Files)
Remember the /etc/sysupgrade.conf file! This allows for adding items that get added to the 'inventory' and included with the 'upgrade'
- Shows what will be included: sysupgrade -l
- Backs Up those files: sysupgrade -b /tmp/SysUpgrade_Included_Files.tar.gz
Detection Script
Below is a script, worked on with the Chat Moron. It's a work in progress, but better than nothing. Right now it is oriented towards a WRT32X, so would need customizing for other routers.