Some things are unavoidable, memory fails, file creation issue, closing/crashing the game while it saves, timer messing up with an item before it saves the values (i doubt about that), etc.
The best that can be done i guess is simply reverting the backup.
If your server runs all day it won't be...