A few more discoveries…

  • The right way to backup/restore on the device is to use sysupgrade i.e. sysupgrade --create-backup /root/file.tgz sysupgrade --restore-backup /root/file.tgz
  • Its easy to add web-accessible insecure non-luci cgi-bin scripts. Just create files in /www/cgi-bin directory. I now have a basic web interface to create and manage multiple config backups.