I look for a script that when you run it, backup an actual system image of the Coral Dev Board. Because I didn't find it I develop one that copy the actual image of the Coral into an SD card.
When you want to restore the system to "factory reset" state, you produce an SD card with the system (mendel) image (enterprise-eagle-flashcard-20211117215217.zip) and with BalenaEtcher you bootable. Then you with the board off, change switches, put the factory reset SD and start. After that the board is in factory reset state.
The backup SD card works the same: after created by the script, you put it in SD reader, change switches, power on, and after that the Coral is in the same state that was backup created.
If somebody is interested in it I can send it or publish it.
Or maybe somebody have another solution.
Thanks
Roberto