bg1906
August 1, 2025, 6:03pm
1
Is there a way to export our configurations? Particularly as you move from one device to the next, but you may want the same setup? Say, for instance, you have to RMA a device, can you import the configuration of that device into the new device so that you don't have to do all the setup again?
That would be very helpful.
Technically, yes. You're going to want this regardless, I think:
Weird. I hate to say it but I'd nuke it all & start over. It ain't much but here's something handy to help save states as you build up a clean config:
#!/bin/sh
HOST="$(uci show system.@system[0].hostname | cut -d "'" -f '2')"
DOMAIN="$(uci show dhcp.@dnsmasq[0].domain | cut -d "'" -f '2')"
timestamp="$(env TZ=UTC date +'%Y%m%dT%H%M%Z')"
sysupgrade --create-backup /tmp/backup-"${HOST}"."${DOMAIN}"-"${timestamp}".tar.gz
exit 0
Throw that into a script file & run it as a check point any time …
opkg update && opkg install openssh-sftp-server
1 Like
bruce
August 4, 2025, 3:47am
3
GL GUI > System > Advance Setting > Luci > System > Backup / Flash Firmware > Backup, click Generate archive.
Kindly note, only available in same router model and in same firmware version.