There are some other recommendations in the thread here:
I think that all approaches that use the internal flash will be subject to erasure on upload. However, they could still be considered "persistent" in that the data does persist through power off and resets. So it really depends on your requirements.
I think that if you need persistence through uploads then you will need to add an external storage component such as an EEPROM chip.