Simple tool to for efficiently resetting flash storage such as SD cards to a previous snapshot image. Instead of writing the full image only the blocks are written that are actually different.
| flashback.cpp | Add code and makefile. | |
| LICENSE | Initial commit | |
| Makefile | Add code and makefile. | |
| README.md | Note on build/usage. | |
flashback
Simple tool to for efficiently resetting flash storage such as SD cards to a previous snapshot image. Instead of writing the full image only the blocks are written that are actually different. This can speed up the process and enhances the flash lifetime.
Build
git clone [this repo]
cd flashback
make
Usage
# Write the image sdb_backup.img to the /dev/sdb device.
./flashback -o /dev/sdb -i sdb_backup.img