Copy everything on a Heltec, LilyGO or other ESP32 board to a file on this computer, so you can put it back exactly as it was if a flash goes wrong. It runs in your browser over USB and nothing is uploaded.
This browser cannot talk to serial devices. Use Chrome or Edge on a computer.
1. Connect the board
Plug the board into this computer with a data USB cable. Everything happens in your browser: the backup is read straight from the board and handed to you as a download. Nothing is uploaded. If the board is not found, hold its BOOT button while plugging it in.
Connected:
2. Back up the settings
Saves what makes the board your node: its identity key, name, radio settings, contacts and channels. It does not save the firmware, so the file works with any firmware version: flash whatever you like, then restore. It is small (tens of KB at most) and takes under a minute.
The file contains the node's private identity key. Keep it somewhere private and do not share it.
Advanced: copy the whole flash chip
Full backup copies every byte, firmware included, into a .bin the size of the chip (16 MB on a V4, a few minutes). Restoring it puts the board back exactly as it was, but only for the same model, and it brings back the old firmware too.
3. Restore
Flash the firmware you want first (the Flash tab), then restore your settings onto it. Pick a file made here and tick what to restore. The page checks that the chip is the same, that the parts sit where they did in the backup, and that the file is undamaged before it writes anything.
This overwrites the node's saved state on the board. Do not unplug it until it says it is done. A full-flash .bin is accepted here too.
Log
Good to know
The same thing from a command line: esptool.py --chip esp32s3 read_flash 0 ALL backup.bin to copy the whole chip, esptool.py --chip esp32s3 write_flash 0 backup.bin to restore.
Back up before flashing anything you want to be able to undo; a backup is a snapshot of that moment only. The settings backup leaves out the boot-slot and radio-calibration data on purpose, so it cannot point a board at the wrong firmware.
Chip-level fuses are not part of a flash backup, and are not changed by normal flashing.
Reading and writing use esptool-js (Apache-2.0), bundled here, so this page needs no internet.