
ESPEasy keeps every part of a node's configuration in a small set of files on the board. Tasks, controllers, Wi-Fi details, notification settings and rules all live there. As long as those files are safe, a node can be restored in minutes, even after a failed update, a corrupted file system or a complete replacement of the hardware.
This article explains where the configuration is stored, how to back it up and restore it, how the Settings Archive feature works and why backups matter so much when moving ESP32 nodes from SPIFFS to LittleFS.
Why Backups Matter
A working node often represents hours of careful setup. Pin assignments, task intervals, controller topics, formulas, display layouts and rules all add up. Losing them means recreating everything from memory, usually at an inconvenient moment.
Updates are the most common reason for losing settings. Most updates preserve the configuration perfectly, but large releases occasionally change how settings are stored. The release notes for a major mid-2026 build, for instance, strongly advised users to back up their settings and to make sure they had physical access to their nodes, because the conversion of network settings might not cover every configuration. A backup turns a potential disaster into a minor inconvenience.
Where the Configuration Lives
The firmware stores its configuration as files in the board's file system. The main files are:
- config.dat, which holds the main configuration, including tasks, controllers and hardware settings.
- security.dat, which holds sensitive values such as Wi-Fi keys and passwords.
- notification.dat, which holds notification settings.
- Rule files, typically rules1.txt to rules4.txt, which hold each rule set.
Some nodes also contain additional files, such as custom web resources, font files for displays or files uploaded for specific plugins. These appear in the file browser alongside the main configuration files.
Backing Up From the Web Interface
The simplest way to back up a node is through its own web interface. The Tools tab includes options to save the settings, which downloads the configuration to your computer. Store the file somewhere safe, with a name that includes the node's unit name and the date.
Rule files deserve separate attention, because they are not always part of the same download. Open the file browser from the Tools tab and download each rules file individually. Alternatively, copy the contents of each rule set from the Rules tab into a text file on your computer.
Newer builds also offer an option to back up the configuration without credentials. This is useful when sharing a configuration with someone else or storing it in a location where Wi-Fi passwords should not appear. Remember that a backup without credentials will need the Wi-Fi details entered again after restoring.
Restoring a Backup
Restoring is equally straightforward. Open the Tools tab, choose the option to load settings and select the saved configuration file. The board uploads the file and, after a reboot, starts with the restored configuration.
Rule files can be uploaded through the file browser or pasted back into the Rules tab. After restoring, check the Devices, Controllers and Rules tabs to confirm that everything appears as expected, and watch the log for a few minutes to make sure tasks are reading values and controllers are connecting.
Restoring to Different Hardware
A backup can be restored to a replacement board, which is helpful when a board fails or when you upgrade to a more capable model. The new board should run a compatible firmware build with the same plugins. If the replacement uses different pins or a different chip, review the hardware settings and pin assignments after restoring, because a configuration designed for one board may not suit another without adjustment.
The Settings Archive Feature
The Settings Archive is a more advanced tool found under the Tools tab. Rather than uploading files from your computer, it downloads configuration files directly from a web address that you specify. You choose which files to fetch, such as the main configuration, the notification settings or individual rule files, and the board retrieves them from the server.
The page reports the result for each file. A successful download is listed as such, while a missing file returns an error code such as 404. After a successful retrieval, the board must be rebooted before the new settings take effect. The page reminds you of this explicitly.
This feature is particularly useful when managing several nodes. You can keep a set of standard configuration files on a local web server and use the Settings Archive to apply them to new boards, a process sometimes described as provisioning. It also makes it easy to roll out an updated rule set to several devices without editing each one by hand.
Backups and the Move to LittleFS
ESP32 nodes have historically used a file system called SPIFFS. The project announced that the April 2025 release would be the last ESP32 build to use SPIFFS, with later ESP32 builds using LittleFS instead. SPIFFS remains in use on ESP8266 boards.
Because the two file systems are different, an ESP32 node cannot simply be updated over the air from a SPIFFS build to a LittleFS build while keeping its files. The documentation describes a migration process, and the safest approach follows a clear sequence.
First, back up all configuration and rule files from the node while it is still running the SPIFFS build. Next, flash a LittleFS build over USB, ideally with a full erase so that the new file system starts cleanly. Then connect to the board's access point, join your Wi-Fi network and restore the configuration and rule files. Finally, verify that tasks, controllers and rules behave as expected.
Without a backup, this migration means configuring the node again from scratch. With a backup, it takes only a few minutes.
A Sensible Backup Routine
Good backup habits are simple to maintain:
- Back up every node after its initial setup.
- Back up again after any significant change to tasks, controllers or rules.
- Always back up before installing a new firmware version.
- Name files clearly with the unit name and date.
- Keep copies in at least two places, such as your computer and a separate drive or private repository.
- Test a restore occasionally on a spare board, so that you know the process works before you need it.
Keeping Configuration Under Version Control
For people who manage many nodes, storing configuration files and rule sets in a private Git repository is a practical step. Rule files are plain text, so changes can be tracked line by line, and older versions are always available. Exclude or encrypt files containing credentials, such as security.dat, so that passwords are not stored in plain view.
Factory Reset and Clean Starts
Sometimes the right answer is not a restore but a clean start. A node that has accumulated years of experiments, or one that behaves unpredictably after many changes, may benefit from being reset and configured afresh using only the settings you still need.
The Tools tab includes a factory reset page. It can return the configuration to its defaults while optionally keeping certain items, such as Wi-Fi credentials or unit settings, depending on the options you choose. Take a full backup before using it, even if you intend to start again, so that you can refer back to the old configuration when recreating tasks and rules.
For the cleanest possible start, erase the flash completely over USB and reinstall the firmware. This removes every file, including any remnants of earlier versions, and is often the quickest solution to unexplained crashes after a major update. With a backup to hand, you can then choose whether to restore the entire configuration or rebuild selectively.
Documenting Each Node
Backups capture settings, but they do not explain the reasoning behind them. A short note for each node, kept alongside its backup files, fills that gap. Record the board type, build name, unit name and number, IP address, connected hardware and the pins each component uses. Add a sentence or two about the purpose of any rules and the thresholds they apply.
This documentation makes troubleshooting far easier, particularly when a node is installed somewhere awkward. It also helps anyone else who might need to maintain the system, and it turns a collection of devices into a well-understood installation rather than a set of mysteries.
It is also sensible to check a backup immediately after taking it. Open the downloaded file's location, confirm that the file has a reasonable size and, for rule files, open them in a text editor to make sure the contents are complete. A backup that was interrupted or saved incorrectly offers false reassurance, and discovering the problem during an emergency restore is the worst possible moment. A quick check takes seconds and confirms that the copy you are relying on is genuinely usable.
Frequently Asked Questions
Where does ESPEasy store its settings?
Settings are stored as files on the board, mainly config.dat for the configuration, security.dat for credentials, notification.dat for notifications and separate files for each rule set.
How do I back up an ESPEasy node?
Use the save settings option on the Tools tab to download the configuration, and download the rule files separately through the file browser.
Can I restore a backup to a new board?
Yes, provided the new board runs a compatible build with the necessary plugins. Review pin assignments afterwards if the hardware differs.
What does the Settings Archive do?
It downloads configuration and rule files from a web address you specify, which is useful for provisioning or updating several nodes.
Do I need to back up before moving an ESP32 to LittleFS?
Yes. The change of file system requires a fresh serial flash, so a backup is the only way to keep your existing configuration.
Should I store backups that contain passwords?
Store them securely. Where possible, use the backup option without credentials for sharing, and keep files containing passwords encrypted or private.
Conclusion
ESPEasy makes configuration easy to protect because everything lives in a few well-defined files. Back up after setup, after changes and before every update, keep rule files alongside the main configuration and use the Settings Archive when managing several boards. With that routine in place, updates, migrations and hardware failures become manageable events rather than lost afternoons.