Anyone know of a library for upgrading an app's data storage in a safe way from one version to the next?

My desktop app has various databases and flat files, and sometimes I need to change the schema or layout or file formats. But I want to do it safely—if the upgrade fails partway through, I want to be able to reset to a known-good state, and not leave the user's data in an unusable halfway-upgraded state.

Reply to this note

Please Login to reply.

Discussion

No replies yet.