protect save data please #422
Replies: 6 comments 2 replies
-
The backup on the SD card will not help if the SD card is faulty. I suggest that you periodically back up the contents of "main" on your SD card to your computer. Then you can easily restore all your data in the chance that the SD card gets corrupted and you need to re-flash it. Note, however, that there are hidden folders (folders whose names are preceded by a dot) at the root of the "main" partition. You need to back these up, too, not just the unhidden folders. |
Beta Was this translation helpful? Give feedback.
-
data corruption affect others partitions? |
Beta Was this translation helpful? Give feedback.
-
It depends on what the cause of the corruption is. It could be an unclean shutdown while the system was writing to the card, software-side (this is the most common smaller issue, usually easily and automatically fixed), or it could be a physical fault with the card (this is the more common larger issue, that cannot be fixed software-side). Most SD cards have a limited life expectancy of a certain amount of write cycles (usually around 100,000). They do not last forever. When it reaches its end of life with use, data on the card is simply lost, and the card becomes practically unreadable. And many SD cards ship faulty. If it's a physical fault with the card, backing up to another partition on the card will not save your data from being lost/corrupted. |
Beta Was this translation helpful? Give feedback.
-
On flash storage, yes. Internally, data is spread across multiple flash cells to speed up reading and writing, but this means that if corruption occurs anywhere, it can affect data all over the drive. |
Beta Was this translation helpful? Give feedback.
-
thanks, its very instructive :) |
Beta Was this translation helpful? Give feedback.
-
The SD is an issue that can't be fixed, but I did want an easier way to quickly backup the savegames. (and not the entire main partition) So I did some bash. There's a part that runs on your device, collects all the savegames and zips them; and there's a part you run on your pc (in bash) that only copies your savegames (and backup zips) to your device. Both are made to run often, independently, and are as fast as possible. It lives at https://gitlab.com/DigitalGert/eve still, it's only a slight quality of life improvement ultimately.. |
Beta Was this translation helpful? Give feedback.
-
i need a solution for sd data corruption because i lose many save datas...
i follow all steps to system power off but it's hapens again...(the card is a new one)
my suggestion:
1-I think if it's possible make a partition with the lastest save data to protect others partitions with data...
once the player bring back to menu and init shutdown program this program has to sync the save data :D
2-A backups partition with manual start with battery level check is very important to me because save data has many hours spended.
Beta Was this translation helpful? Give feedback.
All reactions