Backup/restore filesystem on ESP8266

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
chemmex
Normal user
Posts: 92
Joined: 15 Feb 2019, 16:18

Backup/restore filesystem on ESP8266

#1 Post by chemmex » 07 Dec 2022, 16:47

What's the best way to backup a filesystem image in order to flash it back via OTP? ESP8266 is 4M1M
Basically, I want to preserve current config

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Backup/restore filesystem on ESP8266

#2 Post by TD-er » 07 Dec 2022, 17:06

You can use the Python esptool.py to read the entire flash.
This also supports an offset and size, so you could get a subsection of what's stored on the flash.
I think the file system starts at 3M and ends at 4M-12k (or 4M - 16k?)

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests