As of February 2026 the tables backup and restore function was added to FreshTomato and revised by the repo owner (Pedro). See commit https://github.com/FreshTomato-Project/freshtomato-arm/commit/a3218e89aa0d78fd72c5d5c6cbcbd0d8230c695a
FreshTomato GUI Pages Backup & Restore tool
- This modified version of tomato.js adds a Backup and Restore tool to the GUI to backup and restore the on screen page fields and tables. It works on a page by page basis.
- Since I don't know JavaScript, this tool is 100% AI generated. It works most of the time, but is a bit buggy.
- The fields are backed as is from what is on screen, so if you modify a field without saving to nvram, the modified field will be backed up by this tool but won't be saved to nvram.
- Everything happens on screen and nothing is permanantly saved until you hit the page save button.
- Greyed out fields can't be restored before being enabled first.
- Backup are page locked and can only be restored to the corresponding page.
It is not perfect, but it can help a little :-)
Click the little floppy disk/save button in the upper right corner of the page right beside the Wiki link to show the backup and restore card at the top of the page.
To install, use this:
USERAGENT="Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/109.0"
alias yget="/usr/bin/wget --no-check-certificate -T 15 -q -U \"$USERAGENT\" --header \"Cache-Control: no-cache\""
yget -O- https://raw.githubusercontent.com/HommeOursPorc/TomatoPagesBackup/refs/heads/main/tomato.js | tr -d "\r" > /tmp/tomato.js
mount --bind /tmp/tomato.js /www/tomato.js
Installation is temporary and won't survive a reboot. You can make it permanent with JFFS or USB storage and some scripts.
To remove this you can either reboot the router or use this command:
umount /www/tomato.js
